From 94c9d1c5563f4f65ea06f7b6233d653a2c90e38a Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Wed, 31 Dec 2025 17:29:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=AE=E5=8A=A8=E5=AF=BC=E8=88=AA):=20?= =?UTF-8?q?=E5=8F=AA=E8=83=BD=E5=9C=A8create=E7=94=9F=E5=91=BD=E5=91=A8?= =?UTF-8?q?=E6=9C=9F=E4=B8=AD=E5=88=9D=E5=A7=8B=E5=8C=96=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/hover-nav/hover-nav.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/hover-nav/hover-nav.vue b/components/hover-nav/hover-nav.vue index 108fccb..f2b71f6 100644 --- a/components/hover-nav/hover-nav.vue +++ b/components/hover-nav/hover-nav.vue @@ -66,9 +66,8 @@ export default { this.kefuimg = this.$util.getDefaultImage().kefu this.phoneimg = this.$util.getDefaultImage().phone - }, - onShow() { this.pageCount = getCurrentPages().length; + // 从店铺信息中获取相关信息 uni.getStorage({ key: 'shopInfo', @@ -81,7 +80,7 @@ export default { // 从店铺信息中获取是否启用语言切换 this.isLanguageSwitchEnabled = e.data.ischina; } - }) + }) }, computed: { currentLangDisplayName() { @@ -203,6 +202,7 @@ export default { margin: 14rpx 0; transition: 0.1s; background: #c6251b; + // background: var(--hover-nav-bg-color); color: #fff; border-radius: 40rpx; width: 80rpx;