| 
					
					
						
							
						
					
					
				 | 
				@ -9,23 +9,6 @@ | 
			
		
		
	
		
			
				 | 
				 | 
										<image mode="aspectFill" :src="item" style="width: 100%; height: 100%;" @click="lookImg(index)"></image> | 
				 | 
				 | 
										<image mode="aspectFill" :src="item" style="width: 100%; height: 100%;" @click="lookImg(index)"></image> | 
			
		
		
	
		
			
				 | 
				 | 
										<view class="seckill-box" v-if="type == 'seckill'"> | 
				 | 
				 | 
										<view class="seckill-box" v-if="type == 'seckill'"> | 
			
		
		
	
		
			
				 | 
				 | 
											<view>距离结束还剩余</view> | 
				 | 
				 | 
											<view>距离结束还剩余</view> | 
			
		
		
	
		
			
				 | 
				 | 
											<!-- <view v-if="$isRight(time)"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
												<countdown-timer :time="time" :autoStart="true" @finish="dateFinish"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
													<template v-slot="{day, hour, minute, second}"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
														<view class="lf-flex"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
															<view>{{ day }}</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
															<view>天</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
															<view>{{ hour >= 10 ? hour : "0" + hour }}</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
															<view>时</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
															<view>{{ minute >= 10 ? minute : "0" + minute }}</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
															<view>分</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
															<view>{{ second >= 10 ? second : "0" + second }}</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
															<view>秒</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
														</view> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
													</template> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
												</countdown-timer> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
											</view> --> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
											 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
											<view v-if="$isRight(seckill)"> | 
				 | 
				 | 
											<view v-if="$isRight(seckill)"> | 
			
		
		
	
		
			
				 | 
				 | 
												<countdown-time  | 
				 | 
				 | 
												<countdown-time  | 
			
		
		
	
		
			
				 | 
				 | 
													:day="seckill.seckill.end_left_time[0]"  | 
				 | 
				 | 
													:day="seckill.seckill.end_left_time[0]"  | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -34,7 +17,6 @@ | 
			
		
		
	
		
			
				 | 
				 | 
													:second="seckill.seckill.end_left_time[3]"> | 
				 | 
				 | 
													:second="seckill.seckill.end_left_time[3]"> | 
			
		
		
	
		
			
				 | 
				 | 
												</countdown-time> | 
				 | 
				 | 
												</countdown-time> | 
			
		
		
	
		
			
				 | 
				 | 
											</view> | 
				 | 
				 | 
											</view> | 
			
		
		
	
		
			
				 | 
				 | 
											 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
										</view> | 
				 | 
				 | 
										</view> | 
			
		
		
	
		
			
				 | 
				 | 
									</swiper-item> | 
				 | 
				 | 
									</swiper-item> | 
			
		
		
	
		
			
				 | 
				 | 
								</swiper> | 
				 | 
				 | 
								</swiper> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -187,7 +169,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
										<button class="btn" style="width: 349rpx;" @click="shoot(2)">立即秒杀</button> | 
				 | 
				 | 
										<button class="btn" style="width: 349rpx;" @click="shoot(2)">立即秒杀</button> | 
			
		
		
	
		
			
				 | 
				 | 
									</view> | 
				 | 
				 | 
									</view> | 
			
		
		
	
		
			
				 | 
				 | 
									<view v-else-if="type == 'point'"> | 
				 | 
				 | 
									<view v-else-if="type == 'point'"> | 
			
		
		
	
		
			
				 | 
				 | 
										<button class="btn" style="width: 349rpx;" @click="goExchange()">立即兑换</button> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										<button class="btn" style="width: 349rpx;">立即兑换</button> | 
			
		
		
	
		
			
				 | 
				 | 
									</view> | 
				 | 
				 | 
									</view> | 
			
		
		
	
		
			
				 | 
				 | 
									<view class="lf-flex" v-else> | 
				 | 
				 | 
									<view class="lf-flex" v-else> | 
			
		
		
	
		
			
				 | 
				 | 
										<button class="btn1" @click="shoot(1)">加入购物车</button> | 
				 | 
				 | 
										<button class="btn1" @click="shoot(1)">加入购物车</button> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -278,9 +260,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
								token: '', | 
				 | 
				 | 
								token: '', | 
			
		
		
	
		
			
				 | 
				 | 
								coupons: [], // 优惠 | 
				 | 
				 | 
								coupons: [], // 优惠 | 
			
		
		
	
		
			
				 | 
				 | 
								goods_num: 1, | 
				 | 
				 | 
								goods_num: 1, | 
			
		
		
	
		
			
				 | 
				 | 
								is_date_finish: false, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
								show_share: false, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
								shareImg: '' | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								is_date_finish: false | 
			
		
		
	
		
			
				 | 
				 | 
							} | 
				 | 
				 | 
							} | 
			
		
		
	
		
			
				 | 
				 | 
						}, | 
				 | 
				 | 
						}, | 
			
		
		
	
		
			
				 | 
				 | 
						computed: { | 
				 | 
				 | 
						computed: { | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -329,11 +309,6 @@ | 
			
		
		
	
		
			
				 | 
				 | 
							this.getGoodsStock(); // 获取商品库存、规格信息 | 
				 | 
				 | 
							this.getGoodsStock(); // 获取商品库存、规格信息 | 
			
		
		
	
		
			
				 | 
				 | 
						}, | 
				 | 
				 | 
						}, | 
			
		
		
	
		
			
				 | 
				 | 
						methods: { | 
				 | 
				 | 
						methods: { | 
			
		
		
	
		
			
				 | 
				 | 
							goExchange() { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
								if(this.showSpec == '请选择规格') { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
									this.shoot(3) | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
								} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							}, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							// 切换商品收藏 | 
				 | 
				 | 
							// 切换商品收藏 | 
			
		
		
	
		
			
				 | 
				 | 
							switchCollect(){ | 
				 | 
				 | 
							switchCollect(){ | 
			
		
		
	
		
			
				 | 
				 | 
								if(!this.token){ | 
				 | 
				 | 
								if(!this.token){ | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -406,7 +381,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
									} | 
				 | 
				 | 
									} | 
			
		
		
	
		
			
				 | 
				 | 
								} | 
				 | 
				 | 
								} | 
			
		
		
	
		
			
				 | 
				 | 
							}, | 
				 | 
				 | 
							}, | 
			
		
		
	
		
			
				 | 
				 | 
							// 跳转至下单页 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
							// 跳转至下单页TODO | 
			
		
		
	
		
			
				 | 
				 | 
							confirm(){ | 
				 | 
				 | 
							confirm(){ | 
			
		
		
	
		
			
				 | 
				 | 
								if(this.is_date_finish){ | 
				 | 
				 | 
								if(this.is_date_finish){ | 
			
		
		
	
		
			
				 | 
				 | 
									return this.$msg('活动已结束'); | 
				 | 
				 | 
									return this.$msg('活动已结束'); | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -474,6 +449,8 @@ | 
			
		
		
	
		
			
				 | 
				 | 
									delete par.product_id; | 
				 | 
				 | 
									delete par.product_id; | 
			
		
		
	
		
			
				 | 
				 | 
									par.seckill_goods_id = this.seckill.item_id; | 
				 | 
				 | 
									par.seckill_goods_id = this.seckill.item_id; | 
			
		
		
	
		
			
				 | 
				 | 
									par.seckill_item_id = this.seckill.id; | 
				 | 
				 | 
									par.seckill_item_id = this.seckill.id; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									par.price = this.seckill.seckill_price; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									par.total = this.goods_num; | 
			
		
		
	
		
			
				 | 
				 | 
								} | 
				 | 
				 | 
								} | 
			
		
		
	
		
			
				 | 
				 | 
								 | 
				 | 
				 | 
								 | 
			
		
		
	
		
			
				 | 
				 | 
								 | 
				 | 
				 | 
								 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -501,7 +478,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
									// 直接结算 | 
				 | 
				 | 
									// 直接结算 | 
			
		
		
	
		
			
				 | 
				 | 
									this.$cookieStorage.set('order_confirm', par); | 
				 | 
				 | 
									this.$cookieStorage.set('order_confirm', par); | 
			
		
		
	
		
			
				 | 
				 | 
									uni.hideLoading(); | 
				 | 
				 | 
									uni.hideLoading(); | 
			
		
		
	
		
			
				 | 
				 | 
									this.$url('/pages/order/confirm/confirm?goods_type=1'); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									this.$url('/pages/order/confirm/confirm'); | 
			
		
		
	
		
			
				 | 
				 | 
									// this.$http.post({ | 
				 | 
				 | 
									// this.$http.post({ | 
			
		
		
	
		
			
				 | 
				 | 
									// 	api: 'api/shopping/order/checkout', | 
				 | 
				 | 
									// 	api: 'api/shopping/order/checkout', | 
			
		
		
	
		
			
				 | 
				 | 
									// 	data: par, | 
				 | 
				 | 
									// 	data: par, | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -516,73 +493,50 @@ | 
			
		
		
	
		
			
				 | 
				 | 
									// 	} | 
				 | 
				 | 
									// 	} | 
			
		
		
	
		
			
				 | 
				 | 
									// 	uni.hideLoading() | 
				 | 
				 | 
									// 	uni.hideLoading() | 
			
		
		
	
		
			
				 | 
				 | 
									// }).catch(err => uni.hideLoading()) | 
				 | 
				 | 
									// }).catch(err => uni.hideLoading()) | 
			
		
		
	
		
			
				 | 
				 | 
								}else if(this.click_type == 3) { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
									// 直接结算 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
									this.$cookieStorage.set('order_confirm', par); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
									uni.hideLoading(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
									this.$url('/pages/order/confirm/confirm?goods_type=0'); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
								} | 
				 | 
				 | 
								} | 
			
		
		
	
		
			
				 | 
				 | 
							}, | 
				 | 
				 | 
							}, | 
			
		
		
	
		
			
				 | 
				 | 
							// 点击页面分享按钮 | 
				 | 
				 | 
							// 点击页面分享按钮 | 
			
		
		
	
		
			
				 | 
				 | 
							shareGraphic(){ | 
				 | 
				 | 
							shareGraphic(){ | 
			
		
		
	
		
			
				 | 
				 | 
								this.getShearImg(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								this.getCreateShareImg(); | 
			
		
		
	
		
			
				 | 
				 | 
							}, | 
				 | 
				 | 
							}, | 
			
		
		
	
		
			
				 | 
				 | 
							// 获取分享图片 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							getShearImg() { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  wx.showLoading({ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    title: "生成中", | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    mask: true | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  }); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  var token = this.token; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  this.$http.get({ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    api: 'api/distribution/createMiniShareImg', | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    header: { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      Authorization: token | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    }, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    data: { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      goods_id: this.goods_id | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    } | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  }).then(res => { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    if (res.statusCode == 200) { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      res = res.data; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      if (res.status) { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							        this.setData({ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							          shareImg: res.data.image | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							        }); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							        setTimeout(() => { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							            this.changeImg(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
									}, 100) | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      } else { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							        wx.showModal({ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							          content: res.message || '请求失败', | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							          showCancel: false | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							        }); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      } | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    } else { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      wx.showModal({ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							        content: '请求失败', | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							        showCancel: false | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      }); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    } | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
							//请求h5的图片接口 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
							getCreateShareImg(){ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								wx.showLoading({ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									title:"生成中", | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									mask:true | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								}) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								    let origin = window.location.origin; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									let share_url = origin+'/pages/store/detail/detail'; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								this.$http.get({ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									api:'api/distribution/createH5ShareImg', | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									data:{ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										goods_id:this.id, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										share_url:share_url  | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									} | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								}).then(res=>{ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									res = res.data; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									if(res.status){ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										this.qr_code_image = res.data.image; | 
			
		
		
	
		
			
				 | 
				 | 
							 | 
				 | 
				 | 
							 | 
			
		
		
	
		
			
				 | 
				 | 
							    wx.hideLoading(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    this.changeShare(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  }).catch(rej => { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    wx.showModal({ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      content: '内部错误', | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							      showCancel: false | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    }); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    wx.hideLoading(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    this.changeShare(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  }); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							}, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							// 弹出分享 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							changeShare() { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  this.setData({ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							    show_share: !this.show_share | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
							  }); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										if(this.qr_code_image){ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
											this.share_gaphic =!this.share_gaphic; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
											this.is_toggle_share = false; | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										} | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									} else{ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										wx.showModal({ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
											content: res.message || '请求失败,请重试', | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
											showCancel: false | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										}); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									} | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									wx.hideLoading() | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								}).catch(rej=>{ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									wx.hideLoading() | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									wx.showModal({ | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										content: rej.message || '内部错误,请重试', | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
										showCancel: false | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
									}); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								}) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								 | 
			
		
		
	
		
			
				 | 
				 | 
							}, | 
				 | 
				 | 
							}, | 
			
		
		
	
		
			
				 | 
				 | 
							// 商品详情 | 
				 | 
				 | 
							// 商品详情 | 
			
		
		
	
		
			
				 | 
				 | 
							getNewdetail(){ | 
				 | 
				 | 
							getNewdetail(){ | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -607,7 +561,6 @@ | 
			
		
		
	
		
			
				 | 
				 | 
										this.seckill = meta.seckill; | 
				 | 
				 | 
										this.seckill = meta.seckill; | 
			
		
		
	
		
			
				 | 
				 | 
										let currentDate = this.$shared.recordTime(); | 
				 | 
				 | 
										let currentDate = this.$shared.recordTime(); | 
			
		
		
	
		
			
				 | 
				 | 
										this.time = new Date(meta.seckill.ends_at).getTime() - new Date(currentDate).getTime() | 
				 | 
				 | 
										this.time = new Date(meta.seckill.ends_at).getTime() - new Date(currentDate).getTime() | 
			
		
		
	
		
			
				 | 
				 | 
										console.log("time", this.time, meta.seckill.ends_at, currentDate) | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
									} | 
				 | 
				 | 
									} | 
			
		
		
	
		
			
				 | 
				 | 
									if(type != 'point'){ | 
				 | 
				 | 
									if(type != 'point'){ | 
			
		
		
	
		
			
				 | 
				 | 
										this.getBrandDetail(goods_detail.brand_id); | 
				 | 
				 | 
										this.getBrandDetail(goods_detail.brand_id); | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |