Browse Source

修改 查询结果失败文字大小

feat
JinxChen 1 year ago
parent
commit
a70e0c7cbd
2 changed files with 13 additions and 4 deletions
  1. +6
    -2
      src/views/package-list/index.vue
  2. +7
    -2
      src/views/pay-result/index.vue

+ 6
- 2
src/views/package-list/index.vue View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2022-03-29 16:57:58 * @Date: 2022-03-29 16:57:58
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-02-28 16:44:15
* @LastEditTime: 2023-02-28 17:33:41
* @FilePath: \TelpoH5FrontendWeb\src\views\package-list\index.vue * @FilePath: \TelpoH5FrontendWeb\src\views\package-list\index.vue
* @description: TODO 小台风充值h5 * @description: TODO 小台风充值h5
--> -->
@@ -361,7 +361,7 @@ export default {
// 需要区分是要用微信支付还是支付宝花呗支付 // 需要区分是要用微信支付还是支付宝花呗支付
if (this.payType === '2') { if (this.payType === '2') {
this.payProductId = process.env.NODE_ENV === "production" ? '1629407413618294784' : '1629405716684029952', //支付宝全额支付 this.payProductId = process.env.NODE_ENV === "production" ? '1629407413618294784' : '1629405716684029952', //支付宝全额支付
this.packageIssue = 1;
this.packageIssue = 0;
this.aliPay(data); this.aliPay(data);
} else if (this.payType === '3') { } else if (this.payType === '3') {
this.payProductId = process.env.NODE_ENV === "production" ? '1629407705558630400': '1629405558344859648', //支付宝花呗支付 this.payProductId = process.env.NODE_ENV === "production" ? '1629407705558630400': '1629405558344859648', //支付宝花呗支付
@@ -412,6 +412,10 @@ export default {
setTimeout(() => { setTimeout(() => {
this.wxPay(orderData); this.wxPay(orderData);
}, 1000); }, 1000);
} else if (res.data.code === 104) {
this.$dialog.confirm({
message: `${res.data.message}`
})
} }
let that = this; let that = this;
let wxData = res.data.data; let wxData = res.data.data;


+ 7
- 2
src/views/pay-result/index.vue View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2023-02-24 16:47:33 * @Date: 2023-02-24 16:47:33
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-02-26 16:03:53
* @LastEditTime: 2023-02-28 18:33:53
* @FilePath: \TelpoH5FrontendWeb\src\views\pay-result\index.vue * @FilePath: \TelpoH5FrontendWeb\src\views\pay-result\index.vue
* @description: * @description:
--> -->
@@ -25,7 +25,8 @@
<div class="details"> <div class="details">
<div class="details-item"> <div class="details-item">
<p class="left-text">订单状态</p> <p class="left-text">订单状态</p>
<p>{{isPayStatus ? '支付成功' : '查询失败'}}</p>
<p v-if="isPayStatus">支付成功</p>
<p v-else class="error">查询失败</p>
</div> </div>
<div class="details-item"> <div class="details-item">
<p class="left-text">订单尾号</p> <p class="left-text">订单尾号</p>
@@ -355,6 +356,10 @@ export default {
.left-text { .left-text {
color: gray; color: gray;
} }
.error {
color: red;
font-size: 24px;
}
} }
.price { .price {
padding: 20px 0; padding: 20px 0;


Loading…
Cancel
Save