|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="pagesCons">
|
|
|
<view class="utabs">
|
|
|
- <u-tabs-swiper ref="uTabs" :list="tabList" name="dispName" :current="current" @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper>
|
|
|
+ <u-tabs-swiper ref="uTabs" bar-width="160" :list="tabList" name="dispName" :current="current" @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper>
|
|
|
<view class="message">我的邀请码:{{yqcode}} <copyText :text="yqcode" label="邀请码"></copyText></view>
|
|
|
</view>
|
|
|
<swiper class="check-list" :current="swiperCurrent" @transition="transition" @change="swiperChange" @animationfinish="animationfinish">
|
|
@@ -74,7 +74,6 @@
|
|
|
onLoad(options) {
|
|
|
const _this = this
|
|
|
_this.tabList = this.$store.state.vuex_storeAuthState
|
|
|
- _this.tabList[0].count = this.total
|
|
|
// 邀请码
|
|
|
_this.yqcode = this.$store.state.vuex_userData.extInfo.dealer.dealerInviteCode
|
|
|
// 获取数据
|
|
@@ -142,7 +141,7 @@
|
|
|
}else{
|
|
|
this.list = res.data.list || []
|
|
|
}
|
|
|
- this.total = res.data.count || 0
|
|
|
+ this.total = Number(res.data.count) || 0
|
|
|
if(this.current == 0){
|
|
|
this.tabList[0].count = this.total
|
|
|
}
|