Ver código fonte

微信端我的页面显示大会员图标

tsz 3 anos atrás
pai
commit
d6f43a6ab7
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/web/staticres/me/js/mine.js

+ 2 - 2
src/web/staticres/me/js/mine.js

@@ -153,11 +153,11 @@ var mine = {
         var state = this.pageUserInfo.bigmemberVip
         var icon = $('.u-i-big-logo')
 
-        if (state == 1 || state == 5) {
+        if (state == 1 || state == 5 || state == 7) {
             icon.show().removeClass('icon-big-biaozhunhy icon-big-putonghy icon-shiyonghy').addClass('icon-big-gaojihy')
         } else if (state == 2) {
             icon.show().removeClass('icon-big-gaojihy icon-big-putonghy icon-shiyonghy').addClass('icon-big-biaozhunhy')
-        } else if (state == 3) {
+        } else if (state == 3 || state == 6) {
             icon.show().removeClass('icon-big-gaojihy icon-big-biaozhunhy icon-shiyonghy').addClass('icon-big-putonghy')
         } else if (state == 4) {
             icon.show().removeClass('icon-big-putonghy icon-big-gaojihy icon-big-biaozhunhy').addClass('icon-shiyonghy')