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/coverage.vue | 42 +++++++++++++++++++++--------------------- 1 files changed, 21 insertions(+), 21 deletions(-) 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%; -- Gitblit v1.9.3