疯币改天医疗币

引导页文字修改
配置文件请求地址修改
订单列表页面样式修改
This commit is contained in:
@fawn-nine
2023-10-09 11:12:05 +08:00
parent 626c85008e
commit d4fdb37a84
18 changed files with 151 additions and 88 deletions

View File

@@ -76,7 +76,7 @@
<view v-for="(item, index) in paylist" class="zhif_xuanx">
<image :src="item.img"></image>
{{item.title}}
<span v-if="item.id == 4" style="color: #bbb; margin-left: 10px;">{{userMes.peanutCoin}}币可用</span>
<span v-if="item.id == 4" style="color: #bbb; margin-left: 10px;">{{userMes.peanutCoin}}天医币可用</span>
<span @click.stop="buPoint" style="color: #bf0c0c; margin-left: 10px;" v-if="item.id == 4" class="chongBtn">去充值</span>
<u-radio :key="index" activeColor="#fe6e09" :name='item.id'
style="float: right;margin-top: 5rpx;" ></u-radio>
@@ -93,7 +93,7 @@
<view v-for="(item, index) in paylistIos" class="zhif_xuanx">
<image :src="item.img"></image>
{{item.title}}
<span v-if="item.id == 4" style="color: #bbb; margin-left: 10px;">{{userMes.peanutCoin}}币可用</span>
<span v-if="item.id == 4" style="color: #bbb; margin-left: 10px;">{{userMes.peanutCoin}}天医币可用</span>
<span @click.stop="buPoint" style="color: #bf0c0c; margin-left: 10px;" v-if="item.id == 4" class="chongBtn">去充值</span>
<u-radio :key="index" activeColor="#fe6e09" :name='item.id'
style="float: right;margin-top: 5rpx;" ></u-radio>
@@ -110,7 +110,7 @@
</view>
<view class="commodityPrice" v-if="payType == 4">
<span style="color: #666;margin-right: 10rpx; font-size: 15px;">实付款: </span>
{{realPrice}}<span></span>
{{realPrice}}<span>天医</span>
</view>
<view class="operate" @click="goBuyJie" v-if="payType != 4">
<view class="goBuy">
@@ -246,7 +246,7 @@
img: '../../static/icon/pay_2.png'
},
{
title: '币购买',
title: '天医币购买',
id: 4,
img: '../../static/icon/oder_chong.png'
},
@@ -267,7 +267,7 @@
// img: '../../static/icon/pay_2.png'
// },
{
title: '币购买',
title: '天医币购买',
id: 4,
img: '../../static/icon/oder_chong.png'
},
@@ -341,7 +341,7 @@
this.isAndorid = false
}
},
// 充值
// 充值天医
buPoint() {
uni.navigateTo({
url: '../peanut/reCharge'
@@ -387,7 +387,7 @@
goPoinBuy(){
if(this.realPrice > this.userMes.peanutCoin){
uni.showToast({
title:'币不足,请充值',
title:'天医币不足,请充值',
icon: 'none',
duration: 2000
})
@@ -612,7 +612,7 @@
city: this.adressMoRen.areaidpathtext.split(' ')[1], //市
district: this.adressMoRen.areaidpathtext.split(' ')[2], //区
address: this.adressMoRen.useraddress, //地址
paymentMethod: this.payType, //支付方式 2支付宝1微信3ios内购 4币购买
paymentMethod: this.payType, //支付方式 2支付宝1微信3ios内购 4天医币购买
orderMoney: this.totalPrice, //订单金额
realMoney: this.realPrice, //实收金额
shippingMoney: this.farePrice, //运费
@@ -717,7 +717,7 @@
}
})
}else if(this.payType == 4){
// 币支付
// 天医币支付
uni.showToast({
title: "购买成功",
icon: "success"