修复功能(用户申请提现)

This commit is contained in:
2025-06-11 11:32:02 +08:00
parent ae9886635d
commit a51f9bdea8
5 changed files with 63 additions and 58 deletions

View File

@ -8,7 +8,7 @@ Page({
*/
data: {
withdrawalList: [],
withdrawalStatus: ['审核', '提现成功', '提现失败']
withdrawalStatus: ['审核', '提现成功', '提现失败']
},
getWithdrawalList() {

View File

@ -4,7 +4,7 @@
.page {
background-color: #ffffff;
width: 100%;
height: 100%;
overflow-y: auto;
}
.section {
padding: 88.46rpx 0 87.85rpx;

View File

@ -42,7 +42,10 @@
<view class="flex-col list-item mt-13" wx:for="{{fundsChangeVOList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
<view class="flex-row">
<text class="flex-1 font_4">{{item.projectName}}</text> <!-- 项目名称 -->
<text class="shrink-0 self-start font_5 text_9 ml-21">{{item.changeAmount}}</text> <!-- 变动金额 -->
<!-- 判断变动金额的符号和字体颜色 -->
<text class="shrink-0 self-start font_5 text_9 ml-21" style="color: {{item.changeAmount >= 0 ? '#FE2828' : '#10D466'}}">{{item.changeAmount >= 0 ? '+' : ''}}{{item.changeAmount}}
</text>
</view>
<view class="mt-12 flex-row justify-between items-center">
<text class="font_6 text_10">{{item.createTime}}</text> <!-- 创建时间 -->

View File

@ -11,11 +11,9 @@
margin-left: 40.38rpx;
}
.page {
padding: 69.23rpx 38.46rpx 517.31rpx;
padding: 69.23rpx 38.46rpx 69.31rpx;
background-image: linear-gradient(180deg, #ffc387 0%, #ffffff00 120.3%);
width: 100%;
overflow: hidden;
height: 100%;
}
.section {
margin-left: 11.54rpx;

View File

@ -85,7 +85,7 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
getUserMainInfo() {
const token = wx.getStorageSync('token');
// 获取用户主要信息
@ -139,6 +139,10 @@ Page({
})
},
onLoad(options) {
this.getUserMainInfo()
},
// 复制邀请码到剪贴板
copyInvitationCode() {
wx.setClipboardData({
@ -171,7 +175,7 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
this.getUserMainInfo()
},
/**