feat(checkout): 优化微信支付和线下付款流程
- 支付方式新增微信支付(payType=1),并设为默认,保留线下付款(payType=9) - 微信支付时调用 Taro.requestPayment 发起支付流程,取消或失败给出明确提示 - 支付选项选中状态下微信支付显示绿色提示,线下付款显示橙色提示 - 提交按钮文案区分微信支付(提交并支付)与线下付款(提交订单) - 后端支付配置缺失时提示“微信支付暂不可用:支付配置缺失” - 确保编译构建通过,未引入新类型错误
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"appid": "wx541db955e7a62709",
|
||||
"projectname": "威数谱软件",
|
||||
"projectname": "赛联小助手",
|
||||
"condition": {},
|
||||
"simulatorPluginLibVersion": {},
|
||||
"packOptions": {
|
||||
|
||||
Reference in New Issue
Block a user