feat;微信小程序支付
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
<view class="content_right_total">
|
<view class="content_right_total">
|
||||||
<view>¥<text style="font-size: 36rpx">{{
|
<view>¥<text style="font-size: 36rpx">{{
|
||||||
pItem.totalPrice
|
pItem.totalPrice
|
||||||
}}</text></view>
|
}}</text></view>
|
||||||
<view>每件到手价¥{{ pItem.unitPrice }}</view>
|
<view>每件到手价¥{{ pItem.unitPrice }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="shopping_info_quantity">
|
<view class="shopping_info_quantity">
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
<view class="content_right_total">
|
<view class="content_right_total">
|
||||||
<view>¥<text style="font-size: 36rpx">{{
|
<view>¥<text style="font-size: 36rpx">{{
|
||||||
pItem.totalPrice
|
pItem.totalPrice
|
||||||
}}</text></view>
|
}}</text></view>
|
||||||
<view>每件到手价¥{{ pItem.unitPrice }}</view>
|
<view>每件到手价¥{{ pItem.unitPrice }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="shopping_info_quantity">
|
<view class="shopping_info_quantity">
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
<view class="order_freight_item">
|
<view class="order_freight_item">
|
||||||
<view>运费<text style="color: #c0c3c6; margin-left: 20rpx">{{
|
<view>运费<text style="color: #c0c3c6; margin-left: 20rpx">{{
|
||||||
getValue(PRODUCT_DELIVERY_TIME, addItem.deliveryTime)
|
getValue(PRODUCT_DELIVERY_TIME, addItem.deliveryTime)
|
||||||
}}</text></view>
|
}}</text></view>
|
||||||
<view class="value_">
|
<view class="value_">
|
||||||
{{ orderInfo.postage ? "¥" + orderInfo.postage : "包邮" }}
|
{{ orderInfo.postage ? "¥" + orderInfo.postage : "包邮" }}
|
||||||
</view>
|
</view>
|
||||||
@@ -915,7 +915,7 @@ export default {
|
|||||||
|
|
||||||
if (params.payway == "wechat") {
|
if (params.payway == "wechat") {
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
params["payway"] = "wechat";
|
params["payway"] = "wechatMiniProgram";
|
||||||
params["code"] = await new Promise((resolve) => {
|
params["code"] = await new Promise((resolve) => {
|
||||||
uni.login({
|
uni.login({
|
||||||
provider: "weixin",
|
provider: "weixin",
|
||||||
|
|||||||
Reference in New Issue
Block a user