| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347 | <template><view class="box">	<view class="spwBox">		<swiper class="swiper" circular  :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#EC0F0A">			<swiper-item v-for="(item,index) in info.ImgList">				<view class="swiper-item">					<img mode="aspectFit" :src="item.url" alt="" class="swiper-itemImg" v-if="item.bizType==1">					<video :loop="false" :src="item.url" v-if="item.bizType==2" show-fullscreen-btn controls style="width: 100%;height: 100%;"></video>				</view>			</swiper-item>					</swiper>	</view>	<view class="shopCont">		<view style="display: flex;padding-left: 24rpx;" v-if="info.saleLabel">			<view  class="biaoqian">{{info.saleLabel}}</view>		</view>				<view class="shopCtop">			<view class="goodsPrice">				<!-- <view class="goodsPrice1" >{{info.saleLabel}}</view> -->				<view class="goodsPrice2">¥</view>				<view class="goodsPrice3">{{info.salePrice?info.salePrice:info.scribingPrice}}				 <span v-if="info.categoryIds=='7B97D114-C419-42B2-9C1E-0B4CA284CDA0'">万</span>				</view>				<view class="goodsPrice4" v-if="info.showLabel&&info.scribingPrice&&info.showLabel.indexOf('1')!=-1">¥{{info.scribingPrice}}</view>			</view>			<view class="shareBoxNew"  @click="sharewx">				<view class="shareTxt">分享</view>				<image class="shareIcon" src="../../static/timg/share.png" mode=""></image>			</view>		</view>				<view class="goodsName">{{info.name}}</view>		<view style="display: flex;justify-content: space-between;padding-right: 24rpx;">			<view class="goodsMd" ><span v-if="info.sellingPoint">{{info.sellingPoint}}</span> </view>			<view class="Sold" v-if="info.showLabel&&info.showLabel.indexOf('3')!=-1">已售 <span style="color: #FFC107;">{{info.saleQty>0?info.saleQty:0}}</span> </view>		</view>		<view class="goodsMSBox" v-if="info.detailSellingLabel">			<view class="goodsMs" v-for="(item,index) in info.detailSellingLabel.split(',')">{{item}}</view>		</view>		<view style="padding-left: 24rpx;padding-bottom: 20rpx;">			<view class="Sold" v-if="info.showLabel&&info.showLabel.indexOf('2')!=-1">库存 <span style="color: #FFC107;">{{info.qty>0?info.qty:0}}</span> </view>		</view>		</view>		<view class="modeBox">		<view class="modeline">			<view class="modelineLeft">配送方式</view>			<view class="modeLineRight">{{info.distributionType==1?'到店取货':'到店使用'}}</view>		</view>		<view class="modeline" v-if="info.oneQty">			<view class="modelineLeft">限购数量</view>			<view class="modeLineRight" >{{info.oneQty}}</view>		</view>		<view class="modeline" v-if="info.afterService">			<view class="modelineLeft">售后服务</view>			<view class="modeLineRight">{{info.afterService}}</view>		</view>	</view>	<!-- 服务流程 -->	<!-- <view class="fuwuliucBox" v-if="info.showLabel&&info.showLabel.indexOf('4')!=-1">		<view class="fwlcTitle">服务流程</view>		<view class="fwlcxian">			<view class="fwlcyuan"></view>			<view class="fwHx"></view>			<view class="fwlcyuan"></view>			<view class="fwHx"></view>			<view class="fwlcyuan"></view>			<view class="fwHx"></view>			<view class="fwlcyuan"></view>		</view>		<view class="fwTxt">			<view class="fwTxtline">选择商品</view>			<view class="fwTxtline">选择门店</view>			<view class="fwTxtline">在线支付</view>			<view class="fwTxtline">到店服务</view>		</view>	</view> -->	<!-- 购买流程-->	<view class="gmlc">		 <view class="gmlcTitle">购买流程</view>		 <view>			 <image class="gmlcImg" src="http://dmsphoto.66km.com.cn/thFiles/0BF3F1DB-8B56-488A-9BCB-663517985E9A.png" mode="widthFix"></image>		 </view>	</view>	<!-- 套餐内容 -->	<view class="mealBox" v-if="info.bizType==3">		<view class="fwlcTitle">套餐内容</view>		<view class="mealLine" v-if="info.itemPackTimesDetails">			<view class="mealTop">				<view class="mealName">项目名称</view>				<view class="mealTopRight">					<view>数量</view>					<view style="padding-left: 60rpx;">有效期</view>				</view>			</view>			<view class="itemlinebOX">				<view class="itemline" v-for="(item,index) in info.itemPackTimesDetails">					<view class="itemname">{{item.flowName}}</view>					<view>{{item.flowQty}}</view>					<view class="expireNumber" v-if="item.expireNumber">{{item.expireNumber}}个月</view>					<view class="expireNumber" v-else>永久</view>				</view>			</view>		</view>		<view class="mealLine" v-if="info.goodsPackTimesDetails">			<view class="mealTop">				<view class="mealName">商品名称</view>				<view class="mealTopRight">					<view>数量</view>					<view style="padding-left: 60rpx;">有效期</view>				</view>			</view>			<view class="itemlinebOX">				<view class="itemline" v-for="(item,index) in info.goodsPackTimesDetails">					<view class="itemname">{{item.flowName}}</view>					<view>{{item.flowQty}}</view>					<view class="expireNumber" v-if="item.expireNumber">{{item.expireNumber}}个月</view>					<view class="expireNumber" v-else>永久</view>				</view>			</view>		</view>	</view>	<!-- 商品详情 -->	<view class="goodsDetail" v-if="info.details">		<view class="goodsDetailTitle">商品详情</view>		<!-- <view v-html="info.details" style="background: #fff;"></view> -->		 <rich-text :nodes="info.details" style="background: #fff;"></rich-text>	</view>	<view style="height: 200rpx;padding-bottom: env(safe-area-inset-bottom)"></view>	<view class="bottomHz">		<view class="timeTbox" v-if="!activityEnd">		  <view class="timeK">{{shengyuD}}</view>		  <view class="timeviewTxt" > 天</view>		  <view class="timeK">{{shengyuH}}</view>		  <view class="timeviewTxt"> 时</view>		  <view class="timeK">{{shengyuM}}</view>		  <view class="timeviewTxt" > 分    后结束抢购</view>		</view>		<view class="timeTbox2" v-if="activityEnd"></view>		<view class="bottomBox">			<view class="bottomImgBox" @click="goINdex">				<image src="../../static/timg/home.png" mode="" class="bottomImg"></image>				<view class="bottomTxt">首页</view>			</view>			<!-- <view class="bottomImgBox" style="margin-left: 20rpx;" @click="sharewx">				<image src="../../static/timg/share.png" mode="" class="bottomImg"></image>				<view class="bottomTxt">分享</view>			</view> -->			<!-- <button open-type="share" class="bottomImgBox shareBtn" >				<image src="../../static/timg/share.png" mode="" class="bottomImg"></image>				<view class="bottomTxt">分享</view>			</button> -->			<view class="bottomBtn commonBtn"   @click="ljbuy" v-if="!activityEnd&&info.goodsDownTime&&info.goodsState==1">立即购买</view>			<view class="bottomBtn commonBtn"  @click="ljbuy" v-if="activityEnd&&!info.goodsDownTime&&info.goodsState==1">立即购买</view>						<view class="bottomBtn2"  v-if="activityEnd&&info.goodsDownTime&&info.goodsState!=2">抢购结束</view>			<view class="bottomBtn2"  v-if="info.goodsState==2">商品已下架</view>		</view>	</view>		<!-- 立即购买 -->	<view class="buyBox" v-if="buyShow" @click="buyShow=false">		<view class="buyCont" @click.stop="">			<image src="../../static/timg/chahao.png" mode="" class="buyContCh" @click="buyShow=false"></image>			<view class="goodsBox">				<view class="hotGoodsLine" >					<view>						<image :src="info.ImgList[0].url" mode="" v-if="info.ImgList.length>0" class="hotGoodsLineImg"></image>					    <image src="../../static/timg/noimg.png"  class="hotGoodsLineImg" v-else></image>					</view>					<view class="hotGoodsLineRIght">						<view class="goodsName2">{{info.name}}</view>						<div style="display: flex;">							<view class="biaoqian2" v-if="info.saleLabel">{{info.saleLabel}}</view>						</div>											    						<view style="display: flex;justify-content: space-between;">							<view class="goodsPrice">								<view class="goodsPrice22">¥</view>								<view class="goodsPrice33">{{info.salePrice?info.salePrice:info.scribingPrice}}								 <span v-if="info.categoryIds=='7B97D114-C419-42B2-9C1E-0B4CA284CDA0'">万</span>								</view>								<view class="goodsPrice44" v-if="info.showLabel&&info.scribingPrice&&info.showLabel.indexOf('1')!=-1">¥{{info.scribingPrice}}</view>							</view>													    <view class="Sold" style="padding-top: 18rpx;" v-if="info.showLabel&&info.showLabel.indexOf('3')!=-1">						    	已售 {{info.saleQty>0?info.saleQty:0}}</view>						</view>					</view>				</view>			</view>			<view class="buyNumBox">				<view class="bugNUm">					<view class="bugNUmLeft">						<view class="buySl">数量</view>						<view class="buyXg" v-if="info.oneQty">限购{{info.oneQty}}件</view>					</view>					<view class="numJsbox">						<view class="numJj" @click="calculation(1)">-</view>						<view class="goodsnum">						 <input type="number" value="" v-model="goodsnum" class="goodsnumInput"/>						</view>						<view class="numJj" @click="calculation(2)">+</view>					</view>				</view>				<view class="buySHop" @click="ckShop">					<view>服务门店</view>					<view class="buyShopRight" >						<view v-if="shopInfo.shopId">切换门店</view><!-- {{shopInfo.shopName}} -->						<view v-else>请选择</view>						<image src="../../static/timg/icon_arrow_right.png" mode="" class="buyShopRightJt"></image>					</view>				</view>						<view class="buyShopBox" v-if="shopInfo.shopId">				<view class="buyShop">							<view class="buyShopTop">								<view class="buyShopTleft">									<!-- <view class="shopbq">距离最近</view> -->									<view class="buyshopName">{{shopInfo.shopName}}</view>								</view>								<view class="buyShopTRgiht">																	<image src="/static/timg/icon_checked@2x.png" mode="" class="duihao"></image>								</view>							</view>							<view class="buyShopCont">								<image :src="shopInfo.doorImg1" v-if="shopInfo.doorImg1" mode="" class="buyShopContImg"></image>								<image :src="shopInfo.doorImg2" v-else-if="shopInfo.doorImg2" mode="" class="buyShopContImg"></image>								<image src="/static/timg/noimg.png" v-else class="buyShopContImg"></image>								<view class="buyShopContAdress">									<span v-if="shopInfo.provinceName">{{shopInfo.provinceName}}</span> 									<span v-if="shopInfo.cityName">{{shopInfo.cityName}}</span> 									<span v-if="shopInfo.areaName">{{shopInfo.areaName}}</span> 								    <span v-if="shopInfo.address">{{shopInfo.address}}</span> 								</view>								<view class="buyShopJl" v-if="shopInfo.distance&&shopInfo.distance!= '0.00'">{{shopInfo.distance}}km</view>							</view>						</view>			</view>			<view v-else class="nobuyShopBox"></view>			</view>									<view class="buybtnBox">				<!-- 1上家 2下架 GoodsState -->				<view v-if="info.goodsState!=2" class="buyBtn commonBtn" @click="goBuy" >立即购买</view>				<view v-else class="buyBtn2"  >商品已下架</view>			</view>					</view>	</view>		<!-- 手机号授权 -->	<view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">		<view class="authorizCont" @click.stop="">			<view class="authorizName">{{wxOpenData.miniAppName}}</view>			<view class="authorizMs">未注册的手机号登录后将自动创建会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>			<button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>		</view>		<view style="text-align: center;padding-top: 56rpx;">			<image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>		</view>	</view><!-- 	<view :style="{color:colorX}">asdfas</view> -->   <view class="shareBox" v-if="shareShow" @click="shareShow=false">	   <img :src="shareQrCode" alt=""style="width: 300rpx;height:300rpx">   	 <view class="shareCont" @click.stop="">		 <button open-type="share" class=" shareBtn" >		 	<image src="../../static/timg/icon_wxhy.png" mode="" class="shareBimg"></image>		 	<view class="bottomTxtshare">分享</view>		 </button>		 <view @click="gowp">			 <img src="../../static/timg/icon_haibao.png" alt="" class="shareBimg">			 <view class="bottomTxtshare">生成海报</view> 		 </view>	 </view>   </view></view></template><script>	export default {		components: {					},		data() {			return {				userInfo:'',				goodsnum:1,				buyShow:false,				id:'',				info:'',				shopInfo:{					shopName:'',					shopId:''				},				authorizShow:false,				code:'',				wxOpenData:'',				categoryIds:'',				thenShow:false,				activityEnd:true,				shengyuD:1,				shengyuH:12,				shengyuM:21,				shareShow:false,				ext:'',				shareId:'',				shareQrCode:'',				scene:'',				themeColor:'',			}		},		onLoad(opt) {			var ext=this.$common.getExtStoreId();			this.ext=ext			this.id=opt.id;			if(opt.shareId){				this.shareId=opt.shareId			}					//this.userInfo = uni.getStorageSync("userInfo");			this.userInfo=this.$store.state.userInfo;			this.ext=this.$common.getExtStoreId();			//opt.scene='10003'			console.log(opt)			if(this.userInfo){				this.themeColor = uni.getStorageSync("themeColor");				this.wxOpenData=this.$store.state.wxOpenData;				if(opt.scene&&opt.scene!='undefined'){					this.scene=opt.scene;					this.getShareParams()				}else{					this.openGoodsDetailById();				}							}else{				this.$common.automaticlogin().then(val => {					this.userInfo=this.$store.state.userInfo;					this.wxOpenData=this.$store.state.wxOpenData;					this.themeColor = uni.getStorageSync("themeColor");					if(opt.scene&&opt.scene!='undefined'){						this.scene=opt.scene;						this.getShareParams()					}else{						this.openGoodsDetailById();					}				})			}											},		onShow() {			this.shopInfo=this.$store.state.ckshopInfo;						//console.log(this.shopInfo)		},		onPullDownRefresh(){			this.openGoodsDetailById();			setTimeout(() => {					uni.stopPullDownRefresh(); // 关闭下拉刷新 			}, 2000);		},		methods: {			getShareParams(){				this.$http('openMall/getShareParams', {				  scene:this.scene,				 },'GET').then(res => {					 this.id=res.data.goodsID;					 this.shareId=res.data.operatorID					 this.openGoodsDetailById();				 })			},			gowp(){				//  uni.scanCode({				//  	success: function (res) {				//  		console.log('条码类型:' + res.scanType);				//  		console.log(res)				//  	}				//  });				// return false				var time=''				if(this.info.goodsDownTime){					var time = this.info.createTime.slice(0,10) + '~' +this.info.goodsDownTime.slice(0,10)				}else{									}				this.shareShow=false;				uni.navigateTo({					url:'wp?img='+this.info.ImgList[0].url+'&name='+this.info.name+'&time='+time+'&sellingPoint'+this.info.sellingPoint+'&id='+this.id				})			},			sharewx(){				this.shareShow=true;			},			ckShop(){				uni.navigateTo({					url:'ckshopList?goodsId='+this.id				})			},			openGoodsDetailById(){				this.$http('openMall/openGoodsDetailById', {				  id:this.id,				  GoodsID:this.id,				 },'GET').then(res => {						this.info=res.data;						if(this.info.details){							this.info.details = this.info.details.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ');						}						this.shopInfo='';						this.$store.commit('mutationsckshopInfo', '')						//this.szShop()						if(this.info.goodsDownTime){							if (Number(new Date().getTime()) > (Number(new Date(this.info.goodsDownTime.replace(/-/g, '/')).getTime()) || 0)) {							  console.log("现在时间大于结束时间")							   this.activityEnd = true							} else {								this.activityEnd=false;								//this.info.goodsDownTime="2022-08-18 11:57:00"								this.clock()							 							}													}										 })			},			clock(){								let _this = this				let today = new Date() // 当前时间				let h = today.getHours()				let m = today.getMinutes()				let s = today.getSeconds()				let stopTime = new Date(_this.info.goodsDownTime.replace(/-/g, '/')) // 结束时间				if (Number(new Date().getTime()) >(Number(new Date(this.info.goodsDownTime.replace(/-/g, '/')).getTime()) || 0) ) {				  this.activityEnd = true				  return false;				}											let stopH = stopTime.getHours()				let stopM = stopTime.getMinutes()				let stopS = stopTime.getSeconds()				let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数				let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天				let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数				let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时				let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数				let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟				let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数				let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒											this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'				// setTimeout("clock()",500);				this.shengyuM=shengyuM;				this.shengyuD=shengyuD;				this.shengyuH=shengyuH;				setTimeout(_this.clock, 500)			},			ljbuy(){				if(!this.userInfo){					this.authorizShow=true				}else{					this.buyShow=true				}						},			szShop(){				if(this.userInfo){					this.$http('openMall/openStoreList', {					    goodsId:this.id,						// lat: '',						// lng: '',					}, 'GET').then(res => {												var queryShopList = res.data						//console.log('list+=', this.queryShopList);					   queryShopList.forEach(item=>{						   if(item.shopId==this.info.shopId){							   var item={							   	shopId:this.info.shopId,							   	shopName:this.info.shopName							   }							   this.shopInfo=item							   this.$store.commit('mutationsckshopInfo', item)						   }					   })					})				}							},			goINdex(){				uni.switchTab({					url:'../index/index'				})			},			goBuy(){				if(!this.shopInfo.shopId){					uni.showToast({						title: '请选择服务门店',						icon: 'none',						duration: 3000					});					return false;				}				if(this.info.oneQty){					if(this.goodsnum>this.info.oneQty){						uni.showToast({							title: '超过限购数量',							icon: 'none',							duration: 3000						});						return false;					}				}				var that=this;				uni.setStorage({					key: 'goodsDetail',					data: that.info,					 success: function () {					   uni.navigateTo({					   	url:'confirm?itemQty='+that.goodsnum+'&shopID='+that.shopInfo.shopId+'&shopName='+that.shopInfo.shopName+'&shareId='+that.shareId					   })					 }				}); 							},			calculation(type){				if(type==1){					if(this.goodsnum>1){						this.goodsnum--					}				}else{					console.log("+++")					if(this.info.oneQty!=null){						if(this.info.oneQty>this.goodsnum){							this.goodsnum++						}					}else{						this.goodsnum++					}									}			},			decryptPhoneNumber: function(e) {			  console.log(e);			  this.code=e.detail.code			  this.wxPhoneLogin()			  this.authorizShow=false;			},			wxPhoneLogin(){					 var that=this;					 this.$http('miniApp2/sys/wxPhoneLogin', {					   appId:this.ext.appId,					   unionId:this.ext.unionId,					   code:this.code,					   openId:this.wxOpenData.openid					  },'POST').then(res => {						var data = res.data;						if(data.loginInfo){							this.userInfo=data.loginInfo.openUser;							this.wxOpenData=data.loginInfo;							this.$store.commit('mutationswxOpenData', data)							this.$store.commit('mutationsuserInfo', this.userInfo)						    //this.szShop()						}						  })			},					},		onShareAppMessage(res) {			var img='';			if(this.info.ImgList.length>0){				img=this.info.ImgList[0].url			}			return {				title: this.info.name,				imageUrl:img,				path: 'pages/shop/goodsDetail?id=' + this.id+'&shareId='+this.userInfo.openId,				success(res){					uni.showToast({						title:'分享成功'					})				},				fail(res){					uni.showToast({						title:'分享失败',						icon:'none',						duration: 3000					})				}			}		},	}</script><style scoped lang="less">	.shareBtn{		/* width: 100rpx; */		background: #F4F5F7;	}.shareBimg{	width: 102rpx;	height: 102rpx;}.bottomTxtshare{	color: #333333;	font-size: 22rpx;	padding-top: 20rpx;}.shareBox{	width: 100%;	height: 100vh;	background: rgba(0, 0, 0, 0.5);	position: fixed;	left: 0;	bottom: 0;	z-index: 11;}.shareCont{	width: 100%;	background: #F4F5F7;	position: absolute;	left: 0;	bottom: 0;	display: flex;	justify-content: space-around;	padding: 50rpx 0;	border-radius: 40rpx 40rpx 0px 0px;}.timeTbox{		width: 750rpx;		height: 60rpx;		background:#FFF5F0;		border-radius: 24rpx 24rpx 0px 0px;		border: 1px solid #EFE1D5;		display: flex;		justify-content: center;		font-size: 24rpx;		font-family: PingFangSC-Regular, PingFang SC;		font-weight: 400;		color: #764D49;		}	.timeTbox2{		height: 60rpx;	}	.timeviewTxt{			line-height: 41rpx;			padding-top: 10rpx;	}	.timeDivTxt{		line-height: 60rpx;		padding: 0 10rpx;	}	.timeK{		height: 41rpx;		line-height: 41rpx;		color: #FFFFFF;		width: 41rpx;		text-align: center;		background: #EC0F0A;		border-radius: 6rpx;		margin-top: 9rpx;		margin-left: 15rpx;		margin-right: 15rpx;	}	.bottomHz{		width: 750rpx;		/* height: 180rpx; */		position: fixed;left: 0;		bottom: 0;				border-radius: 24rpx 24rpx 0px 0px;	}.box{	background: #F4F5F7;	min-height: 100vh;}.buySHop{	display: flex;	justify-content: space-between;	font-size:28rpx ;	color: #666666;	padding-top: 30rpx;}.buybtnBox{	width: 750rpx;	height: 120rpx;	background: #FFFFFF;	box-shadow: 0px -2px 10px 0px rgba(153,153,153,0.2000);	padding-top: 20rpx;}.buyBox{	width: 750rpx;	height: 100vh;	position: fixed;	left: 0;	top: 0;	background: rgba(0,0,0,0.5);	}.buyBtn{	width: 690rpx;	height: 74rpx;	background: #EC0F0A;	border-radius: 37rpx;	text-align: center;	line-height: 74rpx;	color: #FFFFFF;	font-size: 30rpx;	margin-left: 30rpx;}.buyBtn2{	width: 690rpx;	height: 74rpx;	background: #EC0F0A;	border-radius: 37rpx;	text-align: center;	line-height: 74rpx;	color: #FFFFFF;	font-size: 30rpx;	margin-left: 30rpx;}.buyShopRightJt{	width: 12rpx;	height: 20rpx;	margin-top: 8rpx;	margin-left: 10rpx;}.buyShopRight{	display: flex;}.bugNUm{	border-top: 1px solid #EEEEEE;	border-Bottom: 1px solid #EEEEEE;	padding: 28rpx 0;	display: flex;	justify-content: space-between;}.buyXg{	min-width: 110rpx;	height: 36rpx;	border-radius: 4rpx;	border: 1px solid #F19D01;	text-align: center;	line-height: 36rpx;	color: #F19D01;	font-size: 24rpx;}.numJj{	width: 60rpx;	height: 44rpx;	background: #F4F5F7;	border-radius: 0px 6rpx 6rpx 0px;		text-align: center;	line-height: 44rpx;	font-size: 32rpx;	color: #999999;}.bugNUmLeft{	display: flex;}.buySl{	color: #666666;font-size: 28rpx;padding-right: 30rpx;}.goodsnum{	width: 80rpx;	height: 44rpx;	background: #F4F5F7;	line-height: 44rpx;	text-align: center;	font-weight: 500;	color: #333333;	font-size: 24rpx;	margin: 0 4rpx;}.goodsnumInput{	width: 80rpx;	height: 44rpx;	background: #F4F5F7;	line-height: 44rpx;	text-align: center;	font-weight: 500;	color: #333333;	font-size: 24rpx;}.numJsbox{	display: flex;}.buyCont{	position: absolute;	left: 0;	bottom: 0;	width: 750rpx;	height: 850rpx;	background: #FFFFFF;	border-radius: 26rpx 26rpx 0px 0px;}.buyNumBox{	padding: 30rpx;    padding-top: 10rpx;	/* padding-bottom: 70rpx; */}.buyContCh{	position: absolute;	top: 53rpx;	right: 36rpx;	width: 36rpx;	height: 36rpx;}.hotGoodsLine{		margin-top: 30rpx;		padding: 20rpx;		background: #FFFFFF;		border-radius: 16rpx;		display: flex;	}	.hotGoodsLineImg{		width: 208rpx;		height: 194rpx;		border-radius: 16rpx;		border: 1px solid #EEEEEE;	}	.goodsName2{		font-size: 28rpx;		font-family: PingFangSC-Regular, PingFang SC;		font-weight: 400;		color: #333333;		line-height: 40rpx;		text-overflow: -o-ellipsis-lastline;		overflow: hidden;						text-overflow: ellipsis;				display: -webkit-box;					-webkit-line-clamp: 2;				line-clamp: 2;							-webkit-box-orient: vertical;		min-height: 80rpx;		width: 370rpx;	}	.hotGoodsLineRIght{		padding-left: 24rpx;		width: 450rpx;	}	.goodsPrice{		display: flex;		padding-top: 10rpx;	}	.goodsPrice11{		font-size: 24rpx;		font-weight: 400;		color: #EC0F0A;		padding-top: 8rpx;		padding-right: 10rpx;	}	.goodsPrice22{		font-size: 22rpx;		font-weight: 400;		color: #EC0F0A;		padding-top: 8rpx;			}	.goodsPrice33{		font-size: 32rpx;		font-weight: 500;		color: #EC0F0A;	}	.goodsPrice44{		font-size: 24rpx;		font-weight: 400;		color: #999999;		padding-top: 8rpx;		padding-left: 5rpx;		text-decoration:line-through;	}	.bottomBox{	width: 750px;	height: 120rpx;	background: #FFFFFF;	box-shadow: 0px -2px 10px 0px rgba(153,153,153,0.2000);	padding-bottom: env(safe-area-inset-bottom);	background: #FFFFFF;	display: flex;	}.bottomTxt{	color: #666666;font-size: 22rpx;}.bottomImg{	width: 48rpx;height: 48rpx;}.bottomImgBox{	text-align: center;	padding-top: 20rpx;	padding-left: 60rpx;}button::after{ 	border: none;}button{	position: relative;	display: block;	margin-left: 0;	margin-right: 0;	padding-left: 0px;	padding-right: 0px;	box-sizing: border-box;	// font-size: 18px;	text-align: center;	text-decoration: none;	// line-height: 1;	line-height: 1.35;	// border-radius: 5px;	-webkit-tap-highlight-color: transparent;	overflow: hidden;	color: #000000;	background-color: #fff;		height: 100%;	}.bottomBtn{	width: 530rpx;	height: 74rpx;	background: #EC0F0A;	border-radius: 37rpx;	line-height: 74rpx;	text-align: center;	color: #FFFFFF;	font-size: 30rpx;	margin-top: 23rpx;	margin-left: 80rpx;}.bottomBtn2{	width: 530rpx;	height: 74rpx;	background: #DDDDDD;	border-radius: 37rpx;	line-height: 74rpx;	text-align: center;	color: #FFFFFF;	font-size: 30rpx;	margin-top: 23rpx;	margin-left: 80rpx;}.goodsDetailTitle{	    font-size: 26rpx;	    color: #666E80;	background: #FFFFFF;	padding: 20rpx 24rpx;	padding-left: 0;}.goodsDetail{	margin-top: 20rpx;	padding-bottom: 30rpx;	background: #FFFFFF;	font-size: 26rpx;	padding-left: 24rpx;	padding-right: 24rpx;}.goodsDetail img{	width: 750rpx;}.goodsDetail image{	width: 750rpx;}.mealBox{	background: #FFFFFF;	padding: 20rpx 24rpx;	margin-top: 20rpx;}.mealTopRight{	display: flex;	}.mealLine{	margin-top: 20rpx;	}.itemname{	width: 441rpx;	text-overflow: -o-ellipsis-lastline;	overflow: hidden;					text-overflow: ellipsis;			display: -webkit-box;				-webkit-line-clamp: 2;			line-clamp: 2;						-webkit-box-orient: vertical;}.itemline{	display: flex;	padding: 10rpx 20rpx;	justify-content: space-between;	line-height: 37rpx;	font-size: 26rpx;	color: #333333;}.itemlinebOX{	border-radius: 0px 0px 10px 10px;	border: 2Rpx solid #EEEEEE;	padding: 10rpx 0;}.mealTop{	display: flex;	justify-content: space-between;	height: 72rpx;	background: #F19D01 linear-gradient(90deg, #FFF7EB 0%, #FFEFD5 100%);	border-radius: 10rpx 10rpx 0px 0px;	line-height: 72rpx;	color: #333333;	font-size: 26rpx;	padding: 0 20rpx;}.fwlcTitle{	color: #333333;font-size: 30rpx;font-weight: 500;}.fuwuliucBox{  background: #FFFFFF;  padding: 20rpx 24rpx;  margin-top: 20rpx;}.fwlcxian{	padding:30rpx 42rpx 10rpx 42rpx ;	display: flex;}.fwlcyuan{	width: 16rpx;	height: 16rpx;	background: #EC0F0A;	border-radius: 50%;}.fwHx{	height: 4rpx;	background: #EC0F0A;	width: 186rpx;	margin-top: 7rpx;}.fwTxt{	display: flex;	justify-content: space-between;}.fwTxtline{	color: #333333;	line-height: 37px;	font-size: 26rpx;}.swiper{	width: 750rpx;	height: 700rpx;	background: #FFFFFF;	border-bottom: 1px solid #EEEEEE;}.swiper-item{	width: 750rpx;	height: 700rpx;}.swiper-itemImg{	width: 750rpx;	height: 700rpx;}.shopCtop{	display: flex;	padding: 20rpx 24rpx 10rpx 24rpx;	justify-content: space-between;	background: #FFFFFF;}.goodsPrice{		display: flex;}.goodsPrice1{	font-size: 24rpx;	font-weight: 400;	color: #EC0F0A;	padding-top: 14rpx;	padding-right: 14rpx;}.goodsPrice2{	font-size: 28rpx;	font-weight: 400;	color: #EC0F0A;	padding-top: 12rpx;	}.goodsPrice3{	font-size: 40rpx;	font-weight: 500;	color: #EC0F0A;}.goodsPrice4{	font-size: 24rpx;	font-weight: 400;	color: #999999;	padding-top: 14rpx;	text-decoration:line-through;	padding-left: 14rpx;}.Sold{		font-weight: 400;		color: #999999;		font-size: 24rpx;		/* padding-top: 18rpx; */}.goodsName{	font-size: 30rpx;	line-height: 42rpx;	font-weight: 500;	color: #333333;	padding: 20rpx 24rpx;	padding-top: 0;	padding-bottom: 10rpx;}.goodsMd{	font-weight: 400;	color: #999999;	font-size: 26rpx;	padding: 0 24rpx;	padding-bottom: 10rpx;	width: 550rpx;}.shopCont{	background: #FFFFFF;}.modeBox{	margin-top:20rpx ;	padding: 5rpx 0;	background: #FFFFFF;}.modeline{	display: flex;	padding: 15rpx 24rpx;	justify-content: space-between;}.modelineLeft{	color: #999999;	font-size: 26rpx;	width: 150rpx;}.modeLineRight{	color: #333333;	font-size: 26rpx;	width: 550rpx;	text-align: right;}.expireNumber{	width: 110rpx;	text-align: right;}.authorizBox{		width: 100vw;		height: 100vh;		background: rgba(0, 0, 0, 0.5);		position: fixed;		top: 0;		left: 0;	}	.authorizCont{		margin-top: 30vh;		width: 564rpx;		height: 408rpx;		background: #FFFFFF;		border-radius: 24rpx;		margin-left: 93rpx;		position: relative;	}	.authorizCloseImg{		width: 62rpx;		height: 62rpx;	}	.sqLogoBox{		width: 180rpx;		height: 180rpx;		background: #FFFFFF;		border-radius: 90rpx;		text-align: center;		position: absolute;		top: -50rpx;		left: 192rpx;	}	.authorizName{		color: #333333;		line-height: 42rpx;		font-size: 30rpx;		text-align: center;		padding-top: 58rpx;	}	.authorizMs{		color: #999999;		line-height: 36rpx;		font-size: 26rpx;		width: 452rpx;		padding-top: 24rpx;		text-align: center;		margin-left: 56rpx;	}	.authorizContbutton{		width: 422rpx;		height: 88rpx;		background: #EC0F0A;		border-radius: 44rpx;		line-height: 88rpx;		text-align: center;		font-size:30rpx;		color: #FFFFFF;		margin-top: 62rpx;		margin-left:71rpx;	}		.buyShopBox{		/* padding: 0 24rpx; */		padding-top: 20rpx;	}	.nobuyShopBox{		height: 220rpx;	}	.duihao{		width: 28rpx;height: 28rpx;	}	.buyShopTRgiht{		    display: flex;		    align-items: center;	}	.buyShop{		background: #F9F9F9;		border-radius:6rpx;		overflow: hidden;	}	.buyShopTop{		display: flex;justify-content: space-between;		padding: 16rpx 22rpx;		background: #F9EFF0;	}	.shopbq{		color: #FF063A;font-size: 22rpx;		border-radius: 6rpx;		border: 1rpx solid #FF063A;		padding: 0rpx 6rpx;		height: 30rpx;line-height: 30rpx;	    margin-top: 4rpx;	}	.buyShopTleft{		display: flex;	}	.buyshopName{		font-size: 26rpx;		color: #222222;		line-height: 37rpx;		/* padding-left: 8rpx; */	}	.buyShopCont{		display: flex;		padding: 22rpx;	}	.buyShopContImg{		width: 102rpx;		height: 102rpx;		border-radius: 6rpx;	}	.buyShopContAdress{		font-weight: 400;		font-size: 22rpx;		color: #666E80;		line-height: 34rpx;		width: 440rpx;		padding-left: 12rpx;	}	.buyShopJl{		font-size: 22rpx;		color: #666E80;	line-height: 34rpx;		    width: 110rpx;		    text-align: right;	}	.buyNumlineActive{		border-radius: 25rpx;		border: 1rpx solid #FF0035;		color: #FF0035;		background: #ffffff;		height: 48rpx;		line-height: 48rpx;width: 147rpx;	}	.gmlcImg{		width: 100%;	}	.gmlc{		background: #ffffff;margin-top: 20rpx;		padding: 30rpx 24rpx;	}	.gmlcTitle{		font-weight: 400;		font-size: 26rpx;		color: #666E80;		line-height: 37rpx;		padding-bottom: 25rpx;	}.biaoqian{	background: #FF0035;	border-radius: 24rpx 24rpx 25rpx 0rpx;	padding: 4rpx 16rpx;	font-size: 22rpx;	color: #FFFFFF;	margin-top: 24rpx;	margin-bottom: -20rpx;}.biaoqian2{	background: #FF0035;	border-radius: 24rpx 24rpx 25rpx 0rpx;	padding: 4rpx 16rpx;	font-size: 22rpx;	color: #FFFFFF;	margin-top: 24rpx;}.shareIcon{	width: 33rpx;height: 33rpx;margin-left: 10rpx;}.shareBoxNew{	display: flex;font-size: 24rpx;color: #666666;padding-top: 16rpx;line-height: 33rpx;}.goodsMSBox{	display: flex;padding-left: 24rpx;	flex-wrap: wrap;}.goodsMs{	font-size: 18rpx;	color: #FF063A;	padding: 2rpx 8rpx;	border-radius: 6rpx;	border: 1rpx solid #FF063A;	margin-right: 16rpx;	margin-bottom: 16rpx;}</style>
 |