From 26f8537d2445694fd231294990e9a6ed7a63e050 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Tue, 30 Dec 2025 09:22:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BC=9A=E5=91=98=E4=B8=AD=E5=BF=83):=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=9C=AA=E5=AE=9A=E4=B9=89=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components-diy/diy-member-info.vue | 8 ++++++-- pages/empty/index.vue | 20 ++++++++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/components-diy/diy-member-info.vue b/components-diy/diy-member-info.vue index 9922299..68c088e 100644 --- a/components-diy/diy-member-info.vue +++ b/components-diy/diy-member-info.vue @@ -40,7 +40,7 @@ {{ memberInfo.nickname - }} + }} @@ -348,7 +348,11 @@ export default { style = {}; style.background = `url(` + this.$util.img('app/component/view/member_info/img/super_vip_bg_4.png') + `) no-repeat bottom / contain`; } else { - style.background = `url('` + this.$util.img('public/static/img/diy_view/super_member_bg.png') + `') no-repeat bottom / 100% 100%, linear-gradient(107deg, ` + this.themeStyle.super_member.super_member_start_bg + ` 0%, ` + this.themeStyle.super_member.super_member_end_bg + ` 100%)`; + const superMemberStartBg = this.themeStyle?.super_member?.super_member_start_bg || '#292f45'; + const superMemberEndBg = this.themeStyle?.super_member?.super_member_end_bg || '#292f45'; + if (superMemberStartBg && superMemberEndBg) { + style.background = `url('` + this.$util.img('public/static/img/diy_view/super_member_bg.png') + `') no-repeat bottom / 100% 100%, linear-gradient(107deg, ${superMemberStartBg} 0%, ${superMemberEndBg} 100%)`; + } } return this.$util.objToStyle(style); }, diff --git a/pages/empty/index.vue b/pages/empty/index.vue index 3da8009..8c5fa5a 100644 --- a/pages/empty/index.vue +++ b/pages/empty/index.vue @@ -1,4 +1,20 @@ \ No newline at end of file + + + + + + + \ No newline at end of file