| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256 | 
							- <template>
 
- 	<view class="content">
 
- 		<view class="top">
 
- 			<img :src="mainImg" alt="" class="topimg" mode="widthFix">
 
- 		</view>
 
- 		<view class="cont">
 
- 			<view class="name">{{info.activityName}}</view>
 
- 			<view class="name2">{{info.startTime.slice(0,10)}}~{{info.endTime.slice(0,10)}}</view>
 
- 			<view class="name3">{{info.activityContent}}</view>
 
- 		</view>
 
- 		<view class="shopBox">
 
- 			<view class="shopBoxTop">
 
- 				<view class="shopMs">活动门店</view>
 
- 				<view class="shopTy" @click="useShow">
 
- 					<view class="shopTyTxt">{{info.shopCount}}家门店通用</view>
 
- 					<img src="../../static/timg/jt2.png" alt="" class="shopjt">
 
- 				</view>
 
- 			</view>
 
- 			<view class="shopCont">
 
- 				<view class="shopContLeft">
 
- 					<view class="shopName">{{shopInfo.shopName}}</view>
 
- 					<view class="shopaddress">{{shopInfo.address?shopInfo.address:''}}</view>
 
- 				</view>
 
- 				<view class="shopContRight">
 
- 					<view class="shopContRightLine" @click="getmap">
 
- 						<img src="../../static/timg/icon_map.png" alt="" class="shopRightIcon">
 
- 						<view class="shopRightTxt">地图</view>
 
- 					</view>
 
- 					<view class="shopRightSx"></view>
 
- 					<view class="shopContRightLine" @click="call">
 
- 						<img src="../../static/timg/icon_phone.png" alt="" class="shopRightIcon">
 
- 						<view class="shopRightTxt">电话</view>
 
- 					</view>
 
- 				</view>
 
- 			</view>
 
- 			
 
- 		</view>
 
- 		<!-- 多少人报名 -->
 
- 		<view class="signupBox" v-if="info.signUserList.length">
 
- 			<view class="signupTop">
 
- 				<span class="signupTops1">{{info.signUserList.length}}</span>
 
- 				<span class="signupTops1">人已报名</span>
 
- 			</view>
 
- 			<view class="signupCont">
 
- 				<view class="signupLine" v-for="(item,index) in info.signUserList">
 
- 					<view class="signupLineL">
 
- 						<img :src="item.headImg" alt="" class="signupLineLImg">
 
- 						<view class="signupLineLName">{{item.nickName}}</view>
 
- 					</view>
 
- 					<view class="signupLineM">{{item.plateNumber?item.plateNumber:''}}</view>
 
- 					<view class="signupLineR">{{item.createTime}}</view>
 
- 				</view>
 
- 			</view>
 
- 		</view>
 
- 		<!-- 多少人报名 -->
 
- 		<!-- 多少人看过 -->
 
- 		<view class="signupBox" v-if="info.lookCount">
 
- 			<view class="signupTop">
 
- 				<span class="signupTops1">{{info.lookCount}}</span>
 
- 				<span class="signupTops1">人看过</span>
 
- 			</view>
 
- 			<!-- <view class="seeBox">
 
- 				<view class="seeLine" v-for="(item,index) in 15">
 
- 					<img src="http://dmsphoto.66km.com.cn/marketing//accompany/3885B510-6405-4A5E-BD64-B6C09CEE070E.jpg" alt="" class="signupLineLImg">
 
- 				</view>
 
- 			</view> -->
 
- 		</view>
 
- 		<view class="detailBOx" v-if="dimgList">
 
- 			<view class="detailTitle">活动详情</view>
 
- 			<view class="detailImgBox" v-for="(item,index) in dimgList">
 
- 				<img :src="item.img" alt="" class="detailImg" mode="widthFix">
 
- 			</view>
 
- 		</view>
 
- 		
 
- 		<view style="height: 200rpx;padding-bottom: constant(safe-area-inset-bottom);
 
- 		padding-bottom: env(safe-area-inset-bottom);"></view>
 
- 		<view class="bottom">
 
- 			<view class="timeTbox" v-if="!activityEnd">
 
- 			  <view class="timeviewTxt" v-if="activityNoOpen"> 距开始</view>
 
- 			  <view class="timeviewTxt" v-if="!activityNoOpen"> 距结束</view>
 
- 			  <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="bottomBtnBox">
 
- 				<!-- <view class="bottomBtnBoxLeft">
 
- 					<img src="../../static/timg/share.png" alt="" class="shareIcon">
 
- 					<view class="shareTxt">分享</view>
 
- 				</view> -->
 
- 				<button open-type="share" class="bottomBtnBoxLeft shareBtn" >
 
- 					<image src="../../static/timg/share.png" mode="" class="shareIcon"></image>
 
- 					<view class="shareTxt">分享</view>
 
- 				</button>
 
- 				<!-- 状态1未开始 2进行中3已结束 -->
 
- 				<view class="bottomBtn" v-if="info.state==2" @click="signUp">
 
- 				  <span v-if="info.money">¥{{info.money}}   立即抢购</span>
 
- 				  <span v-else>立即报名</span>
 
- 				</view>
 
- 				<view class="bottomBtn2" v-if="info.state==1">报名未开始</view>
 
- 				<view class="bottomBtn2" v-if="info.state==3">报名已结束</view>
 
- 			</view>
 
- 		</view>
 
- 		<!-- 报名弹框 -->
 
- 		<view class="baomingBox" v-if="bmShow" @click="nobmshow">
 
- 			<view class="baomingCont" @click.stop="" :style="{bottom: jpHeight}">
 
- 				<view class="bmTop">
 
- 					<view class="bmTitle">登记信息</view>
 
- 					<img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="nobmshow">
 
- 				</view>
 
- 				<view style="padding: 0 24rpx;">
 
- 					<view class="bmshopLine" @click="showCkshop">
 
- 						<view class="bmshopname" v-if="!shopName">请选择门店</view>
 
- 						<view class="bmshopname" style="color: #333333;">{{shopName}}</view>
 
- 						<img src="../../static/timg/icon_arrow_right.png" alt="" class="bmshopjt">
 
- 					</view>
 
- 					<!-- clWhere报名凭证1,2,3,4 1手机号2车牌号3姓名4单位 -->
 
- 					<view class="bmLine" v-if="info.clWhere.indexOf(1)!=-1" @click="focusState1cl">
 
- 					<!-- :focus="focusState1" -->	<input  type="number" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="mobilePhone"  class="bmlineInput" placeholder="输入手机号" placeholder-style="color:#999999">
 
- 					</view>
 
- 					<view class="bmLine" v-if="info.clWhere.indexOf(2)!=-1" @click="focusState2cl">
 
- 						<input type="text" :hold-keyboard="true"  :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="plateNumber"   class="bmlineInput" placeholder="输入车牌号" placeholder-style="color:#999999">
 
- 					</view>
 
- 					<view class="bmLine" v-if="info.clWhere.indexOf(3)!=-1" @click="focusState3cl">
 
- 						<input type="text" :hold-keyboard="true" :adjust-position="false"  @blur="inputBindBlur" @focus="inputBindFocus" v-model="customerName"  class="bmlineInput" placeholder="输入姓名" placeholder-style="color:#999999">
 
- 					</view>
 
- 					<view class="bmLine" v-if="info.clWhere.indexOf(4)!=-1" @click="focusState4cl">
 
- 					  <input type="text" :adjust-position="false" :hold-keyboard="true"   @blur="inputBindBlur" @focus="inputBindFocus"  v-model="unit"  class="bmlineInput" placeholder="输入单位" placeholder-style="color:#999999">
 
- 					</view>
 
- 				</view>
 
- 				<view class="bmTtnBox">
 
- 					<view style="height: 1rpx;"></view>
 
- 					<view class="bmBtn" @click="submitOrder">
 
- 						<span v-if="info.money">¥{{info.money}}   立即抢购</span>
 
- 						<span v-else>立即报名</span>
 
- 					</view>
 
- 				</view>
 
- 			</view>
 
- 		</view>
 
- 		<!-- 门店弹框 -->
 
- 		<view class="baomingBox ckshopBox" v-if="ckshopShow">
 
- 			<view class="baomingCont">
 
- 				<view class="bmTop">
 
- 					<view class="bmTitle">选择门店</view>
 
- 					<img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop">
 
- 				</view>
 
- 				<view style="padding: 0 24rpx; height: 45vh;overflow-y: scroll;">
 
- 					<view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
 
- 						<view class="shoplineLeft">
 
- 							<image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
 
- 							<image src="../../static/img/noimg.png" mode="" class="shopImg" v-else></image>
 
- 						</view>
 
- 						<view class="shopright" style="padding-left: 20rpx;">
 
- 							<view class="shopTop">
 
- 								<view class="shopName">{{item.shopName}}</view>
 
- 							</view>
 
- 							<view class="brandsBg" v-if="item.brands">
 
- 								<view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
 
- 							</view>
 
- 							<view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
 
- 									v-if="item.endTime">{{item.endTime}}</span> </view>
 
- 							<view class="shopBottomLeft">
 
- 								<span class="shopaddress"
 
- 									v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
 
- 								<span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
 
- 							</view>
 
- 						</view>
 
- 					</view>
 
- 				</view>
 
- 				
 
- 				
 
- 			</view>
 
- 		</view>
 
- 		<!-- 适用门店 -->
 
- 		<view class="baomingBox ckshopBox" v-if="useShopShow" @click="noShowShop2">
 
- 			<view class="baomingCont" @click.stop="">
 
- 				<view class="bmTop">
 
- 					<view class="bmTitle">选择门店</view>
 
- 					<img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop2">
 
- 				</view>
 
- 				<view style="padding: 0 24rpx; height: 45vh;overflow-y: scroll;">
 
- 					<view class="ckshopLine" v-for="(item,index) in info.shopList"  @click="ckshop(item)">
 
- 						<view class="shoplineLeft">
 
- 							<image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
 
- 							<image src="../../static/img/noimg.png" mode="" class="shopImg" v-else></image>
 
- 						</view>
 
- 						<view class="shopright" style="padding-left: 20rpx;">
 
- 							<view class="shopTop">
 
- 								<view class="shopName">{{item.shopName}}</view>
 
- 							</view>
 
- 							<view class="brandsBg" v-if="item.brands">
 
- 								<view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
 
- 							</view>
 
- 							<view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
 
- 									v-if="item.endTime">{{item.endTime}}</span> </view>
 
- 							<view class="shopBottomLeft">
 
- 								<span class="shopaddress"
 
- 									v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
 
- 								<span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
 
- 							</view>
 
- 						</view>
 
- 					</view>
 
- 				</view>
 
- 				
 
- 				
 
- 			</view>
 
- 		</view>
 
- 		<img src="../../static/timg/mp3.png" class="mp3Img" @click="play()" v-if="!payshow&mp3Url!=''">
 
- 		<img src=".../../static/timg/mp31.png" class="mp3Img" @click="play2()" id="bofang" v-if="payshow&mp3Url!=''">
 
- 	</view>
 
- </template>
 
- <script>
 
- 	export default {
 
- 		data() {
 
- 			return {
 
- 				info:'',
 
- 				type:'',
 
- 				shopNum:'',
 
- 				shopInfo:'',
 
- 				activityEnd:true,
 
- 				activityNoOpen:true,
 
- 				shengyuD:'',
 
- 				shengyuH:'',
 
- 				shengyuM:'',
 
- 				queryShopList:'',
 
- 				collectingID:'',
 
- 				bmShow:false,
 
- 				ckshopShow:false,
 
- 				mainImg:'',
 
- 				dimgList:[],
 
- 				shopName:'',
 
- 				ckshopdata:'',
 
- 				customerName:'',
 
- 				mobilePhone:'',
 
- 				unit:'',
 
- 				plateNumber:'',
 
- 				comment:'',
 
- 				userInfo:'',
 
- 				useShopShow:false,
 
- 				jpHeight:0,
 
- 				 isPlay: false,
 
- 				 mp3Url:'',
 
- 				 payshow:false,
 
- 				 jpNum:1,
 
- 				 focusState1:false,
 
- 				 focusState2:false,
 
- 				 focusState3:false,
 
- 				 focusState4:false,
 
- 			}
 
- 		},
 
- 		onLoad(opt) {
 
- 		   this.userInfo=this.$store.state.userInfo;
 
- 		   if(this.userInfo){
 
- 		   	this.collectingID=opt.id;
 
- 		   	//this.getInfo();
 
- 		   	this.queryActivityInfo();
 
- 			this.queryGoodsLook()
 
- 		   }else{
 
- 		   	this.$common.automaticlogin().then(val => {
 
- 		   		this.userInfo=this.$store.state.userInfo;
 
- 		   		
 
- 		   		this.collectingID=opt.id;
 
- 		   		//this.getInfo();
 
- 		   		this.queryActivityInfo();
 
- 				this.queryGoodsLook()
 
- 		   	})
 
- 		   }
 
- 		  
 
- 		   uni.onKeyboardHeightChange((obj)=>{
 
- 		        // 获取系统信息
 
- 		    	let _sysInfo = uni.getSystemInfoSync();
 
- 		   // 	let _heightDiff = _sysInfo.screenHeight - _sysInfo.windowHeight
 
- 		   // 	let _diff = obj.height - _heightDiff
 
- 		   // 	// 键盘高度
 
- 		   // 	this.jpHeight = (_diff > 0 ? _diff : 0) - 2 + "px";
 
- 		    })
 
- 		   
 
- 		   this.shopckList= uni.getStorageSync("shopckList");
 
- 		   //this.ckmusic=uni.getStorageSync("ckmusic");
 
- 		  
 
- 		   
 
- 		},
 
- 		onPullDownRefresh(){
 
- 			//this.getInfo();
 
- 			this.queryActivityInfo();
 
- 			setTimeout(() => {
 
- 					uni.stopPullDownRefresh(); // 关闭下拉刷新 
 
- 			}, 1000);
 
- 		},
 
- 		onHide(){
 
- 			this.bgmMusic.stop(()=>{
 
- 			console.log('背景音乐停止了');
 
- 			});
 
- 		},
 
- 		onUnload(){
 
- 			this.bgmMusic.stop()
 
- 		},
 
- 		methods: {
 
- 			focusState1cl(){
 
- 				this.focusState1=true;
 
- 			},
 
- 			focusState2cl(){
 
- 				this.focusState2=true;
 
- 			},
 
- 			focusState3cl(){
 
- 				this.focusState3=true;
 
- 			},
 
- 			focusState4cl(){
 
- 				this.focusState4=true;
 
- 			},
 
- 			inputBindFocus(e){
 
- 				//console.log( e.detail.height);
 
- 				this.jpHeight=e.detail.height+ "px";
 
- 				//console.log(this.jpHeight)
 
- 			},
 
- 			inputBindBlur(){
 
- 				//return false;
 
- 				uni.onKeyboardHeightChange((obj)=>{
 
- 				    console.log("inputBindBlur"+obj.height)
 
- 					let _sysInfo = uni.getSystemInfoSync();
 
- 					let _heightDiff = _sysInfo.screenHeight - _sysInfo.windowHeight
 
- 					let _diff = obj.height - _heightDiff;
 
- 					console.log(_diff)
 
- 					if(_diff<0||_diff==0){
 
- 						this.jpHeight=0
 
- 					}
 
- 					// 键盘高度
 
- 					//this.jpHeight = (_diff > 0 ? _diff : 0) - 2 + "px";
 
- 				})
 
- 				if(this.jpNum==1){
 
- 					this.jpHeight=0
 
- 				}
 
- 				this.jpNum++;
 
- 			},
 
- 			queryGoodsLook(){
 
- 				this.$http('openmy/queryGoodsLook', {
 
- 				  goodsId:this.collectingID,
 
- 				  openId:this.userInfo.openId
 
- 				 },'POST').then(res => {
 
- 					
 
- 				 })
 
- 			},
 
- 			noShowShop2(){
 
- 				this.useShopShow=false;
 
- 			},
 
- 			useShow(){
 
- 				this.useShopShow=true;
 
- 			},
 
- 			submitOrder(){
 
- 				var jsonArray={
 
- 					itemId:this.collectingID,
 
- 					itemName:this.info.activityName,
 
- 					itemQty:1,
 
- 					salePrice:this.info.money?this.info.money:0,
 
- 					totalPrice:this.info.money?this.info.money:0,
 
- 				}
 
- 				if(this.ckshopdata==''){
 
- 					uni.showToast({
 
- 						title: '请选择服务门店',
 
- 						icon: 'none',
 
- 						duration: 3000
 
- 					});
 
- 					return false;
 
- 				}
 
- 				if(this.info.clWhere.indexOf(1)!=-1&&this.mobilePhone==''){
 
- 					uni.showToast({
 
- 						title: '请输入手机号',
 
- 						icon: 'none',
 
- 						duration: 3000
 
- 					});
 
- 					return false;
 
- 				}
 
- 				if(this.info.clWhere.indexOf(2)!=-1&&this.plateNumber==''){
 
- 					uni.showToast({
 
- 						title: '请输入车牌号',
 
- 						icon: 'none',
 
- 						duration: 3000
 
- 					});
 
- 					return false;
 
- 				}
 
- 				if(this.info.clWhere.indexOf(3)!=-1&&this.customerName==''){
 
- 					uni.showToast({
 
- 						title: '请输入姓名',
 
- 						icon: 'none',
 
- 						duration: 3000
 
- 					});
 
- 					return false;
 
- 				}
 
- 				if(this.info.clWhere.indexOf(4)!=-1&&this.unit==''){
 
- 					uni.showToast({
 
- 						title: '请输入单位',
 
- 						icon: 'none',
 
- 						duration: 3000
 
- 					});
 
- 					return false;
 
- 				}
 
- 				var arr=[]
 
- 				arr.push(jsonArray)
 
- 				var params={
 
- 					sheetType:'6',
 
- 					sheetContent:this.info.activityName,
 
- 					customerName:this.customerName,
 
- 					mobilePhone:this.mobilePhone,
 
- 					unit:this.unit,
 
- 					plateNumber:this.plateNumber,
 
- 					//carModel:this.carInfo.carModel,
 
- 					totalMoney:this.info.money?this.info.money:0,
 
- 					shopId:this.ckshopdata.id,
 
- 					comment:this.comment,
 
- 					sheetDetail:JSON.stringify(arr),
 
- 					payType:this.info.payType
 
- 				}
 
- 				uni.showLoading({
 
- 					title: '加载中'
 
- 				})
 
- 				this.$http('openMallOrder/submitOrder', params,'POST').then(res => {
 
- 					uni.hideLoading();
 
- 					if(res.code==0){
 
- 						this.orderData=res.data
 
- 						if(this.info.payType==1){
 
- 							this.unifiedPay(res.data)
 
- 						}else{
 
- 							uni.showToast({
 
- 								title: '报名成功',
 
- 								icon: 'none',
 
- 								duration: 3000
 
- 							});
 
- 							uni.redirectTo({
 
- 								url: "../user/myOrder/activityOrderDetail?id=" + this.orderData.id +"&SheetType=" + this.orderData.sheetType
 
- 							})
 
- 						}
 
- 						
 
- 					}else{
 
- 						uni.showToast({
 
- 							title: res.msg,
 
- 							icon: 'none',
 
- 							duration: 3000
 
- 						});
 
- 					}
 
- 				 })
 
- 			},
 
- 			unifiedPay(res){
 
- 				this.$http('openMallOrder/unifiedPay', {
 
- 					sheetId:res.id
 
- 				},'POST').then(res => {
 
- 					
 
- 					if(res.code==0){
 
- 						
 
- 						this.requestPayment(res.data)
 
- 					}else{
 
- 						uni.showToast({
 
- 							title: res.msg,
 
- 							icon: 'none',
 
- 							duration: 3000
 
- 						});
 
- 					}
 
- 				 })
 
- 			},
 
- 			requestPayment(res){
 
- 				var payInfo=res;
 
- 				//console.log(payInfo)
 
- 				//console.log(String(Date.now()))
 
- 				var that=this;
 
- 				uni.requestPayment({
 
- 					provider: 'wxpay',
 
- 					//timeStamp: String(Date.now()),
 
- 					timeStamp: payInfo.timeStamp,
 
- 					nonceStr: payInfo.nonceStr,
 
- 					package:payInfo.package,
 
- 					signType: payInfo.signType,
 
- 					paySign: payInfo.paySign,
 
- 					appid:payInfo.appId,	
 
- 					
 
- 				    success: function (res) {
 
- 				        console.log('success:' + JSON.stringify(res));
 
- 						 uni.showToast({
 
- 							 title: '支付成功',
 
- 							 icon:'none',
 
- 							 duration: 2000
 
- 						 });
 
- 						 
 
- 						  	uni.redirectTo({
 
- 						  		url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
 
- 						  	})
 
- 						  
 
- 						
 
- 				    },
 
- 				    fail: function (err) {
 
- 					  console.log(err)
 
- 				      uni.showToast({
 
- 						 title: '支付失败',
 
- 						 icon:'none',
 
- 						 duration: 2000
 
- 				      });
 
- 					  console.log(that.orderData)
 
- 					  uni.redirectTo({
 
- 					  	url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
 
- 					  })
 
- 				    }
 
- 				}); 
 
- 			},
 
- 			signUp(){
 
- 				this.info.shopList.forEach(item=>{
 
- 					if(item.id == this.shopInfo.id){
 
- 						this.ckshopdata=item;
 
- 						this.shopName=item.shopName;
 
- 					}
 
- 				})
 
- 				
 
- 				
 
- 				this.bmShow=true;
 
- 			},
 
- 			nobmshow(){
 
- 				this.bmShow=false;
 
- 			},
 
- 			ckshop(item){
 
- 				this.ckshopdata=item;
 
- 				this.shopName=item.shopName;
 
- 				this.ckshopShow=false;
 
- 				this.shopInfo=item
 
- 				this.useShopShow=false;
 
- 			},
 
- 			showCkshop(){
 
- 				console.log("选择门店")
 
- 				this.ckshopShow=true;
 
- 				
 
- 			},
 
- 			noShowShop(){
 
- 				this.ckshopShow=false;
 
- 			},
 
- 			queryActivityInfo(){
 
- 				uni.showLoading({
 
- 					title: '加载中'
 
- 				})
 
- 				this.$http('openHome/queryActivityInfo', {
 
- 					collectingID:this.collectingID
 
- 				}, 'GET').then(res => {
 
- 					//uni.hideLoading();
 
- 					this.info = res.data;
 
- 					this.getInfo()
 
- 					if(this.info.imgList){
 
- 						this.info.imgList.forEach(item=>{
 
- 							if(item.imgType==1){
 
- 								this.mainImg=item.img
 
- 							}else{
 
- 								this.dimgList.push(item)
 
- 							}
 
- 						})
 
- 					}
 
- 					if (this.info.endTime < this.info.startTime) {
 
- 					  // this.$vux.toast.text('时间设置错误')
 
- 					  return
 
- 					}
 
- 					// this.activityNoOpen
 
- 					if (Number(new Date().getTime()) > (Number(new Date(this.info.startTime.replace(/-/g, '/')).getTime()) || 0)) {
 
- 					  console.log("现在时间大于开始时间")
 
- 					  this.activityNoOpen = false
 
- 					} else {
 
- 					  this.activityNoOpen = true
 
- 					}
 
- 					if (Number(new Date().getTime()) > Number(new Date(this.info.endTime.replace(/-/g, '/')).getTime())) {
 
- 					  console.log("现在时间大于结束时间")
 
- 					  this.activityEnd = true
 
- 					} else {
 
- 					  this.activityEnd = false
 
- 					}
 
- 					
 
- 					if (!this.activityNoOpen && !this.activityEnd) {
 
- 					  this.clock()
 
- 					}
 
- 					if (this.activityNoOpen && !this.activityEnd) {
 
- 					  this.clock2()
 
- 					}
 
- 					if(this.info.music){
 
- 						   this.bgmMusic = uni.createInnerAudioContext();
 
- 						   this.bgmMusic.autoplay = true;//自动播放
 
- 						   this.bgmMusic.loop = true;//循环播放
 
- 						   this.mp3Url='http://dmsimg.66km.com/music/sakuratears.mp3';
 
- 						   this.bgmMusic.src ='http://dmsimg.66km.com/music/sakuratears.mp3'//, mp3Url;//背景音乐地址
 
- 						   this.bgmMusic.onPlay(function(){
 
- 							  console.log('背景音乐播放中');
 
- 						   });
 
- 						   this.bgmMusic.onError((res) => {
 
- 							 console.log(res.errMsg);
 
- 							 console.log(res.errCode);
 
- 						   });
 
- 								   		 
 
- 					}
 
- 					
 
- 					
 
- 				})
 
- 			},
 
- 			play2(){
 
- 				 this.bgmMusic.play();
 
- 				 this.payshow=false;
 
- 			},
 
- 			play(){
 
- 				this.payshow=true;
 
- 				this.bgmMusic.stop(()=>{
 
- 				
 
- 				console.log('背景音乐停止了');
 
- 				
 
- 				});
 
- 			},
 
- 			getInfo(){
 
- 				this.$http('openreservation/getInfo', {
 
- 					lat: '',
 
- 					lng: '',
 
- 				
 
- 				}, 'GET').then(res => {
 
- 					uni.hideLoading();
 
- 					//this.shopInfo = res.data.shopInfo
 
- 					var shopinfo=res.data.shopInfo;
 
- 					this.info.shopList.forEach(item=>{
 
- 						//console.log(item.id)
 
- 						//console.log(shopinfo.id)
 
- 						if(item.id==shopinfo.id){
 
- 							
 
- 							this.shopInfo=shopinfo
 
- 						}
 
- 					})
 
- 					if(this.shopInfo==''){
 
- 						this.shopInfo=this.info.shopList[0]
 
- 					}
 
- 				})
 
- 			},
 
- 			call() {
 
- 				uni.makePhoneCall({
 
- 					phoneNumber: this.shopInfo.mobilePhone
 
- 				});
 
- 			},
 
- 			getmap() {
 
- 				console.log("打开地图")
 
- 				var that = this;
 
- 				if (!that.shopInfo.lat || !that.shopInfo.lng) {
 
- 					uni.showToast({
 
- 						title: '该店铺未设置定位',
 
- 						icon: 'none',
 
- 						duration: 3000
 
- 					});
 
- 				} else {
 
- 					
 
- 					uni.openLocation({
 
- 						latitude: Number(that.shopInfo.lat),
 
- 						longitude: Number(that.shopInfo.lng),
 
- 						name: that.shopInfo.shopName,
 
- 						address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName + that.shopInfo.address,
 
- 						success: function() {
 
- 							console.log('success');
 
- 						},
 
- 						fail(err) {
 
- 							console.log(err)
 
- 						}
 
- 					});
 
- 				}
 
- 			
 
- 			},
 
- 			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.endTime.replace(/-/g, '/')) // 结束时间
 
- 			  if (Number(new Date(_this.info.endTime).getTime()) < Number(new Date().getTime())) {
 
- 			    this.activityEnd = true
 
- 			    return
 
- 			  }
 
- 			
 
- 			  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)
 
- 			},
 
- 			clock2(){
 
- 			  let _this = this
 
- 			  let today = new Date() // 当前时间
 
- 			  let h = today.getHours()
 
- 			  let m = today.getMinutes()
 
- 			  let s = today.getSeconds()
 
- 			  let startTime = new Date(_this.info.startTime.replace(/-/g, '/')) // 结束时间
 
- 			  if (Number(new Date(_this.info.startTime).getTime()) < Number(new Date().getTime())) {
 
- 			    this.activityNoOpen = true
 
- 			    return
 
- 			  }
 
- 			
 
- 			  let stopH = startTime.getHours()
 
- 			  let stopM = startTime.getMinutes()
 
- 			  let stopS = startTime.getSeconds()
 
- 			  let shenyu = startTime.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.clock2, 500)
 
- 			}
 
- 		   
 
- 		},
 
- 		onShareAppMessage(res) {
 
- 			var img='';
 
- 			if(this.info.ImgList.length>0){
 
- 				img=this.info.ImgList[0].url
 
- 			}
 
- 			return {
 
- 				title: this.info.activityName,
 
- 				imageUrl:this.mainImg,
 
- 				path: 'pages/activity/jkDetail?id=' + this.id,
 
- 				success(res){
 
- 					uni.showToast({
 
- 						title:'分享成功'
 
- 					})
 
- 				},
 
- 				fail(res){
 
- 					uni.showToast({
 
- 						title:'分享失败',
 
- 						icon:'none',
 
- 						duration: 3000
 
- 					})
 
- 				}
 
- 			}
 
- 		},
 
- 	}
 
- </script>
 
- <style scoped>
 
- 	.mp3Img{
 
- 	 /* transform: translate(-1584.4%, 121.5%) scale(1); */
 
- 	  position: fixed;
 
- 	  top: 40rpx;
 
- 	  right: 40rpx;
 
- 	  width: 60rpx;
 
- 	  height: 60rpx;
 
- 	}
 
- 	.ckshopBox{
 
- 		z-index: 111 !important;
 
- 	}
 
- 	.shopline {
 
- 		padding: 20rpx 0;
 
- 		background-color: #FFFFFF;
 
- 		border-radius: 10rpx;
 
- 		display: flex;
 
- 	}
 
- 	
 
- 	.baomingBox{
 
- 		width: 750rpx;
 
- 		height: 100vh;
 
- 		background: rgba(0, 0, 0, 0.4);
 
- 		position: fixed;
 
- 		top: 0;
 
- 		left: 0;
 
- 		z-index: 11;
 
- 		/* display: flex;
 
- 		align-items: center; */
 
- 	}
 
- 	.bmTtnBox{
 
- 		width: 750rpx;
 
- 		height: 120rpx;
 
- 		background: #FFFFFF;
 
- 		box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
 
- 		/* position: absolute;
 
- 		left: 0;
 
- 		bottom: 0; */
 
- 		/* padding-bottom: constant(safe-area-inset-bottom);
 
- 		padding-bottom: env(safe-area-inset-bottom); */
 
- 	}
 
- 	.bmBtn{
 
- 		width: 690rpx;
 
- 		height: 74rpx;
 
- 		background: #D53533;
 
- 		border-radius: 37rpx;
 
- 		text-align: center;
 
- 		line-height: 74rpx;
 
- 		color: #ffffff;
 
- 		font-size: 30rpx;
 
- 		margin-top: 23rpx;
 
- 		margin-left: 30rpx;
 
- 		margin-top: 20rpx;
 
- 	}
 
- 	.bmshopjt{
 
- 		width: 12rpx;
 
- 		height: 20rpx;
 
- 		margin-top: 10rpx;
 
- 	}
 
- 	.bmlineInput{
 
- 		color: #333333;
 
- 		font-size: 28rpx;
 
- 		height: 98rpx;
 
- 		line-height: 98rpx;
 
- 	}
 
- 	.bmshopname{
 
- 		font-weight: 400;
 
- 		color: #999999;
 
- 		font-size: 28rpx;
 
- 		line-height: 40rpx;
 
- 		width: 500rpx;
 
- 		white-space:nowrap;
 
- 		overflow:hidden;
 
- 		text-overflow:ellipsis;
 
- 	}
 
- 	.bmshopLine{
 
- 		display: flex;
 
- 		justify-content: space-between;
 
- 		padding: 26rpx 0;
 
- 		border-bottom: 1px solid #EEEEEE;
 
- 	}
 
- 	.bmLine{
 
- 		border-bottom: 1px solid #EEEEEE;
 
- 	}
 
- 	.bmTop{
 
- 		display: flex;
 
- 		justify-content: space-between;
 
- 		padding: 40rpx 24rpx 10rpx 24rpx;
 
- 	}
 
- 	.bmTitle{
 
- 		font-weight: 500;
 
- 		color: #3C3C3C;
 
- 		font-size: 30rpx;
 
- 		line-height: 36rpx;
 
- 	}
 
- 	.bmChimg{
 
- 		width: 36rpx;
 
- 		height: 36rpx;
 
- 	}
 
- 	.baomingCont{
 
- 		position: absolute;
 
- 		width: 750rpx;
 
- 		/* height:850rpx; */
 
- 		/* padding-bottom: constant(safe-area-inset-bottom);
 
- 		padding-bottom: env(safe-area-inset-bottom); */
 
- 		left: 0;
 
- 		bottom: 0;
 
- 		background: #ffffff;
 
- 		border-radius: 24rpx 24rpx 0px 0px;
 
- 	}
 
- 	.shareIcon{
 
- 		width: 48rpx;
 
- 		height: 48rpx;
 
- 		display: block;
 
- 	}
 
- 	.bottomBtnBox{
 
- 		display: flex;
 
- 		
 
- 	}
 
- 	.bottomBtnBoxLeft{
 
- 		padding-left: 40rpx;
 
- 		padding-top: 21rpx;
 
- 	}
 
- 	.shareTxt{
 
- 		color: #666666;font-size: 20rpx;
 
- 		text-align: center;
 
- 	}
 
- 	.bottomBtn{
 
- 		width: 598rpx;
 
- 		height: 74rpx;
 
- 		background: #D53533;
 
- 		border-radius: 37rpx;
 
- 		line-height: 74rpx;
 
- 		text-align: center;
 
- 		color: #ffffff;
 
- 		font-size: 30rpx;
 
- 		margin-top: 24rpx;
 
- 		margin-left: 34rpx;
 
- 	}
 
- 	.bottomBtn2{
 
- 		width: 598rpx;
 
- 		height: 74rpx;
 
- 		background: #DDDDDD;
 
- 		border-radius: 37rpx;
 
- 		line-height: 74rpx;
 
- 		text-align: center;
 
- 		color: #ffffff;
 
- 		font-size: 30rpx;
 
- 		margin-top: 24rpx;
 
- 		margin-left: 34rpx;
 
- 	}
 
- 	.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;
 
- 	
 
- 	}
 
- 	.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: #F03B3B;
 
- 		border-radius: 6rpx;
 
- 		margin-top: 9rpx;
 
- 		margin-left: 15rpx;
 
- 		margin-right: 15rpx;
 
- 	}
 
- .bottom{
 
- 	width: 750rpx;
 
- 	height: 180rpx;
 
- 	background: #FFFFFF;
 
- 	border-radius: 24rpx 24rpx 0px 0px;
 
- 	position: fixed;
 
- 	left: 0;
 
- 	bottom: 0;
 
- 	padding-bottom: constant(safe-area-inset-bottom);
 
- 	padding-bottom: env(safe-area-inset-bottom);
 
- }
 
- .signupBox{
 
- 	background: #ffffff;
 
- 	margin-top: 20rpx;
 
- }
 
- .seeBox{
 
- 	display: flex;
 
- 	flex-wrap: wrap;
 
- 	padding-left: 24rpx;
 
- 	padding-bottom: 20rpx;
 
- }
 
- .seeLine{
 
- 	padding-top: 14rpx;
 
- 	padding-right: 16rpx;
 
- }
 
- .signupLine{
 
-  display: flex;
 
-  justify-content: space-between;
 
-  padding: 11rpx 0;
 
-  border-bottom: 1px solid #DDDDDD;
 
- }
 
- .signupLineM{
 
- 	color: #3C3C3C;font-size: 26rpx;
 
- 	line-height: 56rpx;
 
- }
 
- .signupLineR{
 
- 	color: #999999;
 
- 	font-size: 26rpx;
 
- 	line-height: 56rpx;
 
- }
 
- .signupLineLName{
 
- 	font-weight: 400;
 
- 	color: #3C3C3C;
 
- 	font-size: 26rpx;
 
- 	padding-left: 16rpx;
 
- 	line-height: 56rpx;
 
- 	width: 150rpx;
 
- 	white-space:nowrap;
 
- 	overflow:hidden;
 
- 	text-overflow:ellipsis;
 
- }
 
- .signupCont{
 
- 	padding: 0 24rpx;
 
- }
 
- .signupLineLImg{
 
- 	width: 56rpx;
 
- 	height: 56rpx;
 
- 	border-radius: 8rpx;
 
- }
 
- .signupLineL{
 
- 	display: flex;
 
- }
 
- .signupTop{
 
- 	width: 750rpx;
 
- 	height: 78rpx;
 
- 	background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
 
- 	background-size: 100% 100%;
 
- 	text-align: center;
 
- 	line-height: 78rpx;
 
- }
 
- .signupTops1{
 
- 	color: #FF0000;font-weight: 500;
 
- 	font-size: 28rpx;
 
- }
 
- .signupTops1{
 
- 	color: #703917;font-weight: 500;
 
- 	font-size: 28rpx;
 
- }
 
- 	.shopRightIcon{
 
- 		width: 44rpx;
 
- 		height: 44rpx;
 
- 		display: block;
 
- 		margin: 0 auto;
 
- 		margin-bottom: 10rpx;
 
- 	}
 
- 	.shopName{
 
- 		color: #3C3C3C;
 
- 		font-size: 28rpx;
 
- 	}
 
- 	.shopaddress{
 
- 		font-weight: 400;
 
- 		color: #999999;
 
- 		font-size: 24rpx;
 
- 		padding-top: 10rpx;
 
- 		width: 500rpx;
 
- 	}
 
- 	.shopRightSx{
 
- 		width: 2rpx;
 
- 		height: 69rpx;
 
- 		background:#EEEEEE ;
 
- 		margin-left: 34rpx;
 
- 		margin-right: 34rpx;
 
- 		margin-top: 14rpx;
 
- 	}
 
- 	.shopCont{
 
- 		display: flex;
 
- 		justify-content: space-between;
 
- 		padding-top: 25rpx;
 
- 	}
 
- 	.shopContRight{
 
- 		display: flex;
 
- 		
 
- 	}
 
- 	.shopContRightLine{
 
- 		text-align: center;
 
- 		color: #999999;
 
- 		font-size: 24rpx;
 
- 	}
 
- 	.content{
 
- 		min-height: 100vh;
 
- 		background:#F4F5F7;
 
- 	}
 
- 	.detailImg{
 
- 		width: 750rpx;
 
- 		display: block;
 
- 	}
 
- 	.detailBOx{
 
- 		background: #ffffff;
 
- 		margin-top: 20rpx;
 
- 	}
 
- 	.detailTitle{
 
- 		color: #222222;
 
- 		font-weight: 500;
 
- 		padding: 20rpx 24rpx;
 
- 		font-size: 30rpx;
 
- 	}
 
- 	.topimg{
 
- 		width: 750rpx;
 
- 	}
 
- 	.shopMs{
 
- 		font-weight: 500;
 
- 		color: #222222;
 
- 		line-height: 42rpx;
 
- 		font-size: 30rpx;
 
- 	}
 
- 	.shopBox{
 
- 		background: #ffffff;
 
- 		margin-top: 20rpx;
 
- 		padding: 20rpx 24rpx;
 
- 	}
 
- 	.shopBoxTop{
 
- 		display: flex;
 
- 		justify-content: space-between;
 
- 	}
 
- 	.shopTy{
 
- 		display: flex;
 
- 	}
 
- 	.shopTyTxt{
 
- 		font-weight: 400;
 
- 		color: #666666;
 
- 		font-size: 24rpx;
 
- 		line-height: 42rpx;
 
- 	}
 
- 	.shopjt{
 
- 		width: 14rpx;
 
- 		height: 23rpx;
 
- 		margin-top: 10rpx;
 
- 		margin-left: 10rpx;
 
- 	}
 
- 	.cont{
 
- 		background: #ffffff;
 
- 		border-radius: 24rpx 24rpx 0px 0px;
 
- 		margin-top: -30rpx;
 
- 		padding: 30rpx 24rpx;
 
- 		position: relative;
 
- 	}
 
- 	.name{
 
- 		color: #3C3C3C;
 
- 		line-height: 42rpx;
 
- 		font-weight: 500;
 
- 		font-size: 30rpx;
 
- 	}
 
- 	.name2{
 
- 		color: #3C3C3C;
 
- 		line-height: 36rpx;
 
- 		font-weight: 400;
 
- 		font-size: 26rpx;
 
- 		padding-top: 16rpx;
 
- 	}
 
- 	.name3{
 
- 		color: #999999;
 
- 		line-height: 36rpx;
 
- 		font-weight: 400;
 
- 		font-size: 26rpx;
 
- 		padding-top: 16rpx;
 
- 	}
 
- 	.shopImg {
 
- 		width: 146rpx;
 
- 		height: 146rpx;
 
- 		border-radius: 6rpx;
 
- 	}
 
- 	
 
- 	.shopBox2 {
 
- 		padding-top: 30rpx;
 
- 		display: flex;
 
- 	}
 
- 	
 
- 	.flex {
 
- 		display: flex;
 
- 		justify-content: space-between;
 
- 	}
 
- 	
 
- 	.shopCont2 {
 
- 		padding-left: 22rpx;
 
- 		width: 520rpx;
 
- 	}
 
- 	
 
- 	.shopName {
 
- 		color: #333333;
 
- 		font-size: 26rpx;
 
- 		font-weight: 600;
 
- 	}
 
- 	
 
- 	.span1 {
 
- 		color: #FF4F00;
 
- 		font-size: 36rpx;
 
- 	}
 
- 	
 
- 	.span2 {
 
- 		color: #FF4F00;
 
- 		font-size: 22rpx;
 
- 	}
 
- 	
 
- 	.span3 {
 
- 		color: #333333;
 
- 		font-size: 22rpx;
 
- 		padding-left: 22rpx;
 
- 	}
 
- 	
 
- 	.shopBq {
 
- 		color: #FF4F00;
 
- 		font-size: 22rpx;
 
- 		border-radius: 4rpx;
 
- 		border: 1px solid #FF4F00;
 
- 		line-height: 30rpx;
 
- 		height: 30rpx;
 
- 		padding: 0rpx 5rpx;
 
- 		margin-top: 10rpx;
 
- 	}
 
- 	
 
- 	.brandsBg {
 
- 		display: flex;
 
- 	    height: 38rpx;
 
- 		flex-wrap: wrap;
 
- 		align-items: center;
 
- 		overflow: hidden;
 
- 		padding: 5rpx 0rpx;
 
- 	
 
- 	}
 
- 	
 
- 	.brands {
 
- 		border-radius: 4rpx;
 
- 		padding: 0 5rpx;
 
- 		color: #F19D01;
 
- 		height: 28rpx;
 
- 		border: 1px solid #F19D01;
 
- 	
 
- 		font-size: 20rpx;
 
- 		line-height: 28rpx;
 
- 		margin: 5rpx 10rpx 5rpx 0rpx;
 
- 	}
 
- 	
 
- 	.timeBg {
 
- 		display: flex;
 
- 	
 
- 	}
 
- 	
 
- 	.shopTime {
 
- 		color: #666666;
 
- 		font-size: 22rpx;
 
- 	}
 
- 	
 
- 	.addressBox {
 
- 		color: #666666;
 
- 		font-size: 22rpx;
 
- 	}
 
- 	.ckshopLine{
 
- 		display: flex;
 
- 		padding: 20rpx 0;
 
- 		border-bottom: 1px solid #EEEEEE;
 
- 	}
 
- 	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%;
 
- 		}
 
- 		.shareBtn{
 
- 			/* width: 100rpx; */
 
- 			background: #FFFFFF;
 
- 		}
 
- </style>
 
 
  |