避免从店铺进来就没有助购了

This commit is contained in:
2019-10-09 19:49:01 +08:00
parent 7787397ea0
commit 2a368763fb
8 changed files with 14 additions and 5 deletions

View File

@ -8,6 +8,8 @@ mui.plusReady(function() {
// var Intent = plus.android.importClass("android.content.Intent");
// //console.log(Intent)
//
var self = plus.webview.currentWebview();
from_id = self.from_id?self.from_id:0;
mui.ajax(ectUrl('app/Shops/getHome'), {
data: {
shopId: shopId
@ -129,7 +131,8 @@ mui.plusReady(function() {
height: '100%' //新页面高度默认为100%
},
extras: {
data_id: good_id
data_id: good_id,
from_id
// ..... //自定义扩展参数,可以用来处理页面间传值
},
createNew: false, //是否重复创建同样id的webview默认为false:不重复创建,直接显示