|
|
|
|
@ -1,7 +1,12 @@
|
|
|
|
|
<template>
|
|
|
|
|
<el-row :gutter="40" class="panel-group">
|
|
|
|
|
<el-col :xs="12" :sm="12" :lg="5" class="card-panel-col" style="background: #FDC830; /* fallback for old browsers */
|
|
|
|
|
background: -webkit-linear-gradient(to right, #F37335, #FDC830); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
|
|
<template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row class="panel-group">
|
|
|
|
|
|
|
|
|
|
<el-col :xs="11" :sm="11" :lg="11" :xl="5" class="card-panel-col"
|
|
|
|
|
style="background: #FDC830; /* fallback for old browsers */
|
|
|
|
|
background: -webkit-linear-gradient(to right, #F37335, #FDC830); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
|
|
background: linear-gradient(to right, #F37335, #FDC830); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */">
|
|
|
|
|
<div class="card-panel">
|
|
|
|
|
<div class="card-panel-icon-wrapper icon-people">
|
|
|
|
|
@ -12,14 +17,15 @@ background: linear-gradient(to right, #F37335, #FDC830); /* W3C, IE 10+/ Edge, F
|
|
|
|
|
预约参观人次
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card-panel-text">
|
|
|
|
|
<p>总人数:{{totaldata.visit_total.total}}</p>
|
|
|
|
|
<p>今 日:{{totaldata.visit_total.today}}</p>
|
|
|
|
|
<p>总人数:{{totaldata.visit_total.total}}</p>
|
|
|
|
|
<p>今 日:{{totaldata.visit_total.today}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :xs="12" :sm="12" :lg="5" class="card-panel-col" style="background: #FFB75E; /* fallback for old browsers */
|
|
|
|
|
background: -webkit-linear-gradient(to right, #ED8F03, #FFB75E); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
|
|
<el-col :xs="11" :sm="11" :lg="11" :xl="5" class="card-panel-col"
|
|
|
|
|
style="background: #FFB75E; /* fallback for old browsers */
|
|
|
|
|
background: -webkit-linear-gradient(to right, #ED8F03, #FFB75E); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
|
|
background: linear-gradient(to right, #ED8F03, #FFB75E); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */">
|
|
|
|
|
<div class="card-panel" style="background-color: transparent;" @click="handleRoute('box')">
|
|
|
|
|
<div class="card-panel-icon-wrapper icon-message">
|
|
|
|
|
@ -29,17 +35,18 @@ background: linear-gradient(to right, #ED8F03, #FFB75E); /* W3C, IE 10+/ Edge, F
|
|
|
|
|
<div class="card-panel-text" style="font-family: '微软雅黑';margin-bottom:5px">
|
|
|
|
|
入场参观人次
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card-panel-text">
|
|
|
|
|
<p>总人数:{{totaldata.visit_enter.total}}</p>
|
|
|
|
|
<p>今 日:{{totaldata.visit_enter.today}}</p>
|
|
|
|
|
<div class="card-panel-text">
|
|
|
|
|
<p>总人数:{{totaldata.visit_enter.total}}</p>
|
|
|
|
|
<p>今 日:{{totaldata.visit_enter.today}}</p>
|
|
|
|
|
<p>当日核销比:{{totaldata.visit_enter.per}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <count-to :start-val="0" :end-val="countsData.client_count" :duration="3000" class="card-panel-num" /> -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :xs="12" :sm="12" :lg="5" class="card-panel-col" style="background: #ffe259; /* fallback for old browsers */
|
|
|
|
|
background: -webkit-linear-gradient(to right, #ffa751, #ffe259); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
|
|
<el-col :xs="11" :sm="11" :lg="11" :xl="5" class="card-panel-col"
|
|
|
|
|
style="background: #ffe259; /* fallback for old browsers */
|
|
|
|
|
background: -webkit-linear-gradient(to right, #ffa751, #ffe259); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
|
|
background: linear-gradient(to right, #ffa751, #ffe259); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */">
|
|
|
|
|
<div class="card-panel" @click="handleRoute('tool')">
|
|
|
|
|
<div class="card-panel-icon-wrapper icon-money">
|
|
|
|
|
@ -49,16 +56,17 @@ background: linear-gradient(to right, #ffa751, #ffe259); /* W3C, IE 10+/ Edge, F
|
|
|
|
|
<div class="card-panel-text" style="font-family: '微软雅黑'">
|
|
|
|
|
预约活动人次
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card-panel-text" style="color: #fff;font-size:16px">
|
|
|
|
|
<p>总人数:{{totaldata.activity_total.total}}</p>
|
|
|
|
|
<p>今 日:{{totaldata.activity_total.today}}</p>
|
|
|
|
|
<div class="card-panel-text" style="color: #fff;font-size:16px">
|
|
|
|
|
<p>总人数:{{totaldata.activity_total.total}}</p>
|
|
|
|
|
<p>今 日:{{totaldata.activity_total.today}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <count-to :start-val="0" :end-val="countsData.tool_count" :duration="3200" class="card-panel-num" /> -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :xs="12" :sm="12" :lg="5" class="card-panel-col" style="background: #fe8c00; /* fallback for old browsers */
|
|
|
|
|
background: -webkit-linear-gradient(to right, #f83600, #fe8c00); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
|
|
<el-col :xs="11" :sm="11" :lg="11" :xl="5" class="card-panel-col"
|
|
|
|
|
style="background: #fe8c00; /* fallback for old browsers */
|
|
|
|
|
background: -webkit-linear-gradient(to right, #f83600, #fe8c00); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
|
|
background: linear-gradient(to right, #f83600, #fe8c00); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */">
|
|
|
|
|
<div class="card-panel" @click="handleRoute('user')">
|
|
|
|
|
<div class="card-panel-icon-wrapper icon-shopping">
|
|
|
|
|
@ -68,9 +76,9 @@ background: linear-gradient(to right, #f83600, #fe8c00); /* W3C, IE 10+/ Edge, F
|
|
|
|
|
<div class="card-panel-text" style="font-family: '微软雅黑'">
|
|
|
|
|
预约活动人次
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card-panel-text" style="color: #fff;font-size:16px">
|
|
|
|
|
<p>总人数:{{totaldata.activity_enter.total}}</p>
|
|
|
|
|
<p>今 日:{{totaldata.activity_enter.today}}</p>
|
|
|
|
|
<div class="card-panel-text" style="color: #fff;font-size:16px">
|
|
|
|
|
<p>总人数:{{totaldata.activity_enter.total}}</p>
|
|
|
|
|
<p>今 日:{{totaldata.activity_enter.today}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <count-to :start-val="0" :end-val="countsData.user_count" :duration="3600" class="card-panel-num" /> -->
|
|
|
|
|
</div>
|
|
|
|
|
@ -87,28 +95,28 @@ background: linear-gradient(to right, #f83600, #fe8c00); /* W3C, IE 10+/ Edge, F
|
|
|
|
|
props: {
|
|
|
|
|
countsData: {
|
|
|
|
|
type: Object
|
|
|
|
|
},
|
|
|
|
|
totaldata:{
|
|
|
|
|
type: Object,
|
|
|
|
|
default:{
|
|
|
|
|
"visit_total": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0
|
|
|
|
|
},
|
|
|
|
|
"visit_enter": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0,
|
|
|
|
|
"per":0
|
|
|
|
|
},
|
|
|
|
|
"activity_total": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0
|
|
|
|
|
},
|
|
|
|
|
"activity_enter": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
totaldata: {
|
|
|
|
|
type: Object,
|
|
|
|
|
default: {
|
|
|
|
|
"visit_total": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0
|
|
|
|
|
},
|
|
|
|
|
"visit_enter": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0,
|
|
|
|
|
"per": 0
|
|
|
|
|
},
|
|
|
|
|
"activity_total": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0
|
|
|
|
|
},
|
|
|
|
|
"activity_enter": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
@ -129,8 +137,8 @@ background: linear-gradient(to right, #f83600, #fe8c00); /* W3C, IE 10+/ Edge, F
|
|
|
|
|
margin-right: -3% !important;
|
|
|
|
|
|
|
|
|
|
.card-panel-col {
|
|
|
|
|
// margin:0 2%;
|
|
|
|
|
margin: 0 2%;
|
|
|
|
|
|
|
|
|
|
margin-bottom: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -206,13 +214,14 @@ background: linear-gradient(to right, #f83600, #fe8c00); /* W3C, IE 10+/ Edge, F
|
|
|
|
|
line-height: 25px;
|
|
|
|
|
color: rgb(255, 255, 255);
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
width:70%;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
width: 70%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
p{
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-size: 19px;
|
|
|
|
|
font-size: 19px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-panel-num {
|
|
|
|
|
|