lin
2026-05-11 eaa5247fe535aadedc7cd35896e1e08580487006
pages/index/index.vue
@@ -29,24 +29,24 @@
         </view>
      </view>
      <view class="cates" v-if="catesNavData">
      <!-- <view class="cates" v-if="catesNavData">
         <view class="cates-v" v-for="(item, index) in catesNavData" :key="item.id" @tap="$util.goPages('/pages/catesList/catesList?catesId=' + item.id + '&title=' + item.title)">
            <image class="cates-v-icon" :src="item.icon" mode=""></image>
            <view class="">{{item.title}}</view>
         </view>
         <!-- <view class="cates-v" @tap="$util.goSwitch('/pages/cates/cates')">
         <view class="cates-v" @tap="$util.goSwitch('/pages/cates/cates')">
            <image class="cates-v-icon" src="/static/imgs/more.png" mode=""></image>
            <view class="">更多</view>
         </view> -->
      </view>
      <!-- <view v-if="catesNavData" style="padding: 0 30rpx;background-color: #ffffff;margin-top: 190rpx;">
         </view>
      </view> -->
      <view v-if="catesNavData" style="padding: 0 30rpx;background-color: #ffffff;margin-top: 422rpx;">
         <uv-scroll-list>
            <view class="cates-v" v-for="(item, index) in catesNavData" :key="item.id" @tap="$util.goPages('/pages/catesList/catesList?catesId=' + item.id + '&title=' + item.title)">
               <image class="cates-v-icon" :src="item.icon" mode="heightFix"></image>
               <view class="">{{item.title}}</view>
            </view>
         </uv-scroll-list>
      </view> -->
      </view>
      
      <!-- <view class="ad1" @tap="$util.goPages('/pages/catesList/catesList?catesId=11' + '&title=' + '服装鞋包')">
         <image src="/static/imgs/ad1.png" mode=""></image>
@@ -118,8 +118,6 @@
                     <!-- <view class="hyj">
                        <image src="@/static/imgs/hyj.png" mode=""></image>
                     </view> -->
                     <view>¥</view>
                     <view class="red">{{itm.price}}</view>
                  </view>
               </view>
            </view>
@@ -169,17 +167,6 @@
  },
  data() {
    return {
      list: [{
                     image: "https://via.placeholder.com/200x200.png/3c9cff/fff"
                  }, {
                     image: "https://via.placeholder.com/200x200.png/f9ae3d/fff"
                  }, {
                     image: "https://via.placeholder.com/200x200.png/5ac725/fff"
                  }, {
                     image: "https://via.placeholder.com/200x200.png/f56c6c/fff"
                  }, {
                     image: "https://via.placeholder.com/200x200.png/909399/fff"
                  }],
      indicator: true,
      contactsFlag: false,
      staHeight: 0,
@@ -210,7 +197,7 @@
            title: '精选',
            desc: '猜你喜欢',
            skey: '服装鞋包',
            catesId: 11,
            catesId: 15,
         },{
            title: '人气',
            desc: '好物精选',
@@ -240,7 +227,7 @@
   // #endif
  },
  created() {
      this.catesId = 11
      this.catesId = this.cateNavList[0]['catesId']
     this.catesGoods()
  },
  onLoad() {
@@ -460,11 +447,11 @@
      }
      .cateNav-item.active {
         .cateNav-title {
            color: #4766FE;
            color: #37AA25;
         }
         .cateNav-desc {
            color: #ffffff;
            background-color: #4766FE;
            background-color: #37AA25;
            border-radius: 50rpx;
            padding: 12rpx 0;
         }