style: 金种子页面ui
This commit is contained in:
@@ -143,6 +143,7 @@
|
||||
@updatePrice="updatePrice"
|
||||
:addShow="addShow"
|
||||
:minSalesCountShow="navName === '折扣区'"
|
||||
:bottomOffset="tabbarBottomOffset"
|
||||
/>
|
||||
</view>
|
||||
</s-pages>
|
||||
@@ -213,6 +214,8 @@
|
||||
};
|
||||
|
||||
const system = uni.getSystemInfoSync();
|
||||
const tabbarBottomOffset = uni.upx2px(100);
|
||||
const paymentBarReserve = uni.upx2px(148);
|
||||
const baseHeight =
|
||||
system.windowHeight -
|
||||
system.statusBarHeight -
|
||||
@@ -229,7 +232,7 @@
|
||||
watch(
|
||||
() => payShow.value,
|
||||
() => {
|
||||
const extra = payShow.value ? uni.upx2px(128) : 0;
|
||||
const extra = payShow.value ? paymentBarReserve : 0;
|
||||
height.value = `${baseHeight - extra}px`;
|
||||
},
|
||||
{ immediate: true },
|
||||
|
||||
Reference in New Issue
Block a user