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) {
sceneParams = `store_id=${options.query.store_id}`;
}
//
if (sceneParams) {
wx.navigateTo({

View File

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