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/analyse.vue | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/views/Synthesis/analyse.vue b/src/views/Synthesis/analyse.vue index 1fd794a..afba6fa 100644 --- a/src/views/Synthesis/analyse.vue +++ b/src/views/Synthesis/analyse.vue @@ -2,14 +2,14 @@ <div class="box"> <ul> <li - style="width: 110px" + style="margin-left: 10px; width: 130px" @click="changeAnalsy(item)" v-for="item in itemsOne" > <div class="divli"> <div :class="item.class" class="backimge4"></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.contouranalysis", class: "d1", }, { id: "2", - name: "鍧″害鍒嗘瀽", + name: "synthesis.slopeanalysis", class: "d2", }, { id: "3", - name: "璺緞鍒嗘瀽", + name: "synthesis.pathanalysis", class: "d3", }, { id: "4", - name: "鍦板舰鍓栧垏鍒嗘瀽", + name: "synthesis.cuttinganalysis", class: "d4", }, { id: "5", - name: "娲按娣规病鍒嗘瀽", + name: "synthesis.floodanalysis", class: "d5", }, { id: "6", - name: "鍦熸柟閲忚绠�", + name: "synthesis.earthworkcalculation", class: "d6", }, { id: "7", - name: "涓夌淮鎴潰鍒嗘瀽", + name: "synthesis.crosssectionanalysis", class: "d7", }, { id: "8", - name: "褰卞儚瀵规瘮鍒嗘瀽", + name: "synthesis.imagecontrast", class: "d8", }, ], @@ -127,6 +127,7 @@ margin-left: 40px; position: absolute; background-size: 100% 100%; + margin: 0% 39%; } .divli { width: 100%; -- Gitblit v1.9.3