Cooklalala hace 1 año
padre
commit
a4d141589b
Se han modificado 2 ficheros con 8 adiciones y 3 borrados
  1. 2 2
      orderPages/activityDetail/activityDetail.vue
  2. 6 1
      pages/index/index.vue

+ 2 - 2
orderPages/activityDetail/activityDetail.vue

@@ -198,7 +198,7 @@ export default {
     }
   },
   onLoad(e) {
-
+    console.log(e,'2222222222222')
     if(e.id){
       this.id = e.id
       console.log('上一个页面传递过来的活动ID===>',this.id)
@@ -212,7 +212,7 @@ export default {
       this.techNo = promotionParam.techNo
     }else {
       let storeParam = uni.getStorageSync('storeParam')
-      console.log('获取到门店的二维码数据',param)
+      // console.log('获取到门店的二维码数据',param)
       this.storeId = storeParam.storeId
     }
 

+ 6 - 1
pages/index/index.vue

@@ -81,6 +81,9 @@
 											<u-icon name="arrow-right" color="#333" size="16"></u-icon>
 										</view>
 									</view>
+<!--                  <view class="h-row" @click.stop="loginTimeOut">-->
+<!--                    登录超时-->
+<!--                  </view>-->
 									<view class="h-row">
 										<text class="address">地址:{{ storeInfo.address }}</text>
 										<text class="address1">{{storeInfo.distanceDesc}}</text>
@@ -390,7 +393,9 @@
 
 
 		methods: {
-
+      loginTimeOut(){
+        uni.setStorageSync('accessToken', '')
+      },
 			goQrCode() {
 				uni.navigateTo({
 					url: '/pages/qrCode/index'