Parcourir la source

订阅设置组件修改

TANGSHIZHE il y a 4 ans
Parent
commit
0806f2d83e

+ 1 - 1
src/web/staticres/common-module/vipsubscribe/js/vip-subscribe-set-template.js

@@ -283,7 +283,7 @@ var subComponent = {
             this.info.infoType = this.initdata.infotype.join('、')
           }
         } else {
-          this.info.infoType = '请选择信息类型'
+          this.info.infoType = '全部类型'
         }
       }
     },

+ 8 - 0
src/web/staticres/vipsubscribe/js/change_industry.js

@@ -81,7 +81,11 @@ function resultCount() {
         $('.result_count').html('全部行业');
         result = [];
         if (buyCount != -1) {
+          if(getParam('subvip') == 'free') {
+            $('.update_tips').hide();
+          } else {
             $('.update_tips').show();
+          }
         } else {
             $('.update_tips').hide();
         }
@@ -98,7 +102,11 @@ function resultCount() {
             }
         })
         if (count > buyCount && buyCount != -1) {
+          if(getParam('subvip') == 'free') {
+            $('.update_tips').hide()
+          } else {
             $('.update_tips').show();
+          }
         } else {
             $('.update_tips').hide();
         }