From 6817c96db53ac16f5d5eca72b73230d898f32126 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期四, 11 四月 2024 09:43:32 +0800 Subject: [PATCH] Merge branch 'master' into dev-threejs --- src/views/screen/components/wrapper-title/index.vue | 27 +++++++++++++++++++-------- 1 files changed, 19 insertions(+), 8 deletions(-) diff --git a/src/views/screen/components/wrapper-title/index.vue b/src/views/screen/components/wrapper-title/index.vue index 6351d2b..265b777 100644 --- a/src/views/screen/components/wrapper-title/index.vue +++ b/src/views/screen/components/wrapper-title/index.vue @@ -3,11 +3,12 @@ <span class="title">{{ title }}</span> <div class="more-button" v-if="path" @click="toPath"> - <dv-border-box-12> - <div class="button-text"> - 璇︽儏 - </div> - </dv-border-box-12> + <div class="icon"> + <img src="@/assets/icons/setting.png" alt=""> + </div> + <div class="button-text"> + 鏌ョ湅鏇村 + </div> </div> </div> </template> @@ -26,7 +27,7 @@ } }, methods: { - toPath () { + toPath() { this.$router.push(this.path); } } @@ -56,9 +57,19 @@ } .more-button { - width: 100px; height: 40px; cursor: pointer; + display: flex; + align-items: center; + .icon { + width: 20px; + margin-top: 4px; + margin-right: 2px; + img { + width: 100%; + display: block; + } + } .button-text { width: 100%; @@ -67,7 +78,7 @@ justify-content: center; align-items: center; color: #ffffff81; - font-size: 20px; + font-size: 16px; } } } -- Gitblit v1.8.0