礼品卡兑换记录

This commit is contained in:
齐天大圣 2023-12-09 13:13:47 +08:00
parent 230bee5a9c
commit 273f13cae9
4 changed files with 29 additions and 12 deletions

View File

@ -49,6 +49,7 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "Address/Address", "path": "Address/Address",
"style": { "style": {
@ -156,16 +157,18 @@
} }
}, },
{ {
"path": "integral/integral", "path": "Coupons/Coupons",
"style": { "style": {
"navigationBarTitleText": "我的积分", "navigationBarTitleText": "设置",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "Coupons/Coupons", "path": "integral/integral",
"style": { "style": {
"navigationBarTitleText": "我的", "navigationBarTitleText": "我的积分",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },

View File

@ -32,7 +32,7 @@
</view> </view>
<text style="color: #999999;">|</text> <text style="color: #999999;">|</text>
<view class="jg-box"> <view class="jg-box" @click="toCoupons">
<view class="jg-box-title">卡券</view> <view class="jg-box-title">卡券</view>
<view class="jg-box-nmb">0</view> <view class="jg-box-nmb">0</view>
</view> </view>
@ -246,6 +246,11 @@
uni.navigateTo({ uni.navigateTo({
url: '/pagesMy/feedback/feedback' url: '/pagesMy/feedback/feedback'
}) })
},
toCoupons() {
uni.navigateTo({
url: '/pagesMy/Coupons/Coupons'
})
} }
} }
} }

View File

@ -17,11 +17,11 @@
<view class="but-box"> <view class="but-box">
<view class="huis">兑换卡号</view> <view class="huis">兑换卡号</view>
<view class="">{{item.number || "暂无"}}</view> <view class="">{{item.number || "暂无"}}</view>
</view> </view>
<view class="but-box"> <view class="but-box">
<view class="huis">兑换金额</view> <view class="huis">兑换金额</view>
<view class="reds">{{item.cardAmount || "暂无"}}</view> <view class="reds">{{item.cardAmount || "暂无"}}</view>
</view> </view>
<view class="but-box"> <view class="but-box">
<view class="huis">订单时间</view> <view class="huis">订单时间</view>
@ -111,6 +111,17 @@
} }
}) })
}, },
/*getGiftRecords() {
request({
url: '/business/marketingActivity/cardGift/selectAllRecords',
method: 'get',
}).then(res => {
console.log(res)
if (res.code == 200) {
this.list = res.data.records
}
})
},*/
} }
} }

View File

@ -57,9 +57,7 @@
list1: [{ list1: [{
name: '全部', name: '全部',
}, { }, {
name: '抵用券', name: '优惠券',
}, {
name: '折扣券'
}, { }, {
name: '兑换券' name: '兑换券'
}, { }, {