罗世杰:绑定数据分析

This commit is contained in:
LuoShijie
2023-11-15 20:39:47 +08:00
parent db21651d44
commit 3eb1f80045
2 changed files with 19 additions and 27 deletions

View File

@@ -7,7 +7,7 @@
</view>
<HomeNavCard></HomeNavCard>
<HomeNoticeBar :text="notice" />
<Statistics :data="statisticsNum" />
<Statistics :statNum="statNum"/>
<view class="show-and-search">
<view class="show-tab list-tab" :class="{ 'tab-activate': chooseIndex === 0 }" @click="this.chooseIndex=0">
<text>店铺列表</text>
@@ -37,7 +37,7 @@
return {
notice: [],
chooseIndex: 0,
statisticsNum: [231753, 1345],
statNum: {},
swiperList:[]
}
},
@@ -59,7 +59,8 @@
},
getStat(){
this.$api.getStat().then(res=>{
this.statisticsNum = res.data.data
this.statNum = res.data.data
console.log(res.data.data);
})
}
},