订单相关修改提测

This commit is contained in:
GaoHao
2024-09-09 11:08:04 +08:00
parent c2ff506543
commit 2dbcdf4300
45 changed files with 1377 additions and 3506 deletions

View File

@@ -53,7 +53,6 @@
},
watch: {
forceUpdate(val,oldval) {
console.log(val,oldval)
// 在 forceUpdate 改变时执行更新操作
let time = uni.cache.get('popUpTime') ? new Date().getTime() - uni.cache.get('popUpTime') : 1000;
if ( time >= 1000 ) {
@@ -62,9 +61,9 @@
}
}
},
},
mounted () {
// if (uni.cache.get('shopUser') && uni.cache.get('token')) {
// if (uni.cache.get('shopId') && uni.cache.get('token')) {
// }
},
@@ -94,7 +93,7 @@
*/
async getPopUpAd () {
let res = await this.api.getPopUpAd({
shopId: uni.cache.get('shopUser')
shopId: uni.cache.get('shopId')
})
if (res.code == 0) {
this.popupadList = [];
@@ -141,6 +140,7 @@
// updateTime
}
this.viewswiperShow = false;
if ( this.popupadList.length > 0 ) {
this.viewswiperShow = true;
}