number输入框最大值最小值限制;增加tab、mif图标
This commit is contained in:
@ -472,7 +472,7 @@ function windowAllClosed() {
|
|||||||
console.log('所有窗口已关闭,执行清理脚本...');
|
console.log('所有窗口已关闭,执行清理脚本...');
|
||||||
getServer().close(() => {
|
getServer().close(() => {
|
||||||
// 执行批处理文件
|
// 执行批处理文件
|
||||||
const cleanupProcess = exec('D:/project/electron-4.0/electron-4/resources/java/stop.bat', (error, stdout, stderr) => {
|
const cleanupProcess = exec(stopBatPath.substring(1, 200), (error, stdout, stderr) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error(`清理脚本执行失败: ${error.message}`);
|
console.error(`清理脚本执行失败: ${error.message}`);
|
||||||
}
|
}
|
||||||
@ -573,6 +573,27 @@ if (!gotTheLock) {
|
|||||||
}
|
}
|
||||||
console.log(`批处理输出: ${stdout}`);
|
console.log(`批处理输出: ${stdout}`);
|
||||||
});
|
});
|
||||||
|
// const batProcess = spawn('cmd.exe', ['/c', startBatPath.substring(1, 200)]);
|
||||||
|
// // 实时监听标准输出(stdout)
|
||||||
|
// batProcess.stdout.on('data', (data) => {
|
||||||
|
// // data 是 Buffer 类型,转为字符串后输出
|
||||||
|
// console.log(`批处理输出: ${data.toString().trim()}`);
|
||||||
|
// });
|
||||||
|
|
||||||
|
// // 监听错误输出(stderr)
|
||||||
|
// batProcess.stderr.on('data', (data) => {
|
||||||
|
// console.error(`错误输出: ${data.toString().trim()}`);
|
||||||
|
// });
|
||||||
|
|
||||||
|
// // 监听进程执行出错(如文件不存在、权限问题等)
|
||||||
|
// batProcess.on('error', (error) => {
|
||||||
|
// console.error(`执行错误: ${error.message}`);
|
||||||
|
// });
|
||||||
|
|
||||||
|
// // 监听进程退出事件(执行结束后触发)
|
||||||
|
// batProcess.on('close', (code) => {
|
||||||
|
// console.log(`批处理执行完毕,退出码: ${code}`);
|
||||||
|
// });
|
||||||
// Set app user model id for windows
|
// Set app user model id for windows
|
||||||
electronApp.setAppUserModelId('com.electron')
|
electronApp.setAppUserModelId('com.electron')
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--color-sdk-base-rgb: 0, 255, 255;
|
--color-base1: 0, 255, 255;
|
||||||
--color-sdk-auxiliary: 0, 66, 66;
|
--color-sdk-auxiliary: 0, 66, 66;
|
||||||
--color-sdk-auxiliary-public: #ffffff;
|
--color-sdk-auxiliary-public: #ffffff;
|
||||||
--color-sdk-warning-0: #1BF8C3;
|
--color-sdk-warning-0: #1BF8C3;
|
||||||
@ -44,9 +44,9 @@
|
|||||||
--color-sdk-text-head: #FFFFFF;
|
--color-sdk-text-head: #FFFFFF;
|
||||||
--color-sdk-text-head-1: #E6F7FF;
|
--color-sdk-text-head-1: #E6F7FF;
|
||||||
--color-sdk-text-head-2: #ADF1FF;
|
--color-sdk-text-head-2: #ADF1FF;
|
||||||
--color-sdk-gradual: rgb(0, 255, 255) 6.25%, rgb(0, 200, 255) 100%;
|
--color-sdk-gradual: rgb(var(--color-base1)) 6.25%, var(--color-border1) 100%;
|
||||||
--color-sdk-bg-gradual: #00ffff33 0%, #00ffff00 100%;
|
--color-sdk-bg-gradual: rgba(var(--color-base1), 0.2) 0%, rgba(var(--color-base1), 0) 100%;
|
||||||
--color-sdk-text-shadow: rgba(20, 118, 255, 1);
|
--color-text-shadow: rgba(20, 118, 255, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.cesium-viewer-cesiumWidgetContainer {
|
.cesium-viewer-cesiumWidgetContainer {
|
||||||
@ -88,7 +88,7 @@
|
|||||||
width: 70.5px;
|
width: 70.5px;
|
||||||
height: 6px;
|
height: 6px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 1);
|
background: rgba(var(--color-base1), 1);
|
||||||
clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 6px, 0 6px);
|
clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 6px, 0 6px);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,8 +158,8 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0.2);
|
background: rgba(var(--color-base1), 0.2);
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -170,7 +170,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog button:not(button[disabled]):hover {
|
.YJ-custom-base-dialog button:not(button[disabled]):hover {
|
||||||
border-color: rgba(var(--color-sdk-base-rgb), 1) !important;
|
border-color: rgba(var(--color-base1), 1) !important;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -224,7 +224,7 @@
|
|||||||
line-height: 0px;
|
line-height: 0px;
|
||||||
color: rgba(255, 255, 255, 1);
|
color: rgba(255, 255, 255, 1);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
text-shadow: 0px 0px 9px var(--color-sdk-text-shadow);
|
text-shadow: 0px 0px 9px var(--color-text-shadow);
|
||||||
-webkit-pointer-events: none;
|
-webkit-pointer-events: none;
|
||||||
-moz-pointer-events: none;
|
-moz-pointer-events: none;
|
||||||
-ms-pointer-events: none;
|
-ms-pointer-events: none;
|
||||||
@ -244,7 +244,7 @@
|
|||||||
line-height: 0px;
|
line-height: 0px;
|
||||||
color: rgba(255, 255, 255, 1);
|
color: rgba(255, 255, 255, 1);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
text-shadow: 0px 0px 9px var(--color-sdk-text-shadow)
|
text-shadow: 0px 0px 9px var(--color-text-shadow)
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.title-box>.close-box {
|
.YJ-custom-base-dialog>.title-box>.close-box {
|
||||||
@ -262,7 +262,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 1);
|
background: rgba(var(--color-base1), 1);
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -336,7 +336,7 @@
|
|||||||
.YJ-custom-base-dialog>.content textarea {
|
.YJ-custom-base-dialog>.content textarea {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
@ -351,13 +351,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content input[type=checkbox]:read-only {
|
.YJ-custom-base-dialog>.content input[type=checkbox]:read-only {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.2);
|
background-color: rgba(var(--color-base1), 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content input:focus-visible,
|
.YJ-custom-base-dialog>.content input:focus-visible,
|
||||||
.YJ-custom-base-dialog>.content textarea:focus-visible {
|
.YJ-custom-base-dialog>.content textarea:focus-visible {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: rgba(var(--color-sdk-base-rgb), 0.8);
|
border-color: rgba(var(--color-base1), 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content select:focus-visible {
|
.YJ-custom-base-dialog>.content select:focus-visible {
|
||||||
@ -366,7 +366,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content select {
|
.YJ-custom-base-dialog>.content select {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.2);
|
background-color: rgba(var(--color-base1), 0.2);
|
||||||
border: 1px solid rgba(0, 255, 255, 0);
|
border: 1px solid rgba(0, 255, 255, 0);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
@ -454,14 +454,14 @@
|
|||||||
background-color: #ffffff00;
|
background-color: #ffffff00;
|
||||||
color: #000;
|
color: #000;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .table input {}
|
.YJ-custom-base-dialog>.content .table input {}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .table .tr {
|
.YJ-custom-base-dialog>.content .table .tr {
|
||||||
display: flex;
|
display: flex;
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -545,13 +545,13 @@
|
|||||||
.YJ-custom-base-dialog>.content *::-webkit-scrollbar-thumb {
|
.YJ-custom-base-dialog>.content *::-webkit-scrollbar-thumb {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||||
background-color: rgba(var(--color-sdk-base-rgb));
|
background-color: rgba(var(--color-base1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content *::-webkit-scrollbar-track {
|
.YJ-custom-base-dialog>.content *::-webkit-scrollbar-track {
|
||||||
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1);
|
background-color: rgba(var(--color-base1), 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .table .table-body .tr:last-child {}
|
.YJ-custom-base-dialog>.content .table .table-body .tr:last-child {}
|
||||||
@ -559,7 +559,7 @@
|
|||||||
.YJ-custom-base-dialog>.content .table .tr .th,
|
.YJ-custom-base-dialog>.content .table .tr .th,
|
||||||
.YJ-custom-base-dialog>.content .table .tr .td {
|
.YJ-custom-base-dialog>.content .table .tr .td {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border-right: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border-right: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -639,7 +639,7 @@
|
|||||||
|
|
||||||
.YJ-custom-base-dialog>.content .table.camera-table .tr:last-child,
|
.YJ-custom-base-dialog>.content .table.camera-table .tr:last-child,
|
||||||
.YJ-custom-base-dialog>.content .table.isc-table .tr:last-child {
|
.YJ-custom-base-dialog>.content .table.isc-table .tr:last-child {
|
||||||
border-bottom: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border-bottom: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .table.camera-table .tr .td span,
|
.YJ-custom-base-dialog>.content .table.camera-table .tr .td span,
|
||||||
@ -692,7 +692,7 @@
|
|||||||
height: 6px;
|
height: 6px;
|
||||||
border: 0;
|
border: 0;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0.2);
|
background: rgba(var(--color-base1), 0.2);
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
} */
|
} */
|
||||||
.YJ-custom-base-dialog>.content [type="range"] {
|
.YJ-custom-base-dialog>.content [type="range"] {
|
||||||
@ -709,7 +709,7 @@
|
|||||||
|
|
||||||
.YJ-custom-base-dialog>.content [type="range"]::-webkit-slider-runnable-track {
|
.YJ-custom-base-dialog>.content [type="range"]::-webkit-slider-runnable-track {
|
||||||
height: 6px;
|
height: 6px;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0.2);
|
background: rgba(var(--color-base1), 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content [type="range" i]::-webkit-slider-container {
|
.YJ-custom-base-dialog>.content [type="range" i]::-webkit-slider-container {
|
||||||
@ -723,10 +723,10 @@
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 1);
|
background-color: rgba(var(--color-base1), 1);
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 1);
|
border: 1px solid rgba(var(--color-base1), 1);
|
||||||
margin-top: -7px;
|
margin-top: -7px;
|
||||||
border-image: linear-gradient(rgba(var(--color-sdk-base-rgb), 1), rgba(var(--color-sdk-base-rgb), 1)) 0 fill / 8 20 8 0 / 0px 0px 0 2000px;
|
border-image: linear-gradient(rgba(var(--color-base1), 1), rgba(var(--color-base1), 1)) 0 fill / 8 20 8 0 / 0px 0px 0 2000px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -757,11 +757,12 @@
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-family: 'D-Din-Bold';
|
font-family: 'D-Din-Bold';
|
||||||
font-size: 18px; */
|
font-size: 18px; */
|
||||||
font-size: 12px;
|
font-family: 'ddin';
|
||||||
|
font-size: 18px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: 0px;
|
letter-spacing: 0px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
color: rgba(204, 204, 204, 1);
|
color: rgb(255, 255, 255);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
@ -800,6 +801,15 @@
|
|||||||
margin-right: -15px;
|
margin-right: -15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.YJ-custom-base-dialog>.content .input-number-unit input[type=number] {
|
||||||
|
padding: 0 16px 0 10px;
|
||||||
|
}
|
||||||
|
.YJ-custom-base-dialog>.content .input-number-unit input[type=number]::-webkit-outer-spin-button,
|
||||||
|
.YJ-custom-base-dialog>.content .input-number-unit input[type=number]::-webkit-inner-spin-button {
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: -12px;
|
||||||
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .input-number-unit-1 input[type=number] {
|
.YJ-custom-base-dialog>.content .input-number-unit-1 input[type=number] {
|
||||||
padding: 0 26px 0 10px;
|
padding: 0 26px 0 10px;
|
||||||
}
|
}
|
||||||
@ -916,11 +926,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.fly-roam>.content .table .table-body .tr.active {
|
.fly-roam>.content .table .table-body .tr.active {
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0.15);
|
background: rgba(var(--color-base1), 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
.fly-roam>.content .table .table-body .tr:last-child {
|
.fly-roam>.content .table .table-body .tr:last-child {
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
border-left: none;
|
border-left: none;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
@ -935,7 +945,7 @@
|
|||||||
cursor: no-drop;
|
cursor: no-drop;
|
||||||
}
|
}
|
||||||
.YJ-custom-base-dialog>.content .fly-roam .table .table-body .tr:last-child .play:hover {
|
.YJ-custom-base-dialog>.content .fly-roam .table .table-body .tr:last-child .play:hover {
|
||||||
border-color: rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border-color: rgba(var(--color-base1), 0.5) !important;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
.fly-roam>.content .table .action {
|
.fly-roam>.content .table .action {
|
||||||
@ -1065,7 +1075,7 @@
|
|||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
@ -1092,7 +1102,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog .ew-color-picker .icon-pen-box:hover .icon-pen {
|
.YJ-custom-base-dialog .ew-color-picker .icon-pen-box:hover .icon-pen {
|
||||||
fill: rgba(var(--color-sdk-base-rgb), 1);
|
fill: rgba(var(--color-base1), 1);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1154,14 +1164,14 @@
|
|||||||
|
|
||||||
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container>.yj-pre-collect-color.add,
|
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container>.yj-pre-collect-color.add,
|
||||||
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container>.yj-pre-collect-color.subtract {
|
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container>.yj-pre-collect-color.subtract {
|
||||||
border-color: rgba(var(--color-sdk-base-rgb), 0.2);
|
border-color: rgba(var(--color-base1), 0.2);
|
||||||
background: unset;
|
background: unset;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container>.yj-pre-collect-color.add:hover,
|
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container>.yj-pre-collect-color.add:hover,
|
||||||
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container>.yj-pre-collect-color.subtract:hover {
|
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container>.yj-pre-collect-color.subtract:hover {
|
||||||
border-color: rgba(var(--color-sdk-base-rgb), 0.4);
|
border-color: rgba(var(--color-base1), 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container svg,
|
.YJ-custom-base-dialog .ew-color-picker>.yj-pre-collect-color-container svg,
|
||||||
@ -1445,13 +1455,13 @@
|
|||||||
.DIV-cy-tabs .DIV-cy-tab-top::-webkit-scrollbar-thumb {
|
.DIV-cy-tabs .DIV-cy-tab-top::-webkit-scrollbar-thumb {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||||
background-color: rgba(var(--color-sdk-base-rgb));
|
background-color: rgba(var(--color-base1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.DIV-cy-tabs .DIV-cy-tab-top::-webkit-scrollbar-track {
|
.DIV-cy-tabs .DIV-cy-tab-top::-webkit-scrollbar-track {
|
||||||
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1);
|
background-color: rgba(var(--color-base1), 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.DIV-cy-tabs .DIV-cy-tab-top::after {
|
.DIV-cy-tabs .DIV-cy-tab-top::after {
|
||||||
@ -1474,11 +1484,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.DIV-cy-tabs .DIV-cy-tab-pane-title .DIV-cy-tab-pane-title-p:hover {
|
.DIV-cy-tabs .DIV-cy-tab-pane-title .DIV-cy-tab-pane-title-p:hover {
|
||||||
border-bottom-color: rgba(var(--color-sdk-base-rgb));
|
border-bottom-color: rgba(var(--color-base1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.DIV-cy-tabs .DIV-cy-tab-pane-title .DIV-cy-tab-pane-title-p:hover span {
|
.DIV-cy-tabs .DIV-cy-tab-pane-title .DIV-cy-tab-pane-title-p:hover span {
|
||||||
text-shadow: 0px 0px 9px var(--color-sdk-text-shadow);
|
text-shadow: 0px 0px 9px var(--color-text-shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
.DIV-cy-tabs .DIV-cy-tab-pane-title:first-child {
|
.DIV-cy-tabs .DIV-cy-tab-pane-title:first-child {
|
||||||
@ -1515,11 +1525,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.DIV-cy-tabs .DIV-cy-tab-pane-title-p.is-active {
|
.DIV-cy-tabs .DIV-cy-tab-pane-title-p.is-active {
|
||||||
border-bottom-color: rgba(var(--color-sdk-base-rgb));
|
border-bottom-color: rgba(var(--color-base1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.DIV-cy-tabs .DIV-cy-tab-pane-title-p.is-active span {
|
.DIV-cy-tabs .DIV-cy-tab-pane-title-p.is-active span {
|
||||||
text-shadow: 0px 0px 9px var(--color-sdk-text-shadow);
|
text-shadow: 0px 0px 9px var(--color-text-shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 开关按钮样式 */
|
/* 开关按钮样式 */
|
||||||
@ -1530,8 +1540,8 @@
|
|||||||
height: 20px;
|
height: 20px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.2);
|
border: 1px solid rgba(var(--color-base1), 0.2);
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.2);
|
background-color: rgba(var(--color-base1), 0.2);
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
background-clip: content-box;
|
background-clip: content-box;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -1555,9 +1565,9 @@
|
|||||||
|
|
||||||
.YJ-custom-base-dialog>.content .btn-switch:checked,
|
.YJ-custom-base-dialog>.content .btn-switch:checked,
|
||||||
.YJ-custom-base-dialog>.foot .btn-switch:checked {
|
.YJ-custom-base-dialog>.foot .btn-switch:checked {
|
||||||
border-color: rgba(var(--color-sdk-base-rgb), 1);
|
border-color: rgba(var(--color-base1), 1);
|
||||||
box-shadow: rgba(var(--color-sdk-base-rgb)) 0 0 0 16px inset;
|
box-shadow: rgba(var(--color-base1)) 0 0 0 16px inset;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb));
|
background-color: rgba(var(--color-base1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .btn-switch:checked:before,
|
.YJ-custom-base-dialog>.content .btn-switch:checked:before,
|
||||||
@ -1709,12 +1719,12 @@
|
|||||||
|
|
||||||
.YJ-custom-base-dialog>.content .cy_datalist input.datalist {
|
.YJ-custom-base-dialog>.content .cy_datalist input.datalist {
|
||||||
border-color: #00000000;
|
border-color: #00000000;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.2) !important;
|
background-color: rgba(var(--color-base1), 0.2) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .cy_datalist dl {
|
.YJ-custom-base-dialog>.content .cy_datalist dl {
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
border-color: rgba(var(--color-sdk-base-rgb), 0.5);
|
border-color: rgba(var(--color-base1), 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .cy_datalist dl dd {
|
.YJ-custom-base-dialog>.content .cy_datalist dl dd {
|
||||||
@ -1727,17 +1737,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .cy_datalist dl dd:hover {
|
.YJ-custom-base-dialog>.content .cy_datalist dl dd:hover {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.2);
|
background-color: rgba(var(--color-base1), 0.2);
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .cy_datalist dl dd.active {
|
.YJ-custom-base-dialog>.content .cy_datalist dl dd.active {
|
||||||
color: rgba(var(--color-sdk-base-rgb)) !important;
|
color: rgba(var(--color-base1)) !important;
|
||||||
/* background-color: rgba(var(--color-sdk-base-rgb), 0.2); */
|
/* background-color: rgba(var(--color-base1), 0.2); */
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .cy_datalist dl dd.active svg {
|
.YJ-custom-base-dialog>.content .cy_datalist dl dd.active svg {
|
||||||
fill: rgba(var(--color-sdk-base-rgb))
|
fill: rgba(var(--color-base1))
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog>.content .cy_datalist dl dd.active::before {
|
.YJ-custom-base-dialog>.content .cy_datalist dl dd.active::before {
|
||||||
@ -1745,8 +1755,8 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 4px;
|
height: 4px;
|
||||||
border-bottom: 2px solid rgba(var(--color-sdk-base-rgb));
|
border-bottom: 2px solid rgba(var(--color-base1));
|
||||||
border-left: 2px solid rgba(var(--color-sdk-base-rgb));
|
border-left: 2px solid rgba(var(--color-base1));
|
||||||
transform: rotate(-45deg);
|
transform: rotate(-45deg);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 6px;
|
right: 6px;
|
||||||
@ -1808,7 +1818,7 @@
|
|||||||
width: 23px;
|
width: 23px;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.2);
|
border: 1px solid rgba(var(--color-base1), 0.2);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -1942,13 +1952,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.trajectory-motion>.content .btn.is-active {
|
.YJ-custom-base-dialog.trajectory-motion>.content .btn.is-active {
|
||||||
border-color: rgba(var(--color-sdk-base-rgb));
|
border-color: rgba(var(--color-base1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.trajectory-motion>.content .btn-group .btn.is-active>span {
|
.YJ-custom-base-dialog.trajectory-motion>.content .btn-group .btn.is-active>span {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-shadow: 0px 0px 9px var(--color-sdk-text-shadow);
|
text-shadow: 0px 0px 9px var(--color-text-shadow);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2029,7 +2039,7 @@
|
|||||||
.YJ-custom-base-dialog.sun-shine-surface>.content>div .progress {
|
.YJ-custom-base-dialog.sun-shine-surface>.content>div .progress {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 0;
|
width: 0;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 1);
|
background: rgba(var(--color-base1), 1);
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@ -2039,7 +2049,7 @@
|
|||||||
height: 16px;
|
height: 16px;
|
||||||
background: white;
|
background: white;
|
||||||
/* border: 3px solid #4285f4; */
|
/* border: 3px solid #4285f4; */
|
||||||
background: rgba(var(--color-sdk-base-rgb), 1);
|
background: rgba(var(--color-base1), 1);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -8px;
|
right: -8px;
|
||||||
@ -2255,7 +2265,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.submerge>.content .table-body .tr:last-child {
|
.YJ-custom-base-dialog.submerge>.content .table-body .tr:last-child {
|
||||||
border-bottom: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border-bottom: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.submerge>.content .table-empty {
|
.YJ-custom-base-dialog.submerge>.content .table-empty {
|
||||||
@ -2331,7 +2341,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.view-shed>.content .range-box .range-bg {
|
.YJ-custom-base-dialog.view-shed>.content .range-box .range-bg {
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0.2);
|
background: rgba(var(--color-base1), 0.2);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
mask: url(../img/range.svg);
|
mask: url(../img/range.svg);
|
||||||
@ -2353,7 +2363,7 @@
|
|||||||
.YJ-custom-base-dialog.view-shed>.content .range-box .range-bg .range-process {
|
.YJ-custom-base-dialog.view-shed>.content .range-box .range-bg .range-process {
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 1);
|
background: rgba(var(--color-base1), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.view-shed>.content .range-box .range-node-box {
|
.YJ-custom-base-dialog.view-shed>.content .range-box .range-node-box {
|
||||||
@ -2399,7 +2409,7 @@
|
|||||||
height: 20px;
|
height: 20px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 2px solid rgba(var(--color-sdk-base-rgb), 1);
|
border: 2px solid rgba(var(--color-base1), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.view-shed>.content .range-box .range-node-box .range-node-active-text {
|
.YJ-custom-base-dialog.view-shed>.content .range-box .range-node-box .range-node-active-text {
|
||||||
@ -2418,7 +2428,7 @@
|
|||||||
|
|
||||||
.YJ-custom-base-dialog.view-shed>.content .range-box input[type="range"]::-webkit-slider-runnable-track {
|
.YJ-custom-base-dialog.view-shed>.content .range-box input[type="range"]::-webkit-slider-runnable-track {
|
||||||
height: 6px;
|
height: 6px;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0);
|
background: rgba(var(--color-base1), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.view-shed>.content .range-box input[type="range"]::-webkit-slider-thumb {
|
.YJ-custom-base-dialog.view-shed>.content .range-box input[type="range"]::-webkit-slider-thumb {
|
||||||
@ -2427,10 +2437,10 @@
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0);
|
background-color: rgba(var(--color-base1), 0);
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0);
|
border: 1px solid rgba(var(--color-base1), 0);
|
||||||
margin-top: -7px;
|
margin-top: -7px;
|
||||||
border-image: linear-gradient(rgba(var(--color-sdk-base-rgb), 0), rgba(var(--color-sdk-base-rgb), 0)) 0 fill / 8 20 8 0 / 0px 0px 0 2000px;
|
border-image: linear-gradient(rgba(var(--color-base1), 0), rgba(var(--color-base1), 0)) 0 fill / 8 20 8 0 / 0px 0px 0 2000px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 通视分析 */
|
/* 通视分析 */
|
||||||
@ -2473,7 +2483,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-slider {
|
.el-slider {
|
||||||
--el-slider-main-bg-color: rgba(var(--color-sdk-base-rgb), 1)
|
--el-slider-main-bg-color: rgba(var(--color-base1), 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 地形可视域分析 */
|
/* 地形可视域分析 */
|
||||||
@ -2704,6 +2714,11 @@
|
|||||||
flex: 0 0 160px;
|
flex: 0 0 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.YJ-custom-base-dialog>.content>div .spatial-info-table .table-body .td input[type=number] {
|
||||||
|
font-family: 'ddin';
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
/* 集结地 */
|
/* 集结地 */
|
||||||
.YJ-custom-base-dialog.assemble>.content {
|
.YJ-custom-base-dialog.assemble>.content {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
@ -2930,33 +2945,33 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit .datalist {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit .datalist {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1) !important;
|
background-color: rgba(var(--color-base1), 0.1) !important;
|
||||||
border-radius: 4px 0px 0px 4px !important;
|
border-radius: 4px 0px 0px 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(1) .datalist {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(1) .datalist {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1) !important;
|
background-color: rgba(var(--color-base1), 0.1) !important;
|
||||||
border-radius: 4px 0px, 0px, 4px !important;
|
border-radius: 4px 0px, 0px, 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(2) .datalist {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(2) .datalist {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1) !important;
|
background-color: rgba(var(--color-base1), 0.1) !important;
|
||||||
border-radius: 0px 4px 4px 0px !important;
|
border-radius: 0px 4px 4px 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(1) input {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(1) input {
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border: 1px solid rgba(var(--color-base1), 0.5) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(2) input {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(2) input {
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border: 1px solid rgba(var(--color-base1), 0.5) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content input.input-text {
|
.YJ-custom-base-dialog.polyline>.content input.input-text {
|
||||||
background-color: rgba(0, 0, 0, 0.5) !important;
|
background-color: rgba(0, 0, 0, 0.5) !important;
|
||||||
border-radius: unset !important;
|
border-radius: unset !important;
|
||||||
border-top: 1px solid rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border-top: 1px solid rgba(var(--color-base1), 0.5) !important;
|
||||||
border-bottom: 1px solid rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border-bottom: 1px solid rgba(var(--color-base1), 0.5) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist input {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist input {
|
||||||
@ -3057,33 +3072,33 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit .datalist {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit .datalist {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1) !important;
|
background-color: rgba(var(--color-base1), 0.1) !important;
|
||||||
border-radius: 4px 0px 0px 4px !important;
|
border-radius: 4px 0px 0px 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(1) .datalist {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(1) .datalist {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1) !important;
|
background-color: rgba(var(--color-base1), 0.1) !important;
|
||||||
border-radius: 4px 0px, 0px, 4px !important;
|
border-radius: 4px 0px, 0px, 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(2) .datalist {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(2) .datalist {
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1) !important;
|
background-color: rgba(var(--color-base1), 0.1) !important;
|
||||||
border-radius: 0px 4px 4px 0px !important;
|
border-radius: 0px 4px 4px 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(1) input {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(1) input {
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border: 1px solid rgba(var(--color-base1), 0.5) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(2) input {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-unit:nth-of-type(2) input {
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border: 1px solid rgba(var(--color-base1), 0.5) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content input.input-text {
|
.YJ-custom-base-dialog.polyline>.content input.input-text {
|
||||||
background-color: rgba(0, 0, 0, 0.5) !important;
|
background-color: rgba(0, 0, 0, 0.5) !important;
|
||||||
border-radius: unset !important;
|
border-radius: unset !important;
|
||||||
border-top: 1px solid rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border-top: 1px solid rgba(var(--color-base1), 0.5) !important;
|
||||||
border-bottom: 1px solid rgba(var(--color-sdk-base-rgb), 0.5) !important;
|
border-bottom: 1px solid rgba(var(--color-base1), 0.5) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist input {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist input {
|
||||||
@ -3109,19 +3124,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.line {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.line {
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 1);
|
border: 1px solid rgba(var(--color-base1), 1);
|
||||||
height: 0px;
|
height: 0px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.dash-line {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.dash-line {
|
||||||
border: 1px dashed rgba(var(--color-sdk-base-rgb), 1);
|
border: 1px dashed rgba(var(--color-base1), 1);
|
||||||
height: 0px;
|
height: 0px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.light-line {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.light-line {
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 1);
|
border: 1px solid rgba(var(--color-base1), 1);
|
||||||
height: 0px;
|
height: 0px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
box-shadow: 0 0 3px #fff
|
box-shadow: 0 0 3px #fff
|
||||||
@ -3138,13 +3153,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.flow-dash-line1 {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.flow-dash-line1 {
|
||||||
border: 1px dashed rgba(var(--color-sdk-base-rgb), 1);
|
border: 1px dashed rgba(var(--color-base1), 1);
|
||||||
height: 0px;
|
height: 0px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.flow-dash-line2 {
|
.YJ-custom-base-dialog.polyline>.content>div .input-select-line-type-box .cy_datalist i.flow-dash-line2 {
|
||||||
border: 1px dashed rgba(var(--color-sdk-base-rgb), 1);
|
border: 1px dashed rgba(var(--color-base1), 1);
|
||||||
height: 0px;
|
height: 0px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
@ -3213,13 +3228,13 @@
|
|||||||
.popup-textarea textarea::-webkit-scrollbar-thumb {
|
.popup-textarea textarea::-webkit-scrollbar-thumb {
|
||||||
border-radius: 5px!important;
|
border-radius: 5px!important;
|
||||||
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2)!important;
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2)!important;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb))!important;
|
background-color: rgba(var(--color-base1))!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-textarea textarea::-webkit-scrollbar-track {
|
.popup-textarea textarea::-webkit-scrollbar-track {
|
||||||
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2)!important;
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2)!important;
|
||||||
border-radius: 5px!important;
|
border-radius: 5px!important;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1)!important;
|
background-color: rgba(var(--color-base1), 0.1)!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 贴地图片 */
|
/* 贴地图片 */
|
||||||
@ -3292,19 +3307,19 @@
|
|||||||
.YJ-custom-base-dialog.proj-convert>.content>div .top-line {
|
.YJ-custom-base-dialog.proj-convert>.content>div .top-line {
|
||||||
top: 5px;
|
top: 5px;
|
||||||
border-radius: 0 4px 0 0;
|
border-radius: 0 4px 0 0;
|
||||||
border-top: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border-top: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
border-right: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border-right: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.proj-convert>.content>div .bottom-line {
|
.YJ-custom-base-dialog.proj-convert>.content>div .bottom-line {
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
border-radius: 0 0 4px 0;
|
border-radius: 0 0 4px 0;
|
||||||
border-bottom: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border-bottom: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
border-right: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border-right: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.proj-convert>.content>div .icon-copy-box:hover .icon-copy {
|
.YJ-custom-base-dialog.proj-convert>.content>div .icon-copy-box:hover .icon-copy {
|
||||||
fill: rgba(var(--color-sdk-base-rgb));
|
fill: rgba(var(--color-base1));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 高清截图 */
|
/* 高清截图 */
|
||||||
@ -3325,7 +3340,7 @@
|
|||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .progress {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .progress {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 6px;
|
height: 6px;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0.2);
|
background: rgba(var(--color-base1), 0.2);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@ -3334,7 +3349,7 @@
|
|||||||
width: 0%;
|
width: 0%;
|
||||||
height: 6px;
|
height: 6px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 1);
|
background: rgba(var(--color-base1), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .progress>.progress-text {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .progress>.progress-text {
|
||||||
@ -3369,7 +3384,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-bg {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-bg {
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0.2);
|
background: rgba(var(--color-base1), 0.2);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -3390,13 +3405,13 @@
|
|||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-bg .range-process {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-bg .range-process {
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 1);
|
background: rgba(var(--color-base1), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-bg .range-process {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-bg .range-process {
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 1);
|
background: rgba(var(--color-base1), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-node-box {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-node-box {
|
||||||
@ -3431,7 +3446,7 @@
|
|||||||
height: 13px;
|
height: 13px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 2px solid rgba(var(--color-sdk-base-rgb), 1);
|
border: 2px solid rgba(var(--color-base1), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-node-box .range-node-active-text {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box .range-node-box .range-node-active-text {
|
||||||
@ -3450,7 +3465,7 @@
|
|||||||
|
|
||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box input[type="range"]::-webkit-slider-runnable-track {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box input[type="range"]::-webkit-slider-runnable-track {
|
||||||
height: 6px;
|
height: 6px;
|
||||||
background: rgba(var(--color-sdk-base-rgb), 0);
|
background: rgba(var(--color-base1), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box input[type="range"]::-webkit-slider-thumb {
|
.YJ-custom-base-dialog.screenShotHD>.content>div .range-box input[type="range"]::-webkit-slider-thumb {
|
||||||
@ -3459,10 +3474,10 @@
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0);
|
background-color: rgba(var(--color-base1), 0);
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0);
|
border: 1px solid rgba(var(--color-base1), 0);
|
||||||
margin-top: -7px;
|
margin-top: -7px;
|
||||||
border-image: linear-gradient(rgba(var(--color-sdk-base-rgb), 0), rgba(var(--color-sdk-base-rgb), 0)) 0 fill / 8 20 8 0 / 0px 0px 0 2000px;
|
border-image: linear-gradient(rgba(var(--color-base1), 0), rgba(var(--color-base1), 0)) 0 fill / 8 20 8 0 / 0px 0px 0 2000px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 地图打印 */
|
/* 地图打印 */
|
||||||
@ -3577,7 +3592,7 @@
|
|||||||
flex: 0 0 25px;
|
flex: 0 0 25px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 1);
|
border: 1px solid rgba(var(--color-base1), 1);
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
@ -3598,7 +3613,7 @@
|
|||||||
.YJ-custom-checkbox-left:checked::after,
|
.YJ-custom-checkbox-left:checked::after,
|
||||||
.YJ-custom-checkbox-right:checked::after {
|
.YJ-custom-checkbox-right:checked::after {
|
||||||
content: "✔";
|
content: "✔";
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 1);
|
background-color: rgba(var(--color-base1), 1);
|
||||||
color: rgba(var(--color-sdk-auxiliary), 1);
|
color: rgba(var(--color-sdk-auxiliary), 1);
|
||||||
width: 25px;
|
width: 25px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
@ -3613,7 +3628,7 @@
|
|||||||
flex: 0 0 14px;
|
flex: 0 0 14px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 1);
|
border: 1px solid rgba(var(--color-base1), 1);
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
@ -3633,7 +3648,7 @@
|
|||||||
|
|
||||||
.YJ-custom-base-dialog>.content input.YJ-custom-checkbox[type=checkbox]:checked::after {
|
.YJ-custom-base-dialog>.content input.YJ-custom-checkbox[type=checkbox]:checked::after {
|
||||||
content: "✔";
|
content: "✔";
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 1);
|
background-color: rgba(var(--color-base1), 1);
|
||||||
color: rgba(var(--color-sdk-auxiliary), 1);
|
color: rgba(var(--color-sdk-auxiliary), 1);
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
@ -3727,13 +3742,13 @@
|
|||||||
.billboard-attribute-box .DIV-cy-tabs .DIV-cy-tab-content::-webkit-scrollbar-thumb {
|
.billboard-attribute-box .DIV-cy-tabs .DIV-cy-tab-content::-webkit-scrollbar-thumb {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||||
background-color: rgba(var(--color-sdk-base-rgb));
|
background-color: rgba(var(--color-base1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.billboard-attribute-box .DIV-cy-tabs .DIV-cy-tab-content::-webkit-scrollbar-track {
|
.billboard-attribute-box .DIV-cy-tabs .DIV-cy-tab-content::-webkit-scrollbar-track {
|
||||||
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: rgba(var(--color-sdk-base-rgb), 0.1);
|
background-color: rgba(var(--color-base1), 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.billboard-attribute-box .DIV-cy-tabs .DIV-cy-tab-content-pane {
|
.billboard-attribute-box .DIV-cy-tabs .DIV-cy-tab-content-pane {
|
||||||
@ -3748,8 +3763,8 @@
|
|||||||
.billboard-attribute-box .billboard-attribute-box-line {
|
.billboard-attribute-box .billboard-attribute-box-line {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 0px;
|
width: 0px;
|
||||||
/* border-left: 1px solid rgba(var(--color-sdk-base-rgb), 0.5); */
|
/* border-left: 1px solid rgba(var(--color-base1), 0.5); */
|
||||||
border-left: 1px solid rgba(var(--color-sdk-base-rgb), 1);
|
border-left: 1px solid rgba(var(--color-base1), 1);
|
||||||
/* transform: rotate(45deg); */
|
/* transform: rotate(45deg); */
|
||||||
transform-origin: 0px 0px;
|
transform-origin: 0px 0px;
|
||||||
-webkit-pointer-events: none;
|
-webkit-pointer-events: none;
|
||||||
@ -3797,7 +3812,7 @@
|
|||||||
background-color: #ffffff00;
|
background-color: #ffffff00;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.billboard-attribute-box .table .table-head .tr {
|
.billboard-attribute-box .table .table-head .tr {
|
||||||
@ -3808,11 +3823,11 @@
|
|||||||
|
|
||||||
.billboard-attribute-box .table .tr {
|
.billboard-attribute-box .table .tr {
|
||||||
display: flex;
|
display: flex;
|
||||||
border: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
.billboard-attribute-box .table .tr .th, .billboard-attribute-box .table .tr .td {
|
.billboard-attribute-box .table .tr .th, .billboard-attribute-box .table .tr .td {
|
||||||
border-right: 1px solid rgba(var(--color-sdk-base-rgb), 0.5);
|
border-right: 1px solid rgba(var(--color-base1), 0.5);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
@ -3862,8 +3877,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#YJ-custom-message.success {
|
#YJ-custom-message.success {
|
||||||
/* background-color: #f0f9eb; */
|
/* background-color: #f0f9eb;
|
||||||
/* color: rgb(82, 196, 26); */
|
color: rgb(82, 196, 26); */
|
||||||
background:
|
background:
|
||||||
linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
||||||
linear-gradient(0deg, rgba(27, 248, 195, 0.5) 0%, rgba(27, 248, 195, 0) 100%);
|
linear-gradient(0deg, rgba(27, 248, 195, 0.5) 0%, rgba(27, 248, 195, 0) 100%);
|
||||||
|
|||||||
@ -415,11 +415,11 @@ img {
|
|||||||
.ztree li span.button.chk {
|
.ztree li span.button.chk {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
.ztree li span.button.roots_open, .ztree li span.button.bottom_open {
|
.ztree li span.button.roots_open, .ztree li span.button.bottom_open, .ztree li span.button.center_open {
|
||||||
background: url(../images/tree/roots-open.png) 0 0 no-repeat;
|
background: url(../images/tree/roots-open.png) 0 0 no-repeat;
|
||||||
background-position: center !important;
|
background-position: center !important;
|
||||||
}
|
}
|
||||||
.ztree li span.button.roots_close, .ztree li span.button.bottom_close {
|
.ztree li span.button.roots_close, .ztree li span.button.bottom_close, .ztree li span.button.center_close{
|
||||||
background: url(../images/tree/roots-close.png) 0 0 no-repeat;
|
background: url(../images/tree/roots-close.png) 0 0 no-repeat;
|
||||||
background-position: center !important;
|
background-position: center !important;
|
||||||
}
|
}
|
||||||
@ -626,6 +626,22 @@ img {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-slider-tooltip {
|
||||||
|
display: block !important;
|
||||||
|
opacity: 1 !important;
|
||||||
|
background: none !important;
|
||||||
|
border: none !important;
|
||||||
|
>span:nth-child(1) {
|
||||||
|
position: relative;
|
||||||
|
top: -18px;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-slider__runway {
|
||||||
|
background: rgba(var(--color-base1), 0.2) !important;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-height: 850px) {
|
@media (max-height: 850px) {
|
||||||
#distanceLegendDiv {
|
#distanceLegendDiv {
|
||||||
.compass {
|
.compass {
|
||||||
|
|||||||
1
src/renderer/src/icons/svg/mif.svg
Normal file
1
src/renderer/src/icons/svg/mif.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M13.2608 7.8961C14.8148 6.23377 15.3328 4.67532 14.7112 3.63636C14.0896 2.7013 12.6392 2.49351 10.6709 3.11688C10.0493 1.14286 9.1169 0 7.97732 0C6.83774 0 5.90536 1.24675 5.28377 3.32468C3.10821 2.7013 1.55423 3.01299 1.03624 3.94805C0.414655 4.98701 1.03624 6.44156 2.69382 8.1039C1.13984 9.76623 0.621851 11.3247 1.24344 12.3636C1.65783 12.987 2.27942 13.1948 3.31541 13.1948C3.937 13.1948 4.55859 13.0909 5.38737 12.8831C6.00896 14.8571 6.94134 16 8.08092 16C9.2205 16 10.1529 14.7532 10.7745 12.6753C11.4996 12.8831 12.1212 12.987 12.7428 12.987C13.8824 12.987 14.6076 12.6753 15.022 12.0519C15.54 11.013 14.9184 9.45455 13.2608 7.8961ZM10.3601 9.03896L10.1529 9.14286L10.1529 9.35065C10.1529 10.0779 10.0493 10.7013 9.94567 11.3247C9.42768 11.1169 8.80611 10.9091 8.28812 10.5974L8.08092 10.4935L7.87372 10.5974C7.25213 10.9091 6.63055 11.2208 6.11256 11.4286C5.90536 10.9091 5.80176 10.2857 5.80176 9.55844L5.80176 9.35065L5.49097 9.14286C4.97298 8.83117 4.55859 8.41558 4.14419 8.1039C4.55859 7.68831 5.07658 7.27273 5.59457 6.96104L5.80176 6.85714L5.80176 6.64935C5.80176 5.92208 5.90536 5.2987 6.11256 4.67532C6.63055 4.88312 7.25213 5.09091 7.77012 5.4026L7.97732 5.50649L8.18452 5.4026C8.80611 5.09091 9.3241 4.77922 9.94567 4.57143C10.0493 5.19481 10.1529 5.92208 10.2565 6.54545L10.2565 6.75325L10.4637 6.85714C10.9816 7.16883 11.3961 7.58442 11.8104 7.8961C11.3961 8.31169 10.8781 8.72727 10.3601 9.03896ZM13.8824 4.25974C14.1932 4.67532 13.8824 5.81818 12.5356 7.16883C12.1212 6.85714 11.7069 6.44156 11.1889 6.12987C11.0852 5.4026 10.9816 4.77922 10.8781 4.15584C12.5356 3.63636 13.5716 3.84416 13.8824 4.25974ZM7.97732 1.03896C8.49531 1.03896 9.1169 1.76623 9.63489 3.42857C9.1169 3.63636 8.49531 3.94805 7.87372 4.25974C7.35573 3.94805 6.73414 3.74026 6.21615 3.53247C6.73414 1.76623 7.45933 1.03896 7.97732 1.03896ZM1.96863 4.46753C2.17582 4.15584 2.59022 4.05195 3.31541 4.05195C3.7298 4.05195 4.35139 4.15584 5.07658 4.25974C4.86938 4.88312 4.76578 5.50649 4.76578 6.23377C4.24779 6.64935 3.8334 6.96104 3.41901 7.37662C2.07222 6.02597 1.65783 4.98701 1.96863 4.46753ZM2.07222 11.7403C1.76143 11.3247 2.07222 10.1818 3.41901 8.83117C3.8334 9.14286 4.24779 9.55844 4.76578 9.87013C4.86938 10.5974 4.97298 11.2208 5.07658 11.8442C3.41901 12.3636 2.38302 12.1558 2.07222 11.7403ZM7.97732 14.961C7.45933 14.961 6.83774 14.2338 6.31975 12.5714C6.94134 12.3636 7.45933 12.0519 8.08092 11.7403C8.59891 11.9481 9.2205 12.2597 9.73849 12.3636C9.2205 14.2338 8.49531 14.961 7.97732 14.961ZM13.986 11.5325C13.7788 11.9481 12.6392 12.1558 10.8781 11.7403C10.9816 11.1169 11.0852 10.4935 11.1889 9.76623C11.7069 9.45455 12.1212 9.03896 12.5356 8.62338C13.8824 9.97403 14.2968 11.013 13.986 11.5325Z" fill="#00FFFF" ></path></svg>
|
||||||
|
After Width: | Height: | Size: 2.8 KiB |
1
src/renderer/src/icons/svg/tab.svg
Normal file
1
src/renderer/src/icons/svg/tab.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M14.3736 4.48806L13.8526 5.00743C12.7265 4.07541 11.3138 3.56367 9.85529 3.56367C9.14348 3.56367 8.43386 3.6878 7.76455 3.92624L9.20016 2.49229C9.66016 2.72855 10.2641 2.62404 10.6554 2.23206C11.1754 1.71161 11.1754 0.897186 10.6554 0.376734C10.1507 -0.125215 9.33424 -0.127389 8.823 0.381083C8.44474 0.789391 8.34881 1.37735 8.57012 1.85532L6.04769 4.37483L5.53645 3.86419L3.9079 5.49085L4.41914 6.0015L1.84439 8.57325C1.38328 8.34134 0.781581 8.4437 0.389147 8.83457C0.138437 9.08607 0 9.41598 0 9.76224C0 10.1085 0.138437 10.4384 0.397875 10.6975C0.930923 11.1635 1.72448 11.1505 2.21719 10.6616C2.59981 10.2783 2.69682 9.6871 2.47227 9.18515L3.92316 7.73596C3.18627 9.81014 3.57653 12.1108 4.99905 13.8278L4.478 14.3777L6.1338 16L7.76126 14.3733L6.13271 12.7467L5.66181 13.2181C4.24255 11.4368 4.11282 8.92168 5.33587 6.97489L5.53537 7.17416L7.20207 5.54312L6.97206 5.33842C7.8125 4.7864 8.80446 4.49569 9.85529 4.49569C11.0674 4.49569 12.2229 4.90183 13.2094 5.67161L12.7102 6.14197L14.3736 7.76975L16 6.14525L14.3736 4.48806Z" fill="#00FFFF" ></path></svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
@ -27,6 +27,7 @@ import '../public/tree/jquery.ztree.exhide.js'
|
|||||||
import '../public/tree/fuzzysearch.js'
|
import '../public/tree/fuzzysearch.js'
|
||||||
import '../public/tree/newFuzzySearch'
|
import '../public/tree/newFuzzySearch'
|
||||||
import theme from "@/utils/theme";
|
import theme from "@/utils/theme";
|
||||||
|
import { handleInputLimit } from '@/utils/index'
|
||||||
import Pagination from './components/Pagination/index.vue'
|
import Pagination from './components/Pagination/index.vue'
|
||||||
import dispatchEventStorage from '@/utils/watchLocalStorage'
|
import dispatchEventStorage from '@/utils/watchLocalStorage'
|
||||||
|
|
||||||
@ -94,6 +95,7 @@ const setApp = createApp(App)
|
|||||||
// 定义全局方法
|
// 定义全局方法
|
||||||
|
|
||||||
// setApp.config.globalProperties.$md5 = md5
|
// setApp.config.globalProperties.$md5 = md5
|
||||||
|
setApp.config.globalProperties.$handleInputLimit = handleInputLimit
|
||||||
setApp.component('Pagination', Pagination)
|
setApp.component('Pagination', Pagination)
|
||||||
setupStore(setApp)
|
setupStore(setApp)
|
||||||
setupSvgIcon(setApp)
|
setupSvgIcon(setApp)
|
||||||
|
|||||||
@ -65,3 +65,16 @@ export function getNamefromPath(path) {
|
|||||||
|
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function handleInputLimit(e) {
|
||||||
|
const minValue = parseFloat(e.target.min);
|
||||||
|
const maxValue = parseFloat(e.target.max);
|
||||||
|
if (!isNaN(maxValue) && e.target.value > maxValue) {
|
||||||
|
e.target.value = maxValue
|
||||||
|
e.target.dispatchEvent(new Event('input'))
|
||||||
|
}
|
||||||
|
else if (!isNaN(minValue) && e.target.value < minValue) {
|
||||||
|
e.target.value = minValue
|
||||||
|
e.target.dispatchEvent(new Event('input'))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -545,7 +545,7 @@ const fold = () => {
|
|||||||
}, index * itemDelay)
|
}, index * itemDelay)
|
||||||
})
|
})
|
||||||
// 同步bottom_left的位置和旋转
|
// 同步bottom_left的位置和旋转
|
||||||
bottom_left.style.right = '18vw'
|
bottom_left.style.right = '-35px'
|
||||||
bottom_left.style.transform = 'rotate(270deg)'
|
bottom_left.style.transform = 'rotate(270deg)'
|
||||||
} else {
|
} else {
|
||||||
// 折叠状态
|
// 折叠状态
|
||||||
@ -558,7 +558,7 @@ const fold = () => {
|
|||||||
// 同步bottom_left的位置和旋转
|
// 同步bottom_left的位置和旋转
|
||||||
setTimeout(
|
setTimeout(
|
||||||
() => {
|
() => {
|
||||||
bottom_left.style.right = '50%'
|
bottom_left.style.right = '48.5%'
|
||||||
bottom_left.style.transform = 'rotate(90deg)'
|
bottom_left.style.transform = 'rotate(90deg)'
|
||||||
},
|
},
|
||||||
(itemCount - 1) * itemDelay
|
(itemCount - 1) * itemDelay
|
||||||
@ -750,9 +750,9 @@ document.addEventListener('click', (e: any) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bottom_left {
|
.bottom_left {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
right: 13.5vw;
|
right: -35px;
|
||||||
bottom: 1.5em;
|
bottom: 8px;
|
||||||
height: 1.5vw;
|
height: 1.5vw;
|
||||||
width: 1.5vw;
|
width: 1.5vw;
|
||||||
// background: url('../../../assets/images/hongse/shou.png') no-repeat;
|
// background: url('../../../assets/images/hongse/shou.png') no-repeat;
|
||||||
|
|||||||
@ -45,10 +45,11 @@ const confirm = () => {
|
|||||||
let id = new YJ.Tools().randomString()
|
let id = new YJ.Tools().randomString()
|
||||||
let options: any = await initMapData('standText', {
|
let options: any = await initMapData('standText', {
|
||||||
id: id,
|
id: id,
|
||||||
name: name,
|
text: name,
|
||||||
positions: positions
|
positions: positions
|
||||||
}, null)
|
}, null)
|
||||||
delete options.host
|
delete options.host
|
||||||
|
delete options.name
|
||||||
console.log('options', options)
|
console.log('options', options)
|
||||||
let selectedNodes = window.treeObj.getSelectedNodes()
|
let selectedNodes = window.treeObj.getSelectedNodes()
|
||||||
let node = selectedNodes && selectedNodes[selectedNodes.length - 1]
|
let node = selectedNodes && selectedNodes[selectedNodes.length - 1]
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<span class="label">动画时长</span>
|
<span class="label">动画时长</span>
|
||||||
<div class="input-number input-number-unit-3">
|
<div class="input-number input-number-unit-3">
|
||||||
<input class="input blur" type="number" title="" min="500" max="9999999" v-model="entityOptions.spreadTime">
|
<input class="input blur" type="number" title="" min="500" max="9999999" v-model="entityOptions.spreadTime" @input="$handleInputLimit">
|
||||||
<span class="unit">ms</span>
|
<span class="unit">ms</span>
|
||||||
<span class="arrow"></span>
|
<span class="arrow"></span>
|
||||||
</div>
|
</div>
|
||||||
@ -66,7 +66,7 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<span class="label">Z值统一增加</span>
|
<span class="label">Z值统一增加</span>
|
||||||
<div class="input-number input-number-unit-1 height-box" :class="{ 'disabled': heightMode == 2 }">
|
<div class="input-number input-number-unit-1 height-box" :class="{ 'disabled': heightMode == 2 }">
|
||||||
<input class="input height" type="number" title="" min="-9999999" max="999999999" v-model="height">
|
<input class="input height" type="number" title="" min="-9999999" max="999999999" v-model="height" @input="$handleInputLimit">
|
||||||
<span class="unit">m</span>
|
<span class="unit">m</span>
|
||||||
<span class="arrow"></span>
|
<span class="arrow"></span>
|
||||||
</div>
|
</div>
|
||||||
@ -89,18 +89,18 @@
|
|||||||
<div class="td">{{ i + 1 }}</div>
|
<div class="td">{{ i + 1 }}</div>
|
||||||
<div class="td lng align-center" @dblclick="inputDblclick($event, i, 'lng')">
|
<div class="td lng align-center" @dblclick="inputDblclick($event, i, 'lng')">
|
||||||
<input class="input" @blur="inputBlurCallBack($event, i, 'lng', 8)" type="number"
|
<input class="input" @blur="inputBlurCallBack($event, i, 'lng', 8)" type="number"
|
||||||
v-model="item.lng" min="-180" max="180" v-if="activeTd.index == i && activeTd.name == 'lng'">
|
v-model="item.lng" min="-180" max="180" v-if="activeTd.index == i && activeTd.name == 'lng'" @input="$handleInputLimit">
|
||||||
<span style="pointer-events: none;" v-else>{{ (item.lng).toFixed(8) }}</span>
|
<span style="pointer-events: none;" v-else>{{ (item.lng).toFixed(8) }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="td lat align-center" @dblclick="inputDblclick($event, i, 'lat')">
|
<div class="td lat align-center" @dblclick="inputDblclick($event, i, 'lat')">
|
||||||
<input class="input" @blur="inputBlurCallBack($event, i, 'lat', 8)" type="number"
|
<input class="input" @blur="inputBlurCallBack($event, i, 'lat', 8)" type="number"
|
||||||
v-model="item.lat" min="-180" max="180" v-if="activeTd.index == i && activeTd.name == 'lat'">
|
v-model="item.lat" min="-180" max="180" v-if="activeTd.index == i && activeTd.name == 'lat'" @input="$handleInputLimit">
|
||||||
<span style="pointer-events: none;" v-else>{{ (item.lat).toFixed(8) }}</span>
|
<span style="pointer-events: none;" v-else>{{ (item.lat).toFixed(8) }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="td alt align-center" @dblclick="inputDblclick($event, i, 'alt')">
|
<div class="td alt align-center" @dblclick="inputDblclick($event, i, 'alt')">
|
||||||
<input class="input" @blur="inputBlurCallBack($event, i, 'alt', 2)" type="number"
|
<input class="input" @blur="inputBlurCallBack($event, i, 'alt', 2)" type="number"
|
||||||
v-model="entityOptions.height" min="-9999999" max="999999999"
|
v-model="entityOptions.height" min="-9999999" max="999999999"
|
||||||
v-if="activeTd.index == i && activeTd.name == 'alt'">
|
v-if="activeTd.index == i && activeTd.name == 'alt'" @input="$handleInputLimit">
|
||||||
<span style="pointer-events: none;" v-else>{{ (entityOptions.height).toFixed(2) }}</span>
|
<span style="pointer-events: none;" v-else>{{ (entityOptions.height).toFixed(2) }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -121,7 +121,7 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<span class="label">描边宽度</span>
|
<span class="label">描边宽度</span>
|
||||||
<div class="input-number input-number-unit-2">
|
<div class="input-number input-number-unit-2">
|
||||||
<input class="input" type="number" title="" min="0" max="99" v-model="entityOptions.lineWidth">
|
<input class="input" type="number" title="" min="0" max="99" v-model="entityOptions.lineWidth" @input="$handleInputLimit">
|
||||||
<span class="unit">px</span>
|
<span class="unit">px</span>
|
||||||
<span class="arrow"></span>
|
<span class="arrow"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -47,10 +47,10 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<span class="label">调整大小</span>
|
<span class="label">调整大小</span>
|
||||||
<input type="range" max="100000" min="0" step="0.01" v-model="entityOptions.scale">
|
<input type="range" :max="100000" :min="0" :step="0.01" v-model="entityOptions.scale">
|
||||||
<div class="input-number" style="width: 100px;flex: 0 0 100px;margin-left: 10px;">
|
<div class="input-number" style="width: 100px;flex: 0 0 100px;margin-left: 10px;">
|
||||||
<input class="input" type="number" title="" min="0" max="100000" step="0.01"
|
<input class="input" type="number" title="" :min="0" :max="100000" :step="0.01"
|
||||||
v-model="entityOptions.scale">
|
v-model="entityOptions.scale" @input="$handleInputLimit">
|
||||||
<span class="arrow"></span>
|
<span class="arrow"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -102,7 +102,6 @@ let originalOptions: any
|
|||||||
let that: any
|
let that: any
|
||||||
const colorRef = ref(null)
|
const colorRef = ref(null)
|
||||||
const open = async (id: any) => {
|
const open = async (id: any) => {
|
||||||
console.log('id', id)
|
|
||||||
that = window.earth.entityMap.get(id)
|
that = window.earth.entityMap.get(id)
|
||||||
originalOptions = structuredClone(that.options)
|
originalOptions = structuredClone(that.options)
|
||||||
entityOptions.value = that
|
entityOptions.value = that
|
||||||
@ -130,6 +129,7 @@ const confirm = () => {
|
|||||||
// 删除不必要的属性
|
// 删除不必要的属性
|
||||||
delete params.host
|
delete params.host
|
||||||
delete params.name
|
delete params.name
|
||||||
|
delete params.positions
|
||||||
let params2 = {
|
let params2 = {
|
||||||
"id": params.id,
|
"id": params.id,
|
||||||
"sourceName": params.text,
|
"sourceName": params.text,
|
||||||
@ -143,33 +143,33 @@ const close = () => {
|
|||||||
baseDialog.value?.close()
|
baseDialog.value?.close()
|
||||||
}
|
}
|
||||||
const remove = () => {
|
const remove = () => {
|
||||||
close()
|
close()
|
||||||
ElMessageBox.confirm('此操作将永久删除节点及所有子节点, 是否继续?', '提示', {
|
ElMessageBox.confirm('此操作将永久删除节点及所有子节点, 是否继续?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
let node = window.treeObj.getNodeByParam('id', that.options.id, null)
|
let node = window.treeObj.getNodeByParam('id', that.options.id, null)
|
||||||
let source_ids = cusRemoveNode(window.treeObj, [node])
|
let source_ids = cusRemoveNode(window.treeObj, [node])
|
||||||
const res = await TreeApi.removeDirectory({ ids: source_ids })
|
const res = await TreeApi.removeDirectory({ ids: source_ids })
|
||||||
if (res.code == 0 || res.code == 200) {
|
if (res.code == 0 || res.code == 200) {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: '删除成功',
|
message: '删除成功',
|
||||||
type: 'success'
|
type: 'success'
|
||||||
})
|
})
|
||||||
that.remove()
|
that.remove()
|
||||||
(window as any)._entityMap.delete(source_ids[0])
|
(window as any)._entityMap.delete(source_ids[0])
|
||||||
} else {
|
} else {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: res.msg || '删除失败',
|
message: res.msg || '删除失败',
|
||||||
type: 'error'
|
type: 'error'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
// 用户点击取消,不执行任何操作
|
// 用户点击取消,不执行任何操作
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const translate = () => {
|
const translate = () => {
|
||||||
entityOptions.value.positionEditing = true
|
entityOptions.value.positionEditing = true
|
||||||
|
|||||||
@ -2,23 +2,31 @@
|
|||||||
<Dialog ref="baseDialog" title="底图属性" left="calc(50% - 160px)" top="calc(50% - 120px)" :closeCallback="closeCallback">
|
<Dialog ref="baseDialog" title="底图属性" left="calc(50% - 160px)" top="calc(50% - 120px)" :closeCallback="closeCallback">
|
||||||
<template #content>
|
<template #content>
|
||||||
<span class="custom-divider"></span>
|
<span class="custom-divider"></span>
|
||||||
<div class="div-item">
|
<div class="div-item">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<span class="label">名称</span>
|
<span class="label">名称</span>
|
||||||
<input class="input" v-model="entityOptions.name">
|
<input class="input" v-model="entityOptions.name">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="div-item">
|
||||||
</div>
|
<div class="row" style="margin-bottom: 5px;">
|
||||||
<span class="custom-divider"></span>
|
<div class="col">
|
||||||
<div class="div-item">
|
<span class="label">透明度</span>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col">
|
</div>
|
||||||
<span class="label">透视</span>
|
<div class="row">
|
||||||
<input type="range" min="0" max="1" step="0.01" v-model="entityOptions.alpha">
|
<div class="col" style="margin-right: 12px;">
|
||||||
|
<el-slider tooltip-class="custom-slider-tooltip" v-model="entityOptions.alpha" :min="0" :max="1" :step="0.0001" placement="bottom" :format-tooltip="formatTooltip" />
|
||||||
|
</div>
|
||||||
|
<div class="col input-number input-number-unit" style="flex: 0 0 80px;margin: 0px;">
|
||||||
|
<input class="input" type="number" title="" :min="0" :max="100" v-model="alphaPercent" />
|
||||||
|
<span class="arrow"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<span class="custom-divider" style="margin-top: 10px;"></span>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<button @click="remove">删除</button>
|
<button @click="remove">删除</button>
|
||||||
@ -43,12 +51,23 @@ const text = ref('')
|
|||||||
eventBus.on('openStandTextAdd', () => {
|
eventBus.on('openStandTextAdd', () => {
|
||||||
baseDialog.value?.open()
|
baseDialog.value?.open()
|
||||||
})
|
})
|
||||||
|
const formatTooltip = (val: number) => {
|
||||||
|
return Math.round(val * 10000) / 100
|
||||||
|
}
|
||||||
const entityOptions: any = ref({});
|
const entityOptions: any = ref({});
|
||||||
let originalOptions: any
|
let originalOptions: any
|
||||||
let that: any
|
let that: any
|
||||||
|
|
||||||
|
const alphaPercent = computed({
|
||||||
|
get() {
|
||||||
|
return Math.round(entityOptions.value.alpha * 10000) / 100;
|
||||||
|
},
|
||||||
|
set(value) {
|
||||||
|
entityOptions.value.alpha = value / 100;
|
||||||
|
}
|
||||||
|
});
|
||||||
const closeCallback = () => {
|
const closeCallback = () => {
|
||||||
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
entityOptions.value.originalOptions = structuredClone(originalOptions)
|
||||||
that.positionEditing = false
|
|
||||||
entityOptions.value.reset()
|
entityOptions.value.reset()
|
||||||
eventBus.emit("destroyComponent")
|
eventBus.emit("destroyComponent")
|
||||||
}
|
}
|
||||||
@ -85,31 +104,31 @@ const close = () => {
|
|||||||
const remove = () => {
|
const remove = () => {
|
||||||
close()
|
close()
|
||||||
ElMessageBox.confirm('此操作将永久删除节点及所有子节点, 是否继续?', '提示', {
|
ElMessageBox.confirm('此操作将永久删除节点及所有子节点, 是否继续?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
let node = window.treeObj.getNodeByParam('id', that.options.id, null)
|
let node = window.treeObj.getNodeByParam('id', that.options.id, null)
|
||||||
let source_ids = cusRemoveNode(window.treeObj, [node])
|
let source_ids = cusRemoveNode(window.treeObj, [node])
|
||||||
const res = await TreeApi.removeDirectory({ ids: source_ids })
|
const res = await TreeApi.removeDirectory({ ids: source_ids })
|
||||||
if (res.code == 0 || res.code == 200) {
|
if (res.code == 0 || res.code == 200) {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: '删除成功',
|
message: '删除成功',
|
||||||
type: 'success'
|
type: 'success'
|
||||||
})
|
})
|
||||||
that.remove()
|
that.remove()
|
||||||
(window as any)._entityMap.delete(source_ids[0])
|
(window as any)._entityMap.delete(source_ids[0])
|
||||||
} else {
|
} else {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: res.msg || '删除失败',
|
message: res.msg || '删除失败',
|
||||||
type: 'error'
|
type: 'error'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
// 用户点击取消,不执行任何操作
|
// 用户点击取消,不执行任何操作
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
defineExpose({
|
defineExpose({
|
||||||
open,
|
open,
|
||||||
|
|||||||
@ -177,7 +177,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="search_title" id="search">
|
<div class="search_title" id="search">
|
||||||
<div class="searchUp">
|
<div class="searchUp">
|
||||||
<el-select v-model="select" @change="selectChange" style="width: 4vw" size="small">
|
<el-select v-model="select" @change="selectChange" style="width: 4vw" size="small" popper-class="custom-dropdown2">
|
||||||
<el-option value="tree" :label="t('tree.layer')"></el-option>
|
<el-option value="tree" :label="t('tree.layer')"></el-option>
|
||||||
<el-option value="poi" :label="t('tree.location')"></el-option>
|
<el-option value="poi" :label="t('tree.location')"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|||||||
12
src/shims-vue.d.ts
vendored
Normal file
12
src/shims-vue.d.ts
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
import type { ComponentCustomProperties } from 'vue'
|
||||||
|
|
||||||
|
// 扩展全局属性类型
|
||||||
|
declare module '@vue/runtime-core' {
|
||||||
|
interface ComponentCustomProperties {
|
||||||
|
// 声明你的全局方法类型(根据实际方法参数和返回值调整)
|
||||||
|
$handleInputLimit: (e: Event) => void;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 必须导出空对象,否则 TypeScript 会认为这是一个模块声明
|
||||||
|
export {}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
|
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
|
||||||
"include": ["electron.vite.config.*", "src/main/**/*", "src/preload/**/*"],
|
"include": ["electron.vite.config.*", "src/main/**/*", "src/preload/**/*", "src/**/*.d.ts"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
"types": ["electron-vite/node"],
|
"types": ["electron-vite/node"],
|
||||||
|
|||||||
@ -4,7 +4,8 @@
|
|||||||
"src/renderer/src/env.d.ts",
|
"src/renderer/src/env.d.ts",
|
||||||
"src/renderer/src/**/*",
|
"src/renderer/src/**/*",
|
||||||
"src/renderer/src/**/*.vue",
|
"src/renderer/src/**/*.vue",
|
||||||
"src/preload/*.d.ts"
|
"src/preload/*.d.ts",
|
||||||
|
"src/shims-vue.d.ts"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user