管道基础大数据平台系统开发-【前端】-新系統界面
584911253@qq.com
2023-03-22 208f09ade28eeb3a2111f5f198c2e1ef84ec8069
页面修改
已添加9个文件
已修改4个文件
216 ■■■■■ 文件已修改
public/SmartEarthSDK/Workers/css/smartearth.css 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/index.css 52 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/2D.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/3D.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/basemap.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/menu/en.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/menu/navbg.jpg 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/menu/navtitle.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/menu/theme.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/menu/user.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/terrain.png 补丁 | 查看 | 原始文档 | blame | 历史
src/components/mapsdk.vue 115 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/navMenu.vue 44 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/SmartEarthSDK/Workers/css/smartearth.css
@@ -76,7 +76,8 @@
#distanceLegendDiv {
    position: absolute;
    bottom: 250px !important;
    bottom: 340px !important;
    /*bottom: 250px !important;*/
    right: 120px !important;
}
@@ -131,4 +132,4 @@
.el-message-box__message {
    user-select: text;
}
}
src/assets/css/index.css
@@ -25,7 +25,10 @@
.NavBox {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgb(34, 33, 33), rgb(27, 31, 78));
    background-image: url("../../assets/img/menu/navbg.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /*background-image: linear-gradient(rgb(34, 33, 33), rgb(27, 31, 78));*/
}
.topBox {
@@ -42,7 +45,7 @@
    background: url("../img/LOGO.png") no-repeat center; */
    width: 240px;
    height: 50px;
    background: url("../img/LOGO.png") no-repeat center center;
    background: url("../img/menu/navtitle.png") no-repeat center center;
    background-size: 100% 100%;
}
@@ -57,6 +60,7 @@
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contentDiv {
@@ -64,7 +68,8 @@
}
.ImgMenu {
    width: 100%;
    /*width: 100%;*/
    width: 40px;
    height: auto;
    display: flex;
    justify-content: center;
@@ -78,9 +83,10 @@
.menulabel {
    font-size: 10px;
    font-family: Source Han Sans CN;
    text-align: center;
    width: 120px;
    text-align: left;
    padding: 0 20px;
    /*width: 100px;*/
    /*width: 120px;*/
    color: #fff
}
@@ -161,18 +167,21 @@
.topUser {
    color: white;
    height: 70px;
    display: flex;
    align-items: center;
}
.userName {
    margin: 10px 10px;
    margin: 0px 10px 0 5px;
    /*margin-right: 10px;*/
    display: flex;
    justify-content: space-between;
    height: 30px;
}
.userLanguage {
    margin: 0px 10px;
    margin-top: 10px;
    /*margin: 0px 10px;*/
    /*margin-top: 10px;*/
    display: flex;
    height: 30px;
}
@@ -185,13 +194,21 @@
}
.user1 {
    background: url("../img/user.png") no-repeat;
    /*background: url("../img/user.png") no-repeat;*/
    background: url("../img/menu/user.png") no-repeat;
    background-size: 100% 100%;
}
.user2 {
    background: url("../img/EN.png") no-repeat;
    /*background: url("../img/EN.png") no-repeat;*/
    background: url("../img/menu/en.png") no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
}
.theme {
    background: url("../img/menu/theme.png") no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
}
.userText {
@@ -275,4 +292,15 @@
.ol-scale-line {
    display: block !important;
}
}
/*.mapTerrain {*/
/*    position: absolute;*/
/*    right: 30px;*/
/*    bottom: 100px;*/
/*    width: 30px;*/
/*    height: 28px;*/
/*    background-image: url("../../assets/img/synthesis/地形.png");*/
/*    background-repeat: no-repeat;*/
/*    background-size: contain;*/
/*}*/
src/assets/img/2D.png
src/assets/img/3D.png
src/assets/img/basemap.png
src/assets/img/menu/en.png
src/assets/img/menu/navbg.jpg
src/assets/img/menu/navtitle.png
src/assets/img/menu/theme.png
src/assets/img/menu/user.png
src/assets/img/terrain.png
src/components/mapsdk.vue
@@ -297,7 +297,7 @@
          </div>
        </el-card>
      </div>
      <div style="display: flex">
<!--      <div style="display: flex;">-->
        <div
          class="changeTerrain"
          @click="changeTerrainLayer"
@@ -308,9 +308,10 @@
            class="mapTerrain"
          ></div>
        </div>
<!--      class="center CenDiv"-->
        <div
          @click="changeMenulayer"
          class="center CenDiv"
          class="changeLayer"
        >
          <div
            title="底图切换"
@@ -329,7 +330,7 @@
            :class="show2DMap ? 'mapTypeTwo' : 'mapTypeThree'"
          ></div>
        </div>
      </div>
<!--      </div>-->
      <!-- 坡度分析弹窗-->
      <div
        class="lengend"
@@ -1812,65 +1813,109 @@
.mapBaseMap {
  width: 100%;
  height: 100%;
  margin-left: 10px;
  background-image: url("../assets/img/synthesis/底图.png");
  //margin-left: 10px;
  background-image: url("../assets/img/basemap.png");
  //background-image: url("../assets/img/synthesis/底图.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.changeMapType {
  position: absolute;
  bottom: 1%;
  left: calc(1% + 150px);
  height: 40px;
  width: 60px;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  // box-shadow: 3px 3px 6px #666;
  //border: 1px solid rgba(204, 204, 204, 0.76);
  border-radius: 5px;
  cursor: pointer;
}
//.changeMapType {
//  position: absolute;
//  bottom: 1%;
//  left: calc(1% + 150px);
//  height: 40px;
//  width: 60px;
//  z-index: 101;
//  display: flex;
//  justify-content: center;
//  align-items: center;
//  // box-shadow: 3px 3px 6px #666;
//  //border: 1px solid rgba(204, 204, 204, 0.76);
//  border-radius: 5px;
//
//  cursor: pointer;
//}
.changeTerrain {
  position: absolute;
  bottom: 1%;
  left: 1%;
  height: 40px;
  width: 60px;
  bottom: 84px;
  right: 46px;
  height: 30px;
  width: 30px;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.5);
}
.changeLayer{
  position: absolute;
  bottom: 116px;
  right: 46px;
  height: 30px;
  width: 30px;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.5);
}
.changeMapType {
  position: absolute;
  bottom: 52px;
  right: 46px;
  height: 30px;
  width: 30px;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.5);
}
//.changeTerrain {
//  position: absolute;
//  bottom: 1%;
//  left: 1%;
//  height: 40px;
//  width: 60px;
//  z-index: 101;
//  display: flex;
//  justify-content: center;
//  align-items: center;
//
//  border-radius: 5px;
//  cursor: pointer;
//}
.mapTypeTwo {
  width: 100%;
  height: 100%;
  margin-left: 10px;
  background-image: url("../assets/img/synthesis/3D.png");
  background-image: url("../assets/img/3D.png");
  //background-image: url("../assets/img/synthesis/3D.png");
  background-repeat: no-repeat;
  background-size: contain;
  //background-size: contain;
}
.mapTerrain {
  width: 100%;
  height: 100%;
  margin-left: 10px;
  background-image: url("../assets/img/synthesis/地形.png");
  //margin-left: 10px;
  //background-image: url("../assets/img/synthesis/地形.png");
  //background-image: url("../assets/img/synthesis/地形.png");
  background-image: url("../assets/img/terrain.png");
  background-repeat: no-repeat;
  background-size: contain;
  //background-size: contain;
}
.mapTypeThree {
  width: 100%;
  height: 100%;
  margin-left: 10px;
  background-image: url("../assets/img/synthesis/2D 拷贝 2.png");
  //margin-left: 10px;
  background-image: url("../assets/img/2D.png");
  background-repeat: no-repeat;
  background-size: contain;
  //background-size: contain;
}
.pdfClass {
src/components/navMenu.vue
@@ -12,7 +12,7 @@
            @click="setMenuMove(index, item)"
            v-for="(item, index) in listMenu"
          >
            <div>
            <div style="display: flex;align-items: center">
              <div class="ImgMenu">
                <div
                  class="menuImage"
@@ -42,6 +42,24 @@
        </div>
      </div>
      <div class="topUser">
        <div class="userLanguage">
          <div class="userImage theme" @click="themeChange"></div>
          <div class="userImage user2" @click="switchLang"></div>
<!--          <div class="TextLanguage">-->
<!--            <el-link-->
<!--                @click="switchLang"-->
<!--                :underline="false"-->
<!--                class="elLink"-->
<!--            >{{$t("common.language")}}</el-link>-->
<!--          </div>-->
<!--          <div class="TextLanguage">-->
<!--            <el-link-->
<!--                @click="themeChange"-->
<!--                :underline="false"-->
<!--                class="elLink"-->
<!--            > 主题切换</el-link>-->
<!--          </div>-->
        </div>
        <div class="userName">
          <div class="userImage user1"></div>
          <div class="userText">
@@ -52,26 +70,7 @@
              class="elLink"
            >{{ $t('common.logout') }}</el-link>
          </div>
        </div>
        <div class="userLanguage">
          <div class="userImage user2"></div>
          <div class="TextLanguage">
            <el-link
              @click="switchLang"
              :underline="false"
              class="elLink"
            >{{$t("common.language")}}</el-link>
          </div>
          <div class="TextLanguage">
            <el-link
              @click="themeChange"
              :underline="false"
              class="elLink"
            > 主题切换</el-link>
          </div>
        </div>
      </div>
    </div>
@@ -237,7 +236,7 @@
          this.showFlag = null;
        }
      }
      //
      //
      if (index === 4 || index === 5 || index === 6) {
        sessionStorage.removeItem('changeliSelect')
        this.$set(this, 'changeliSelect', null)
@@ -465,5 +464,4 @@
  },
};
</script>