diff --git a/.drone.yml b/.drone.yml index e02f857..17c406f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,9 @@ kind: pipeline type: docker name: tunnel-cloud-web +platform: + os: linux + arch: amd64 steps: - name: build-package image: registry.cn-chengdu.aliyuncs.com/claywang/node:16.20.0 diff --git a/src/api/tunnel.js b/src/api/tunnel.js index c06d5d4..fe871f0 100644 --- a/src/api/tunnel.js +++ b/src/api/tunnel.js @@ -1,8 +1,17 @@ -import request from '@/utils/request.js' +import request from "@/utils/request.js"; export const getTunnelOption = (siteId) => { return request({ url: `/tunnel/tunnel/option/${siteId}`, - method: 'get' - }) -} + method: "get", + }); +}; + +// 数据3d隧道模拟接口渲染数据源 +export const getTunnelSimulateData = (siteId) => { + return request({ + url: `/tunnel/tunnel/data/${siteId}`, + method: "get", + params, + }); +}; diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 232a863..f199c59 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -119,6 +119,7 @@ body, width: 100%; display: flex; justify-content: center; + align-items: center; font-size: 50px; //font-weight: bold; color: #0BE9FA; diff --git a/src/components/content/fanInfo/FanInfo.vue b/src/components/content/fanInfo/FanInfo.vue index 2f88969..29257db 100644 --- a/src/components/content/fanInfo/FanInfo.vue +++ b/src/components/content/fanInfo/FanInfo.vue @@ -71,20 +71,20 @@
是否确定删除该设备
-是否确定删除该设备
+是否确定删除该设备