Commit fd2e8d6b authored by 华国豪's avatar 华国豪 🙄

1

parent 013408bd
......@@ -306,13 +306,13 @@ ul li {
<p class="tit yuefen-box"> <span>8月</span> <img src="../../assets/img/viitto/xiajiantou.png" alt=""></p>
</div> -->
<p class="sb-tit sb-tit-top">今日交易总额</p>
<h1 class="big-price"><span>{{getIntegerNum(dataList.TotalMoney,2)}}</span>
<h1 class="big-price"><span>{{dataList.TotalMoney}}</span>
<img v-if="dataList.ToDayMoneyChange==1" src="../../assets/img/viitto/lvsedian.png" alt="">
<img v-if="dataList.ToDayMoneyChange==2" src="../../assets/img/viitto/hongsedian.png" alt="">
</h1>
<div class="price-line"></div>
<p class="sb-tit sb-tit-top">年度累计交易</p>
<h1 class="big-price"><span>{{getIntegerNum(dataList.YearTotalMoney,0)}}</span>
<h1 class="big-price"><span>{{dataList.YearTotalMoney}}</span>
<img v-if="dataList.YearMoneyChange==1" src="../../assets/img/viitto/lvsedian.png" alt="">
<img v-if="dataList.YearMoneyChange==2" src="../../assets/img/viitto/hongsedian.png" alt="">
</h1>
......@@ -424,7 +424,8 @@ export default {
},mounted() {
let Height = window.innerHeight
this.zoom = Math.round((Height/1080) * 100) / 100
this.init();
// this.init();
this.getNewList()
setTimeout(() => {
this.connec();
}, 1000);
......@@ -433,6 +434,19 @@ export default {
}, 300000);
this.getLoginHot()
},methods:{
getNewList(){
this.apipost('financestatistics_post_GetB2BBoardClientToDayLoginList', {}, r=>{
if(r.data.resultCode==1){
this.dataList = r.data.data;
this.dataList.CityHot.forEach(x=>{
this.dataArea.push({
name:x.CityName,
value: [x.Lng,x.Lat]
})
})
}
})
},
getLoginHot(){
this.apipost("financestatistics_post_GetB2BClienyThreeMonethLoginInfo", {}, r=>{
if(r.data.resultCode==1){
......@@ -445,6 +459,7 @@ export default {
}
})
},
//作废
init(){
let url='http://47.96.23.199:5000/api/user/get_b2b_data'
let msg={
......
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