This commit is contained in:
2020-07-21 21:02:28 +08:00
parent 864f43e200
commit c89099f686
18 changed files with 611 additions and 118 deletions

View File

@@ -2,10 +2,10 @@
<view class="group">
<view class="top">
<text>全部拼团</text>
<text>查看更多></text>
<text @click="viewMore">查看更多></text>
</view>
<view class="label">
<u-tabs-swiper ref="group" :list="classifyList" name="gc_name" :is-scroll="true" active-color="#FF780F" :current="current" font-size="24" :show-bar="false" @change="tabsChange" height="88" ></u-tabs-swiper>
<u-tabs-swiper ref="group" :list="classifyList" name="gc_name" :is-scroll="true" active-color="#FF780F" :current="current" font-size="24" :show-bar="false" @change="tabsChange" height="88"></u-tabs-swiper>
</view>
<swiper :current="swiperCurrent" @animationfinish="animationfinish" style="height: 130px">
<swiper-item class="swiper-item" v-for="(_, i) in classifyList" :key="i">
@@ -42,6 +42,11 @@ export default {
this.swiperCurrent = current;
this.current = current;
},
viewMore() {
this.$u.route({
url: 'pageC/groupBuy/index',
})
}
}
}
</script>