This commit is contained in:
Gdpao
2020-08-09 19:08:12 +08:00
parent 097f7e3cba
commit 234f11eeef
22 changed files with 306 additions and 223 deletions

View File

@@ -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;