罗世杰:绑定数据分析
This commit is contained in:
@@ -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);
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user