|
|
@ -6,7 +6,7 @@ |
|
|
|
<!-- <view v-show="step === 1" style="width: 100%;"> |
|
|
|
<u-subsection style="width: 100%;" activeColor="#FDBE44" :list="['代付', '代收']" :current="0" @change="handleUserTypeChg"></u-subsection> |
|
|
|
</view> --> |
|
|
|
<view v-show="false" class="withdraw-amount" style="margin-bottom: 20rpx;"> |
|
|
|
<view v-if="false" class="withdraw-amount" style="margin-bottom: 20rpx;"> |
|
|
|
<text>支付类型</text> |
|
|
|
<view style="display: grid; grid-template-columns: repeat(3,1fr); width: 100%; margin: 10px auto;"> |
|
|
|
<view v-for="item in payType" @click="param.payType = item.key" :class="{'active': param.payType === item.key}" style="display: flex; flex-direction: column;justify-content: center; border-radius: 8px; align-items: center; padding: 5px 0;"> |
|
|
@ -122,6 +122,7 @@ |
|
|
|
<button v-if="step === 2" class="submit-btn" @click="onSubmit" style="margin-top: 30rpx;">{{this.$languageData.functions.payimme}}</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 银行卡列表弹出层 --> |
|
|
|
<uni-popup ref="bankListPopup" type="bottom"> |
|
|
@ -149,10 +150,6 @@ |
|
|
|
</view> |
|
|
|
</uni-popup> |
|
|
|
<loading ref="loading":custom="false" :shadeClick="false" :type="1" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
@ -197,6 +194,7 @@ export default { |
|
|
|
} |
|
|
|
], |
|
|
|
step: 1, |
|
|
|
amount: 0, |
|
|
|
|
|
|
|
success:true, |
|
|
|
showResult:false, |
|
|
@ -282,7 +280,7 @@ export default { |
|
|
|
this.bankList.unshift(account) |
|
|
|
account = { |
|
|
|
bankName:this.$languageData.functions.accBalance, |
|
|
|
cardNum2:'20 KIP' |
|
|
|
cardNum2: this.userAccount.availableBalance +' KIP' |
|
|
|
} |
|
|
|
this.bankList.unshift(account) |
|
|
|
this.userAccount.bankName = res[0].bankName |
|
|
@ -315,7 +313,7 @@ export default { |
|
|
|
this.closeBankList(); |
|
|
|
}, |
|
|
|
hideKeyboard() { |
|
|
|
uni.hideKeyboard(); |
|
|
|
// uni.hideKeyboard(); |
|
|
|
}, |
|
|
|
getBalance(){ |
|
|
|
getBalance().then(res=>{ |
|
|
|