This commit is contained in:
zmj 2024-06-27 21:16:36 +08:00
parent 3ecad90fd6
commit d5b7abbdf6
2 changed files with 3 additions and 6 deletions

View File

@ -90,7 +90,7 @@
<view class="store-info" v-if="Role==1"> <view class="store-info" v-if="Role==1">
<view class="" style="width: 300rpx;margin: 0 auto;border-bottom: 1px solid #F3F3F3;"> <view class="" style="width: 300rpx;margin: 0 auto;border-bottom: 1px solid #F3F3F3;">
<up-input inputAlign='center' placeholder="请输入金额" color='#FF6B00' <up-input inputAlign='center' placeholder="请输入金额" @focus="formData.price=''" color='#FF6B00'
:placeholderStyle="{fontSize:'28rpx'}" fontSize='20px' border="none" :placeholderStyle="{fontSize:'28rpx'}" fontSize='20px' border="none"
v-model="formData.price" @blur='tofixedPrice'></up-input> v-model="formData.price" @blur='tofixedPrice'></up-input>
</view> </view>
@ -472,7 +472,6 @@
let timerInvol = null let timerInvol = null
// scoket // scoket
const userInfo = useUserStore().userInfo; const userInfo = useUserStore().userInfo;
const connection = new Push({ const connection = new Push({
@ -530,7 +529,7 @@
success: function(res) { success: function(res) {
if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整'); if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整');
uni.showLoading({ uni.showLoading({
title: '支付中...' title: '等待用户支付'
}); });
reVipRechargeApi({ reVipRechargeApi({
id: item.id, id: item.id,
@ -538,6 +537,7 @@
}).then(res => { }).then(res => {
timerInvol = setTimeout(() => { timerInvol = setTimeout(() => {
uni.hideLoading(); uni.hideLoading();
if (currentTab.value == 2) return;
uni.$u.toast('支付超时'); uni.$u.toast('支付超时');
}, 30000) }, 30000)
}) })

View File

@ -190,9 +190,6 @@
config config
} from "@/config/app.js" } from "@/config/app.js"
console.log()
const userStore = useUserStore(); const userStore = useUserStore();
const userInfo = ref({}); const userInfo = ref({});