uniapp 购买记录状态

pull/3/head
Jruome 2023-05-29 20:41:44 +08:00
parent 62d0f51a5b
commit e219ed543c
2 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
<text>{{userInfo.mobile}}</text> <text>{{userInfo.mobile}}</text>
<text>会员积分{{memberDetail.integral}}</text> <text>会员积分{{memberDetail.integral}}</text>
</view> </view>
<text>再升1级即可获得XX等6项权益</text> <!-- <text>再升1级即可获得XX等6项权益</text> -->
<view class="left-button"> <view class="left-button">
<view class="left-shopping" @click="handleRouter('购买记录')"> <view class="left-shopping" @click="handleRouter('购买记录')">
<text>购买记录</text> <text>购买记录</text>
@ -31,7 +31,7 @@
<image src='../../static/images/memberLogo.png'></image> <image src='../../static/images/memberLogo.png'></image>
<text class="equity-member">我的会员权益</text> <text class="equity-member">我的会员权益</text>
</view> </view>
<text class="equity-look">查看权益></text> <!-- <text class="equity-look">查看权益></text> -->
</view> </view>
<view class="equity-item" v-for="(item,index) in equityData" :key="index"> <view class="equity-item" v-for="(item,index) in equityData" :key="index">
<view class="equity-grade"> <view class="equity-grade">
@ -165,10 +165,9 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.box { .box {
margin-bottom: 30%; padding-bottom: 20%;
margin-top: 10%; margin-top: 10%;
background: #fff; background: #fff;
height: 100vh;
background: url(../../static/images/memberBg.png); background: url(../../static/images/memberBg.png);
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -10,7 +10,7 @@
<text>充值号码{{item.userPhone}}</text> <text>充值号码{{item.userPhone}}</text>
</view> </view>
<button v-show="item.bool && item.refundStatus == 0" @click.stop="handleService(item)">退</button> <button v-show="item.bool && item.refundStatus == 0" @click.stop="handleService(item)">退</button>
<view v-show="item.refundStatus == 1">退</view> <view v-show="item.refundStatus != 0">{{list[item.refundStatus]}}</view>
</view> </view>
<view class="item-text"> <view class="item-text">
<text>充值档次{{item.grade}}</text> <text>充值档次{{item.grade}}</text>
@ -32,7 +32,8 @@
data() { data() {
return { return {
keyword:'', keyword:'',
memberData:[] memberData:[],
list:['未退款','退款申请中','已退款','退款中']
}; };
}, },
async onLoad() { async onLoad() {