update 修复二维码

This commit is contained in:
qijq 2025-08-18 17:55:55 +08:00
parent 6032cfc13d
commit 0344e669b4
2 changed files with 9 additions and 3 deletions

View File

@ -47,7 +47,7 @@ export default {
else if (options.query.store_id || options.store_id) { else if (options.query.store_id || options.store_id) {
sceneParams = `store_id=${options.query.store_id}`; sceneParams = `store_id=${options.query.store_id}`;
} }
// //
if (sceneParams) { if (sceneParams) {
wx.navigateTo({ wx.navigateTo({

View File

@ -905,17 +905,23 @@ export default {
}, },
initStorePageData: function (options) { initStorePageData: function (options) {
var that = this; var that = this;
that.$.showLoading(); that.$.showLoading();
//that.commonTPL //that.commonTPL
that.$set(that.commonTPL, "istop", false); that.$set(that.commonTPL, "istop", false);
that.$set(that.commonTPL, "pdlist", []); that.$set(that.commonTPL, "pdlist", []);
if(options.scene){
const decodedParam = decodeURIComponent(options.scene);
const [key, value] = decodedParam.split('=');
options.store_id = value;
}
this.setData({ this.setData({
options: options, options: options,
distance: options.d || 0, distance: options.d || 0,
store_id: options.store_id || 1001, store_id: options.store_id ||1001 ,
}); });
var w = that.$.getSystemInfoSync().windowWidth; var w = that.$.getSystemInfoSync().windowWidth;