Commit fd2917b0 authored by zhengke's avatar zhengke

修改

parent 05906477
......@@ -31,7 +31,7 @@ ul li {
height: 184px;
}
.content-box{
padding: 0 45px 0 45px;
/* padding: 0 45px 0 45px; */
}
.viittoData .tit{
color: #CCCED3;
......@@ -290,7 +290,7 @@ ul li {
</style>
<template>
<div class="viittoData" v-if="dataList">
<el-row class="content-box" :gutter="80">
<div class="content-box" style="width:96%;margin:0 auto">
<el-col :span="8">
<el-row class="left-top">
<el-col :span="10">
......@@ -322,7 +322,7 @@ ul li {
<el-col :span="12">
<div class="zhanbi-tit"></div>
<ul class="progress-box">
<li class="progress-item" v-for="item in dataList.OrderTypeRatio">
<li class="progress-item" v-for="(item,index) in dataList.OrderTypeRatio" :key="index">
<p class="sb-tit">{{item.Name}} <span>{{item.Ratio}}%</span></p>
<el-progress :text-inside="true" :stroke-width="6" :percentage="item.Ratio"></el-progress>
</li>
......@@ -331,7 +331,7 @@ ul li {
<el-col :span="12">
<div class="zhanbi-tit zhanbi-tit2"></div>
<ul class="progress-box">
<li class="progress-item" v-for="item in dataList.YearOrderTypeRatio">
<li class="progress-item" v-for="(item,index) in dataList.YearOrderTypeRatio" :key="index">
<p class="sb-tit">{{item.Name}} <span>{{item.Ratio}}%</span></p>
<el-progress :text-inside="true" :stroke-width="6" :percentage="item.Ratio"></el-progress>
</li>
......@@ -339,7 +339,7 @@ ul li {
</el-col>
</el-row>
</el-col>
<el-col :span="16">
<el-col style="padding-left:1%;box-sizing: border-box" :span="16">
<div class="right-top">
<div class="ditu">交易统计</div>
<div class="noCked" @click="exChangeBoard()">客户统计</div>
......@@ -357,7 +357,7 @@ ul li {
<p>当前活跃用户</p>
<p class="fs50 fcff">{{dataList.ToDayClientLoginNum}}</p>
</div>
<div class="yonghu-item" v-for="item in dataList.ToDayClientLogin">
<div class="yonghu-item" v-for="(item,index) in dataList.ToDayClientLogin" :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="">
......@@ -370,7 +370,7 @@ ul li {
</el-row>
<el-row><p class="bottom-tit">各平台交易额占比</p></el-row>
<el-row class="bottom" :gutter="35">
<el-col :span="8" v-for="(item,index) in dataList.ToDayPlatformTrade">
<el-col :span="8" v-for="(item,index) in dataList.ToDayPlatformTrade" :key="index">
<div class="bottom-item">
<div>
<img v-if="item.Name=='PC'" src="../../assets/img/viitto/pc_1.png" alt="">
......@@ -398,7 +398,7 @@ ul li {
</el-col>
</el-row>
</el-col>
</el-row>
</div>
</div>
</template>
<script>
......@@ -425,7 +425,7 @@ export default {
setTimeout(() => {
this.exChangeBoard();
}, 300000);
},methods:{
},methods:{
//不同进度条不同颜色
customColorMethod(percentage) {
// console.log(percentage,'percentage');
......@@ -443,7 +443,6 @@ export default {
},
init(){
let url='http://47.96.23.199:5000/api/user/get_b2b_data'
//let url = 'http://192.168.2.16:5001/api/user/get_b2b_data'
let msg={
tdsourcetag:'s_pcqq_aiomsg'
}
......@@ -492,7 +491,7 @@ export default {
//切换统计看板
exChangeBoard(){
window.location="http://data.oytour.com/#/viittoData2"
//window.location="http://192.168.0.111:8080/#/viittoData2";
//window.location="http://192.168.0.112:8081/#/viittoData2";
window.location.reload();
}
}
......
......@@ -372,7 +372,6 @@ export default {
methods: {
getdata(){
let url='http://47.96.23.199:5000/api/user/get_b2b_data'
//let url = 'http://192.168.2.16:5001/api/user/get_b2b_data'
let msg={
tdsourcetag:'s_pcqq_aiomsg'
}
......@@ -516,7 +515,7 @@ export default {
//切换统计看板
exChangeBoard(){
window.location="http://data.oytour.com/#/viittoData"
//window.location="http://192.168.0.111:8080/#/viittoData"
//window.location="http://192.168.0.112:8081/#/viittoData"
window.location.reload();
},
//获取地址、
......
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