no message

This commit is contained in:
2025-10-18 15:46:32 +08:00
parent b3a7e560b8
commit b8006c8498
6 changed files with 67 additions and 13 deletions
+20 -6
View File
@@ -12,14 +12,15 @@
</view>
<view class="top-right">
<text class="text-bold text-36 text-white">
0
{{noAmount}}
</text>
<text class="text-20 text-white" style="font-weight: 100;">不可用余额</text>
</view>
</view>
<view class="mid-view">
<text class="text-zu1 text-32">{{type == 0 ? '提现' : '充值'}}方式</text>
<view class="item-view" @click="onSelect('0')">
<view class="item-view" @click="onSelect('0')" v-if="!isWeb || type != 0">
<image src="../../../static/new/wx.png"></image>
<text class="text-zu1 text-32 " style="margin-left:20rpx;">微信</text>
<view class="right-icon-view" v-if="type == 1">
@@ -28,7 +29,7 @@
</u-radio-group>
</view>
<view class="right-icon-view" v-else>
<text class="text-32 text-zu1" style="margin-right:12rpx"v-if="selectVal && curSelect == '0'">{{selectVal.name + '/' + selectVal.account}}</text>
<text class="text-32 text-zu1" style="margin-right:12rpx" v-if="selectVal && curSelect == '0'">{{selectVal.name + '/' + selectVal.account}}</text>
<u-icon size="14" name="arrow-right" color="#333" ></u-icon>
</view>
</view>
@@ -71,7 +72,7 @@
<view class="bottom-btn">
<MyBtn :text="bottomText" @ok="onAdd"></MyBtn>
</view>
<SelectItem :itemData="dataList" @close="onClose" @ok="onOk"
<SelectItem :itemData="dataList" @close="onClose" @ok="onOk" @add="onAddBack"
:type="curSelect" :itemShow="selectShow"></SelectItem>
<CodeItem @ti="onTi" @close="onClose" :codeShow="codeShow" :phone="userInfo ? userInfo.mobile :''"></CodeItem>
<up-toast ref="uToastRef"></up-toast>
@@ -88,7 +89,7 @@ import MyBtn from '@/components/common/my-btn.vue'
import func from '@/utils/func.js';
import SelectItem from './components/select-item.vue'
import CodeItem from './components/code-item.vue'
import {uniPlatform} from '@/components/common/global.js'
import { getRechargeSupportPay, recharge,getAcctBalance } from '@/api/finance.js';
import { feedback } from '@/api/payment.js';
import { appWxpayFun, zfbPayFun } from '@/utils/payUtils.js'
@@ -97,6 +98,7 @@ export default {
components: { Header, TopSafe,MyBtn,SelectItem,CodeItem },
data() {
return {
isWeb:false,
topText:'',
type:0,
amount:'',
@@ -122,7 +124,13 @@ export default {
userInfo:null,
};
},
onShow(){
if(uniPlatform == 'web'){
this.isWeb = true;
}else{
this.isWeb = false;
}
},
onLoad(option) {
if(option && option.type){
this.type = Number(option.type);
@@ -146,6 +154,12 @@ export default {
this.selectVal = this.dataList.filter(i=>i.id == val)[0];
this.onClose();
},
onAddBack(){
this.onClose();
uni.navigateTo({
url:'/pages/rwa_package/account/index?id=' + this.curSelect
})
},
onClose(){
this.selectShow = false;
this.codeShow = false;