HolyKnightIX 2 лет назад
Родитель
Сommit
51a441c22b
3 измененных файлов: 19 добавлений и 3 удалений
  1. +7
    -0
      index/index.js
  2. +10
    -1
      pages/main/index.js
  3. +2
    -2
      project.config.json

+ 7
- 0
index/index.js Просмотреть файл

@@ -889,6 +889,13 @@ Page({
setTimeout(function () {
that.alphaClick1();
}, 8000)

setTimeout(() => {
that.getBannerlist();
that.getBusinessList()
that.getCouponChannelList(that.data.busineKye)
}, 1000)

},




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

@@ -410,7 +410,15 @@ Page({
tt.redirectTo({
url: `/pages/index/searchbar/detail/index?id=${options.id}`
});
}
// 通过扫码进入首页
else if (app.globalData.type == 'scanIn') {
console.log('scanIn!!!!!!!');
tt.navigateTo({
url: `/index/index?type=in&tenantId=${options.tenantId}`
})
} else {
console.log('/index/index');
// 主页
tt.reLaunch({
url: '/index/index'
@@ -587,7 +595,8 @@ Page({
tt.navigateTo({
url: '/index/searchbar'
})
} // 门店
}
// 首页
else if (app.globalData.type == 'scanIn') {
tt.navigateTo({
url: `/index/index?type=in&tenantId=${options.tenantId}`


+ 2
- 2
project.config.json Просмотреть файл

@@ -17,7 +17,7 @@
"projectname": "tt富茂C",
"condition": {
"miniprogram": {
"current": 1678330099779,
"current": 1678428610317,
"list": [
{
"id": 1678508631604,
@@ -32,7 +32,7 @@
"id": 1678428610317,
"name": "index/index",
"pathName": "pages/main/index",
"query": "type=in&tenantId=1033",
"query": "type=scanIn&tenantId=1032",
"scene": "990001",
"launchFrom": "scan",
"location": "qr_code"


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