|
@@ -32,8 +32,13 @@
|
|
|
<view class="call-one-btn">
|
|
<view class="call-one-btn">
|
|
|
<view v-if="Number(hdInfo.balance)>0" style="color:green;font-weight:bold;font-size:36upx;margin-top:28upx;">可用余额 ¥{{ parseFloat(hdInfo.balance) }}</view>
|
|
<view v-if="Number(hdInfo.balance)>0" style="color:green;font-weight:bold;font-size:36upx;margin-top:28upx;">可用余额 ¥{{ parseFloat(hdInfo.balance) }}</view>
|
|
|
<button v-if="orderInfo.showYePay == 1" class="button-com green pay-wx" @click="balancePayFn" style="height:100upx;line-height:50upx;">余额支付</button>
|
|
<button v-if="orderInfo.showYePay == 1" class="button-com green pay-wx" @click="balancePayFn" style="height:100upx;line-height:50upx;">余额支付</button>
|
|
|
- <button v-if="getPayType == 1" class="button-com green pay-wx" @click="wxPayFn" style="height:100upx;line-height:50upx;">微信支付</button>
|
|
|
|
|
- <button v-else class="button-com green pay-wx" @click="wxPayFnOld" style="height:100upx;line-height:50upx;">微信支付</button>
|
|
|
|
|
|
|
+ <block v-if="Number(orderInfo.rechargeWeal) == 3 && Number(orderInfo.hbId) != 0">
|
|
|
|
|
+ <view style="color:green;font-size:36upx;margin-top:28upx;text-align:center;">使用了红包,只支持余额支付</view>
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else>
|
|
|
|
|
+ <button v-if="getPayType == 1" class="button-com green pay-wx" @click="wxPayFn" style="height:100upx;line-height:50upx;">微信支付</button>
|
|
|
|
|
+ <button v-else class="button-com green pay-wx" @click="wxPayFnOld" style="height:100upx;line-height:50upx;">微信支付</button>
|
|
|
|
|
+ </block>
|
|
|
</view>
|
|
</view>
|
|
|
</block>
|
|
</block>
|
|
|
<block v-else-if="pageStatus == 3 || pageStatus == 4 || pageStatus == 5">
|
|
<block v-else-if="pageStatus == 3 || pageStatus == 4 || pageStatus == 5">
|
|
@@ -64,7 +69,7 @@ import ModalModule from "@/components/plugin/modal";
|
|
|
import AlertModule from "@/components/plugin/alert";
|
|
import AlertModule from "@/components/plugin/alert";
|
|
|
import wexinPay from "@/utils/pay/wxPay";
|
|
import wexinPay from "@/utils/pay/wxPay";
|
|
|
import { getShopUser } from "@/utils/auth";
|
|
import { getShopUser } from "@/utils/auth";
|
|
|
-import { balancePay, wxPay,getDetail } from "@/api/order";
|
|
|
|
|
|
|
+import { balancePay, wxPay, getDetail } from "@/api/order";
|
|
|
import { postWxCode } from '@/api/mini';
|
|
import { postWxCode } from '@/api/mini';
|
|
|
export default {
|
|
export default {
|
|
|
name: "index",
|
|
name: "index",
|