-
-
-
+
@@ -59,26 +62,26 @@ export default {
websocket: null, // WebSocket实例
reconnectTimer: null, // 重连计时器
topInfo: {},
- // topInfo: {
- // batteryPower: -1.0,
- // exceptionInfo: {
- // exception: ['重定位失败,检查环境或标记是否有变化.', '定位超时,尝试移动小车位置后重试.', '定位超时,尝试移动小车位置后重试.', '定位超时,尝试移动小车位置后重试.'],
- // exceptionCodes: [1, 17179869185, 1335734829057]
- // },
- // id: '1', // 车号ID
- // ip: '192.168.100.82', // 车辆IP
- // isManual: false, // 是否是手动,true是手动,false是自动
- // mapId: 39, // 地图ID
- // mapName: 'apt_map_1753078481180', // 地图名称
- // name: 'V1', // 车辆名称
- // state: '未知状态', // 车辆状态
- // stateId: 7, // 车辆状态ID
- // theta: 0.9073792099952698, // 车辆航向角
- // x: 0.004027, // 车辆x坐标
- // y: -0.001812, // 车辆y坐标
- // task_seq: 'B1-C',
- // task_point: 'C'
- // },
+ topInfo1: {
+ batteryPower: -1.0,
+ exceptionInfo: {
+ exception: ['重定位失败,检查环境或标记是否有变化.', '定位超时,尝试移动小车位置后重试.', '定位超时,尝试移动小车位置后重试.', '定位超时,尝试移动小车位置后重试.'],
+ exceptionCodes: [1, 17179869185, 1335734829057]
+ },
+ id: '1', // 车号ID
+ ip: '192.168.100.82', // 车辆IP
+ isManual: false, // 是否是手动,true是手动,false是自动
+ mapId: 39, // 地图ID
+ mapName: 'apt_map_1753078481180', // 地图名称
+ name: 'V1', // 车辆名称
+ state: '未知状态', // 车辆状态
+ stateId: 7, // 车辆状态ID
+ theta: 0.9073792099952698, // 车辆航向角
+ x: 0.004027, // 车辆x坐标
+ y: -0.001812, // 车辆y坐标
+ task_seq: '工作点1-工作点2-工作点3',
+ task_point: '工作点2'
+ },
taskSeq: '',
currentStep: 0,
loginVisible: false,
@@ -263,17 +266,66 @@ export default {
display inline-block
font-size .16rem
color #e6bb3c
-.task-tips
- display flex
- align-items: center;
+.task_wraper
position fixed
bottom 0
- left 0
- width 100%
- height .4rem
- padding 0 2%
- // background linear-gradient(90deg, #1DB8FF,#1DC5E1, #27C8B0,#819269, #E46355)
-.task-tips-t
+ left 2%
+ width 96%
+ height .5rem
+ padding 0 .09rem
+ margin-bottom .1rem
+.task_content
+ height 100%
+ display flex
+ justify-content: center
+ border 1px dashed #1e9fe7
+.step_item
+ display flex
+ align-items center
+.step_arrow
+ position relative
+ width .7rem
+ height 12px
+ background-color #0091de
+ overflow hidden
+ img
+ _wh(21px, 9px)
+ position: absolute;
+ left 50%
+ top: 50%;
+ transform: translate(-50%, -50%);
+.step_name
+ _font(.18rem, .3rem, #fff, ,center)
+ padding 0 .06rem
+ border 1px solid #00d0fc
+ background-image linear-gradient(to bottom,rgba(42, 83, 138, 50%), rgba(57, 101, 181, 50%))
+ box-shadow inset 0 0px 3px 1px rgba(98, 180, 243, 50%)
+ border-radius 2px
+.step_active
+ .step_name
+ background-image linear-gradient(to bottom,rgba(251, 143, 0, 30%), rgba(251, 143, 0, 60%))
+ box-shadow inset 0 0px 3px 1px rgba(251, 143, 0, 50%)
+ border-color #fb8f00
+ .step_arrow
+ img
+ left 0
+ animation: moveRight 3s linear infinite;
+.step_actived
+ .step_name
+ background-image linear-gradient(to bottom,rgba(210, 210, 227, 30%), rgba(210, 210, 227, 60%))
+ box-shadow inset 0 0px 3px 1px rgba(210, 210, 227, 50%)
+ border-color #d2d2e3
+ .step_arrow
+ background-color rgba(210, 210, 227, 50%)
+@keyframes moveRight {
+ from {
+ left: 0;
+ }
+ to {
+ left: calc(100% + 11px);
+ }
+}
+.task_wraper-t
_font(.2rem, .4rem, #fff, ,center)
.hud_left
position absolute
diff --git a/src/style/common.styl b/src/style/common.styl
index 11f5eea..ef58e6f 100644
--- a/src/style/common.styl
+++ b/src/style/common.styl
@@ -246,7 +246,7 @@
.main-conatiner
width 100%
height calc(100% - .48rem)
- padding .3rem 0 .4rem 0
+ padding .3rem 0 .6rem 0
.page_container
_wh(96%, 100%)
padding .09rem