From e3e5236f9fd9fc2dddf1366f6726eeecd4bcc33e Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期二, 20 九月 2022 10:26:56 +0800
Subject: [PATCH] 综合展示中英文切换

---
 src/views/Synthesis/plotting.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/Synthesis/plotting.vue b/src/views/Synthesis/plotting.vue
index f80cbe5..f4313d4 100644
--- a/src/views/Synthesis/plotting.vue
+++ b/src/views/Synthesis/plotting.vue
@@ -2,14 +2,14 @@
   <div class="box">
     <ul>
       <li
-        style="width: 86px"
+        style="margin-left: 20px"
         @click="changePlot(item)"
         v-for="item in itemsOne"
       >
         <div class="divli">
           <div :class="item.class" class="backimge8"></div>
         </div>
-        <div class="div_li">{{ item.name }}</div>
+        <div class="div_li">{{ $t(item.name) }}</div>
       </li>
     </ul>
   </div>
@@ -22,42 +22,42 @@
       itemsOne: [
         {
           id: "1",
-          name: "鐐�",
+          name: "synthesis.point",
           class: "h1",
         },
         {
           id: "2",
-          name: "绾�",
+          name: "synthesis.line",
           class: "h2",
         },
         {
           id: "3",
-          name: "鐭╁舰",
+          name: "synthesis.rectangle",
           class: "h3",
         },
         {
           id: "4",
-          name: "澶氳竟褰�",
+          name: "synthesis.polygon",
           class: "h4",
         },
         {
           id: "7",
-          name: "绗﹀彿鍖栨爣绛�",
+          name: "synthesis.symboliclabel",
           class: "h7",
         },
         {
           id: "5",
-          name: "鍦板舰骞虫暣",
+          name: "synthesis.flatterrain",
           class: "h5",
         },
         {
           id: "6",
-          name: "鍦板舰寮�鎸�",
+          name: "synthesis.terrainexcavation",
           class: "h6",
         },
         {
           id: "8",
-          name: "娓呴櫎缁樺埗",
+          name: "synthesis.removepaint",
           class: "h8",
         },
       ],
@@ -127,9 +127,9 @@
 .backimge8 {
   width: 30px;
   height: 30px;
-  margin-left: 30px;
   position: absolute;
   background-size: 100% 100%;
+  margin: 0% 30%;
 }
 .divli {
   width: 100%;

--
Gitblit v1.9.3