From 757177d9911cbfef226c8769832c1944ce6c59d8 Mon Sep 17 00:00:00 2001 From: IAMHERE <446961233@qq.com> Date: Wed, 27 Dec 2023 11:06:56 +0800 Subject: [PATCH] fix- --- ruoyi-ui/src/views/index.vue | 67 ++++++++++++++++++++++++++++++++---- 1 file changed, 60 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index a13bb72b..20c38825 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -59,7 +59,26 @@
-
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
@@ -175,12 +193,13 @@ export default { name: 'indexView', data() { return { + activeNames: [1001, 1002, 1003, 1004, 1005, 1006], showEmit: false, boardEmitItem: {}, //修改弹窗的数据 activeName: 'first', dialogTit: '门架式可变信息标志YK16+270', - dialogInfoLeft: false, - dialogInfoRight: false, + dialogInfoLeft: true, + dialogInfoRight: true, mapDialogTop: '0px', mapDialogLeft: '0px', keyMonitoringList: [ @@ -224,8 +243,11 @@ export default { { id: 308, txt: '谨慎驾驶,
注意安全', w: 768, h: 160, col: '#03FF00', fz: 60, align: 'center' } ] }, - { id: 1002, bt: '日常通用', mbList: [{ id: 309, txt: '道路施工,
谨慎驾驶', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] }, - { id: 1003, bt: '恶劣天气', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] } + { id: 1002, bt: '施工管控', mbList: [{ id: 309, txt: '道路施工,
谨慎驾驶', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] }, + { id: 1003, bt: '恶劣天气', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] }, + { id: 1004, bt: '交通拥堵', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] }, + { id: 1005, bt: '突发事件', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] }, + { id: 1006, bt: '警情播报', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] } ], tabInfoList: [ @@ -272,6 +294,9 @@ export default { // this.$refs.mapDialog.style.left = e.pixel.x + 'px' // console.log(this.$refs.mapDialog) }, + panelChangeFn(val) { + console.log(val) + }, // 接收子组件新增待发模板 addInfo(form) { console.log(form, '待发新增') @@ -969,4 +994,32 @@ export default { ::v-deep .el-tabs__active-bar { background-color: #3de8ff !important; } +::v-deep .el-collapse-item__header { + color: #fff; + height: 28px; + background-color: #053b4f; + border: none; + padding-left: 0.5vw; +} +::v-deep .el-collapse { + color: #fff; + border: none; +} +::v-deep .el-collapse-item__wrap { + color: #fff; + will-change: height; + background-color: #053b4f; + overflow: hidden; + -webkit-box-sizing: border-box; + box-sizing: border-box; + margin-top: 0.5vh; + border: none; +} +::v-deep .el-collapse-item__content { + margin-bottom: 0; + padding: 0.5vh 0.5vw; +} +::v-deep .el-collapse-item { + margin-bottom: 1vh; +} \ No newline at end of file