Browse Source

921 需求池

bding 1 year ago
parent
commit
839eba4a27
2 changed files with 5 additions and 3 deletions
  1. 1 1
      pageMy/login/login.vue
  2. 4 2
      pages/index/index.vue

+ 1 - 1
pageMy/login/login.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="container login-container">
-    <view class="bind-tab">
+    <view class="bind-tab" v-if="wholeShowListData.IsShowMobileAndEmailButton">
       <text :class="['tab', { 'act-tab': bind_type === 1 }]" @click="toggleTab(1)">手机号</text>
       <text :class="['tab', { 'act-tab': bind_type === 2 }]" @click="toggleTab(2)">邮箱</text>
     </view>

+ 4 - 2
pages/index/index.vue

@@ -55,7 +55,7 @@
         </view>
       </view>
       <block v-if="newDataList && newDataList.length">
-        <view class="content-ul">
+        <view :class="['content-ul', industryTablList.length == 0 && 'content-ul-top']">
           <view class="item-ul">
             <block v-for="(item, index) in newDataList" :key="index">
               <view v-if="index % 2 == 0 && item.IsShowData">
@@ -440,7 +440,6 @@ export default {
     });
   },
   onLoad(options) {
-    console.log(options);
     this.industrytabActId = options.industrytabActId ? Number(options.industrytabActId) : 0;
     this.actIdLable = options.findIndexId;
     this.getBannerList();
@@ -599,6 +598,9 @@ export default {
       }
     }
   }
+  .content-ul-top {
+    padding-top: 30rpx;
+  }
   .bind-btn {
     padding-top: 110rpx;
     text-align: center;