gdpao
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<view>
|
||||
<u-tabs-swiper ref="tabs" :list="list" :is-scroll="false" active-color="#FF780F" :current="current" font-size="32" :show-bar="false" @change="tabsChange" height="88"></u-tabs-swiper>
|
||||
</view>
|
||||
<swiper :current="swiperCurrent" @animationfinish="animationfinish" :style="{ minHeight: swiperHeight }">
|
||||
<swiper :current="swiperCurrent" @animationfinish="animationfinish" class="aaa" :style="{ minHeight: swiperHeight }">
|
||||
<swiper-item class="swiper-item">
|
||||
<scroll-view scroll-y="true" style="height: 100%;">
|
||||
<view class="order-info">
|
||||
@@ -439,7 +439,8 @@ export default {
|
||||
setViewHeight() {
|
||||
const res = uni.getSystemInfoSync();
|
||||
// this.swiperHeight = res.windowHeight - (88 / 2) + 'px';
|
||||
this.swiperHeight = res.windowHeight + 'px';
|
||||
// this.swiperHeight = res.windowHeight + 500 + 'px';
|
||||
this.swiperHeight = res.windowHeight - (res.windowWidth / 750) * 88 + 'px';
|
||||
},
|
||||
confirm(e){
|
||||
this.showPopup = false;
|
||||
@@ -467,6 +468,9 @@ export default {
|
||||
flex: 1;
|
||||
// height: 95vh;
|
||||
}
|
||||
.aaa {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.order-info {
|
||||
.choose-info{
|
||||
display: flex;flex-wrap: wrap;
|
||||
|
||||
Reference in New Issue
Block a user