gdpao
This commit is contained in:
@@ -33,11 +33,12 @@
|
||||
fontSize: 24
|
||||
},
|
||||
sheetStatus: false,
|
||||
list: [{
|
||||
text: '换个账号登录',
|
||||
color: '#FF780F',
|
||||
fontSize: 28
|
||||
},
|
||||
list: [
|
||||
// {
|
||||
// text: '换个账号登录',
|
||||
// color: '#FF780F',
|
||||
// fontSize: 28
|
||||
// },
|
||||
{
|
||||
text: '退出登录',
|
||||
color: '#FF780F',
|
||||
@@ -78,7 +79,7 @@
|
||||
// 退出登录选择 0:切换账号 | 1:退出登录
|
||||
choiceOption(index) {
|
||||
console.log(index);
|
||||
if (index == 1) {
|
||||
if (index == 0) {
|
||||
this.show = true;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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