Browse Source

优化我的界面

shenjj 7 years ago
parent
commit
5420cb7198
1 changed files with 6 additions and 5 deletions
  1. 6 5
      pages/mobile/user/index.vue

+ 6 - 5
pages/mobile/user/index.vue

@@ -312,7 +312,7 @@
         AddBtnShow: true,
         AddBtnShow: true,
         labelText: '',
         labelText: '',
         scopeLabel: [],
         scopeLabel: [],
-        ContentTitleArray: [], // 行业数组
+        ContentTitleArray: ['', '', ''], // 行业数组
         isSearchSearchingMore: false,
         isSearchSearchingMore: false,
         collectResult: '',
         collectResult: '',
         timeoutCount: 0,
         timeoutCount: 0,
@@ -408,6 +408,7 @@
         if (listIndex === 'firstList') {
         if (listIndex === 'firstList') {
           this.TypeListActive.firstListActive = index
           this.TypeListActive.firstListActive = index
           this.ContentTitleArray[0] = key
           this.ContentTitleArray[0] = key
+          // alert(this.ContentTitleArray)
           this.TypeList.secondsList = []
           this.TypeList.secondsList = []
           this.titleActive = 0
           this.titleActive = 0
           if (this.TypeObj[key] instanceof Array) {
           if (this.TypeObj[key] instanceof Array) {
@@ -449,8 +450,8 @@
             this.enterpriseInfo.enIndustry = key
             this.enterpriseInfo.enIndustry = key
             this.isShowTypeAlert = false
             this.isShowTypeAlert = false
             this.TypeListShow = {
             this.TypeListShow = {
-              firstListShow: true,
-              secondsListShow: false,
+              firstListShow: false,
+              secondsListShow: true,
               threetListShow: false
               threetListShow: false
             }
             }
           }
           }
@@ -461,9 +462,9 @@
           this.enterpriseInfo.enIndustry = key
           this.enterpriseInfo.enIndustry = key
           this.isShowTypeAlert = false
           this.isShowTypeAlert = false
           this.TypeListShow = {
           this.TypeListShow = {
-            firstListShow: true,
+            firstListShow: false,
             secondsListShow: false,
             secondsListShow: false,
-            threetListShow: false
+            threetListShow: true
           }
           }
         }
         }
       },
       },