| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -41,7 +41,6 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        options.couponChannelId = this.data.newArr[1]; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        options.path = 'daping' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      //// 大屏-二维码-end  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      else if (this.data.newArr[0] == 't') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 普通二维码 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        options.type = this.data.newArr[1]; | 
		
		
	
	
		
			
				| 
				
					
				
				
					
				
				
				 | 
			
			 | 
			@@ -82,22 +81,18 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      data: {} | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      .then(res => { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        /** | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			         * 参与拼团 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			         */ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        //参与拼团 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if (options && options.orderGroupId) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: `/pages/joinFrDpell/index?couponId=${options.couponId}&orderGroupId=${options.orderGroupId}&couponChannelId=${options.couponChannelId}&orderId=${options.orderId}&avatarUrl=${options.avatarUrl}&nickName=${options.nickName}` | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          return; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        /** | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			         * 来自大屏的跳转拼团券详情 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			         */ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if (options && options.couponChannelId && options.path == 'daping') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        //来自大屏的跳转拼团券详情 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.couponChannelId && options.path == 'daping') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          /** | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			         * 主要是为了拿couponId | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			         */ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			           * 主要是为了拿couponId | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			           */ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          Http.get({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: config.api.couponDetail, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            data: { | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -111,26 +106,30 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          return; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if (options && options.couponChannelId && app.globalData.type == 'cd') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 跳转普通券/消费卡/限时秒杀/砍价详情 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 跳转普通券/消费卡/限时秒杀/砍价详情 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.couponChannelId) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: `/pages/coupon/detail/index?couponChannelId=${options.couponChannelId}`, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (options && options.couponChannelId && options.cuserId) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 转赠判断 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 转赠判断 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.couponChannelId && options.cuserId) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: `/pages/coupon/detail/index?couponChannelId=${options.couponChannelId}&cuserId=${options.cuserId}&coverImg=${options.coverImg}&userName=${options.userName}&avatarUrl=${options.avatarUrl}&couponOrderId=${options.couponOrderId}&updateDate=${options.updateDate}`, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (options && options.couponChannelId && app.globalData.type == 'sd') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 拼团详情页 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 拼团详情页(只有通过扫码进入才可能进入拼团详情页面,只有这一个入口) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.couponChannelId && app.globalData.type == 'sd') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: `/pages/spellGroup/mySpellGroup/index?couponChannelId=${options.couponChannelId}`, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (options && options.id && app.globalData.type == 'gm') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 游戏页面 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 游戏页面 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.id && app.globalData.type == 'gm') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          that.getGameOne(app.globalData.token, options.id) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (options && options.bt && options.id && app.globalData.type == 'bd') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 宣传页详情 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 宣传页详情 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.bt && options.id && app.globalData.type == 'bd') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          if (options.bt == '2') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            // 自由图文 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            wx.redirectTo({ | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -142,77 +141,104 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			              url: `/pages/bannerdetail/index?id=${options.id}`, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (options && options.id && app.globalData.type == 'td'){ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 专题 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.id && app.globalData.type == 'td'){ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: `/pages/topicDetail/index?id=${options.id}` | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.orderId && app.globalData.type == 'bg') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 参与砍价 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 参与砍价 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (options && options.orderId) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: `/pages/bargain/bargainDatail/bargainDatail?orderId=${options.orderId}&from=${"discount"}`, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'uc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 我的 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 我的 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'uc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.switchTab({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/user/index' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'pc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 停车 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'pc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 停车 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.switchTab({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/passCar/passCar' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'mc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 我的券包 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'mc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 我的券包 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/couponorder/index/index' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'mo') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 我的订单 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'mo') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 我的订单 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/order/index/index?id=all' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'ca') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 我的卡包 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'ca') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 我的卡包 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/cardorder/index/index' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'sc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 特享礼遇 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'sc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 特享礼遇 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/specialcourtesy/specialcourtesy' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'rb') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 限时秒杀 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'rb') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 限时秒杀 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/rushToBuy/index' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'bl') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 砍价专场 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'bl') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 砍价专场 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/bargain/bargain' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'mb') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 我的砍价 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'mb') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 我的砍价 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/bargain/bargain?from=myhtml' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'sl') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 拼团专场 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'sl') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 拼团专场 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/spellGroup/spellGroup' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'ms') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 我的拼团 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'ms') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 我的拼团 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/spellGroup/spellGroup?from=myhtml' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } else if (app.globalData.type == 'dc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 消费卡 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'dc') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 消费卡 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.redirectTo({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/discountCardList/discountCardList' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }  else if (app.globalData.type == 'ml') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }   | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        // 门店 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        else if (app.globalData.type == 'ml') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          // 门店 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          wx.switchTab({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            url: '/pages/index/searchbar/index' | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |