From ec065c84d7ee0b7e05efe9b991b528f6a5feb5a0 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期三, 06 三月 2024 18:10:43 +0800
Subject: [PATCH] 修改

---
 src/components/sideMenu/layerMenu/layerPanel2.vue |  113 ++++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 80 insertions(+), 33 deletions(-)

diff --git a/src/components/sideMenu/layerMenu/layerPanel2.vue b/src/components/sideMenu/layerMenu/layerPanel2.vue
index 266415e..571844b 100644
--- a/src/components/sideMenu/layerMenu/layerPanel2.vue
+++ b/src/components/sideMenu/layerMenu/layerPanel2.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="layerPanel">
     <div class="mapMode">
-      <div class="title" style="margin-top: 0px">鍦板浘妯″紡</div>
+      <div class="title">鍦板浘妯″紡</div>
       <div class="container">
         <div
           class="layerItem"
@@ -33,8 +33,8 @@
         </div>
       </div>
     </div>
-    <div class="areaType" style="margin-top: 10px">
-      <div class="title">
+    <div class="areaType">
+      <div class="title ZTtitle">
         涓撻搴旂敤
         <!-- 涓嶆樉绀烘洿澶氬浘灞� -->
         <span class="more" v-show="false" @click.stop="showLayerTree"
@@ -53,9 +53,6 @@
             ZTValue.name
           }}</span>
         </div>
-      </div>
-      <div class="title2"></div>
-      <div class="container">
         <div
           class="layerItem"
           v-for="(funcValue, funcIndex) in FuncList"
@@ -71,6 +68,22 @@
           }}</span>
         </div>
       </div>
+      <!-- <div class="container">
+        <div
+          class="layerItem"
+          v-for="(funcValue, funcIndex) in FuncList"
+          :key="funcValue.id"
+          @click.stop="handleFuncClick(funcIndex)"
+        >
+          <img
+            :src="funcValue.src"
+            :class="{ active: curFuncIndex == funcIndex }"
+          />
+          <span :class="{ spanActive: curFuncIndex == funcIndex }">{{
+            funcValue.name
+          }}</span>
+        </div>
+      </div> -->
     </div>
 
     <!-- <div class="yjsxt">
@@ -532,66 +545,100 @@
 <style scoped>
 .layerPanel {
   width: 100%;
+  /* height: 396px; */
   position: absolute;
   bottom: 0px;
   align-items: center;
-  padding: 0.1rem;
-  background: white;
+  /* padding: 0.1rem; */
+  background: #ffffff;
   z-index: 1000;
-  padding-left: 0.25rem;
+  /* padding-left: 0.25rem; */
   border-radius: 15px 15px 0px 0px;
 }
+.mapMode {
+  width: 100%;
+  margin-top: 24px;
+  padding-left: 28px;
+}
 
+@font-face {
+  font-family: "YouSheBiaoTiHei";
+  src: url("../../../../static/YouSheBiaoTiHei.ttf");
+}
 .title {
-  height: 25px;
-  font-size: 16px;
-  font-family: Source Han Sans SC;
-  font-weight: 700;
-  color: #181818;
-  line-height: 25px;
-  margin: 10px 0px 10px 0;
+  width: 72px;
+  height: 14px;
+  font-family: "YouSheBiaoTiHei";
+  font-weight: 400;
+  font-size: 19px;
+  color: #2e2e2e;
+  line-height: 15px;
+  margin-bottom: 18px;
 }
-
-.title2 {
-  height: 15px;
-}
-
 .container {
+  width: 100%;
   display: flex;
   align-items: center;
   text-align: center;
+  flex-wrap: wrap;
 }
 
 .layerItem {
   /* font-size: 14px; */
-  font-family: Source Han Sans SC;
+  font-family: "寰蒋闆呴粦";
   font-weight: 400;
-  margin-right: 30px;
   cursor: pointer;
 }
-
+.mapMode .layerItem {
+  width: 91px;
+  margin-right: 24px;
+}
+.mapMode img {
+  display: block;
+  width: 91px;
+  border-radius: 11px;
+  border: 1px dashed #127dff;
+  /* height: 40px; */
+  margin-bottom: 11px;
+}
+span {
+  font-family: "寰蒋闆呴粦";
+  font-weight: 500;
+  font-size: 15px;
+  color: #212121;
+  line-height: 12px;
+}
 .active {
-  color: #4187ff;
-  border: 2px solid #4187ff;
+  color: #127dff;
+  border: 2px solid #127dff;
   border-radius: 10px;
 }
 
 .spanActive {
-  color: #4187ff;
+  color: #127dff;
 }
-
-img {
+.areaType {
+  width: 100%;
+  margin-top: 30px;
+}
+.areaType .ZTtitle {
+  margin-left: 28px;
+  margin-bottom: 3px;
+}
+.areaType .container{
+  padding: 0 18px 22px;
+  justify-content: space-between;
+}
+.areaType img {
   display: block;
-  width: 60px;
-  height: 40px;
-  margin-bottom: 5px;
+  width: 84px;
 }
 
 .more {
   float: right;
   margin-right: 20px;
   font-size: 0.12rem;
-  color: #4187ff;
+  color: #127dff;
   line-height: 25px;
   font-weight: 500;
   font-family: unset;

--
Gitblit v1.9.3