[消息跳转详情及银行卡优化修改]

This commit is contained in:
2021-09-29 17:46:56 +08:00
parent e44c09d7f2
commit 4390e79105
4 changed files with 20 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
<view class="item-name">{{bank_account_id===''?'添加':'编辑'}}提现银行</view>
<view class="item">
<view class="title">收款人姓名</view>
<input class="input_num" v-model="name" maxlength="16" placeholder="请输入收款人姓名"
<input class="input_num" v-model="name" maxlength="13" placeholder="请输入收款人姓名"
placeholder-style="color:#999;font-weight:normal; font-size:30rpx;" />
</view>
<view class="item">
@@ -22,12 +22,12 @@
</view>
<view class="item">
<view class="title">收款人账号</view>
<input class="input_num" v-model="no" type="number" placeholder="请输入收款人账号"
<input class="input_num" v-model="no" maxlength="20" type="number" placeholder="请输入收款人账号"
placeholder-style="color:#999;font-weight:normal; font-size:30rpx;" />
</view>
<view class="item">
<view class="title">支行名称</view>
<input class="input_num" v-model="branch_name" maxlength="30" placeholder="省-市-区-支行名称"
<input class="input_num" v-model="branch_name" maxlength="20" placeholder="省-市-区-支行名称"
placeholder-style="color:#999;font-weight:normal; font-size:30rpx;" />
</view>
</view>
@@ -172,10 +172,10 @@
type: 'primary',
duration: 3000
})
// setTimeout(res => {
// uni.setStorageSync('refresh',true)
// uni.navigateBack({})
// }, 3000)
setTimeout(res => {
uni.setStorageSync('refresh',true)
uni.navigateBack({})
}, 3000)
}).catch(err => {
this.$refs.uToast.show({
title: err.message,

View File

@@ -1,5 +1,6 @@
<template>
<view class="selectCard">
<view class="demo" v-if="lists.length>0"><u-icon name="info-circle-fill" label-color='#cacaca' color='#cacaca' label='长按删除添加银行卡'/></view>
<view class="bankInfo" v-if="lists.length>0" v-for="(item,index) in lists" :key='index'
@longpress='delBank(item.bank_account_id,index)'>
<image class="bankLogin" @click="selectBank(item)" :src="item.bank.cover" mode="widthFix" />
@@ -161,7 +162,11 @@
padding-top: 30rpx;
background-color: #fff;
padding-bottom: 80rpx;
.demo{
color: #cacaca;
font-size: 26rpx;
text-align: center;
}
.bankInfo {
width: calc(100% - 60rpx);
background-image: linear-gradient(to right, #7c52fc, #976dff);