fix:兼容HbuilderX 3.6.15版本更新小程序平台的BUG

This commit is contained in:
kele
2023-01-17 15:34:16 +08:00
parent 5fa43dfb5b
commit 100dc94f53
21 changed files with 96 additions and 58 deletions
+2 -1
View File
@@ -205,6 +205,7 @@
import { showShareModal } from '@/sheep/hooks/useModal';
import { isEmpty } from 'lodash';
const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/user/withdraw_bg.png');
const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
const state = reactive({
data: {},
@@ -313,7 +314,7 @@
.recharge-box {
position: relative;
margin-bottom: 120rpx;
background: v-bind("sheep.$url.css('/static/img/shop/user/withdraw_bg.png')") center/750rpx 100%
background: v-bind(headerBg) center/750rpx 100%
no-repeat,
linear-gradient(115deg, #f44739 0%, #ff6600 100%);
border-radius: 0 0 5% 5%;
+2 -1
View File
@@ -73,6 +73,7 @@
const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
const pageHeight =
(safeArea.height + safeAreaInsets.bottom) * 2 + statusBarHeight - sys_navBar - 350;
const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/goods/groupon-header.png');
const state = reactive({
activityId: 0,
@@ -147,7 +148,7 @@
width: 100%;
height: 458rpx;
margin-top: -88rpx;
background: v-bind("sheep.$url.css('/static/img/shop/goods/groupon-header.png')") no-repeat;
background: v-bind(headerBg) no-repeat;
background-size: 100% 100%;
}
.list-content {