文字替换:额度改为酒卡额度
This commit is contained in:
parent
db3d4302e8
commit
6a77ecb6ba
|
|
@ -6,13 +6,13 @@ let VUE_APP_WS_URL = `ws://${location.hostname}?type=user`
|
|||
let openPlantGrass = '-openPlantGrass-'
|
||||
|
||||
// 网络接口修改此字符 小程序域名要求https
|
||||
let httpApi = 'https://bt.test.cdlfjy.com/' // 开发
|
||||
// let httpApi = 'https://mp.scwmbh.cn/' // 生产
|
||||
// let httpApi = 'https://bt.test.cdlfjy.com/' // 开发
|
||||
let httpApi = 'https://mp.scwmbh.cn/' // 生产
|
||||
|
||||
|
||||
// 聊天接口修改此字符 小程序聊天要求wss 例如:
|
||||
let wsApi = 'wss://bt.test.cdlfjy.com'
|
||||
// let wsApi = 'wss://mp.scwmbh.cn'
|
||||
// let wsApi = 'wss://bt.test.cdlfjy.com'
|
||||
let wsApi = 'wss://mp.scwmbh.cn'
|
||||
|
||||
|
||||
module.exports = {
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<input class="money-input" v-model.number="pay_info.total_money" type='number' step="0.01" placeholder="0.00" />
|
||||
</view>
|
||||
<view class="info-box">
|
||||
<view class="info-title">剩余额度</view>
|
||||
<view class="info-title">剩余酒卡额度</view>
|
||||
<view class="info-value">{{ pointUserInfo.available }}</view>
|
||||
</view>
|
||||
<view class="info-box">
|
||||
|
|
@ -212,10 +212,10 @@ export default {
|
|||
handler(val) {
|
||||
let totalMoney = this.pay_info.total_money.toFixed(2);
|
||||
console.log('总价值', totalMoney)
|
||||
// 判断额度是否足够
|
||||
// 判断酒卡额度是否足够
|
||||
if(Number(totalMoney) > Number(this.pointUserInfo.available)){
|
||||
this.$util.Tips({
|
||||
title: '总价值不能超过剩余额度'
|
||||
title: '总价值不能超过剩余酒卡额度'
|
||||
});
|
||||
this.pay_info.total_money = 0;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue