							picture: this.swiperList[0],
							buynumber: this.buynum,
							price: this.detail.price,
							userid: localStorage.getItem("userid"),
							discountprice: this.detail.price
						}]))
						// 跳转到支付页面
						window.location.href = '../order/confirm-order.html';
					},
					
					getDetail(id){
						return new Promise((resolve) => {
							goodsInfo('zaixianxuanti',id, (res) => {
								var scripts = [
									"../../assets/js/relys/main.js"
								]
								this.detail = res.