diff --git a/pages/index/index/index.js b/pages/index/index/index.js
index 2b747ba..f7a6153 100644
--- a/pages/index/index/index.js
+++ b/pages/index/index/index.js
@@ -87,7 +87,16 @@ Page({
},
onLoad: async function (tt) {
- var th = this;
+ // onLoad生命周期内判断
+ let obj = wx.getLaunchOptionsSync()
+ if (obj.scene === 1011 ||
+ obj.scene === 1047 ||
+ obj.scene === 1089 ||
+ obj.scene === 1038) {
+ this.setData({is_ok_h5:1})
+ }
+
+ var th = this;
var first_leader = tt.first_leader;
if (!first_leader && tt.scene) {
var first_leader_str = decodeURIComponent(tt.scene);
@@ -383,6 +392,7 @@ Page({
var json_d = JSON.parse(e.switch_list);
th.setData({ is_closecoupon: json_d.is_closecoupon })
th.setData({ is_topstore: json_d.is_show_storeselect })
+ th.setData({is_gz_h5:json_d.is_gz_h5})
}, 1)
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
@@ -616,14 +626,7 @@ Page({
});
}
})
-
-
-
-
-
-
-
-
+
//---调用信息---
// this.requestRecommend();
this.setData({
diff --git a/pages/index/index/index.wxml b/pages/index/index/index.wxml
index 2f75180..9bbd82c 100644
--- a/pages/index/index/index.wxml
+++ b/pages/index/index/index.wxml
@@ -1,9 +1,6 @@
-
-
-
跳过 {{sec_show}}
@@ -14,14 +11,17 @@
-
+
-
+
+
+
+
+
-
@@ -409,6 +409,9 @@
+
+
+
@@ -423,6 +426,8 @@
+
+