diff --git a/FlowerGully/src/views/DataPreview/ParkVR.vue b/FlowerGully/src/views/DataPreview/ParkVR.vue index fc1f055d7bcbec6c1fcd11b652aaf804ff4a71e3..ad43075c78201626f7bdb46de9d860d92fb2431a 100644 --- a/FlowerGully/src/views/DataPreview/ParkVR.vue +++ b/FlowerGully/src/views/DataPreview/ParkVR.vue @@ -7,7 +7,7 @@
-
+
返回
@@ -152,7 +152,6 @@
-
@@ -165,45 +164,45 @@ export default { components: { GreenHousePlanting }, - mounted() { - this.$nextTick(() => { - var myChart = echarts.init(document.getElementById("main")); - var option = ({ - legend: { - top: "bottom" + data() { + return { + huan1: true, + huan2: true, + huan3: true, + huan4: true, + huan5: false, + BLables: 1, + BLable: [ + { + id: 1, + msg: '一号科普馆' }, - toolbox: { - show: true, - feature: { - mark: { show: true }, - dataView: { show: true, readOnly: false }, - restore: { show: true }, - saveAsImage: { show: true } - } + { + id: 2, + msg: '二号温室' }, - series: [ - { - name: "Nightingale Chart", - type: "pie", - radius: [0, 80], - center: ["50%", "50%"], - roseType: "area", - itemStyle: { - borderRadius: 8 - }, - data: [ - { value: 40, name: "" }, - { value: 38, name: "" }, - { value: 32, name: "" }, - { value: 30, name: "" }, - { value: 28, name: "" }, - { value: 23, name: "" } - ] - } - ] - }); - myChart.setOption(option); - }) + { + id: 3, + msg: '三号温室' + }, + { + id: 4, + msg: '四号育苗馆' + }, + { + id: 5, + msg: '五号花卉馆' + }, + { + id: 6, + msg: '六号温室' + }, + { + id: 7, + msg: 'A号无土栽培' + }, + ] + } }, // mounted() { // var myChart = echarts.init(document.getElementById("main")); @@ -262,7 +261,6 @@ export default { justify-content: space-between; padding-top: 50px; width: 100%; - z-index: 1; .right { width: 64%;