写死首页拼团推荐的头像

This commit is contained in:
2020-08-18 12:12:01 +08:00
parent 631e8ae3e6
commit 689aecc572
6 changed files with 5 additions and 8 deletions

View File

@@ -2,7 +2,6 @@
<view class="list">
<view class="top">商品推荐</view>
<view>
<!-- <u-tabs-swiper ref="uTabs" :list="classifyList" name="gc_name" :is-scroll="true" active-color="#FF780F" :current="current" font-size="26" :show-bar="false" @change="tabsChange" height="60"></u-tabs-swiper> -->
<u-tabs :list="classifyList" name="gc_name" :is-scroll="true" :current="current" @change="tabsChange" active-color="#FF780F" :show-bar="false" height="60" font-size="24" inactive-color="#333333"></u-tabs>
</view>
<swiper class="swiper-box" :current="swiperCurrent" @animationfinish="animationfinish" :style="{height: swiperHeight}">
@@ -49,7 +48,7 @@ export default {
this.getGoodsClassRecommend();
},
methods: {
loadMore(page) {
loadMore() {
if(!this.timer) return false;
this.loadStatus = "loading";
this.page++;
@@ -85,8 +84,6 @@ export default {
page: page,
gc_id: gc_id,
})
console.log(res)
// this.swiperCurrent = this.current;
if (res.errCode == 0) {
this.timer = true;