|
@@ -163,6 +163,7 @@ const handleClear = () => {
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
.cart-modal {
|
|
.cart-modal {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
|
+ height: 70vh;
|
|
|
max-height: 70vh;
|
|
max-height: 70vh;
|
|
|
background: #FFFFFF;
|
|
background: #FFFFFF;
|
|
|
border-radius: 24rpx 24rpx 0 0;
|
|
border-radius: 24rpx 24rpx 0 0;
|
|
@@ -212,10 +213,12 @@ const handleClear = () => {
|
|
|
&__list {
|
|
&__list {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
min-height: 0;
|
|
min-height: 0;
|
|
|
- height: 0;
|
|
|
|
|
|
|
+ /* iOS:不设 height:0,避免 flex 子项在 iOS WebView 中被算成 0 导致列表不显示;用 min-height 兜底 */
|
|
|
|
|
+ min-height: 300rpx;
|
|
|
padding: 24rpx 30rpx;
|
|
padding: 24rpx 30rpx;
|
|
|
padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
|
|
padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
|
+ -webkit-overflow-scrolling: touch;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|