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