HolyKnightIX 2 лет назад
Родитель
Сommit
ffc1840af4
2 измененных файлов: 9 добавлений и 1 удалений
  1. +7
    -1
      pages/index/searchbar/detail/index.js
  2. +2
    -0
      pages/specialcourtesy/specialcourtesy.wxss

+ 7
- 1
pages/index/searchbar/detail/index.js Просмотреть файл

@@ -258,12 +258,18 @@ Page({
url: config.api.checkPhoneStatus,
})
.then(res => {
// just a test
// setTimeout(() => {
// wx.redirectTo({
// url: `/pages/getphoneInfo/index?path=searchbarDetail&id=${that.data.id}`,
// })
// }, 2000);
})
.catch(err => {
if (err.code == 11005) {
// 手机号没有授权,将值传到用户手机号授权的页面
wx.redirectTo({
url: "/pages/getphoneInfo/index?path=searchbarDetail",
url: `/pages/getphoneInfo/index?path=searchbarDetail&id=${that.data.id}`,
})
} else {
wx.showToast({


+ 2
- 0
pages/specialcourtesy/specialcourtesy.wxss Просмотреть файл

@@ -2,12 +2,14 @@

page {
background: linear-gradient(180deg, #FD832D 0%, #FE4A16 100%);
padding-bottom: 0;
}

.codeBox {
background: linear-gradient(180deg, #FD832D 0%, #FE4A16 100%);
height: 100%;
overflow: auto;
padding-bottom: 160rpx;
}

.none {


Загрузка…
Отмена
Сохранить