|
|
|
|
@ -3,94 +3,141 @@
|
|
|
|
|
<div class="boxlist">
|
|
|
|
|
<div class="box box1">
|
|
|
|
|
<div class="boxtitle">
|
|
|
|
|
预约参观人数
|
|
|
|
|
预约参观
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentsubtitle">总预约人数/总入场人数</div>
|
|
|
|
|
<div class="boxcontent">
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.visit_total.total" :duration="3600" />
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.visit_list.total.appointment.total" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">总人数</div>
|
|
|
|
|
<div class="boxcontentitem-small">团队:{{totaldata.visit_list.total.appointment.team}}</div>
|
|
|
|
|
<div class="boxcontentitem-small">个人:{{totaldata.visit_list.total.appointment.person}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxline"></div>
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.visit_total.today" :duration="3600" />
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.visit_list.total.enter.total" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">今日</div>
|
|
|
|
|
<div class="boxcontentitem-small">团队:{{totaldata.visit_list.total.enter.team}}</div>
|
|
|
|
|
<div class="boxcontentitem-small">个人:{{totaldata.visit_list.total.enter.person}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxfooter"></div>
|
|
|
|
|
<div class="boxfooter">
|
|
|
|
|
核销比:{{toCaculateper(totaldata.visit_list.total.enter.total,totaldata.visit_list.total.appointment.total)}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="boxcontentsubtitle">今日预约人数/今日入场人数</div>
|
|
|
|
|
<div class="boxcontent">
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.visit_list.today.appointment.total" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">团队:{{totaldata.visit_list.today.appointment.team}}</div>
|
|
|
|
|
<div class="boxcontentitem-small">个人:{{totaldata.visit_list.today.appointment.person}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxline"></div>
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.visit_list.today.enter.total" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">团队:{{totaldata.visit_list.today.enter.team}}</div>
|
|
|
|
|
<div class="boxcontentitem-small">个人:{{totaldata.visit_list.today.enter.person}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxfooter">
|
|
|
|
|
核销比:{{toCaculateper(totaldata.visit_list.today.enter.total,totaldata.visit_list.today.appointment.total)}}
|
|
|
|
|
</div>
|
|
|
|
|
<img src="../../../assets/imgs/index_icon_1.png" class="index_icon" />
|
|
|
|
|
<img src="../../../assets/imgs/index_icon_bg_1.png" class="index_bg" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box box2">
|
|
|
|
|
<div class="boxtitle">
|
|
|
|
|
入场参观人次
|
|
|
|
|
活动参加
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="boxcontentsubtitle">总报名人数/总核销人数</div>
|
|
|
|
|
<div class="boxcontent">
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.visit_enter.total" :duration="3600" />
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.activity_list.total.appointment.total" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">总人数</div>
|
|
|
|
|
<div class="boxcontentitem-small">团队:{{totaldata.activity_list.total.appointment.team}}</div>
|
|
|
|
|
<div class="boxcontentitem-small">个人:{{totaldata.activity_list.total.appointment.person}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxline"></div>
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.visit_enter.today" :duration="3600" />
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.activity_list.total.enter.total" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">今日</div>
|
|
|
|
|
<div class="boxcontentitem-small">团队:{{totaldata.activity_list.total.enter.team}}</div>
|
|
|
|
|
<div class="boxcontentitem-small">个人:{{totaldata.activity_list.total.enter.person}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxfooter">当日核销比:{{totaldata.visit_enter.per}}</div>
|
|
|
|
|
<div class="boxfooter">
|
|
|
|
|
核销比:{{toCaculateper(totaldata.activity_list.total.enter.total,totaldata.activity_list.total.appointment.total)}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="boxcontentsubtitle">今日报名人数/今日核销人数</div>
|
|
|
|
|
<div class="boxcontent">
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.activity_list.today.appointment.total" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">团队:{{totaldata.activity_list.today.appointment.team}}</div>
|
|
|
|
|
<div class="boxcontentitem-small">个人:{{totaldata.activity_list.today.appointment.person}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxline"></div>
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.activity_list.today.enter.total" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">团队:{{totaldata.activity_list.today.enter.team}}</div>
|
|
|
|
|
<div class="boxcontentitem-small">个人:{{totaldata.activity_list.today.enter.person}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxfooter"></div>
|
|
|
|
|
<img src="../../../assets/imgs/index_icon_2.png" class="index_icon" />
|
|
|
|
|
<img src="../../../assets/imgs/index_icon_bg_1-21.png" class="index_bg" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box box3">
|
|
|
|
|
<div class="box box4">
|
|
|
|
|
<div class="boxtitle">
|
|
|
|
|
预约活动人次
|
|
|
|
|
停车预约
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentsubtitle">总预约数/总核销数</div>
|
|
|
|
|
<div class="boxcontent">
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.activity_total.total" :duration="3600" />
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.park_list.total.appointment" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">总人数</div>
|
|
|
|
|
<div class="boxcontentitem-small"> </div>
|
|
|
|
|
<div class="boxcontentitem-small"> </div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxline"></div>
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.activity_total.today" :duration="3600" />
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.park_list.total.enter" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">今日</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxfooter"></div>
|
|
|
|
|
<img src="../../../assets/imgs/index_icon_3.png" class="index_icon" />
|
|
|
|
|
<img src="../../../assets/imgs/index_icon_bg_3.png" class="index_bg" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box box4">
|
|
|
|
|
<div class="boxtitle">
|
|
|
|
|
参加活动人次
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxfooter">核销比:{{toCaculateper(totaldata.park_list.total.enter,totaldata.park_list.total.appointment)}}</div>
|
|
|
|
|
<div class="boxcontentsubtitle">今日预约数/今日核销数</div>
|
|
|
|
|
<div class="boxcontent">
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.activity_enter.total" :duration="3600" />
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.park_list.today.appointment" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">总人数</div>
|
|
|
|
|
<div class="boxcontentitem-small"> </div>
|
|
|
|
|
<div class="boxcontentitem-small"> </div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxline"></div>
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.activity_enter.today" :duration="3600" />
|
|
|
|
|
<count-to :start-val="0" :end-val="totaldata.park_list.today.enter" :duration="3600" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxcontentitem-small">今日</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="boxfooter">核销比:{{totaldata.activity_enter.per}}</div>
|
|
|
|
|
<div class="boxfooter">核销比:{{toCaculateper(totaldata.park_list.today.enter,totaldata.park_list.today.appointment)}}</div>
|
|
|
|
|
<img src="../../../assets/imgs/index_icon_4.png" class="index_icon" />
|
|
|
|
|
<img src="../../../assets/imgs/index_icon_bg_4.png" class="index_bg" />
|
|
|
|
|
</div>
|
|
|
|
|
@ -109,23 +156,67 @@
|
|
|
|
|
totaldata: {
|
|
|
|
|
type: Object,
|
|
|
|
|
default: {
|
|
|
|
|
"visit_total": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0
|
|
|
|
|
"visit_list": {
|
|
|
|
|
"total": {
|
|
|
|
|
"appointment": {
|
|
|
|
|
"team": 0,
|
|
|
|
|
"person": 0,
|
|
|
|
|
"total": 0
|
|
|
|
|
},
|
|
|
|
|
"enter": {
|
|
|
|
|
"team": 0,
|
|
|
|
|
"person": 0,
|
|
|
|
|
"total": 0
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"today": {
|
|
|
|
|
"appointment": {
|
|
|
|
|
"team": 0,
|
|
|
|
|
"person": 0,
|
|
|
|
|
"total": 0
|
|
|
|
|
},
|
|
|
|
|
"enter": {
|
|
|
|
|
"team": 0,
|
|
|
|
|
"person": 0,
|
|
|
|
|
"total": 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"visit_enter": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0,
|
|
|
|
|
"per": 0
|
|
|
|
|
"activity_list": {
|
|
|
|
|
"total": {
|
|
|
|
|
"appointment": {
|
|
|
|
|
"team": 0,
|
|
|
|
|
"person": 126,
|
|
|
|
|
"total": 126
|
|
|
|
|
},
|
|
|
|
|
"enter": {
|
|
|
|
|
"team": 0,
|
|
|
|
|
"person": 44,
|
|
|
|
|
"total": 44
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"today": {
|
|
|
|
|
"appointment": {
|
|
|
|
|
"team": 0,
|
|
|
|
|
"person": 0,
|
|
|
|
|
"total": 0
|
|
|
|
|
},
|
|
|
|
|
"enter": {
|
|
|
|
|
"team": 0,
|
|
|
|
|
"person": 0,
|
|
|
|
|
"total": 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"activity_total": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0
|
|
|
|
|
},
|
|
|
|
|
"activity_enter": {
|
|
|
|
|
"total": 0,
|
|
|
|
|
"today": 0,
|
|
|
|
|
"per": 0
|
|
|
|
|
"park_list": {
|
|
|
|
|
"total": {
|
|
|
|
|
"appointment": 0,
|
|
|
|
|
"enter": 0
|
|
|
|
|
},
|
|
|
|
|
"today": {
|
|
|
|
|
"appointment": 0,
|
|
|
|
|
"enter": 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -136,6 +227,9 @@
|
|
|
|
|
methods: {
|
|
|
|
|
handleRoute(type) {
|
|
|
|
|
this.$emit('handleRoute', type)
|
|
|
|
|
},
|
|
|
|
|
toCaculateper(f1,f2){
|
|
|
|
|
return ((f1 / (f2 == 0 ? 1 : f2)) * 100).toFixed(2) + "%"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -162,7 +256,7 @@
|
|
|
|
|
|
|
|
|
|
.box {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 24%;
|
|
|
|
|
width: 33%;
|
|
|
|
|
margin-left: 0.5%;
|
|
|
|
|
margin-right: 0.5%;
|
|
|
|
|
margin-bottom: 2.375rem;
|
|
|
|
|
@ -172,11 +266,22 @@
|
|
|
|
|
padding: 1.25rem;
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
|
|
|
|
.boxcontentsubtitle {
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
text-align: center;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 1.0625rem;
|
|
|
|
|
margin-top: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.boxfooter {
|
|
|
|
|
font-size: 1.0625rem;
|
|
|
|
|
font-family: Source Han Sans CN;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.boxtitle {
|
|
|
|
|
@ -208,7 +313,7 @@
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
text-align: center;
|
|
|
|
|
min-width: 30%;
|
|
|
|
|
min-width: 40%;
|
|
|
|
|
|
|
|
|
|
.boxcontentitem-big {
|
|
|
|
|
font-size: 2.625rem;
|
|
|
|
|
|