月球大数据地理空间分析展示平台-【前端】-月球2期前端
Surpriseplus
2023-08-22 0d3b1e9ffdbebd4a69d91e4d0cae3dd969ca1cfd
图层管理属性详情页面修改
已修改5个文件
25 ■■■■ 文件已修改
src/assets/js/Map/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/js/Map/menuTool.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/layer/attributeList.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/layer/doubleLayer.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/layer/layerDetail.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/js/Map/config.js
@@ -1,5 +1,5 @@
//是否为生产环境
const isWeb = false;
const isWeb = true;
//是否为生产环境
const webUrl = isWeb ? "/web" : "";
//配置文件地址
src/assets/js/Map/menuTool.js
@@ -495,6 +495,8 @@
  },
  //清除方法
  clearTopTools(id) {
    store.state.doubleMap = false;
    store.state.doubleMenu = false;
    if (earthCtrl.shadows) {
      Viewer.animation.container.style.visibility = "hidden";
      Viewer.timeline.container.style.visibility = "hidden";
src/views/layer/attributeList.vue
@@ -344,7 +344,7 @@
  left: 100%;
  background: rgba(7, 8, 14, 0.8);
  border: 1px solid #d6e4ff;
  z-index: 10;
  z-index: 31;
  box-shadow: inset 0px 10px 40px 10px rgba(38, 47, 71, 1);
  .spatialTitle {
    padding: 10px;
src/views/layer/doubleLayer.vue
@@ -191,6 +191,7 @@
  if (res == 2) {
    layerAttributeIsshow.value = true;
    debugger;
    store.state.tab = e;
  } else {
    if (!e.checked) {
src/views/layer/layerDetail.vue
@@ -2,7 +2,11 @@
  <div class="content">
    <div class="title">
      <label>详细编辑</label>
      <el-icon @click="setSpatialClose" :size="20" style="cursor: pointer">
      <el-icon
        @click="setSpatialClose"
        :size="20"
        style="cursor: pointer"
      >
        <Close />
      </el-icon>
    </div>
@@ -12,7 +16,10 @@
          layerName
        }}</el-checkbox> -->
        {{ layerData.cnName }}
        <img src="../../assets/img/layer.png" alt="" />
        <img
          src="../../assets/img/layer.png"
          alt=""
        />
      </div>
      <div class="slider-demo-block">
        <div class="demonstration">透明度</div>
@@ -70,7 +77,10 @@
            <!-- <img :src="item.url" style="height: 30px; margin-right: 10px" />
            <span>{{ item.label }}</span> -->
            <img :src="item.url" style="height: 30px; width: 100%" />
            <img
              :src="item.url"
              style="height: 30px; width: 100%"
            />
          </el-option>
        </el-select>
      </div>
@@ -207,6 +217,8 @@
  height: 400px;
  margin-left: 20px;
  margin-top: 40px;
  z-index: 30;
  position: absolute;
  .title {
    font-size: 18px;
    font-family: Source Han Sans CN;