fix: BUG修改
This commit is contained in:
parent
e45757b816
commit
7a79cf7c8d
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1,4 +1,4 @@
|
|||||||
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title></title><script type="module" crossorigin src="./assets/js/index-fd001f62.js"></script><link rel="stylesheet" href="./assets/css/index-3a232b61.css"></head><body><div id="app"><style>#app,body,html{width:100%;height:100%;padding:0;margin:0}.loading-box{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.loading-box .loading-wrap{display:flex;align-items:center;justify-content:center;padding:98px}.dot{position:relative;box-sizing:border-box;display:inline-block;width:32px;height:32px;font-size:32px;transform:rotate(45deg);animation:ant-rotate 1.2s infinite linear}.dot i{position:absolute;display:block;width:14px;height:14px;background-color:#409eff;border-radius:100%;opacity:.3;transform:scale(.75);transform-origin:50% 50%;animation:ant-spin-move 1s infinite linear alternate}.dot i:first-child{top:0;left:0}.dot i:nth-child(2){top:0;right:0;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;animation-delay:1.2s}@keyframes ant-rotate{to{transform:rotate(405deg)}}@keyframes ant-spin-move{to{opacity:1}}</style><div class="loading-box"><div class="loading-wrap"><span class="dot dot-spin"><i></i><i></i><i></i><i></i></span></div></div></div><script>const globalState = JSON.parse(window.localStorage.getItem("Global3DState"));
|
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title></title><script type="module" crossorigin src="./assets/js/index-87fb5164.js"></script><link rel="stylesheet" href="./assets/css/index-3a232b61.css"></head><body><div id="app"><style>#app,body,html{width:100%;height:100%;padding:0;margin:0}.loading-box{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.loading-box .loading-wrap{display:flex;align-items:center;justify-content:center;padding:98px}.dot{position:relative;box-sizing:border-box;display:inline-block;width:32px;height:32px;font-size:32px;transform:rotate(45deg);animation:ant-rotate 1.2s infinite linear}.dot i{position:absolute;display:block;width:14px;height:14px;background-color:#409eff;border-radius:100%;opacity:.3;transform:scale(.75);transform-origin:50% 50%;animation:ant-spin-move 1s infinite linear alternate}.dot i:first-child{top:0;left:0}.dot i:nth-child(2){top:0;right:0;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;animation-delay:1.2s}@keyframes ant-rotate{to{transform:rotate(405deg)}}@keyframes ant-spin-move{to{opacity:1}}</style><div class="loading-box"><div class="loading-wrap"><span class="dot dot-spin"><i></i><i></i><i></i><i></i></span></div></div></div><script>const globalState = JSON.parse(window.localStorage.getItem("Global3DState"));
|
||||||
if (globalState) {
|
if (globalState) {
|
||||||
const color = globalState.themeConfig.primary;
|
const color = globalState.themeConfig.primary;
|
||||||
const isDark = globalState.themeConfig.isDark;
|
const isDark = globalState.themeConfig.isDark;
|
||||||
|
|||||||
@ -545,7 +545,7 @@ const pointStyle = async (id: any) => {
|
|||||||
};
|
};
|
||||||
// 设备类型下的设备绑定的弹窗样式
|
// 设备类型下的设备绑定的弹窗样式
|
||||||
const popupStyle = async (id: any) => {
|
const popupStyle = async (id: any) => {
|
||||||
const res = await equipmentStyleGet({ category: id, type: 1 }); // 获取设备样式
|
const res = await equipmentStyleGet({ category: id, type: 2 }); // 获取设备样式
|
||||||
if (!res.result) {
|
if (!res.result) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -601,7 +601,7 @@ const getEquipmentList = async (id: any) => {
|
|||||||
console.log(dom);
|
console.log(dom);
|
||||||
return dom;
|
return dom;
|
||||||
},
|
},
|
||||||
{ offsetY: +resStyle?.offsetX, offsetX: +resStyle?.offsetY }
|
{ offsetY: +resStyle?.offsetY, offsetX: +resStyle?.offsetX }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -540,7 +540,7 @@ const pointStyle = async (id: any) => {
|
|||||||
};
|
};
|
||||||
// 设备类型下的设备绑定的弹窗样式
|
// 设备类型下的设备绑定的弹窗样式
|
||||||
const popupStyle = async (id: any) => {
|
const popupStyle = async (id: any) => {
|
||||||
const res = await equipmentStyleGet({ category: id, type: 1 }); // 获取设备样式
|
const res = await equipmentStyleGet({ category: id, type: 2 }); // 获取设备样式
|
||||||
if (!res.result) {
|
if (!res.result) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -596,7 +596,7 @@ const getEquipmentList = async (id: any) => {
|
|||||||
console.log(dom);
|
console.log(dom);
|
||||||
return dom;
|
return dom;
|
||||||
},
|
},
|
||||||
{ offsetY: +resStyle?.offsetX, offsetX: +resStyle?.offsetY }
|
{ offsetY: +resStyle?.offsetY, offsetX: +resStyle?.offsetX }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user