From 95be701567214e97e9fdcf7dbf5369b50e22a15e Mon Sep 17 00:00:00 2001 From: caolc <572275724@qq.com> Date: Tue, 12 Sep 2023 11:04:59 +0800 Subject: [PATCH] 1 --- .../pages/stationDetail/stationDetail.vue | 22 ++++--------- pages/index/startPage/startPage.vue | 33 +++++++++++-------- 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/BagStation/pages/stationDetail/stationDetail.vue b/BagStation/pages/stationDetail/stationDetail.vue index 1560538..7cbc916 100644 --- a/BagStation/pages/stationDetail/stationDetail.vue +++ b/BagStation/pages/stationDetail/stationDetail.vue @@ -96,33 +96,23 @@ - - + + + - + --> - - + diff --git a/pages/index/startPage/startPage.vue b/pages/index/startPage/startPage.vue index 65eba0b..8c6611a 100644 --- a/pages/index/startPage/startPage.vue +++ b/pages/index/startPage/startPage.vue @@ -100,19 +100,26 @@ }) interstitialAd.onError((err) => { setTimeout(() => { - if (key == '在线') { - uni.switchTab({ - url: '/pages/tabbar/home/home', - fail: (err) => { - console.log(err) - } - // url:'/BagStation/orderDetail/orderDetail' - }) - } else { - uni.redirectTo({ - url: '/BagAuth/pages/login/login' - }) - } + uni.switchTab({ + url: '/pages/tabbar/home/home', + fail: (err) => { + console.log(err) + } + // url:'/BagStation/orderDetail/orderDetail' + }) + // if (key == '在线') { + // uni.switchTab({ + // url: '/pages/tabbar/home/home', + // fail: (err) => { + // console.log(err) + // } + // // url:'/BagStation/orderDetail/orderDetail' + // }) + // } else { + // uni.redirectTo({ + // url: '/BagAuth/pages/login/login' + // }) + // } }, 2000) console.log('onError event emit', err) })