Commit 632be137 by songbingqi

修复部分bug

parent 385e24d2
......@@ -23,10 +23,10 @@
</view>
<view v-else>
<view v-if="info.status===0">
<button class="gouse" @click="goMenu">去使用</button>
<view class="gouse" @click="goMenu">去使用</view>
</view>
<view v-if="info.status===4">
<button class="gouse_dis">去使用</button>
<view class="gouse_dis">去使用</view>
</view>
</view>
</view>
......@@ -291,6 +291,7 @@ export default {
font-weight: 400;
color: #FFFFFF;
line-height: 52rpx;
text-align: center;
}
.gouse_dis {
width: 128rpx;
......@@ -303,6 +304,7 @@ export default {
font-weight: 400;
color: #FFFFFF;
line-height: 52rpx;
text-align: center;
}
.check{
width: 40rpx;
......@@ -472,6 +474,7 @@ export default {
}
.partThree {
width: 100%;
transform: translateZ(0);
position: relative;
overflow: hidden;
background: radial-gradient(circle at right top, transparent 17rpx, #E9E9E9 0) top left / 182rpx 51% no-repeat,
......
<template>
<view>
<view catchtouchmove="return">
<u-popup :show="showShopCar && goods.length" mode="bottom" :round="5" :overlay="true"
:closeOnClickOverlay="true" @close="closeT" zIndex="10071">
<view class="shop-car" :style="{'padding-bottom':bottomPadding+'rpx'}">
......@@ -7,6 +7,7 @@
<text class="left">购物袋</text>
<text class="right" @click="clearCar"><text class="delete-icon"></text>清空购物车</text>
</view>
<scroll-view scroll-y="true" class="scroll-Y">
<view class="container">
<view>
<view class="empty" v-if="show == false">
......@@ -60,6 +61,8 @@
</view>
</view>
</view>
</scroll-view>
</view>
</u-popup>
......@@ -120,7 +123,8 @@ export default {
mounted() {
this.animation = uni.createAnimation()
this.BottomSafeHeight = uni.getStorageSync('BottomSafeHeight')||10
this.bottomPadding = this.BottomSafeHeight+132+92
this.bottomPadding = this.BottomSafeHeight+132
this.shopCar = uni.getStorageSync('shopCar')
console.log(this.shopCar)
if(!this.userms){
......@@ -302,7 +306,6 @@ export default {
.shop-car {
display: flex;
flex-direction: column;
max-height: 715rpx;
.header {
padding:24.87rpx 31.78rpx 22.3rpx 31.54rpx;
......@@ -340,10 +343,14 @@ export default {
}
}
.scroll-Y {
max-height: 565rpx;
.container {
flex: 1;
overflow: auto;
}
}
}
.goods {
......
......@@ -52,12 +52,14 @@ export default {
};
},
mounted(){
console.log(12)
this.getTickList(true)
this.getTickList(false)
},
methods: {
async getTickList(val) {
const {data} = await Mine.getUserList(val)
getTickList(val) {
Mine.getUserList(val).then(res=>{
const { data } = res
const {rows} = data
const canuse = rows.map(item=>{
let timeStart = ''
......@@ -100,6 +102,8 @@ export default {
}else{
this.cantuse = canuse
}
})
},
changeTab(current) {
this.current = current;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment