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/orientation.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/Synthesis/orientation.vue b/src/views/Synthesis/orientation.vue index a97b802..4239522 100644 --- a/src/views/Synthesis/orientation.vue +++ b/src/views/Synthesis/orientation.vue @@ -2,14 +2,14 @@ <div class="box"> <ul> <li - style="width: 86px" + style="margin-left: 20px" @click="changeOrietnt(item)" v-for="item in itemsOne" > <div class="divli"> - <div :class="item.class" class="backimge1"></div> + <div :class="item.class" class="backimge6"></div> </div> - <div class="div_li">{{ item.name }}</div> + <div class="div_li">{{ $t(item.name) }}</div> </li> </ul> </div> @@ -22,12 +22,12 @@ itemsOne: [ { id: "1", - name: "鍧愭爣瀹氫綅", + name: "synthesis.gpsrtk", class: "f1", }, { id: "2", - name: "鍦板悕瀹氫綅", + name: "synthesis.placenamelocation", class: "f2", }, ], @@ -70,12 +70,13 @@ .f2 { background: url("../../assets/img/synthesis/鍥惧眰 28.png") no-repeat center; } -.backimge1 { +.backimge6 { width: 30px; height: 30px; margin-left: 25px; position: absolute; background-size: 100% 100%; + margin: 0% 35%; } .divli { width: 100%; -- Gitblit v1.9.3