diff --git a/src/api/wlSafe/index.js b/src/api/wlSafe/index.js new file mode 100644 index 0000000..c28f97c --- /dev/null +++ b/src/api/wlSafe/index.js @@ -0,0 +1,23 @@ +import request from '@/utils/request.js' +//数据来源 +export function dataLY() { + return request({ + url: '/zongzhi/saftyscreen/source', + method: 'get', + }) +} +//地球受攻击 +export function mapAttack(data) { + return request({ + url: '/zongzhi/attack/list', + method: 'get', + params:data + }) +} +//安全隐患 +export function safeRisks() { + return request({ + url: '/zongzhi/saftyscreen/safetyhazard', + method: 'get', + }) +} \ No newline at end of file diff --git a/src/views/privateOrder/security/components/Earth.vue b/src/views/privateOrder/security/components/Earth.vue index 84d42f5..60b386f 100644 --- a/src/views/privateOrder/security/components/Earth.vue +++ b/src/views/privateOrder/security/components/Earth.vue @@ -91,7 +91,7 @@ gl_PointSize = clamp(fract(percent*number + l - u_time*number*speed)-l ,0.0,1.) * size * (1./length); opacity = gl_PointSize/size; gl_Position = projectionMatrix * mvPosition; - }` + }`;