Compare commits
5 Commits
2030e5e84d
...
244b6dea60
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
244b6dea60 | ||
|
|
372950b774 | ||
|
|
e0abdd3b15 | ||
|
|
1bc846be31 | ||
|
|
bd1d95db52 |
@ -180,7 +180,25 @@ export default {
|
|||||||
// 'custom-header': 'hello' //自定义请求头信息
|
// 'custom-header': 'hello' //自定义请求头信息
|
||||||
},
|
},
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
this.createQrcode2(res.data.access_token)
|
// 检查是否成功获取到access_token
|
||||||
|
if (res.data && res.data.access_token) {
|
||||||
|
this.createQrcode2(res.data.access_token)
|
||||||
|
} else {
|
||||||
|
uni.hideLoading();
|
||||||
|
uni.showToast({
|
||||||
|
title: '获取二维码失败,请重试',
|
||||||
|
icon: 'none'
|
||||||
|
});
|
||||||
|
console.error('获取微信access_token失败:', res);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
fail: (err) => {
|
||||||
|
console.error('获取微信access_token失败:', err);
|
||||||
|
uni.hideLoading();
|
||||||
|
uni.showToast({
|
||||||
|
title: '获取二维码失败,请重试',
|
||||||
|
icon: 'none'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -307,6 +325,7 @@ export default {
|
|||||||
const params = {
|
const params = {
|
||||||
id: this.OrderMsg.id,
|
id: this.OrderMsg.id,
|
||||||
back_wygjj: this.homeMoney,
|
back_wygjj: this.homeMoney,
|
||||||
|
back_points: this.integral,
|
||||||
}
|
}
|
||||||
request(apiArr.tradeQuery, "POST", params).then(res => {
|
request(apiArr.tradeQuery, "POST", params).then(res => {
|
||||||
})
|
})
|
||||||
|
|||||||
@ -630,6 +630,7 @@ image {
|
|||||||
.walletBox_content{
|
.walletBox_content{
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
padding: 0 80rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.walletBox_item{
|
.walletBox_item{
|
||||||
|
|||||||
@ -33,10 +33,10 @@
|
|||||||
<view>{{ walletInfo.receivable ? walletInfo.receivable.toFixed(2) : "0.00" }}元</view>
|
<view>{{ walletInfo.receivable ? walletInfo.receivable.toFixed(2) : "0.00" }}元</view>
|
||||||
<view class="walletBox_item_text">应收</view>
|
<view class="walletBox_item_text">应收</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="walletBox_item" @click="goWallet(3, walletInfo.handling_fee.toFixed(2))">
|
<!-- <view class="walletBox_item" @click="goWallet(3, walletInfo.handling_fee.toFixed(2))">
|
||||||
<view>{{ walletInfo.handling_fee ? walletInfo.handling_fee.toFixed(2) : "0.00" }}元</view>
|
<view>{{ walletInfo.handling_fee ? walletInfo.handling_fee.toFixed(2) : "0.00" }}元</view>
|
||||||
<view class="walletBox_item_text">手续费</view>
|
<view class="walletBox_item_text">手续费</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="iconStyle content2">
|
<view class="iconStyle content2">
|
||||||
|
|||||||
@ -39,7 +39,10 @@
|
|||||||
<text
|
<text
|
||||||
:class="['amount-sign', record.change_reason == '下单' ? 'positive' : 'negative']">{{
|
:class="['amount-sign', record.change_reason == '下单' ? 'positive' : 'negative']">{{
|
||||||
record.change_reason == '下单' ? '+' : '-' }}</text>
|
record.change_reason == '下单' ? '+' : '-' }}</text>
|
||||||
<text
|
<text v-if="topVal == '积分'"
|
||||||
|
:class="['amount-value', record.change_reason == '下单' ? 'positive' : 'negative']">¥{{
|
||||||
|
record.change_value }}</text>
|
||||||
|
<text v-else
|
||||||
:class="['amount-value', record.change_reason == '下单' ? 'positive' : 'negative']">¥{{
|
:class="['amount-value', record.change_reason == '下单' ? 'positive' : 'negative']">¥{{
|
||||||
record.amount_change }}</text>
|
record.amount_change }}</text>
|
||||||
</view>
|
</view>
|
||||||
@ -65,20 +68,7 @@ export default {
|
|||||||
topVal: "",
|
topVal: "",
|
||||||
photoVal: '',
|
photoVal: '',
|
||||||
balance: "",
|
balance: "",
|
||||||
records: [
|
records: [],
|
||||||
{
|
|
||||||
name: "退单-1312312317972",
|
|
||||||
time: "2025-08-12 13:00:00",
|
|
||||||
amount: "-1808.5",
|
|
||||||
remain: "286.79"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "退单-1312312317972",
|
|
||||||
time: "2025-08-12 13:00:00",
|
|
||||||
amount: "-1808.5",
|
|
||||||
remain: "286.79"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
itemObj: {},
|
itemObj: {},
|
||||||
itemType: '',
|
itemType: '',
|
||||||
page_num: 1,
|
page_num: 1,
|
||||||
|
|||||||
@ -137,7 +137,7 @@
|
|||||||
|
|
||||||
.walletBox_item{
|
.walletBox_item{
|
||||||
/* margin: 20rpx 30rpx; */
|
/* margin: 20rpx 30rpx; */
|
||||||
width: 25%;
|
width: 32%;
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 35rpx;
|
font-size: 35rpx;
|
||||||
|
|||||||
@ -17,22 +17,22 @@
|
|||||||
<view class="walletBox">
|
<view class="walletBox">
|
||||||
<view class="walletBox_top">钱包</view>
|
<view class="walletBox_top">钱包</view>
|
||||||
<view class="walletBox_content">
|
<view class="walletBox_content">
|
||||||
<view class="walletBox_item" @click="goWallet(1, walletInfo.receivable.toFixed(2))">
|
<view class="walletBox_item" @click="goWallet(1, walletInfo.receivable ? walletInfo.receivable.toFixed(2) : '0.00')">
|
||||||
<view>{{ walletInfo.receivable ? walletInfo.receivable.toFixed(2) : "0.00" }}元</view>
|
<view>{{ walletInfo.receivable ? walletInfo.receivable.toFixed(2) : "0.00" }}元</view>
|
||||||
<view class="walletBox_item_text">应收</view>
|
<view class="walletBox_item_text">应收</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="walletBox_item" @click="goWallet(2, walletInfo.received.toFixed(2))">
|
<view class="walletBox_item" @click="goWallet(2, walletInfo.received ? walletInfo.received.toFixed(2) : '0.00')">
|
||||||
<view>{{ walletInfo.received ? walletInfo.received.toFixed(2) : "0.00" }}元</view>
|
<view>{{ walletInfo.received ? walletInfo.received.toFixed(2) : "0.00" }}元</view>
|
||||||
<view class="walletBox_item_text">已收</view>
|
<view class="walletBox_item_text">已收</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="walletBox_item" @click="goWallet(3, walletInfo.pending.toFixed(2))">
|
<view class="walletBox_item" @click="goWallet(3, walletInfo.pending ? walletInfo.pending.toFixed(2) : '0.00')">
|
||||||
<view>{{ walletInfo.pending ? walletInfo.pending.toFixed(2) : "0.00" }}元</view>
|
<view>{{ walletInfo.pending ? walletInfo.pending.toFixed(2) : "0.00" }}元</view>
|
||||||
<view class="walletBox_item_text">待收物业公积金</view>
|
<view class="walletBox_item_text">待收物业公积金</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="walletBox_item" @click="goWallet(4, walletInfo.handling_fee.toFixed(2))">
|
<!-- <view class="walletBox_item" @click="goWallet(4, walletInfo.handling_fee.toFixed(2))">
|
||||||
<view>{{ walletInfo.handling_fee ? walletInfo.handling_fee.toFixed(2) : "0.00" }}元</view>
|
<view>{{ walletInfo.handling_fee ? walletInfo.handling_fee.toFixed(2) : "0.00" }}元</view>
|
||||||
<view class="walletBox_item_text">手续费</view>
|
<view class="walletBox_item_text">手续费</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="work-order-section">
|
<view class="work-order-section">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user