Commit 18f24286 authored by 华国豪's avatar 华国豪 🙄

1

parent fd2e8d6b
......@@ -356,9 +356,9 @@ ul li {
<div class="right-yonghu">
<div class="huoyue">
<p>当前活跃用户</p>
<p class="fs50 fcff">{{dataList.ToDayClientLoginNum}}</p>
<p class="fs50 fcff">{{dataList2.ToDayClientLoginNum}}</p>
</div>
<div class="yonghu-item" v-for="(item,index) in dataList.ToDayClientLogin" :key="index">
<div class="yonghu-item" v-for="(item,index) in dataList2.ToDayClientLoginList" :key="index">
<p class="sb-tit">{{item.Name}}</p>
<P class="fs50 fcff">{{item.Count}}
<img v-if="item.Change==1" class="biaoji" src="../../assets/img/viitto/lvsedian.png" alt="">
......@@ -419,12 +419,17 @@ export default {
dataArea:[],
num:1,
zoom: 1,
newArr: []
newArr: [],
dataList2: {
ToDayClientLoginNum: 0,
CityHot: [],
ToDayClientLoginList: []
}
}
},mounted() {
let Height = window.innerHeight
this.zoom = Math.round((Height/1080) * 100) / 100
// this.init();
this.init();
this.getNewList()
setTimeout(() => {
this.connec();
......@@ -437,13 +442,14 @@ export default {
getNewList(){
this.apipost('financestatistics_post_GetB2BBoardClientToDayLoginList', {}, r=>{
if(r.data.resultCode==1){
this.dataList = r.data.data;
this.dataList.CityHot.forEach(x=>{
this.dataList2 = r.data.data;
this.dataList2.CityHot.forEach(x=>{
this.dataArea.push({
name:x.CityName,
value: [x.Lng,x.Lat]
})
})
this.$forceUpdate()
}
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment