This commit is contained in:
2023-10-20 09:08:39 +08:00
parent 3daba96e6e
commit a694d9d258

View File

@@ -1,10 +1,9 @@
<template> <template>
<div class="main-container main-container_l"> <div class="main-container main-container_l">
<div class="con1"> <div class="con1">
<div class="tip">障碍物告警</div> <div class="tip" v-if="dataInfo.error_name">{{dataInfo.error_name}}</div>
</div> </div>
<div class="con2"> <div class="con2">
<!-- <button v-if="dataInfo.button_name" @click="clickSave">{{dataInfo.button_name}}继续搬运</button> -->
<div class="rt"> <div class="rt">
<div class="rttxt">设备信息</div> <div class="rttxt">设备信息</div>
</div> </div>
@@ -39,7 +38,7 @@
<span class="title">AGV故障</span> <span class="title">AGV故障</span>
<span class="txt txt2">{{dataInfo.error_name}}</span> <span class="txt txt2">{{dataInfo.error_name}}</span>
</div> </div>
<button class="btn" @click="clickSave">{{dataInfo.button_name}}继续搬运</button> <button class="btn" v-if="dataInfo.button_name" @click="clickSave">{{dataInfo.button_name}}</button>
</div> </div>
</div> </div>
</div> </div>
@@ -64,7 +63,8 @@ export default {
task_status: '有任务未执行', task_status: '有任务未执行',
task_num: '待执行', task_num: '待执行',
speed: '0.0m/s', speed: '0.0m/s',
error_name: '障碍物告警' error_name: '障碍物告警',
button_name: '继续搬运'
} }
} }
}, },
@@ -142,14 +142,12 @@ export default {
.con1 .con1
float left float left
position relative position relative
width 4.5rem width 811px
height 4.5rem height 776px
// background center / 100% 100% url(../../../images/aio/car2.png) no-repeat // background center / 100% 100% url(../../../images/aio/car2.png) no-repeat
background center / 100% 100% url(../../../images/new/car-home.png) no-repeat background center / 100% 100% url(../../../images/new/car-home.png) no-repeat
// background center / 100% 100% url(../../../images/aio/AGV223.gif) no-repeat // background center / 100% 100% url(../../../images/aio/AGV223.gif) no-repeat
margin-left .95rem margin-right 235px
margin-right .95rem
margin-top 1.5rem
.tip .tip
width 542px width 542px
height 120px height 120px
@@ -158,10 +156,11 @@ export default {
font-style italic font-style italic
font-size 36px font-size 36px
text-align center text-align center
margin-top 153px
margin-left 63px
background center / 100% 100% url(../../../images/new/bg-home-tip.png) no-repeat background center / 100% 100% url(../../../images/new/bg-home-tip.png) no-repeat
.con2 .con2
float left float left
margin-top 100px
.btn .btn
width 335px width 335px
height 91px height 91px
@@ -169,6 +168,7 @@ export default {
margin-left 167px margin-left 167px
position relative position relative
top -20px top -20px
color #f6f9fe
.rt .rt
width 646px width 646px
height 102px height 102px