diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/components/SelectTool/selectArea.vue b/src/components/SelectTool/selectArea.vue index 4d47b6c..a96dd8f 100644 --- a/src/components/SelectTool/selectArea.vue +++ b/src/components/SelectTool/selectArea.vue @@ -7,7 +7,7 @@
{{ title }}
- +
@@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/components/SelectTool/selectArea.vue b/src/components/SelectTool/selectArea.vue index 4d47b6c..a96dd8f 100644 --- a/src/components/SelectTool/selectArea.vue +++ b/src/components/SelectTool/selectArea.vue @@ -7,7 +7,7 @@
{{ title }}
- +
@@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/components/SelectTool/selectArea.vue b/src/components/SelectTool/selectArea.vue index 4d47b6c..a96dd8f 100644 --- a/src/components/SelectTool/selectArea.vue +++ b/src/components/SelectTool/selectArea.vue @@ -7,7 +7,7 @@
{{ title }}
- +
@@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/components/SelectTool/selectArea.vue b/src/components/SelectTool/selectArea.vue index 4d47b6c..a96dd8f 100644 --- a/src/components/SelectTool/selectArea.vue +++ b/src/components/SelectTool/selectArea.vue @@ -7,7 +7,7 @@
{{ title }}
- +
@@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/components/SelectTool/selectArea.vue b/src/components/SelectTool/selectArea.vue index 4d47b6c..a96dd8f 100644 --- a/src/components/SelectTool/selectArea.vue +++ b/src/components/SelectTool/selectArea.vue @@ -7,7 +7,7 @@
{{ title }}
- +
@@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/components/SelectTool/selectArea.vue b/src/components/SelectTool/selectArea.vue index 4d47b6c..a96dd8f 100644 --- a/src/components/SelectTool/selectArea.vue +++ b/src/components/SelectTool/selectArea.vue @@ -7,7 +7,7 @@
{{ title }}
- +
@@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/components/SelectTool/selectArea.vue b/src/components/SelectTool/selectArea.vue index 4d47b6c..a96dd8f 100644 --- a/src/components/SelectTool/selectArea.vue +++ b/src/components/SelectTool/selectArea.vue @@ -7,7 +7,7 @@
{{ title }}
- +
@@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/button_images/board-box1.png b/src/assets/button_images/board-box1.png new file mode 100644 index 0000000..1f4d1e6 --- /dev/null +++ b/src/assets/button_images/board-box1.png Binary files differ diff --git a/src/assets/login_images/logo.png b/src/assets/login_images/logo.png index 0266a29..e2d24cf 100644 --- a/src/assets/login_images/logo.png +++ b/src/assets/login_images/logo.png Binary files differ diff --git a/src/components/Map/MarsMap.vue b/src/components/Map/MarsMap.vue index 5c5fae8..94c1f3a 100644 --- a/src/components/Map/MarsMap.vue +++ b/src/components/Map/MarsMap.vue @@ -119,6 +119,7 @@ outlineWidth: 3, // 边框宽度 fill: true, // 是否填充 width: 5, // 宽度 + clampToGround: true, label: { // 面中心点,显示文字的配置 text: '{name}', // 对应的属性名称 diff --git a/src/components/SelectTool/components/selectButton.vue b/src/components/SelectTool/components/selectButton.vue index e124bfd..5b89a96 100644 --- a/src/components/SelectTool/components/selectButton.vue +++ b/src/components/SelectTool/components/selectButton.vue @@ -1,18 +1,67 @@ diff --git a/src/components/SelectTool/selectArea.vue b/src/components/SelectTool/selectArea.vue index 4d47b6c..a96dd8f 100644 --- a/src/components/SelectTool/selectArea.vue +++ b/src/components/SelectTool/selectArea.vue @@ -7,7 +7,7 @@
{{ title }}
- +
@@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@ @@ -17,7 +17,15 @@ export default { name: 'SelectArea', components: { SelectTitle }, + model: { + prop: 'value', + event: 'change' + }, props: { + value: { + type: String, + default: '' + }, // 选中值 title: { type: String, default: '' @@ -34,6 +42,21 @@ ] } }// 按钮组 + }, + data() { + return { + select: '' + } + }, + mounted() { + this.select = this.value + }, + methods: { + change(value) { + console.log(value) + this.select = value + this.$emit('change', value) + } } } @@ -72,6 +95,10 @@ } .btn:focus{ outline: -webkit-focus-ring-color auto 0px; + background-color:#0e8bff; + } + .check{ + background-color:#0e8bff; } } diff --git a/src/components/panelBoard/panelBoard.vue b/src/components/panelBoard/panelBoard.vue new file mode 100644 index 0000000..3e22582 --- /dev/null +++ b/src/components/panelBoard/panelBoard.vue @@ -0,0 +1,99 @@ + + + + + + diff --git a/src/icons/svg/alarm-well.svg b/src/icons/svg/alarm-well.svg deleted file mode 100644 index 60f639c..0000000 --- a/src/icons/svg/alarm-well.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/icons/svg/icon-bar.svg b/src/icons/svg/icon-bar.svg new file mode 100644 index 0000000..889e171 --- /dev/null +++ b/src/icons/svg/icon-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-car.svg b/src/icons/svg/icon-car.svg deleted file mode 100644 index 50f7700..0000000 --- a/src/icons/svg/icon-car.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icon-heat.svg b/src/icons/svg/icon-heat.svg new file mode 100644 index 0000000..4b7e54b --- /dev/null +++ b/src/icons/svg/icon-heat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/icon-station.svg b/src/icons/svg/icon-station.svg new file mode 100644 index 0000000..4d231f1 --- /dev/null +++ b/src/icons/svg/icon-station.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/LayoutSimple.vue b/src/layout/LayoutSimple.vue index 7fcc6bf..269ca6d 100644 --- a/src/layout/LayoutSimple.vue +++ b/src/layout/LayoutSimple.vue @@ -1,6 +1,6 @@