类型:开发
描述:
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<div>
|
||||
<div v-for="(item, index) in scenicStore.scenicSpotData.infoList" :key="index">
|
||||
<div class="label">{{ item.name }}</div>
|
||||
<p class="value" :class="{ error: [3, 4].includes(item.type) }">{{ item.value }}</p>
|
||||
<p class="value" :class="{ error: item.type==2,warning: item.type==1 }">{{ item.value }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,7 +65,7 @@
|
||||
<div>
|
||||
<div class="bg">
|
||||
<span class="label">今日紧急工单数:</span>
|
||||
<span class="value error">
|
||||
<span class="value" :class="scenicStore.wordkOrderData.warnData.count>1?'error':'success'">
|
||||
<countup :end-val="scenicStore.wordkOrderData.warnData.count" />
|
||||
</span>
|
||||
</div>
|
||||
@@ -112,7 +112,7 @@
|
||||
<div class="item" v-for="(item, index) in gridData" :key="index">
|
||||
<div>{{ item.time }}</div>
|
||||
<div>{{ item.value }}</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -181,9 +181,9 @@ import pubSub from 'pubsub-js'
|
||||
}
|
||||
onMounted(() => {
|
||||
scenicChange = PubSub.subscribe('scenicChange', (msg, data) => {
|
||||
|
||||
|
||||
gridTitle.value = data.name
|
||||
|
||||
|
||||
hrefItem.value = data
|
||||
// initMap('scenic-map', data.lng, data.lat, 15)
|
||||
// map.value.setDisplayOptions({
|
||||
@@ -266,6 +266,9 @@ import pubSub from 'pubsub-js'
|
||||
text-align: center;
|
||||
line-height: vh(60);
|
||||
}
|
||||
.warning {
|
||||
color:#DCBB48;;
|
||||
}
|
||||
.error {
|
||||
color: #ff4400;
|
||||
}
|
||||
@@ -466,7 +469,7 @@ import pubSub from 'pubsub-js'
|
||||
// margin-top:vh(10);
|
||||
min-width:vw(900);
|
||||
height:vh(800);
|
||||
|
||||
|
||||
}
|
||||
.header-title{
|
||||
font-size:vw(32);
|
||||
@@ -474,7 +477,7 @@ import pubSub from 'pubsub-js'
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
margin-bottom:vh(20);
|
||||
|
||||
|
||||
}
|
||||
.bom-box {
|
||||
.table2{
|
||||
@@ -487,7 +490,7 @@ import pubSub from 'pubsub-js'
|
||||
.header {
|
||||
height: vh(28);
|
||||
font-weight: 400;
|
||||
font-size: vw(12);
|
||||
font-size: vw(24);
|
||||
color: #fff;
|
||||
display: flex;
|
||||
background: linear-gradient(180deg, rgba(0, 99, 255, 0) 0%, #0063ff 100%);
|
||||
@@ -517,7 +520,7 @@ import pubSub from 'pubsub-js'
|
||||
.item {
|
||||
height: vh(50);
|
||||
font-weight: 400;
|
||||
font-size: vw(14);
|
||||
font-size: vw(24);
|
||||
color: #f1f7ff;
|
||||
display: flex;
|
||||
&:nth-child(2n + 1) {
|
||||
|
||||
@@ -17,13 +17,9 @@
|
||||
<count-item
|
||||
label="排队人数"
|
||||
:count="scenicStore.scenicQueueData.header.pdrs"
|
||||
:color="scenicStore.scenicQueueData.header.pdrs_type == 0 ? '' : '#E21B1B'"
|
||||
suffix="人"
|
||||
/>
|
||||
<!-- <count-item
|
||||
label="排队持续时间"
|
||||
:count="scenicStore.scenicQueueData.header.pdcxsj"
|
||||
suffix="分钟"
|
||||
/> -->
|
||||
</div>
|
||||
<div class="border">
|
||||
<div class="pt-10">
|
||||
|
||||
Reference in New Issue
Block a user