feat: add paid resource order flow

This commit is contained in:
王鹏
2026-07-29 14:35:13 +08:00
parent d14f005d34
commit 01c382522a
10 changed files with 1202 additions and 57 deletions

View File

@@ -2,7 +2,7 @@
<view>
<view v-if="dataList.length != 0" class="re-box">
<view>
<text style="font-size: 40rpx;color: #0081ff;" class="cuIcon-titles"></text><text style="font-size: 35rpx;">消费明细</text>
<text style="font-size: 40rpx;color: #0081ff;" class="cuIcon-titles"></text><text style="font-size: 35rpx;">积分明细</text>
</view>
<view style="margin-top: 40rpx;">
<view v-for="(item,index) in dataList" :key="index" class="flex solid-bottom padding justify-between">
@@ -20,10 +20,6 @@
<view v-if="item.isAdd == 1" style="color: #07C160;" class="re-number">-{{item.integralNumber}}
<text class="cuIcon-vip" style="margin-left: 15rpx;font-size: 40rpx;"></text>
</view>
<view v-if="item.isAdd == 3" style="color: #07C160;" class="re-number">-¥{{formatMoney(item.integralNumber)}}
<text class="cuIcon-recharge" style="margin-left: 15rpx;font-size: 40rpx;"></text>
</view>
</view>
</view>
@@ -52,9 +48,7 @@
return {
queryParams: {
pageNum: 1,
pageSize: 10,
userId: uni.getStorageSync("userInfo").userId,
pageSize: 10
},
dataList: [],
total: 0,
@@ -91,9 +85,6 @@
this.getDataList()
},
methods: {
formatMoney(priceFen) {
return (Number(priceFen || 0) / 100).toFixed(2)
},
getDataList(){
var that = this;
listAppIntegra(this.queryParams).then(response => {