新增充值记录, 提现记录的入口

This commit is contained in:
weipengfei 2023-09-25 17:15:30 +08:00
parent 7dba6f81c6
commit b1c9086c70
4 changed files with 39 additions and 11 deletions

View File

@ -3,8 +3,8 @@
// "appid" : "__UNI__3A527D1",
"appid" : "__UNI__B5B1EDD",
"description" : "",
"versionName" : "1.1.3",
"versionCode" : 113,
"versionName" : "1.1.6",
"versionCode" : 116,
"transformPx" : false,
/* 5+App */
"app-plus" : {

View File

@ -19,6 +19,7 @@
</view>
<input v-if="priceList[changeMoney]=='自定义'" class="input" type="digit" placeholder="输入充值金额(元)" v-model="payMoney.money" />
<button class="btn" @click="pay">充值</button>
<button class="btn btn2" @click="navToRecord">充值记录</button>
</view>
<!-- <view class="tip">
<view class="title">注意事项</view>
@ -50,9 +51,7 @@
//
onNavigationBarButtonTap(res){
if (res.index === 0) {
uni.navigateTo({
url: '/subpkg/topUpList/topUpList'
})
this.navToRecord();
}
},
onLoad(options) {
@ -68,6 +67,12 @@
if(this.priceList[index]=='自定义')this.payMoney.money = '';
else this.payMoney.money = this.priceList[index].split('元')[0];
},
//
navToRecord(){
uni.navigateTo({
url: '/subpkg/topUpList/topUpList'
})
},
//
async loadTask(){
uni.showLoading({
@ -321,6 +326,11 @@
font-weight: 400;
color: #FFFFFF;
}
.btn2{
background-color: #fff;
color: #333;
border: 1px solid #eee;
}
}
.tip {

View File

@ -42,6 +42,7 @@
<button v-if="is_draw" class="btn" @click="pay">全部提现</button>
<button else class="btn disabled" @click="noPay">暂时不可提现</button>
</view>
<view class="price"><button class="btn btn2" @click="navToRecord">提现记录</button></view>
<u-modal :show="modelShow" title="提醒" content="删除后上传的文件将会消失,你确定要删除吗?" showCancelButton
@confirm="clear(del_name);modelShow=false" @cancel="modelShow=false"></u-modal>
</view>
@ -81,9 +82,7 @@
//
onNavigationBarButtonTap(res) {
if (res.index === 0) {
uni.navigateTo({
url: '/subpkg/withdrawList/withdrawList'
})
this.navToRecord();
}
},
onLoad() {
@ -101,6 +100,11 @@
}
},
methods: {
navToRecord(){
uni.navigateTo({
url: '/subpkg/withdrawList/withdrawList'
})
},
/**
* 某文件上传结束回调(成功失败都回调)
* @param {Object} item 当前上传完成的文件
@ -368,6 +372,11 @@
font-weight: 400;
color: #FFFFFF;
}
.btn2{
background-color: #fff;
color: #333;
border: 1px solid #eee;
}
.disabled{
background-color: #666;
}

View File

@ -25,6 +25,7 @@
<input v-if="priceList[changeMoney]=='自定义'" class="input" type="digit" placeholder="输入充值金额(元)"
v-model="payMoney.money" />
<button class="btn" @click="pay">申请提现</button>
<button class="btn btn2" @click="navToRecord">提现记录</button>
</view>
<!-- <view class="tip">
<view class="title">备注</view>
@ -55,9 +56,7 @@
//
onNavigationBarButtonTap(res){
if (res.index === 0) {
uni.navigateTo({
url: '/subpkg/withdrawList/withdrawList'
})
this.navToRecord();
}
},
onLoad() {
@ -67,6 +66,11 @@
})
},
methods: {
navToRecord(){
uni.navigateTo({
url: '/subpkg/withdrawList/withdrawList'
})
},
copyPhone(str = "") {
uni.setClipboardData({
data: str + "",
@ -249,6 +253,11 @@
font-weight: 400;
color: #FFFFFF;
}
.btn2{
background-color: #fff;
color: #333;
border: 1px solid #eee;
}
}
.tip {