fix:申请分销商样式修改

pull/8/head
kele 2023-04-19 11:39:54 +08:00
parent a20551115a
commit 7ef856cf65
1 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,7 @@
background: '', background: '',
imgHeight: 400, imgHeight: 400,
}); });
const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
// //
function onChange() { function onChange() {
@ -139,7 +140,7 @@
} }
} }
function onImgLoad(e) { function onImgLoad(e) {
state.imgHeight = (e.detail.height / e.detail.width) * 750 - 88; state.imgHeight = (e.detail.height / e.detail.width) * 750 - 88 - statusBarHeight;
} }
async function submit() { async function submit() {