This commit is contained in:
weipengfei 2024-02-29 21:19:16 +08:00
parent af7a76a450
commit c06a2c862c
2 changed files with 4 additions and 3 deletions

View File

@ -185,7 +185,6 @@
background-image: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/def/c582c202402291601584806.webp"); background-image: url("https://lihai001.oss-cn-chengdu.aliyuncs.com/def/c582c202402291601584806.webp");
background-size: 100% auto; background-size: 100% auto;
background-repeat: no-repeat; background-repeat: no-repeat;
padding-top: 88rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
.v-navbar { .v-navbar {

View File

@ -172,6 +172,7 @@
import { import {
orderPay orderPay
} from "@/api/payment.js"; } from "@/api/payment.js";
import { Toast } from '../../libs/uniApi';
export default { export default {
components: { components: {
@ -951,9 +952,10 @@
// //
orderPay(this.payForm).then(res => { orderPay(this.payForm).then(res => {
uni.hideLoading(); uni.hideLoading();
console.log(res) Toast(res.message)
}).catch(() => { }).catch((e) => {
uni.hideLoading(); uni.hideLoading();
Toast(e.message)
}) })