Browse Source

upload

soldDate
HolyKnightIX 2 years ago
parent
commit
51a441c22b
3 changed files with 19 additions and 3 deletions
  1. +7
    -0
      index/index.js
  2. +10
    -1
      pages/main/index.js
  3. +2
    -2
      project.config.json

+ 7
- 0
index/index.js View File

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

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

}, },






+ 10
- 1
pages/main/index.js View File

@@ -410,7 +410,15 @@ Page({
tt.redirectTo({ tt.redirectTo({
url: `/pages/index/searchbar/detail/index?id=${options.id}` 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 { } else {
console.log('/index/index');
// 主页 // 主页
tt.reLaunch({ tt.reLaunch({
url: '/index/index' url: '/index/index'
@@ -587,7 +595,8 @@ Page({
tt.navigateTo({ tt.navigateTo({
url: '/index/searchbar' url: '/index/searchbar'
}) })
} // 门店
}
// 首页
else if (app.globalData.type == 'scanIn') { else if (app.globalData.type == 'scanIn') {
tt.navigateTo({ tt.navigateTo({
url: `/index/index?type=in&tenantId=${options.tenantId}` url: `/index/index?type=in&tenantId=${options.tenantId}`


+ 2
- 2
project.config.json View File

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


Loading…
Cancel
Save