fix:修复小程序报警问题

pull/8/head
kele 2023-01-17 16:55:13 +08:00
parent 100dc94f53
commit 7a85bc19b2
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@
type="bottom" type="bottom"
round="10" round="10"
:isMaskClick="false" :isMaskClick="false"
:backgroundImage="sheep.$url.static('/static/img/shop/commission/become-agent.png')" :backgroundImage="sheep.$url.css('/static/img/shop/commission/become-agent.png')"
@close="show = false" @close="show = false"
backgroundColor="var(--ui-BG-Main)" backgroundColor="var(--ui-BG-Main)"
> >

View File

@ -340,7 +340,6 @@
// TODO // TODO
this.clearPropagation = false; this.clearPropagation = false;
this.maskClass.backgroundColor = this.maskBackgroundColor; this.maskClass.backgroundColor = this.maskBackgroundColor;
const headerBg = sheep.$url.css(this.backgroundImage);
}, },
methods: { methods: {
setH5Visible() { setH5Visible() {
@ -557,7 +556,7 @@
display: block; display: block;
/* #endif */ /* #endif */
position: relative; position: relative;
background: v-bind(headerBg) no-repeat; background: v-bind(backgroundImage) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
/* iphonex 等安全区设置,底部安全区适配 */ /* iphonex 等安全区设置,底部安全区适配 */