|
|
@@ -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}` |
|
|
|