xiaobin.zhang 2 年 前
コミット
459b87f598
1 ファイル変更19 行追加19 行削除
  1. 19 19
      pages/index/index.vue

+ 19 - 19
pages/index/index.vue

@@ -285,9 +285,9 @@
 		</view>
 		<!-- <footer-copyright v-if="logo"></footer-copyright> -->
 		<!-- <contact-button img-url="/static/pages/images/kfico1_1.png" class-name="contact_index" button-text="客服"></contact-button> -->
-		<view class="guide" @tap="hideGuide" v-if="first">
+		<!-- <view class="guide" @tap="hideGuide" v-if="first">
 			<image src="/static/pages/images/guide.png" mode="widthFix"></image>
-		</view>
+		</view> -->
 		<!-- <view class="placeholder-view" :style="'height:' + (bottomBlankHeight + 115) + 'rpx'"></view> -->
 		<foot channel="home" :isUpdate="isUpdate"></foot>
 
@@ -362,7 +362,7 @@
 				couponList: {}, //优惠券,
 				isUpdate: false,
 				// 是否更新消息
-				first: true,
+				// first: true,
 				//是否显示提示加入我的小程序
 				isLayerAd: true,
 				//广告
@@ -513,15 +513,15 @@
 				this.getRecommendCard(to)
 			});
 			// console.log('this.freshen=='+this.freshen)
-			let first = req.getStorage('first');
-			if (first !== false)
-				_ts.setData({
-					first: true
-				});
-			else
-				_ts.setData({
-					first: false
-				});
+			// let first = req.getStorage('first');
+			// if (first !== false)
+			// 	_ts.setData({
+			// 		first: true
+			// 	});
+			// else
+			// 	_ts.setData({
+			// 		first: false
+			// 	});
 		},
 
 		onUnload() {
@@ -910,13 +910,13 @@
 				}
 			},
 
-			hideGuide() {
-				//关闭提示加入我的小程序
-				this.setData({
-					first: false
-				});
-				req.setStorage('first', false);
-			},
+			// hideGuide() {
+			// 	//关闭提示加入我的小程序
+			// 	this.setData({
+			// 		first: false
+			// 	});
+			// 	req.setStorage('first', false);
+			// },
 
 			hideAd() {
 				//关闭广告