Parcourir la source

去掉公告、轮播图、享好物

xiaomei il y a 1 mois
Parent
commit
2bbba94223
2 fichiers modifiés avec 5 ajouts et 10 suppressions
  1. 3 9
      src/pages/index/index.vue
  2. 2 1
      src/pages/shoppingMall/index.vue

+ 3 - 9
src/pages/index/index.vue

@@ -2,26 +2,20 @@
     <div class="Appindex">
         <!-- 顶部 -->
         <view class="head">
-            <view  style="background-color: #fff; border-radius: 30rpx; padding: 0 0 2rpx;">
-                <!-- 轮播图 -->
+            <!-- <view  style="background-color: #fff; border-radius: 30rpx; padding: 0 0 2rpx;">
                 <swiper-banner :radius="10" imgScale="5:3" :imgArr="BannerImg" :duration="1000" :interval="5000" :circular="true" :autoplay="true" @goList="goList" :indicator-dots="true" indicator-active-color="#12B280" indicator-color="rgba(255, 255, 255, .82)"></swiper-banner>
-                <!-- 轮播图-end -->
-                <!-- 公告 -->
                 <view class="head_notice clearfix flex_r flex_jb flex_ac">
                     <view class="notice_title" @click="goNoticeList">
-                        <!-- <image class="gg_img" src="@/static/img/gg.png"></image> -->
                         <span>公告</span>
                     </view>
                     <swiper class="notice_swiper" vertical autoplay circular :interval="5000" :duration="1000">
                         <swiper-item v-for="(item, index) in not_list" :key="index" @click="toDetail(item.article_id)" sty>
                             <text class="not_list ellipsis">{{ item.title }}</text>
-                            <!-- <text class="not_ico iconfont">&#xe62e;</text> -->
                         </swiper-item>
                     </swiper>
                     <image class="gg_img" src="/static/my/menu1.png" @click="goNoticeList" />
                 </view>
-                <!-- 公告-end -->
-            </view>
+            </view> -->
             <!-- 专区入口 -->
             <div class="l_tabBar flex_r flex_jb">
                 <div class="item" v-for="(i,s) in tabs" :key="s" @click="goto(i.url)">
@@ -287,7 +281,7 @@ export default {
 }
 
 .l_tabBar {
-    margin: 32rpx 0 0;
+    margin: 16rpx 0 0;
     background-color: #fff;
     padding: 12rpx 20rpx;
     border-radius: 10rpx;

+ 2 - 1
src/pages/shoppingMall/index.vue

@@ -431,7 +431,7 @@ export default {
       banner: {}, // 顶部背景图
       ratio: 0, // 比例
       platformObj: {
-        type: 8,
+        type: 1,
       }, // 选中平台
       catObj: {
         cat_id: 0,
@@ -497,6 +497,7 @@ export default {
       post("v1/cashback/getIcon").then((res) => {
         if (res.code === 0) {
           this.platform = res.data;
+          this.platform.splice(0, 1); // 去掉享好物
           // this.platform.length = 5; // 后期要去掉
           this.platformObj = this.platform[this.navIndex];
           this.ratio = this.platform[this.navIndex].ratio;