优化
This commit is contained in:
TimSpan 2024-08-02 10:27:57 +08:00
parent 75084dc667
commit e7a92540c9
3 changed files with 668 additions and 755 deletions

1392
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,6 @@
"@codemirror/lang-json": "^6.0.1", "@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-sql": "^6.5.4", "@codemirror/lang-sql": "^6.5.4",
"@codemirror/theme-one-dark": "^6.1.2", "@codemirror/theme-one-dark": "^6.1.2",
"@dataview/datav-vue3": "^0.0.0-test.1672506674342",
"@element-plus/icons-vue": "^2.3.1", "@element-plus/icons-vue": "^2.3.1",
"@jiaminghi/data-view": "^2.10.0", "@jiaminghi/data-view": "^2.10.0",
"@kjgl77/datav-vue3": "^1.7.2", "@kjgl77/datav-vue3": "^1.7.2",

View File

@ -1021,18 +1021,7 @@ const selectA = (selectedKeys: any, e: any) => {
state.map.setZoomAndCenter(205, targetLangLat) state.map.setZoomAndCenter(205, targetLangLat)
} }
} }
// const selectB = (selectedKeys: any, e: any) => {
// if (e.selectedNodes[0]) {
// let targetLangLat = [e.selectedNodes[0].longitude == null ? 0 : e.selectedNodes[0].longitude, e.selectedNodes[0].latitude == null ? 0 : e.selectedNodes[0].latitude]
// state.map.panTo(targetLangLat)
// }
// }
// const selectC = (selectedKeys: any, e: any) => {
// if (e.selectedNodes[0]) {
// let targetLangLat = [e.selectedNodes[0].longitude == null ? 0 : e.selectedNodes[0].longitude, e.selectedNodes[0].latitude == null ? 0 : e.selectedNodes[0].latitude]
// state.map.panTo(targetLangLat)
// }
// }
const createSubstanceInfowindow = (obj: any, type: any) => { const createSubstanceInfowindow = (obj: any, type: any) => {
// //
var mdinfoTop = document.createElement('div') var mdinfoTop = document.createElement('div')
@ -1882,15 +1871,6 @@ const defaultProps = {
color: #fff; color: #fff;
} }
// :deep(.el-input__wrapper) {
// background-color: transparent;
// box-shadow: 0 0 0 1px #ccc;
// }
// :deep(.el-input__inner) {
// color: #fff;
// }
:deep(.el-select .el-input .el-select__caret) { :deep(.el-select .el-input .el-select__caret) {
color: #ccc; color: #ccc;
} }
@ -1955,17 +1935,17 @@ const defaultProps = {
align-items: center; align-items: center;
} }
::v-deep .ant-tree .ant-tree-list-holder-inner { :deep(.ant-tree .ant-tree-list-holder-inner) {
// background: #cccccc2b; /* background: #cccccc2b; */
background: #fff; background: #fff;
color: rgba(0, 0, 0, 0.88); color: rgba(0, 0, 0, 0.88);
} }
::v-deep .ant-tree .ant-tree-treenode { :deep(.ant-tree .ant-tree-treenode) {
margin: 3px 0; margin: 3px 0;
} }
::v-deep .ant-tree .ant-tree-checkbox { :deep(.ant-tree .ant-tree-checkbox) {
margin-inline-end: 0; margin-inline-end: 0;
margin-block-start: 0; margin-block-start: 0;
} }