This commit is contained in:
Vinjor 2025-04-29 15:29:06 +08:00
parent 11148a7f3b
commit 13e376da89

View File

@ -31,8 +31,12 @@
</view>
</view>
</view>
<view v-if="wayOrder!=null" class="daiban-box">
<view v-if="ifHasWaiting" class="daiban-box">
<view class="daiban-dom">
<uni-icons type="chat-filled" size="18" style="padding-right: 10rpx;"></uni-icons>
您有一笔<text>{{ wayOrder.points }}</text>积分的提现订单请及时处理
<uni-icons type="right" size="18" style="padding-left: 10rpx;"></uni-icons>
</view>
</view>
<view class="data-list-box">
<view class="content-box">
@ -99,10 +103,10 @@
//
ifMember: true,
//
ifHasWaiting: false,
ifHasWaiting: true,
menus: ['积分收支明细'],
menuIndex: 0,
wayOrder:{},
wayOrder: {},
//
dataList: [{
fromCode: "",
@ -139,20 +143,24 @@
this.pointsBalance = option.pointsBalance
this.initData()
},
onShow(){
onShow() {
this.initWayOrder()
},
methods: {
initWayOrder(){
getOnWayOrder().then(res=>{
if(res.code == 200) {
console.log(res,'res')
if (res.data){
initWayOrder() {
getOnWayOrder().then(res => {
if (res.code == 200) {
console.log(res, 'res')
if (res.data) {
this.wayOrder = res.data
this.ifHasWaiting = true
} else {
this.wayOrder = null
// this.ifHasWaiting = false
}
} else {
this.ifHasWaiting = false
}
})
},
@ -351,8 +359,16 @@
.daiban-box {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
padding-top: 10rpx;
font-size: 28rpx;
.daiban-dom {
background-color: white;
padding: 10rpx 20rpx;
border-radius: 15rpx;
display: flex;
align-items: center;
justify-content: center;
@ -362,6 +378,8 @@
}
}
}
.huiyuan-box {
width: 100%;
padding: 0 30rpx;
@ -480,11 +498,11 @@
}
.no-member-and-wating {
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 520rpx);
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 535rpx);
}
.member-and-wating {
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 400rpx);
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 415rpx);
}
.data-list {