This commit is contained in:
3321822538@qq.com 2024-10-06 18:02:38 +08:00
parent 5dfc233c31
commit 0888b7e412
3 changed files with 7 additions and 10 deletions

View File

@ -19,8 +19,8 @@ const install = (Vue, vm) => {
// }, // },
// }); // });
Vue.prototype.$u.http.setConfig({ Vue.prototype.$u.http.setConfig({
baseUrl: 'http://192.168.2.81:3302', // baseUrl: 'http://192.168.2.81:3302',
// baseUrl: 'https://kang.chuangtewl.com/prod-api', baseUrl: 'https://kang.chuangtewl.com/prod-api',
loadingText: '努力加载中~', loadingText: '努力加载中~',
loadingTime: 800, loadingTime: 800,
// 设置自定义头部content-type // 设置自定义头部content-type

View File

@ -397,18 +397,15 @@
} }
}) })
that.$u.get(`/app/bill/recharge/${dingobj}/bluetoothSuccess`).then(res => { that.$u.get(`/app/bill/recharge/${dingobj}/bluetoothSuccess`).then(res => {
if (res.code == 200) { // if (res.code == 200) {
that.zhifuflag = true that.zhifuflag = true
console.log('蓝牙离线充值成功11') console.log('蓝牙离线充值成功11')
setTimeout setTimeout(() => {
(() => {
uni.navigateTo({ uni.navigateTo({
url: '/page_fenbao/dingdan?billId=' + that.billId url: '/page_fenbao/dingdan?billId=' + that.billId
}) })
}, },1000)
1000 // }
)
}
} }
) )
} }

View File

@ -61,7 +61,7 @@
</view> </view>
<view class="xiao"> <view class="xiao">
<view>套餐时长</view> <view>套餐时长</view>
<view>{{item.suitTime}}{{item.timeUnit == 3 ? '分钟' : '小时'}}</view> <view>{{item.suitTime}}{{item.suitTimeUnit == 3 ? '分钟' : '小时'}}</view>
</view> </view>
<view class="xiao"> <view class="xiao">
<view>合作伙伴信息</view> <view>合作伙伴信息</view>