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
@@ -35,6 +35,7 @@
const userInfo = computed(() => sheep.$store('user').userInfo);
const agentInfo = computed(() => sheep.$store('user').agentInfo);
const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/commission/background.png');
const state = reactive({
showMoney: false,
@@ -48,7 +49,7 @@
height: 192rpx;
margin: -88rpx 20rpx 0 20rpx;
padding-top: 88rpx;
background: v-bind("sheep.$url.css('/static/img/shop/commission/background.png')") no-repeat;
background: v-bind(headerBg) no-repeat;
background-size: 100% 100%;
.head-img-box {
+2 -1
View File
@@ -149,6 +149,7 @@
import { onPageScroll } from '@dcloudio/uni-app';
const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/user/withdraw_bg.png');
onPageScroll((e) => {
if (e.scrollTop > 100) {
state.scrollTop = false;
@@ -256,7 +257,7 @@
box-sizing: border-box;
padding: 0 20rpx 20rpx 20rpx;
width: 750rpx;
background: v-bind("sheep.$url.css('/static/img/shop/user/withdraw_bg.png')") no-repeat,
background: v-bind(headerBg) no-repeat,
linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
background-size: 750rpx 100%;
// 团队信息总览
+2 -1
View File
@@ -98,6 +98,7 @@
const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
const agentInfo = computed(() => sheep.$store('user').agentInfo);
const userInfo = computed(() => sheep.$store('user').userInfo);
const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/user/withdraw_bg.png');
onPageScroll((e) => {
if (e.scrollTop > 100) {
@@ -172,7 +173,7 @@
width: 750rpx;
z-index: 3;
position: relative;
background: v-bind("sheep.$url.css('/static/img/shop/user/withdraw_bg.png')") no-repeat,
background: v-bind(headerBg) no-repeat,
linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
background-size: 750rpx 100%;
// 团队信息总览