更换版本

This commit is contained in:
2024-01-22 18:48:00 +08:00
parent 9f65ea8fd9
commit 00e6dcaec0
1158 changed files with 70609 additions and 51780 deletions

View File

@@ -0,0 +1,45 @@
var a;
(a = getApp()),
Page({
data: { page: 1, is_last: !1, list: [] },
onLoad: function (t) {
var e = this;
wx.setNavigationBarTitle({ title: "提现明细" }),
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.getWithdraw",
uid: wx.getStorageSync("uid"),
},
success: function (a) {
a.data.data && e.setData({ list: a.data.data });
},
});
},
onReachBottom: function () {
var t = this;
t.data.is_last ||
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.getWithdraw",
uid: wx.getStorageSync("uid"),
page: t.data.page + 1,
},
success: function (a) {
a.data.data ||
(t.setData({ is_last: !0 }),
wx.showToast({
title: "没有更多数据了",
icon: "success",
duration: 2e3,
}));
for (var e = t.data.list, i = 0; i < a.data.data.length; i++)
e.push(a.data.data[i]);
t.setData({ list: e, page: t.data.page + 1 });
},
});
},
});

View File

@@ -0,0 +1 @@
{ "usingComponents": {} }

View File

@@ -0,0 +1,14 @@
<view class="modle" wx:if="{{list.length>0}}" wx:for="{{list}}">
<view class="modle_top">{{item.detail}} <text class="modle_top_right">-{{item.account}}元</text>
</view>
<view class="modle_btm">{{item.create_time}} <text class="modle_top_right jujue" wx:if="{{item.status==2}}">已拒绝</text>
<text class="modle_top_right tixian" wx:if="{{item.status==1}}">已提现</text>
<text class="modle_top_right shenhe" wx:if="{{item.status==0}}">审核中</text>
</view>
</view>
<block wx:if="{{list.length<=0}}">
<import src="/pages/data_null/index.wxml"></import>
<view>
<template is="title" data="{{title:'暂无查看数据'}}"></template>
</view>
</block>

View File

@@ -0,0 +1,27 @@
.modle {
border-bottom: 1rpx solid #f9f9f9;
margin: 0 auto;
padding: 30rpx 0;
width: 690rpx;
}
.modle_top {
color: #333;
font-size: 30rpx;
}
.modle_top_right {
float: right;
}
.modle_btm {
color: #9195a3;
font-size: 24rpx;
margin-top: 10rpx;
}
.jujue {
color: #f75f5f;
}
.shenhe {
color: #fb9145;
}
.tixian {
color: #9195a3;
}