Browse Source

fix:修复小程序报警问题

kele 2 năm trước cách đây
mục cha
commit
7a85bc19b2

+ 1 - 1
pages/commission/components/commission-condition.vue

@@ -4,7 +4,7 @@
     type="bottom"
     round="10"
     :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"
     backgroundColor="var(--ui-BG-Main)"
   >

+ 1 - 2
sheep/ui/su-popup/su-popup.vue

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