diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index 67826dd..0d549ad 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -267,4 +267,14 @@ .scrollbar-wrapper { overflow-x: hidden !important; -} \ No newline at end of file +} + +.column { + display: flex; + flex-direction: column; + .flex { + flex: 1; + display: flex; + } +} + diff --git a/src/views/chart/boxBoardBody.vue b/src/views/chart/boxBoardBody.vue new file mode 100644 index 0000000..1be85d9 --- /dev/null +++ b/src/views/chart/boxBoardBody.vue @@ -0,0 +1,53 @@ + + + + + \ No newline at end of file diff --git a/src/views/chart/boxBoardTit.vue b/src/views/chart/boxBoardTit.vue new file mode 100644 index 0000000..4a65aef --- /dev/null +++ b/src/views/chart/boxBoardTit.vue @@ -0,0 +1,37 @@ + + + + + \ No newline at end of file diff --git a/src/views/chart/index.vue b/src/views/chart/index.vue new file mode 100644 index 0000000..4082b0a --- /dev/null +++ b/src/views/chart/index.vue @@ -0,0 +1,699 @@ + + + + + + + + \ No newline at end of file diff --git a/src/views/chart/loadBMap.js b/src/views/chart/loadBMap.js new file mode 100644 index 0000000..72c2e5a --- /dev/null +++ b/src/views/chart/loadBMap.js @@ -0,0 +1,17 @@ +export default function loadBMap(ak) { + return new Promise(function(resolve, reject) { + if (typeof BMap !== 'undefined') { + resolve(BMap) + return true + } + window.onBMapCallback = function() { + resolve(BMap) + } + let script = document.createElement('script') + script.type = 'text/javascript' + script.src = + 'http://api.map.baidu.com/api?v=2.0&ak=' + ak + '&callback=onBMapCallback' + script.onerror = reject + document.head.appendChild(script) + }) +} \ No newline at end of file diff --git a/src/views/index.vue b/src/views/index.vue index d2d2ec6..16a6c93 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -7,6 +7,9 @@ + 查看数据 + +