Эх сурвалжийг харах

Merge remote-tracking branch 'origin/feature/v4.10.19' into feature/v4.10.19

wkyuer 3 долоо хоног өмнө
parent
commit
e8e39fb6ec

+ 6 - 0
src/web/staticres/bid-fileinter/js/product-introduce.js

@@ -273,6 +273,9 @@ $(function() {
       var _this = this
       $('.experience-button').on('click', function() {
         var source = $(this).attr('data-source')
+        if (!loginflag) {
+          return $('.login-register-button').trigger('click')
+        }
         if (_this.checkHasPower()) {
           _this.redirectToPage()
         } else {
@@ -280,6 +283,9 @@ $(function() {
         }
       })
       $('.phone-submit-button').on('click', function() {
+        if (!loginflag) {
+          return $('.login-register-button').trigger('click')
+        }
         var source = _this.data.bottomBannerModule.source
         var phone = $('.phone-submit-input').val()
         simpleLeaveSource.noLoginLeaveInfo(source, phone + '', {