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

1

parent fd2e8d6b
...@@ -356,9 +356,9 @@ ul li { ...@@ -356,9 +356,9 @@ ul li {
<div class="right-yonghu"> <div class="right-yonghu">
<div class="huoyue"> <div class="huoyue">
<p>当前活跃用户</p> <p>当前活跃用户</p>
<p class="fs50 fcff">{{dataList.ToDayClientLoginNum}}</p> <p class="fs50 fcff">{{dataList2.ToDayClientLoginNum}}</p>
</div> </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="sb-tit">{{item.Name}}</p>
<P class="fs50 fcff">{{item.Count}} <P class="fs50 fcff">{{item.Count}}
<img v-if="item.Change==1" class="biaoji" src="../../assets/img/viitto/lvsedian.png" alt=""> <img v-if="item.Change==1" class="biaoji" src="../../assets/img/viitto/lvsedian.png" alt="">
...@@ -419,12 +419,17 @@ export default { ...@@ -419,12 +419,17 @@ export default {
dataArea:[], dataArea:[],
num:1, num:1,
zoom: 1, zoom: 1,
newArr: [] newArr: [],
dataList2: {
ToDayClientLoginNum: 0,
CityHot: [],
ToDayClientLoginList: []
}
} }
},mounted() { },mounted() {
let Height = window.innerHeight let Height = window.innerHeight
this.zoom = Math.round((Height/1080) * 100) / 100 this.zoom = Math.round((Height/1080) * 100) / 100
// this.init(); this.init();
this.getNewList() this.getNewList()
setTimeout(() => { setTimeout(() => {
this.connec(); this.connec();
...@@ -437,13 +442,14 @@ export default { ...@@ -437,13 +442,14 @@ export default {
getNewList(){ getNewList(){
this.apipost('financestatistics_post_GetB2BBoardClientToDayLoginList', {}, r=>{ this.apipost('financestatistics_post_GetB2BBoardClientToDayLoginList', {}, r=>{
if(r.data.resultCode==1){ if(r.data.resultCode==1){
this.dataList = r.data.data; this.dataList2 = r.data.data;
this.dataList.CityHot.forEach(x=>{ this.dataList2.CityHot.forEach(x=>{
this.dataArea.push({ this.dataArea.push({
name:x.CityName, name:x.CityName,
value: [x.Lng,x.Lat] 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