Commit fd2917b0 authored by zhengke's avatar zhengke

修改

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