Kaynağa Gözat

Merge branch 'dev/v4.9.2_cyl' of qmx/jy into feature/v4.9.2

cuiyalong 1 yıl önce
ebeveyn
işleme
fc0a8c10a8

+ 5 - 1
src/web/staticres/common-module/active/202402/202402.js

@@ -261,7 +261,11 @@ var task = new Vue({
       return t < 10 ? ('0' + t) : t
     },
     toLogin: function () {
-      location.href = '/jyapp/free/login?to=back'
+      if (this.platform === 'wx') {
+        utils.toWxGzhProfile()
+      } else {
+        location.href = '/jyapp/free/login?to=back'
+      }
     },
     doCopy: function () {
       var shareText = this.shareInfoPlatform.title || ''

+ 5 - 1
src/web/staticres/common-module/public/js/utils.js

@@ -764,7 +764,11 @@ var utils = {
     } else {
         location.href = '/jyapp/free/customer'
     }
-},
+  },
+  // 去关注微信公众号页面
+  toWxGzhProfile: function () {
+    window.location.href = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mzk0MjIyMzY2Nw==&scene=110#wechat_redirect'
+  },
   moneyUnit: function (num, type, lv) {
     if (num === '' || num == null || num == undefined || isNaN(num)) return ''
     var levelArr = ['元', '万元', '亿元', '万亿元']