From 08775fb66503c2c8f07bcba202b31e6515835983 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期二, 20 九月 2022 09:01:00 +0800
Subject: [PATCH] 1

---
 src/views/Synthesis/viewport.vue |   76 +++++++-------
 src/views/Synthesis/coverage.vue |   42 ++++----
 src/assets/lang/zh.js            |   69 +++++++++----
 src/views/Synthesis/index.vue    |   16 +-
 src/views/Synthesis/wander.vue   |   17 +-
 src/assets/lang/en.js            |   69 +++++++++----
 6 files changed, 166 insertions(+), 123 deletions(-)

diff --git a/src/assets/lang/en.js b/src/assets/lang/en.js
index 59c2209..f9e0fed 100644
--- a/src/assets/lang/en.js
+++ b/src/assets/lang/en.js
@@ -7,37 +7,58 @@
     delete: 'delete',
   },
   dataManage: {
-    dataManage: "dataManage",
-    catalogueManage: "catalogueManage",
-    dataUpdata: "dataUpdata",
-    metadataManage: "metadataManage",
-    dataLoading: "dataLoading",
-    SpatialData: "SpatialData",
-    versionManage: "versionManage",
-    dictionaryManage: "dictionaryManage",
-    styleManage: "styleManage",
+    dataManage: 'dataManage',
+    catalogueManage: 'catalogueManage',
+    dataUpdata: 'dataUpdata',
+    metadataManage: 'metadataManage',
+    dataLoading: 'dataLoading',
+    SpatialData: 'SpatialData',
+    versionManage: 'versionManage',
+    dictionaryManage: 'dictionaryManage',
+    styleManage: 'styleManage',
   },
   operatManage: {
-    operatManage: "operatManage",
-    userManagement: "userManagement",
-    systemLayout: "systemLayout",
-    menuSettings: "menuSettings",
-    parameterConfiguration: "parameterConfiguration",
-    rests: "rests",
-    authorityManagement: "authorityManagement",
-    safetyManagement: "safetyManagement",
-    operationMonitoring: "operationMonitoring",
-    systemMonitoring: "systemMonitoring",
-    logLog: "logLog",
-    operationLog: "operationLog",
+    operatManage: 'operatManage',
+    userManagement: 'userManagement',
+    systemLayout: 'systemLayout',
+    menuSettings: 'menuSettings',
+    parameterConfiguration: 'parameterConfiguration',
+    rests: 'rests',
+    authorityManagement: 'authorityManagement',
+    safetyManagement: 'safetyManagement',
+    operationMonitoring: 'operationMonitoring',
+    systemMonitoring: 'systemMonitoring',
+    logLog: 'logLog',
+    operationLog: 'operationLog',
   },
   synthesis: {
-    //缁煎悎灞曠ず
     synthesis: 'Comprehensive Display',
-    //涓撻鍦板浘
     themaic: 'Thematic Maps',
-    //璧勬枡棣�
     archive: 'Data Library',
+    coverage: 'Coverage',
+    viewport: 'Viewport',
+    wander: 'Wander',
+    analyse: 'Analyse',
+    iqyery: 'Iqyery',
+    orientation: 'Orientation',
+    measurement: 'Measurement',
+    plotting: 'Plotting',
+    layer: 'Layer Manager',
+    release: 'Scene Release',
+    export: 'Layer Export',
+    split: 'Split Screen',
+    twod: '2D',
+    threed: '3D',
+    full: 'Full Figure',
+    zommin: 'Zoom In',
+    zoomout: 'Zoom Out',
+    rule: 'Plotting Scale',
+    compass: 'Compass',
+    someroaming: 'Some Roaming',
+    lineroaming: 'Lline Roaming',
+    mouseroaming: 'Mouse Roaming',
+    snapshot: 'Map snapshot',
+    tdisplay: '3D Display',
   },
 };
 
diff --git a/src/assets/lang/zh.js b/src/assets/lang/zh.js
index da6e143..13d1494 100644
--- a/src/assets/lang/zh.js
+++ b/src/assets/lang/zh.js
@@ -7,37 +7,58 @@
     delete: '鍒犻櫎',
   },
   dataManage: {
-    dataManage: "鏁版嵁绠$悊",
-    catalogueManage: "鐩綍绠$悊",
-    dataUpdata: "鏁版嵁涓婁紶",
-    metadataManage: "鍏冩暟鎹鐞�",
-    dataLoading: "鏁版嵁鍏ュ簱",
-    SpatialData: "绌洪棿鏁版嵁绠$悊",
-    versionManage: "鐗堟湰绠$悊",
-    dictionaryManage: "瀛楀吀绠$悊",
-    styleManage: "鏍峰紡绠$悊",
+    dataManage: '鏁版嵁绠$悊',
+    catalogueManage: '鐩綍绠$悊',
+    dataUpdata: '鏁版嵁涓婁紶',
+    metadataManage: '鍏冩暟鎹鐞�',
+    dataLoading: '鏁版嵁鍏ュ簱',
+    SpatialData: '绌洪棿鏁版嵁绠$悊',
+    versionManage: '鐗堟湰绠$悊',
+    dictionaryManage: '瀛楀吀绠$悊',
+    styleManage: '鏍峰紡绠$悊',
   },
   operatManage: {
-    operatManage: "杩愮淮绠$悊",
-    userManagement: "鐢ㄦ埛绠$悊",
-    systemLayout: "绯荤粺閰嶇疆",
-    menuSettings: "鑿滃崟璁剧疆",
-    parameterConfiguration: "鍙傛暟閰嶇疆",
-    rests: "鍏朵粬",
-    authorityManagement: "鏉冮檺绠$悊",
-    safetyManagement: "瀹夊叏绠$悊",
-    operationMonitoring: "杩愯鐩戞帶",
-    systemMonitoring: "绯荤粺鐩戞帶",
-    logLog: "鐧诲綍鏃ュ織",
-    operationLog: "鎿嶄綔鏃ュ織",
+    operatManage: '杩愮淮绠$悊',
+    userManagement: '鐢ㄦ埛绠$悊',
+    systemLayout: '绯荤粺閰嶇疆',
+    menuSettings: '鑿滃崟璁剧疆',
+    parameterConfiguration: '鍙傛暟閰嶇疆',
+    rests: '鍏朵粬',
+    authorityManagement: '鏉冮檺绠$悊',
+    safetyManagement: '瀹夊叏绠$悊',
+    operationMonitoring: '杩愯鐩戞帶',
+    systemMonitoring: '绯荤粺鐩戞帶',
+    logLog: '鐧诲綍鏃ュ織',
+    operationLog: '鎿嶄綔鏃ュ織',
   },
   synthesis: {
-    //缁煎悎灞曠ず
     synthesis: '缁煎悎灞曠ず',
-    //涓撻鍦板浘
     themaic: '涓撻鍦板浘',
-    //璧勬枡棣�
     archive: '璧勬枡棣�',
+    coverage: '鍥惧眰',
+    viewport: '瑙嗗浘',
+    wander: '婕父',
+    analyse: '鍒嗘瀽',
+    iqyery: '鏌ヨ',
+    orientation: '瀹氫綅',
+    measurement: '娴嬮噺',
+    plotting: '鏍囩粯',
+    layer: '鍥惧眰绠$悊',
+    release: '鍦烘櫙鍙戝竷',
+    export: '鍦烘櫙瀵煎嚭',
+    split: '鍒嗗睆',
+    twod: '浜岀淮',
+    threed: '涓夌淮',
+    full: '鍏ㄥ浘',
+    zommin: '鏀惧ぇ',
+    zoomout: '缂╁皬',
+    rule: '姣斾緥灏�',
+    compass: '鎸囧寳閽�',
+    someroaming: '鐐规极娓�',
+    lineroaming: '绾胯矾婕父',
+    mouseroaming: '榧犳爣婕父',
+    snapshot: '鍦板浘蹇収',
+    tdisplay: '涓夌淮婕旂ず',
   },
 };
 
diff --git a/src/views/Synthesis/coverage.vue b/src/views/Synthesis/coverage.vue
index be52a95..5395068 100644
--- a/src/views/Synthesis/coverage.vue
+++ b/src/views/Synthesis/coverage.vue
@@ -2,14 +2,14 @@
   <div id="coverage" class="coverage">
     <ul>
       <li
-        style="width: 86px"
+style="margin-left: 10px; width: 130px"
         @click="checkCourvage(item)"
         v-for="item in itemsOne"
       >
         <div class="divli">
-          <div :class="item.class" class="backimge1"></div>
+          <div :class="item.class" class="backimge"></div>
         </div>
-        <div class="div_li">{{ item.name }}</div>
+        <div class="div_li">{{ $t(item.name) }}</div>
       </li>
     </ul>
   </div>
@@ -21,9 +21,9 @@
     return {
       itemsOne: [
         {
-          id: "1",
-          name: "鍥惧眰绠$悊",
-          class: "a1",
+          id: '1',
+          name: 'synthesis.layer',
+          class: 'a1',
         },
         // {
         //   id: "2",
@@ -31,14 +31,14 @@
         //   class: "a2",
         // },
         {
-          id: "3",
-          name: "鍦烘櫙鍙戝竷",
-          class: "a3",
+          id: '3',
+          name: 'synthesis.release',
+          class: 'a3',
         },
         {
-          id: "2",
-          name: "鍦烘櫙瀵煎嚭",
-          class: "a4",
+          id: '2',
+          name: 'synthesis.export',
+          class: 'a4',
         },
       ],
     };
@@ -47,10 +47,10 @@
   methods: {
     checkCourvage(res) {
       var res_val = {
-        url: "",
+        url: '',
         name: res.name,
       };
-      this.$bus.$emit("changetool", res_val);
+      this.$bus.$emit('changetool', res_val);
     },
   },
 };
@@ -76,23 +76,23 @@
   margin: 0px;
 }
 .a1 {
-  background: url("../../assets/img/synthesis/鍥惧眰 32.png") no-repeat center;
+  background: url('../../assets/img/synthesis/鍥惧眰 32.png') no-repeat center;
 }
 .a2 {
-  background: url("../../assets/img/synthesis/鍦烘櫙鎵撳紑.png") no-repeat center;
+  background: url('../../assets/img/synthesis/鍦烘櫙鎵撳紑.png') no-repeat center;
 }
 .a3 {
-  background: url("../../assets/img/synthesis/鍦烘櫙鍙戝竷.png") no-repeat center;
+  background: url('../../assets/img/synthesis/鍦烘櫙鍙戝竷.png') no-repeat center;
 }
 .a4 {
-  background: url("../../assets/img/synthesis/鍥惧眰 35.png") no-repeat center;
+  background: url('../../assets/img/synthesis/鍥惧眰 35.png') no-repeat center;
 }
-.backimge1 {
-  width: 30px;
+.backimge {
+    width: 30px;
   height: 30px;
-  margin-left: 25px;
   position: absolute;
   background-size: 100% 100%;
+  margin: 0 38%;
 }
 .divli {
   width: 100%;
diff --git a/src/views/Synthesis/index.vue b/src/views/Synthesis/index.vue
index 55c5ca5..a83d4e0 100644
--- a/src/views/Synthesis/index.vue
+++ b/src/views/Synthesis/index.vue
@@ -1,28 +1,28 @@
 <template>
   <div class="synthesis">
     <el-tabs type="border-card">
-      <el-tab-pane label="鍥惧眰">
+      <el-tab-pane :label='$t("synthesis.coverage")'>
         <coverage />
       </el-tab-pane>
-      <el-tab-pane label="瑙嗗浘">
+      <el-tab-pane :label='$t("synthesis.viewport")'>
         <viewport />
       </el-tab-pane>
-      <el-tab-pane label="婕父">
+      <el-tab-pane :label='$t("synthesis.wander")'>
         <wander />
       </el-tab-pane>
-      <el-tab-pane label="鍒嗘瀽">
+      <el-tab-pane :label='$t("synthesis.analyse")'>
         <analyse />
       </el-tab-pane>
-      <el-tab-pane label="鏌ヨ">
+      <el-tab-pane :label='$t("synthesis.iqyery")'>
         <iqyery />
       </el-tab-pane>
-      <el-tab-pane label="瀹氫綅">
+      <el-tab-pane :label='$t("synthesis.orientation")'>
         <orientation />
       </el-tab-pane>
-      <el-tab-pane label="娴嬮噺">
+      <el-tab-pane :label='$t("synthesis.measurement")'>
         <measurement />
       </el-tab-pane>
-      <el-tab-pane label="鏍囩粯">
+      <el-tab-pane :label='$t("synthesis.plotting")'>
         <plotting />
       </el-tab-pane>
     </el-tabs>
diff --git a/src/views/Synthesis/viewport.vue b/src/views/Synthesis/viewport.vue
index 284721f..7c64c78 100644
--- a/src/views/Synthesis/viewport.vue
+++ b/src/views/Synthesis/viewport.vue
@@ -2,14 +2,14 @@
   <div class="box">
     <ul>
       <li
-        style="width: 66px"
+        style="margin-left: 10px; width: 110px"
         @click="changeview(item)"
         v-for="item in itemsOne"
       >
         <div class="divli">
           <div :class="item.class" class="backimge2"></div>
         </div>
-        <div class="div_li">{{ item.name }}</div>
+        <div class="div_li">{{ $t(item.name) }}</div>
       </li>
     </ul>
   </div>
@@ -22,44 +22,44 @@
       isRuler: false,
       itemsOne: [
         {
-          id: "1",
-          name: "鍒嗗睆",
-          class: "b1",
+          id: '1',
+          name: 'synthesis.split',
+          class: 'b1',
         },
         {
-          id: "2",
-          name: "浜岀淮",
-          class: "b2",
+          id: '2',
+          name: 'synthesis.twod',
+          class: 'b2',
         },
         {
-          id: "3",
-          name: "涓夌淮",
-          class: "b3",
+          id: '3',
+          name: 'synthesis.threed',
+          class: 'b3',
         },
         {
-          id: "4",
-          name: "鍏ㄥ浘",
-          class: "b4",
+          id: '4',
+          name: 'synthesis.full',
+          class: 'b4',
         },
         {
-          id: "5",
-          name: "鏀惧ぇ",
-          class: "b5",
+          id: '5',
+          name: 'synthesis.zommin',
+          class: 'b5',
         },
         {
-          id: "6",
-          name: "缂╁皬",
-          class: "b6",
+          id: '6',
+          name: 'synthesis.zoomout',
+          class: 'b6',
         },
         {
-          id: "7",
-          name: "姣斾緥灏�",
-          class: "b7",
+          id: '7',
+          name: 'synthesis.rule',
+          class: 'b7',
         },
         {
-          id: "8",
-          name: "鎸囧寳閽�",
-          class: "b8",
+          id: '8',
+          name: 'synthesis.compass',
+          class: 'b8',
         },
       ],
     };
@@ -67,30 +67,30 @@
   methods: {
     changeview(res) {
       switch (res.id) {
-        case "1":
-          this.$bus.$emit("changemap", res.name);
+        case '1':
+          this.$bus.$emit('changemap', "鍒嗗睆");
           break;
-        case "2":
-          this.$bus.$emit("changemap", res.name);
+        case '2':
+          this.$bus.$emit('changemap', "浜岀淮");
           break;
-        case "3":
-          this.$bus.$emit("changemap", res.name);
+        case '3':
+          this.$bus.$emit('changemap', "涓夌淮");
           break;
-        case "4":
+        case '4':
           window.sgworld.Navigate.jumpTo({
             //璺宠浆瑙嗚
             destination: new Cesium.Cartesian3.fromDegrees(110, 32, 8000000),
           });
           break;
-        case "5":
+        case '5':
           window.sgworld.Navigate.zoomIn();
           break;
-        case "6":
+        case '6':
           window.sgworld.Navigate.zoomOut();
           break;
-        case "7":
+        case '7':
           this.isRuler = !this.isRuler;
-          window.sgworld.navControl("enableCompass", this.isRuler);
+          window.sgworld.navControl('enableCompass', this.isRuler);
           break;
       }
       // this.$bus.$emit("changetool", res_val);
@@ -152,9 +152,9 @@
 .backimge2 {
   width: 30px;
   height: 30px;
-  margin-left: 20px;
   position: absolute;
   background-size: 100% 100%;
+  margin: 0 39%;
 }
 .divli {
   width: 100%;
diff --git a/src/views/Synthesis/wander.vue b/src/views/Synthesis/wander.vue
index fcfe10b..de38a20 100644
--- a/src/views/Synthesis/wander.vue
+++ b/src/views/Synthesis/wander.vue
@@ -2,14 +2,14 @@
   <div class="box">
     <ul>
       <li
-        style="width: 90px"
+style="margin-left: 10px; width: 130px"
         @click="changeWander(item)"
         v-for="item in itemsOne"
       >
         <div class="divli">
           <div :class="item.class" class="backimge3"></div>
         </div>
-        <div class="div_li">{{ item.name }}</div>
+        <div class="div_li">{{ $t(item.name) }}</div>
       </li>
     </ul>
   </div>
@@ -22,27 +22,27 @@
       itemsOne: [
         {
           id: "1",
-          name: "鐐规极娓�",
+          name: "synthesis.someroaming",
           class: "c1",
         },
         {
           id: "2",
-          name: "绾胯矾婕父",
+          name: "synthesis.lineroaming",
           class: "c2",
         },
         {
           id: "3",
-          name: "榧犳爣婕父",
+          name: "synthesis.mouseroaming",
           class: "c3",
         },
         {
           id: "4",
-          name: "鍦板浘蹇収",
+          name: "synthesis.snapshot",
           class: "c4",
         },
         {
           id: "4",
-          name: "涓夌淮婕旂ず",
+          name: "synthesis.tdisplay",
           class: "c5",
         },
       ],
@@ -129,9 +129,10 @@
 .backimge3 {
   width: 30px;
   height: 30px;
-  margin-left: 30px;
+
   position: absolute;
   background-size: 100% 100%;
+  margin: 0% 39%;
 }
 .divli {
   width: 100%;

--
Gitblit v1.9.3