| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350 | 
							- <template>
 
- 	<view class="content">
 
- 		<view class="kk"></view>
 
- 	  <view class="box" style="padding-bottom: 0;">
 
- 		  <view class="title">基础信息</view>
 
- 		  <view class="line">
 
- 			  <view class="lineLeft">
 
- 				  <span class="linexx">*</span> <span>活动名称</span>
 
- 			  </view>
 
- 			  <view class="lineRight">
 
- 				  <input type="text" v-model="activityName" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
 
- 			  </view>
 
- 		  </view>
 
- 		  <view class="line">
 
- 			  <view class="lineLeft">
 
- 				  <span class="linexx">*</span> <span>报名时间</span>
 
- 			  </view>
 
- 			  <view class="lineRight timelineRight">
 
- 					<picker mode="date" :value="startTime" @change="bindTimeChangeStart">
 
- 						<view class="dateViewno" v-if="!startTime">开始时间</view>
 
- 						<view class="dateView" v-else>{{startTime}}</view>
 
- 					</picker>
 
- 					<view class="timeHx">-</view>
 
- 					<picker mode="date" :value="endTime" @change="bindTimeChangeendTime"  :start='startTime'>
 
- 						<view class="dateViewno" v-if="!endTime">结束时间</view>
 
- 						<view class="dateView" v-else>{{endTime}}</view>
 
- 					</picker>
 
- 			  </view>
 
- 		  </view>
 
- 		  <view class="line" style="border: none;">
 
- 			  <view class="lineLeft">
 
- 				  <span class="linexx">*</span> <span>活动门店</span>
 
- 			  </view>
 
- 			  <view class="lineRight shopckBox">
 
- 				 <view class="shopListNo" v-if="!shopNames">请选择活动门店,可多选</view>
 
- 				  <view class="shopListY" v-if="shopNames">{{shopNames}}</view>
 
- 				 <view class="addshop" @click="addShop">添加</view>
 
- 			  </view>
 
- 		  </view>
 
- 	  </view>
 
- 	   <view class="kk"></view>
 
- 	  <view class="box" style="padding-bottom: 5rpx;">
 
- 		  <view class="title">活动发放券包</view>
 
- 		  <view class="line linecoupon" @click="gocouponShow">
 
- 			  <view class="lineLeft">
 
- 			  	  <span>选择券包</span>
 
- 			  </view>
 
- 			  <view class="lineRight" style="display: flex;">
 
- 				  {{couponPackageData?couponPackageData.name:'请选择'}}
 
- 			   <image src="../../static/img/chahao.png" mode="" v-if="couponPackageData" class="delcoupon" @click.stop="delcoupon"></image>
 
- 			   <image src="../../static/img/jt2.png" mode="widthFix" style="width: 16rpx;margin-top: 4rpx;margin-left: 10rpx;"></image>
 
- 			  </view>
 
- 		  </view>
 
- 		  <view class="linecouponCont" v-for="item in packageDetailList">
 
- 			  <view class="linecouponContLeft">
 
- 				  <view class="couponType" v-if="item.discountType==1">满减券</view>
 
- 				  <view class="couponType" v-if="item.discountType==2">商品券</view>
 
- 				  <view class="couponType" v-if="item.discountType==3">服务券</view>
 
- 				  <view class="couponName">{{item.actName}}</view>
 
- 			  </view>
 
- 			  <view class="couponNum">x{{item.actQty}}</view>
 
- 		  </view>
 
- 	  </view>
 
- 	  <view class="kk"></view>
 
- 	  <view class="box"  style="padding-bottom: 0;">
 
- 		<view class="title">报名信息</view>
 
- 		<view class="line">
 
- 		  <view class="lineLeft">
 
- 			  <span class="linexx">*</span> <span>报名凭证</span>
 
- 		  </view>
 
- 		  <view class="lineRight clWhereBox">
 
- 			 <view class="clWhereLine" :class="{clWhereActive:clWhereString.indexOf(1)!=-1}">手机号</view>
 
- 			 <view class="clWhereLine" :class="{clWhereActive:clWhereString.indexOf(2)!=-1}" @click="clWhere(2)">车牌号</view>
 
- 			 <view class="clWhereLine" :class="{clWhereActive:clWhereString.indexOf(3)!=-1}" @click="clWhere(3)">姓名</view>
 
- 			 <view class="clWhereLine" :class="{clWhereActive:clWhereString.indexOf(4)!=-1}" @click="clWhere(4)">单位</view>
 
- 		  </view>
 
- 		</view>
 
- 		<view class="line">
 
- 		  <view class="lineLeft">
 
- 			  <span class="linexx">*</span> <span>最多报名人数</span>
 
- 		  </view>
 
- 		  <view class="lineRight">
 
- 			  <input :disabled="isExistGroup" type="number" v-model="number" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
 
- 		  </view>
 
- 		</view>
 
- 		<view class="line"  ><!-- style="border: none;" -->
 
- 		  <view class="lineLeft">
 
- 			  <span class="linexx">*</span> <span>支付方式</span>
 
- 		  </view>
 
- 		  <view class="lineRight payBox">
 
- 			 <view class="payType" @click="payTypeCL(1)" >
 
- 				 <img src="../../static/img/ckn.png" alt="" class="payTypeImg" v-if="payType!=1">
 
- 				 <img src="../../static/img/cky.png" alt="" class="payTypeImg" v-if="payType==1">
 
- 				 <view class="payTypeTxt">在线支付</view>
 
- 			 </view>
 
- 			 <view class="payType" @click="nopayCl" style="padding-left: 30rpx;">
 
- 				 <img src="../../static/img/cky.png" alt="" class="payTypeImg" v-if="payType==2">
 
- 				 <img src="../../static/img/ckn.png" alt="" class="payTypeImg" v-if="payType!=2">
 
- 				 <view class="payTypeTxt">无需支付</view>
 
- 			 </view>
 
- 		  </view>
 
- 		</view>
 
- 		<view class="line" v-if="payType==1">
 
- 		  <view class="lineLeft">
 
- 			  <span class="linexx">*</span> <span>支付金额</span>
 
- 		  </view>
 
- 		  <view class="lineRight">
 
- 			  <input :disabled="isExistGroup" type="text" v-model="money" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
 
- 		  </view>
 
- 		</view>
 
- 		<view v-if="payType==1">
 
- 			<view class="line line3">
 
- 				<view class="lineLeft">
 
- 					<span>拼团设置</span>
 
- 				</view>
 
- 				<view class="lineRight"><switch :disabled="isExistGroup" :checked='groupType' @change="switchgroupType" style="transform:scale(0.8)"/></view>
 
- 			</view>
 
- 			<view v-if="groupType">
 
- 				<view class="line" >
 
- 				  <view class="lineLeft">
 
- 					  <span class="linexx">*</span> <span>拼团人数</span>
 
- 				  </view>
 
- 				  <view class="lineRight">
 
- 					  <input type="number" :disabled="isExistGroup" @blur="blurgroupNumber" v-model="groupNumber" placeholder="可输入大于1的整数" class="lineRightInput" placeholder-class="inputPlace">
 
- 				  </view>
 
- 				</view>
 
- 				<view class="line" >
 
- 				  <view class="lineLeft">
 
- 					  <span class="linexx">*</span> <span>拼团有效期</span>
 
- 				  </view>
 
- 				  <view class="lineRight">
 
- 					  <input type="digit" :disabled="isExistGroup" @blur="blurgroupTime" v-model="groupTime" placeholder="可输入0.5至72小时" class="linecInput" placeholder-class="inputPlace">
 
- 				  </view>
 
- 				  <view class="lineRight">小时</view>
 
- 				</view>
 
- 				<view class="line" >
 
- 				  <view class="lineLeft">
 
- 					  <span class="linexx">*</span> <span>拼团价</span>
 
- 				  </view>
 
- 				  <view class="lineRight">
 
- 					  <input type="digit" :disabled="isExistGroup" @blur="blurgroupMoney" v-model="groupMoney" placeholder="需小于支付金额" class="linecInput" placeholder-class="inputPlace">
 
- 				  </view>
 
- 				  <view class="lineRight">元</view>
 
- 				</view>
 
- 				<view class="line line3">
 
- 					<view class="lineLeft2">
 
- 						 <span class="linexx">*</span><span>拼团超时自动成团</span> 
 
- 						 <image @click="zyct" src="../../static/img/icon_help.png" mode="" class="helpIcon"></image>
 
- 					</view>
 
- 					<view class="lineRight"><switch :disabled="isExistGroup" :checked='groupOutState' @change="switchgroupOutState" style="transform:scale(0.8)"/></view>
 
- 				</view>
 
- 				<view class="line line3">
 
- 					<view class="lineLeft2">
 
- 						 <span class="linexx">*</span><span>自由参团</span> 
 
- 						 <image  @click="zdct" src="../../static/img/icon_help.png" mode="" class="helpIcon"></image>
 
- 					</view>
 
- 					<view class="lineRight"><switch :disabled="isExistGroup" :checked='groupRestrictions' @change="switchgroupRestrictions" style="transform:scale(0.8)"/></view>
 
- 				</view>
 
- 			</view>
 
- 		
 
- 		</view>
 
- 		<view class="line line3"  v-if="payType==1">
 
- 			<view class="lineLeft">
 
- 				<span>支持退款</span>
 
- 			</view>
 
- 			<view class="lineRight"><switch :checked='supportRefunds' @change="switchsupportRefunds" style="transform:scale(0.8)"/></view>
 
- 		</view>
 
- 		
 
- 		
 
- 	  </view>
 
- 	  <view class="kk"></view>
 
- 	  <view class="box">
 
- 	  		<view class="title fxTitle"> <span>分享有礼</span>
 
- 			  <span class="fxTs">请务必保证微支付商户开通商家转账功能。</span>
 
- 			</view>
 
- 			<view class="line"  ><!-- style="border: none;" -->
 
- 			  <view class="lineLeft">
 
- 				  <span>赠送节点</span>
 
- 			  </view>
 
- 			  <view class="lineRight " style="width: 520rpx;">
 
- 				 <view class="payType" @click="giftTypeCL(0)" style="padding-bottom: 20rpx;">
 
- 					 <img src="../../static/img/ckn.png" alt="" class="payTypeImg" v-if="giftType!=0">
 
- 					 <img src="../../static/img/cky.png" alt="" class="payTypeImg" v-if="giftType==0">
 
- 					 <view class="payTypeTxt">订单变为待服务状态(无需支付的,取报名完成;需要支付的取支付完成;拼团的取成团时间)</view>
 
- 				 </view>
 
- 				 <view class="payType" @click="giftTypeCL(1)" style="padding-top: 10rpx;">
 
- 					 <img src="../../static/img/cky.png" alt="" class="payTypeImg" v-if="giftType==1">
 
- 					 <img src="../../static/img/ckn.png" alt="" class="payTypeImg" v-if="giftType!=1">
 
- 					 <view class="payTypeTxt">订单变为已完成状态(车主到店核销成功)</view>
 
- 				 </view>
 
- 			  </view>
 
- 			</view>
 
- 			
 
- 			<view class="line">
 
- 			  <view class="lineLeft">
 
- 				  <span class="linexx">*</span> <span>分享佣金</span>
 
- 			  </view>
 
- 			  <view class="lineRight">
 
- 				  <view class="lineRightView">
 
- 					  <view class="fxlineMs">分享者获得佣金金额</view>
 
- 					   <input :disabled="isExistGroup" type="number" v-model="sharerMoney" placeholder="" class="lineRightInput" placeholder-class="inputPlace">
 
- 				  </view>
 
- 				  <view class="lineRightView">
 
- 				  	  <view  class="fxlineMs">购买者获得佣金金额</view>
 
- 					  <input :disabled="isExistGroup" type="number" v-model="buyerMoney" placeholder="" class="lineRightInput" placeholder-class="inputPlace" >
 
- 				  </view>
 
- 				 
 
- 				  
 
- 			  </view>
 
- 			</view>
 
- 			<view class="line2">
 
- 				<view class="lineTitle">分享封面</view>
 
- 				<view class="lineMS">分享到好友、朋友圈时显示,建议尺寸300*300px。如不设置,则取活动图片。最多上传1张</view>
 
- 				<view class="lineImgBOx">
 
- 					<view class="lineimghz" v-if="coverimg">
 
- 						<img src="../../static/img/del.png" alt="" class="lineimgdel" @click="delimgfx(1)" >
 
- 						<img :src="coverimg" alt="" class="lineimg" @click="previewImage(coverimg)">
 
- 					</view>
 
- 					<view class="lineimghz" @click="upimgfx(1)">
 
- 						<img src="../../static/img/scimg.png" alt="" class="lineimg">
 
- 					</view>
 
- 				</view>
 
- 			</view>
 
- 			<view class="line">
 
- 			  <view class="lineLeft">
 
- 				 <span>分享文案</span>
 
- 			  </view>
 
- 			  <view class="lineRight">
 
- 				  <input :disabled="isExistGroup" type="text" v-model="shareWords" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
 
- 				
 
- 			  </view>
 
- 			</view>
 
- 			<view class="line2">
 
- 				<view class="lineTitle">分享海报</view>
 
- 				<view class="lineMS">车主端生成推广海报时显示。如不设置,则取活动图片。最多上传1张</view>
 
- 				<view class="lineImgBOx">
 
- 					<view class="lineimghz" v-if="photoimg">
 
- 						<img src="../../static/img/del.png" alt="" class="lineimgdel" @click="delimgfx(2)" >
 
- 						<img :src="photoimg" alt="" class="lineimg" @click="previewImage(photoimg)">
 
- 					</view>
 
- 					<view class="lineimghz" @click="upimgfx(2)">
 
- 						<img src="../../static/img/scimg.png" alt="" class="lineimg">
 
- 					</view>
 
- 				</view>
 
- 			</view>
 
- 			
 
-       </view>			
 
- 	  <view class="kk"></view>
 
- 	  <view class="box">
 
- 	  		<view class="title">活动详情</view>
 
- 			<view class="line">
 
- 				  <view class="lineLeft">
 
- 					  <span>活动说明</span>
 
- 				  </view>
 
- 				  <view class="lineRight">
 
- 					  <textarea maxlength="-1" placeholder-class="inputPlace" v-model="activityContent" placeholder="请输入" class="textsr"/> 
 
- 				  </view>
 
- 			</view>
 
- 			<view class="line2">
 
- 				<view class="lineTitle">主图</view>
 
- 				<view class="lineMS">此图在活动顶部显示,建议宽度750px</view>
 
- 				<view class="lineImgBOx">
 
- 					<view class="lineimghz" v-if="img" >
 
- 						<img src="../../static/img/del.png" alt="" class="lineimgdel" @click="delimgzt" >
 
- 						<img :src="img" alt="" class="lineimg" @click="previewImage(img)">
 
- 					</view>
 
- 					<view class="lineimghz" @click="upimgzt" v-if="!img">
 
- 						<img src="../../static/img/scimg.png" alt="" class="lineimg">
 
- 					</view>
 
- 				</view>
 
- 			</view>
 
- 			<view class="line2">
 
- 				<view class="lineTitle">详情图片</view>
 
- 				<view class="lineMS">此图在活动底部显示,可用于显示门店照片等,建议宽度750px</view>
 
- 				<view class="lineImgBOx">
 
- 					<view class="lineimghz" v-for="(item,index) in imgListArr">
 
- 						<img src="../../static/img/del.png" alt="" class="lineimgdel" @click="delimg(index)" >
 
- 						<img :src="item" alt="" class="lineimg" @click="previewImage(item)">
 
- 					</view>
 
- 					<view class="lineimghz" @click="upimg">
 
- 						<img src="../../static/img/scimg.png" alt="" class="lineimg">
 
- 					</view>
 
- 				</view>
 
- 			</view>
 
- 			<view class="line lineBorderNo">
 
- 			  <view class="lineLeft">
 
- 				<span>音乐</span>
 
- 			  </view>
 
- 			  <view class="lineRight musicRight" @click="goMusic">
 
- 				 <view class="musicMS">选择/更换音乐</view>
 
- 				 <img src="../../static/img/jt.png" alt="" class="musicJt">
 
- 			  </view>
 
- 			</view>
 
- 			<view class="musicBox" v-if="ckMusic">
 
- 				<view class="musicLine">
 
- 					<view class="musicLineLeft">
 
- 						<img src="../../static/img/music.png" alt="" class="musicImg">
 
- 						<view class="musicName">{{ckMusic.name}}</view>
 
- 					</view>
 
- 					<view>
 
- 						<img src="../../static/img/sanchu.png" alt="" class="musicDel" @click="musicDel">
 
- 					</view>
 
- 					
 
- 				</view>
 
- 			</view>
 
- 	  </view>
 
- 	  <view style="height: 120rpx;"></view>
 
- 	  <view class="preview" @click="preview">预览</view>
 
- 	  <w-compress ref='wCompress' />
 
- 	  <view class="couponBox" v-if="couponShow">
 
- 		  <view class="couponCont">
 
- 			  <view class="couponTopBox">
 
- 				  <view class="couponTop">
 
- 					  <view class="couponTopTxrt">选择券包</view>
 
- 					  <image src="../../static/img/chahao.png" mode="" class="couponClose" @click="couponClose"></image>
 
- 				  </view>
 
- 				  <view class="couponSearchBox">
 
- 					  <image src="../../static/img/icon_search.png" mode="" class="searchImg"></image>
 
- 					  <input v-model="couponname" type="text" placeholder="券包名称" class="topInput" @confirm="inputconfirm">
 
- 				  </view>
 
- 			  </view>
 
- 			  <view class="couponLineBOx">
 
- 				  <view class="couponLine" @click="ckcoupon(item)" v-for="(item,index) in couponPackageList">{{item.name}}</view>
 
- 			  </view>
 
- 			 
 
- 		  </view>
 
- 	  </view>
 
- 	</view>
 
- </template>
 
- <script>
 
- 	import WCompress from '@/components/w-compress/w-compress.vue'
 
- 	export default {
 
- 		components: {
 
- 		        WCompress
 
- 		},
 
- 		data() {
 
- 			return {
 
- 				id:'',                //类型:String  可有字段  备注:新增无编辑有
 
- 				activityName:'',                //类型:String  必有字段  备注:活动名称
 
- 				startTime:"",                //类型:String  必有字段  备注:营业开始时间
 
- 				endTime:"",                //类型:String  必有字段  备注:营业结束时间
 
- 				number:"",                //类型:String  必有字段  备注:报名人数
 
- 				activityContent:"",                //类型:String  必有字段  备注:活动说明
 
- 				//clWhere:'',                //类型:String  必有字段  备注:报名凭证1,2,3,4 1手机号2车牌号3姓名4单位
 
- 				payType:1,                //类型:String  必有字段  备注:1在线支付2无需支付
 
- 				music:"",                //类型:String  必有字段  备注:背景音乐
 
- 				clState:'',                //类型:String  必有字段  备注:1未启用2启用
 
- 				img:'',                //类型:String  必有字段  备注:从首页带进来的图片
 
- 				imgList:'',//类型:String  必有字段  备注:详情图片多个以逗号分割
 
- 				datetimerange: '',
 
- 				shopNames:'',
 
- 				shopList:'',
 
- 				clWhereList:[1,],
 
- 				clWhereString:'1',
 
- 				imgListArr:[],
 
- 				money:'',
 
- 				ckMusic:'',
 
- 				id:'',
 
- 				groupNumber:'',
 
- 				groupType:false,
 
- 				groupTime:'',
 
- 				groupMoney:'',
 
- 				groupOutState:false,
 
- 				groupRestrictions:false,
 
- 				isExistGroup:false,
 
- 				couponname:'',
 
- 				couponShow:false,
 
- 				couponPackageList:'',
 
- 				packageDetailList:'',
 
- 				couponPackageData:'',
 
- 				
 
- 				supportRefunds:true,
 
- 				giftType:0,
 
- 				sharerMoney:0,
 
- 				buyerMoney:0,
 
- 				shareWords:'',
 
- 				coverimg:'',
 
- 				photoimg:'',
 
- 			}
 
- 		},
 
- 		onLoad(opt) {
 
-             this.img=opt.img;
 
- 			if(opt.id){
 
- 				this.id=opt.id;
 
- 				this.getDetails()
 
- 				
 
- 			}
 
- 			this.getcouponPackageList()
 
- 			
 
- 		},
 
- 		
 
- 		onShow() {
 
- 			const shopckList = uni.getStorageSync("shopckList");
 
- 			this.ckMusic=uni.getStorageSync("ckmusic")
 
- 			if(this.ckMusic){
 
- 				this.music=this.ckMusic.id
 
- 			}
 
- 			var shopNames=[];
 
- 			var shopList=[];
 
- 			if(shopckList){
 
- 				shopckList.forEach(item=>{
 
- 					shopNames.push(item.shopName)
 
- 					shopList.push(item.id)
 
- 				})
 
- 				this.shopNames=shopNames.join(',')
 
- 				this.shopList=shopList.join(',')
 
- 			}
 
- 			
 
- 		},
 
- 		methods: {
 
- 			delcoupon(){
 
- 				this.couponPackageData=''
 
- 				this.packageDetailList=[]
 
- 			},
 
- 		  ckcoupon(item){
 
- 			  this.couponPackageData=item
 
- 			   this.couponShow=false
 
- 			  this.$http('openH5SetTheGuest/couponPackageDetailList', {
 
- 			     couponPackageId:item.id
 
- 			   },'GET').then(res => {
 
- 			  				   this.packageDetailList=res.data
 
- 			   })
 
- 		  },
 
- 		  inputconfirm(){
 
- 			  this.$http('openH5SetTheGuest/couponPackageList', {
 
- 			      name:this.couponname
 
- 			   },'GET').then(res => {
 
- 			  				   this.couponPackageList=res.data
 
- 			   })
 
- 		  },
 
- 		  getcouponPackageList(){
 
- 			  this.$http('openH5SetTheGuest/couponPackageList', {
 
- 			   
 
- 			   },'GET').then(res => {
 
- 				   this.couponPackageList=res.data
 
- 			   })
 
- 		  },
 
- 		  couponClose(){
 
- 			 this.couponShow=false
 
- 		  },
 
- 		  gocouponShow(){
 
- 			   this.couponShow=true
 
- 		  },
 
- 		  nopayCl(){
 
- 			  if(this.isExistGroup){
 
- 				  return false
 
- 			  }
 
- 			  this.payType=2;
 
- 			  this.groupType=false
 
- 		  },
 
- 		  payTypeCL(){
 
- 			  if(this.isExistGroup){
 
- 			  	  return false
 
- 			  }
 
- 			   this.payType=1;
 
- 		  },
 
- 		  giftTypeCL(num){
 
- 				  if(this.isExistGroup){
 
- 					  return false
 
- 				  }
 
- 				   this.giftType=num;
 
- 		  },
 
- 		  zdct(){
 
- 			  uni.showModal({
 
- 			  	title: '自由参团',
 
- 			  	content: '如果开启自由参团,则用户可以在详情页直接参团;如果关闭,则用户只能通过好友分享的链接参与拼团',
 
- 				showCancel:false,
 
- 				confirmText:'我知道了',
 
- 			  	success: function (res) {
 
- 			  		
 
- 			  	}
 
- 			  });
 
- 		  },
 
- 		  zyct(){
 
- 			 uni.showModal({
 
- 			 	title: '拼团超时自动成团',
 
- 			 	content: '如果开启:过了拼团有效期或拼团活动结束后未能成团,则自动成团;如果关闭:过了拼团有效期或拼团活动结束后未能成团,则拼团失败,团内用户的支付金额将原路退回。',
 
- 				showCancel:false,
 
- 				confirmText:'我知道了',
 
- 			 	success: function (res) {
 
- 			 		
 
- 			 	}
 
- 			 }); 
 
- 		  },
 
- 		  switchgroupType(e){
 
- 			  console.log(e)
 
- 			  this.groupType=e.detail.value
 
- 		  },
 
- 		  switchsupportRefunds(e){
 
- 			  console.log(e)
 
- 			  this.supportRefunds=e.detail.value
 
- 		  },
 
- 		  switchgroupOutState(e){
 
- 		  		this.groupOutState=e.detail.value
 
- 		  },
 
- 		  switchgroupRestrictions(e){
 
-                 this.groupRestrictions=e.detail.value
 
- 		  },
 
- 		  previewImage(img){
 
- 			  var arr=[]
 
- 			  arr.push(img)
 
- 				uni.previewImage({
 
- 					urls: arr,
 
- 					longPressActions: {
 
- 						itemList: ['发送给朋友', '保存图片',],
 
- 						success: function(data) {},
 
- 						fail: function(err) {}
 
- 					}
 
- 				});
 
- 		  },
 
- 		
 
- 		  getDetails(){
 
- 			  uni.showLoading({
 
- 			  	title: '加载中'
 
- 			  })
 
- 			  this.$http('openH5SetTheGuest/getActivityDetails', {
 
- 			    id:this.id
 
- 			   },'GET').then(res => {
 
- 			  		uni.hideLoading();
 
- 					var jkdata=res.data.data
 
- 					this.activityName=jkdata.activityName;
 
- 					this.activityContent=jkdata.activityContent;
 
- 					this.money=jkdata.money;
 
- 					this.number=jkdata.number;
 
- 					
 
- 					this.clWhereString=jkdata.clWhere;
 
- 					this.clWhereList=this.clWhereString.split(',');
 
- 					this.startTime=jkdata.startTime.slice(0,10);
 
- 					this.endTime=jkdata.endTime.slice(0,10);
 
- 					this.payType=jkdata.payType;
 
- 					this.img=res.data.img.img;
 
- 					this.isExistGroup=res.data.isExistGroup
 
- 					if(res.data.imgList){
 
- 						res.data.imgList.forEach(item=>{
 
- 							this.imgListArr.push(item.img)
 
- 						})
 
- 					}
 
- 					var shopNames=[];
 
- 					var shopList=[];
 
- 					if(res.data.shopList){
 
- 						res.data.shopList.forEach(item=>{
 
- 							item.id=item.shopId
 
- 							shopNames.push(item.shopName)
 
- 							shopList.push(item.shopId)
 
- 						})
 
- 						this.shopNames=shopNames.join(',')
 
- 						this.shopList=shopList.join(',')
 
- 					}
 
- 					var useshoplist=res.data.shopList
 
- 					this.ckMusic=res.data.selectedMusic;
 
- 					if(this.ckMusic){
 
- 						this.music=this.ckMusic.id;
 
- 						uni.setStorage({
 
- 								key: 'ckmusic',
 
- 								data: this.ckMusic,
 
- 								 success: function () {	
 
- 											
 
- 								 }
 
- 						});
 
- 					}else{
 
- 						uni.removeStorageSync('ckmusic');
 
- 					}
 
- 					this.groupType=jkdata.groupType==1?true:false;
 
- 					this.groupNumber=jkdata.groupNumber;
 
- 					this.groupTime=jkdata.groupTime;
 
- 					this.groupMoney=jkdata.groupMoney;
 
- 					this.groupOutState=jkdata.groupOutState;
 
- 					this.groupRestrictions=jkdata.groupRestrictions;
 
- 					this.packageDetailList=res.data.couponList
 
- 					
 
- 					if(jkdata.couponPackageId){
 
- 						this.couponPackageData={
 
- 							name:jkdata.couponPackageName,
 
- 							id:jkdata.couponPackageId||''
 
- 						}
 
- 					}else{
 
- 						this.couponPackageData=''
 
- 					}
 
- 					
 
- 					this.sharerMoney=jkdata.sharerMoney
 
- 					this.buyerMoney = jkdata.buyerMoney
 
- 					this.shareWords=jkdata.shareWords
 
- 					if(jkdata.supportRefunds==1){
 
- 						this.supportRefunds=true
 
- 					}else{
 
- 						this.supportRefunds=false
 
- 					}
 
- 					if(jkdata.giftType==1){
 
- 						this.giftType=1
 
- 					}else{
 
- 						this.giftType=0
 
- 					}
 
- 					this.coverimg=res.data.coverimg.img
 
- 					this.photoimg=res.data.photoimg.img
 
- 					//console.log(this.imgListArr)
 
- 					uni.setStorage({
 
- 							key: 'shopckList',
 
- 							data: useshoplist,
 
- 							 success: function () {	
 
- 								
 
- 						}
 
- 					});
 
- 			  		//this.list=res.data
 
- 			   })
 
- 		  },
 
- 		  delimgzt(){
 
- 			this.img=''  
 
- 		  },
 
- 		  upimgzt(){
 
- 		  	var that = this;
 
- 		  	uni.chooseImage({
 
- 				sourceType: ['album','camera'],
 
- 				count:1, 
 
- 				sizeType:['compressed'],
 
- 				success: (chooseImageRes) => {
 
- 					const tempFilePaths = chooseImageRes.tempFilePaths;
 
- 					that.file=tempFilePaths[0];
 
- 					that.$refs.wCompress.start(that.file, {
 
- 					            pixels: 600000,  // 最大分辨率,默认二百万
 
- 					            quality: 0.9,     // 压缩质量,默认0.8
 
- 					            type: 'png',      // 图片类型,默认jpg
 
- 					            base64: true,     // 是否返回base64,默认false,非H5有效
 
- 					          }).then(resxx => {
 
- 					                uni.uploadFile({
 
- 					                       url: that.$request.baseUrl+'accompany/SuperCheckSheet/uploadFile', //仅为示例,非真实的接口地址
 
- 					                       filePath: resxx,
 
- 					                       name: 'file',
 
- 					                       formData: {
 
- 					                           'user': 'test'
 
- 					                       },
 
- 					                       success: (uploadFileRes) => {
 
- 					                         that.img=JSON.parse(uploadFileRes.data).data[0]
 
- 					                       }
 
- 					                   });           
 
- 					                          
 
- 					           }).catch(e => {
 
- 					                          
 
- 					           })
 
- 					 // uni.uploadFile({
 
- 						// 	url: that.$request.baseUrl+'accompany/SuperCheckSheet/uploadFile', //仅为示例,非真实的接口地址
 
- 						// 	filePath: tempFilePaths[0],
 
- 						// 	name: 'file',
 
- 						// 	formData: {
 
- 						// 		'user': 'test'
 
- 						// 	},
 
- 						// 	success: (uploadFileRes) => {
 
- 						// 		console.log(JSON.parse(uploadFileRes.data).data );
 
- 						// 		that.img=JSON.parse(uploadFileRes.data).data[0]
 
- 								
 
- 						// 	}
 
- 						// });
 
- 					
 
- 				}
 
- 		  	});
 
- 		  },
 
- 		  blurgroupNumber(){
 
- 			  if(this.groupNumber%1 != 0||this.groupNumber<2){
 
- 			  	uni.showToast({
 
- 			  		 title: '请输入大于1整数',
 
- 			  		 icon:'none',
 
- 			  		 duration: 2000
 
- 			  	});
 
- 			  	
 
- 			  }
 
- 		  },
 
- 		  blurgroupTime(){
 
- 			  if(!this.groupTime){
 
- 			  	uni.showToast({
 
- 			  		 title: '请输入拼团有效期',
 
- 			  		 icon:'none',
 
- 			  		 duration: 2000
 
- 			  	});
 
- 			  	
 
- 			  }else if(this.groupTime<0.5||this.groupTime>72){
 
- 			  	uni.showToast({
 
- 			  		 title: '有效期为0.5小时至72小时',
 
- 			  		 icon:'none',
 
- 			  		 duration: 2000
 
- 			  	});
 
- 			  
 
- 			  }
 
- 		  },
 
- 		  blurgroupMoney(){
 
- 			 
 
- 			  if(Number(this.groupMoney)>Number(this.money)||this.groupMoney==this.money){
 
- 			  	uni.showToast({
 
- 			  		 title: '拼团价格需小于支付金额',
 
- 			  		 icon:'none',
 
- 			  		 duration: 2000
 
- 			  	});
 
- 			  
 
- 			  }
 
- 		  },
 
- 		  preview(){
 
- 			  //console.log(this.giftType)
 
- 			 // return false
 
- 			 /* if(this.isExistGroup){
 
- 				  uni.showToast({
 
- 				  	 title: '已有用户参与该拼团活动,无法修改报名信息',
 
- 				  	 icon:'none',
 
- 				  	 duration: 3000
 
- 				  });
 
- 				  return false
 
- 			  } */
 
- 			//console.log(this.clWhere)
 
- 			 // if(this.money==0){
 
- 				//  this.money=0
 
- 			 // }
 
- 			if(this.money==null){
 
- 				this.money=''
 
- 			}
 
- 			if(this.payType==2){
 
- 				this.money=0;
 
- 			}
 
- 			console.log(this.money)
 
- 			if(this.activityName==''){
 
- 				uni.showToast({
 
- 					 title: '请输入活动名称',
 
- 					 icon:'none',
 
- 					 duration: 2000
 
- 				});
 
- 				return false;
 
- 			}else if(!this.startTime||!this.endTime){
 
- 				uni.showToast({
 
- 					 title: '请选择报名时间',
 
- 					 icon:'none',
 
- 					 duration: 2000
 
- 				});
 
- 				return false;
 
- 			}else if(this.shopList==''){
 
- 				uni.showToast({
 
- 					 title: '请选择活动门店',
 
- 					 icon:'none',
 
- 					 duration: 2000
 
- 				});
 
- 				return false;
 
- 			}else if(this.clWhereString==''){
 
- 				uni.showToast({
 
- 					 title: '请选择报名凭证',
 
- 					 icon:'none',
 
- 					 duration: 2000
 
- 				});
 
- 				return false;
 
- 			}else if(this.number==''){
 
- 				uni.showToast({
 
- 					 title: '请输入最多报名人数',
 
- 					 icon:'none',
 
- 					 duration: 2000
 
- 				});
 
- 				return false;
 
- 			}else if(this.money!==0&&this.money==''&&this.payType==1){
 
- 				uni.showToast({
 
- 					 title: '请输入支付金额',
 
- 					 icon:'none',
 
- 					 duration: 2000
 
- 				});
 
- 				return false;
 
- 			}else if(this.groupType){
 
- 				if(!this.groupNumber){
 
- 					
 
- 					uni.showToast({
 
- 						 title: '请输入拼团人数',
 
- 						 icon:'none',
 
- 						 duration: 2000
 
- 					});
 
- 					return false;
 
- 				}else if(this.groupNumber%1 != 0||this.groupNumber<2){
 
- 					uni.showToast({
 
- 						 title: '请输入大于1整数',
 
- 						 icon:'none',
 
- 						 duration: 2000
 
- 					});
 
- 					return false;
 
- 				}
 
- 				if(!this.groupTime){
 
- 					uni.showToast({
 
- 						 title: '请输入拼团有效期',
 
- 						 icon:'none',
 
- 						 duration: 2000
 
- 					});
 
- 					return false;
 
- 				}else if(this.groupTime<0.5||this.groupTime>72){
 
- 					uni.showToast({
 
- 						 title: '有效期为0.5小时至72小时',
 
- 						 icon:'none',
 
- 						 duration: 2000
 
- 					});
 
- 					return false;
 
- 				}
 
- 				if(!this.groupMoney){
 
- 					uni.showToast({
 
- 						 title: '请输入价格',
 
- 						 icon:'none',
 
- 						 duration: 2000
 
- 					});
 
- 					return false;
 
- 				}else if(Number(this.groupMoney)>Number(this.money)||this.groupMoney==this.money){
 
- 					uni.showToast({
 
- 						 title: '拼团价格需小于支付金额',
 
- 						 icon:'none',
 
- 						 duration: 2000
 
- 					});
 
- 					return false;
 
- 				}
 
- 			}
 
- 			//return false;
 
- 			var supportRefunds=''
 
- 			if(this.supportRefunds){
 
- 				supportRefunds=1 
 
- 			}else{
 
- 				supportRefunds=0
 
- 			}
 
- 			var editdata={
 
- 				id:this.id,
 
- 				activityName:this.activityName,
 
- 				startTime:this.startTime+ ' 00:00:00',
 
- 				endTime:this.endTime+ ' 23:59:59',
 
- 				number:this.number,
 
- 				activityContent:this.activityContent,
 
- 				clWhere:this.clWhereString,
 
- 				payType:this.payType,
 
- 				music:this.music,
 
- 				money:this.money,
 
- 				shopList:this.shopList,
 
- 				img:this.img,
 
- 				imgList:this.imgListArr.join(','),
 
- 				clState:'',
 
- 				groupType:this.groupType?1:0,
 
- 				groupNumber:this.groupNumber,
 
- 				groupTime:this.groupTime,
 
- 				groupMoney:this.groupMoney,
 
- 				groupOutState:this.groupOutState?1:0,
 
- 				groupRestrictions:this.groupRestrictions?1:0,
 
- 				couponPackageId:this.couponPackageData.id,
 
- 				couponPackageName:this.couponPackageData.name,
 
- 				supportRefunds:supportRefunds,
 
- 				giftType:this.giftType,
 
- 				sharerMoney:this.sharerMoney,
 
- 				buyerMoney:this.buyerMoney,
 
- 				shareWords:this.shareWords,
 
- 				coverimg:this.coverimg,
 
- 				photoimg:this.photoimg
 
- 			} 
 
- 			console.log(editdata)
 
- 			//return false;
 
- 			uni.setStorage({
 
- 					key: 'editdata',
 
- 					data: editdata,
 
- 					 success: function () {	
 
- 						uni.navigateTo({
 
- 							url:'jkDetail?type=1'
 
- 						})			
 
- 			    }
 
- 			});
 
- 		  },
 
- 		  addShop(){
 
- 			  uni.navigateTo({
 
- 			  	url:'ckshop'
 
- 			  })
 
- 		  },
 
- 		  goMusic(){
 
- 			  uni.navigateTo({
 
- 			  	url:'ckmusic'
 
- 			  })
 
- 		  },
 
- 		  musicDel(){
 
- 			  this.music='';
 
- 			  this.ckMusic=''
 
- 			  uni.removeStorageSync('ckmusic');
 
- 		  },
 
-           bindTimeChangeStart(e){
 
- 			  console.log(e)
 
- 			  this.startTime=e.detail.value;
 
- 		  },
 
- 		  bindTimeChangeendTime(e){
 
- 			  this.endTime=e.detail.value;
 
- 		  },
 
- 		  clWhere(num){
 
- 			  if(this.isExistGroup){
 
- 				  return false
 
- 			  }
 
- 			  console.log(this.clWhereList)
 
- 			  this.clWhereString=this.clWhereList.join(',');
 
- 			  if(this.clWhereString.indexOf(num)!=-1){
 
- 				 // this.clWhereList.remove(num)
 
- 				 let index = this.clWhereList.indexOf(num);
 
- 				 this.clWhereList.splice(index, 1)
 
- 				 //this.remove(num)
 
- 			  }else{
 
- 				 this.clWhereList.push(num) 
 
- 			  }
 
- 			  this.clWhereString=this.clWhereList.join(',');
 
- 			  console.log(this.clWhereString)
 
- 		  },
 
- 		  delimg(index){
 
- 			   this.imgListArr.splice(index, 1)
 
- 		  },
 
- 		  upimg(){
 
- 		  	   var that = this;
 
- 			   uni.chooseImage({
 
- 				sourceType: ['album','camera'],
 
- 				count:9, 
 
- 				sizeType:['compressed'],
 
- 				success: (chooseImageRes) => {
 
- 					const tempFilePaths = chooseImageRes.tempFilePaths;
 
- 					that.file=tempFilePaths[0]
 
- 					that.$refs.wCompress.start(that.file, {
 
- 					            pixels: 600000,  // 最大分辨率,默认二百万
 
- 					            quality: 0.9,     // 压缩质量,默认0.8
 
- 					            type: 'png',      // 图片类型,默认jpg
 
- 					            base64: true,     // 是否返回base64,默认false,非H5有效
 
- 					          }).then(resxx => {
 
- 					                uni.uploadFile({
 
- 					                       url: that.$request.baseUrl+'accompany/SuperCheckSheet/uploadFile', //仅为示例,非真实的接口地址
 
- 					                       filePath: resxx,
 
- 					                       name: 'file',
 
- 					                       formData: {
 
- 					                           'user': 'test'
 
- 					                       },
 
- 					                       success: (uploadFileRes) => {
 
- 					                         that.imgListArr=that.imgListArr.concat(JSON.parse(uploadFileRes.data).data)
 
- 					                       }
 
- 					                   });           
 
- 					                          
 
- 					           }).catch(e => {
 
- 					                          
 
- 					           })
 
- 					 // uni.uploadFile({
 
- 						// 	url: that.$request.baseUrl+'accompany/SuperCheckSheet/uploadFile', //仅为示例,非真实的接口地址
 
- 						// 	filePath: tempFilePaths[0],
 
- 						// 	name: 'file',
 
- 						// 	formData: {
 
- 						// 		'user': 'test'
 
- 						// 	},
 
- 						// 	success: (uploadFileRes) => {
 
- 						// 		console.log(JSON.parse(uploadFileRes.data).data );
 
- 						// 		that.imgListArr=that.imgListArr.concat(JSON.parse(uploadFileRes.data).data)
 
- 						// 		//that.imgArr=that.imgArr.concat(JSON.parse(uploadFileRes.data).data) ;
 
- 						// 		//that.imgurl=JSON.parse(uploadFileRes.data).data[0];
 
- 						// 		//that.goAddzdy(that.imgurl)
 
- 						// 	}
 
- 						// });
 
- 			   
 
- 					
 
- 				}
 
- 			   });
 
- 		  },
 
- 		  delimgfx(num){
 
- 			  if(num==1){
 
- 			  		this.coverimg = ''
 
- 			  }else{
 
- 			  	    this.photoimg = ''
 
- 			  }
 
- 		  },
 
- 		  upimgfx(num){
 
- 			  var that = this;
 
- 			  uni.chooseImage({
 
- 					sourceType: ['album','camera'],
 
- 					count:1, 
 
- 					sizeType:['compressed'],
 
- 					success: (chooseImageRes) => {
 
- 						const tempFilePaths = chooseImageRes.tempFilePaths;
 
- 						that.file=tempFilePaths[0]
 
- 						that.$refs.wCompress.start(that.file, {
 
- 									pixels: 600000,  // 最大分辨率,默认二百万
 
- 									quality: 0.9,     // 压缩质量,默认0.8
 
- 									type: 'png',      // 图片类型,默认jpg
 
- 									base64: true,     // 是否返回base64,默认false,非H5有效
 
- 								  }).then(resxx => {
 
- 										uni.uploadFile({
 
- 											   url: that.$request.baseUrl+'accompany/SuperCheckSheet/uploadFile', //仅为示例,非真实的接口地址
 
- 											   filePath: resxx,
 
- 											   name: 'file',
 
- 											   formData: {
 
- 												   'user': 'test'
 
- 											   },
 
- 											   success: (uploadFileRes) => {
 
- 												   if(num==1){
 
- 													   that.coverimg = JSON.parse(uploadFileRes.data).data[0]
 
- 												   }else{
 
- 													    that.photoimg = JSON.parse(uploadFileRes.data).data[0]
 
- 												   }
 
- 												 ///that.imgListArr=that.imgListArr.concat(JSON.parse(uploadFileRes.data).data)
 
- 											   }
 
- 										   });           
 
- 												  
 
- 								   }).catch(e => {
 
- 												  
 
- 								   })
 
- 						
 
- 						
 
- 					}
 
- 			  });
 
- 		  }
 
- 		 
 
- 		}
 
- 	}
 
- </script>
 
- <style scoped>
 
- .couponLine{
 
- 	font-size: 26rpx;color: #333333;
 
- 	border-bottom: 1px solid #EEEEEE;
 
- 	line-height: 80rpx;
 
- 	padding-left: 30rpx;
 
- 	
 
- }
 
- .delcoupon{
 
- 	width: 40rpx;height: 40rpx;
 
- 	padding-left: 10rpx;padding-right: 10rpx;
 
- }
 
- .couponLineBOx{
 
- 	height: calc(70vh - 200rpx);
 
- 	overflow-y: auto;
 
- 	padding-top: 10px;
 
- }
 
- .searchImg{
 
- 		width: 40rpx;
 
- 		height: 40rpx;
 
- 		margin-top: 16rpx;
 
- 		margin-left: 20rpx;
 
- 	}
 
- 	.couponSearchBox{
 
- 		width: 702rpx;
 
- 		height: 72rpx;
 
- 		background: #F4F5F7;
 
- 		border-radius: 36rpx;
 
- 		margin-left: 24rpx;
 
- 		display:flex;
 
- 		position: relative;
 
- 		margin-top: 10px;
 
- 	}
 
- 	.topInput{
 
- 		font-size: 28rpx;
 
- 		height: 72rpx;
 
- 		line-height: 72rpx;
 
- 		padding-left: 16rpx;
 
- 		width: 500rpx;
 
- 	}
 
- .couponCont{
 
- 	width: 100vw;
 
- 	height: 70vh;
 
- 	background: #ffffff;
 
- 	margin-top: 30vh;
 
- 	border-radius: 32rpx 32rpx 0rpx 0rpx;
 
- }
 
- .couponTop{
 
- 	display: flex;
 
- 	justify-content: space-between;
 
- 	padding: 40rpx 24rpx 10rpx 24rpx;
 
- }
 
- .couponTopTxrt{
 
- 		font-weight: 500;
 
- 		color: #3C3C3C;
 
- 		font-size: 30rpx;
 
- 		line-height: 36rpx;
 
- 	}
 
- 	.couponClose{
 
- 		width: 36rpx;
 
- 		height: 36rpx;
 
- 	}
 
- .content{
 
- 	min-height: 100vh;
 
- 	background:#F4F5F7;
 
- }
 
- .lineLeft2{
 
- 	width: 300rpx;color: #666666;display: flex;align-items: center;
 
- }
 
- .helpIcon{
 
- 	width: 26rpx;height: 26rpx;padding-left: 10rpx;padding-top: 4rpx;
 
- }
 
- .preview{
 
- 	width: 750rpx;
 
- 	height: 98rpx;
 
- 	background: #3F90F7;
 
- 	line-height: 98rpx;
 
- 	text-align: center;
 
- 	color: #ffffff;
 
- 	font-size: 30rpx;
 
- 	position: fixed;
 
- 	left: 0;
 
- 	bottom: 0;
 
- }
 
- .musicBox{
 
- 	padding: 0 24rpx;
 
- }
 
- .musicLine{
 
- 	display: flex;
 
- 	justify-content: space-between;
 
- 	margin-bottom:30rpx;
 
- 	padding:26rpx 24rpx;
 
- 	background: #F4F5F7;
 
- 	border-radius: 10rpx;
 
- }
 
- .musicName{
 
- 	color: #3C3C3C;font-size: 24rpx;
 
- 	padding-left: 10rpx;
 
- }
 
- .musicLineLeft{
 
- 	display: flex;
 
- }
 
- .musicDel{
 
- 	width: 30rpx;
 
- 	height: 30rpx;
 
- }
 
- .musicImg{
 
- 	width: 36rpx;
 
- 	height: 36rpx;
 
- }
 
- .line2{
 
- 	padding: 30rpx 24rpx;
 
- 	border-bottom: 1px solid #EEEEEE;
 
- }
 
- .musicJt{
 
- 	width: 28rpx;
 
- 	height: 28rpx;
 
- 	margin-top: 8rpx;
 
- }
 
- .musicRight{
 
- 	display: flex;
 
- 	justify-content: space-between;
 
- 	width: 500rpx;
 
- }
 
- .musicMS{
 
- 	color: #CCCCCC;
 
- }
 
- .lineimgdel{
 
- 	width: 37rpx;
 
- 	height: 37rpx;
 
- 	position: absolute;
 
- 	top: -18rpx;
 
- 	right: -18rpx;
 
- }
 
- .lineimghz{
 
- 	margin-right: 24rpx;
 
- 	position: relative;
 
- 	margin-top: 24rpx;
 
- }
 
- .lineimg{
 
- 	width: 150rpx;
 
- 	height: 150rpx;
 
- }
 
- .lineTitle{
 
- 	color: #666666;font-size: 28rpx;
 
- }
 
- .lineMS{
 
- 	color: #999999;font-size: 24rpx;padding-top: 10rpx;
 
- }
 
- .lineImgBOx{
 
- 	display: flex;
 
- 	flex-wrap: wrap;
 
- }
 
- .payBox{
 
- 	display: flex;
 
- }
 
- .payTypeImg{
 
- 	width: 36rpx;
 
- 	height: 36rpx;
 
- }
 
- .payType{
 
- 	display: flex;
 
- 	line-height: 36rpx;
 
- }
 
- .payTypeTxt{
 
- 	padding-left: 10rpx;
 
- 	color: #3C3C3C;
 
- }
 
- .line{
 
- 	display: flex;
 
- 	font-size: 28rpx;
 
- 	padding: 30rpx 24rpx;
 
- 	border-bottom: 1px solid #EEEEEE;
 
- }
 
- .linecoupon{
 
- 	justify-content: space-between;
 
- }
 
- .linexx{
 
- 	color: #FF3B30;
 
- }
 
- .dateView{
 
- 	color:#3C3C3C ;
 
- }
 
- .lineLeft{
 
- 	width: 200rpx;
 
- 	color: #666666;
 
- }
 
- .clWhereBox{
 
- 	display: flex;
 
- 	
 
- }
 
- .clWhereLine{
 
- 	width: 100rpx;
 
- 	height: 52rpx;
 
- 	background: #F4F5F7;
 
- 	border-radius: 10rpx;
 
- 	text-align: center;
 
- 	color: #3C3C3C;
 
- 	line-height: 52rpx;
 
- 	font-size: 24rpx;
 
- 	margin-right: 24rpx;
 
- }
 
- .clWhereBox .clWhereActive{
 
- 	background: #EAF3FF;
 
- 	border: 2rpx solid #3F90F7;
 
- 	height: 48rpx;
 
- 	color: #3F90F7;
 
- 	height: 48rpx;
 
- 	line-height: 48rpx;
 
- 	width: 96rpx;
 
- }
 
- .timelineRight{
 
- 	display: flex;
 
- 	
 
- }
 
- .textsr{
 
- 	width: 500rpx;
 
- 	height: 180rpx;
 
- }
 
- .shopListNo{
 
- 	width: 400rpx;
 
- 	white-space:nowrap;
 
- 	overflow:hidden;
 
- 	text-overflow:ellipsis;
 
- 	color: #CCCCCC;
 
- }
 
- .shopListY{
 
- 	width: 400rpx;
 
- 	white-space:nowrap;
 
- 	overflow:hidden;
 
- 	text-overflow:ellipsis;
 
- 	color: #3C3C3C;
 
- }
 
- .addshop{
 
- 	color: #3F90F7;
 
- 	padding-left: 10rpx;
 
- }
 
- .shopckBox{
 
- 	display: flex;
 
- }
 
- .timeHx{
 
- 	color: #CCCCCC;
 
- 	padding: 0 30rpx;
 
- }
 
- .lineRightInput{
 
- 	font-size: 28rpx;
 
- 	color:#3C3C3C ;
 
- 	width: 500rpx;
 
- }
 
- .linecInput{
 
- 	font-size: 28rpx;
 
- 	color:#3C3C3C ;
 
- 	width: 400rpx;
 
- }
 
- .lineRight{
 
- 	color:#3C3C3C ;
 
- 	
 
- }
 
- .inputPlace{
 
- 	color: #CCCCCC;
 
- }
 
- .dateViewno{
 
- 	color: #CCCCCC;
 
- }
 
- .box{
 
- 	background: #ffffff;
 
- 	padding-bottom: 30rpx;
 
- }
 
- .kk{
 
- 	background:#F4F5F7;
 
- 	height: 20rpx;
 
- }
 
- .title{
 
- 	padding-left: 24rpx;
 
- 	padding-top: 30rpx;
 
- 	color: #333333;
 
- 	font-size: 32rpx;
 
- 	line-height: 45rpx;
 
- 	font-weight: 500;
 
- }
 
- .lineBorderNo{
 
- 	border-bottom: none !important;
 
- }
 
- .line3{
 
- 	display: flex;justify-content: space-between;
 
- 	padding: 16rpx 24rpx;
 
- }
 
- .line3 .lineLeft{
 
- 	display: flex;align-items: center;
 
- }
 
- .linecouponCont{
 
- 	display: flex;
 
- 	justify-content: space-between;
 
- 	padding: 15rpx 24rpx;
 
- }
 
- .linecouponContLeft{
 
- 	display: flex;
 
- 	
 
- }
 
- .couponType{
 
- 	color: #FFA511;
 
- 	border: 1px solid #FFA511;
 
- 	border-radius: 4rpx;
 
- 	font-size: 18rpx;
 
- 	line-height: 26rpx;
 
- 	padding: 0 8rpx;
 
- 	height: 26rpx;
 
- 	margin-top: 5rpx;
 
- }
 
- .couponName{
 
- 	font-size: 26rpx;line-height: 38rpx;color: #3C3C3C;
 
- 	padding-left: 20rpx;
 
- }
 
- .couponNum{
 
- 	font-size: 26rpx;line-height: 38rpx;color: #999999;
 
- }
 
- .couponBox{
 
- 	width: 100vw;
 
- 	height: 100vh;
 
- 	background: rgba(0, 0, 0, 0.5);
 
- 	position: fixed;
 
- 	top: 0;
 
- 	left: 0;
 
- }
 
- .fxTs{
 
- 	font-size: 24rpx;
 
- 	color: red;
 
- }
 
- .fxTitle{
 
- 	display: flex;
 
- 	justify-content: space-between;
 
- }
 
- .lineRightView{
 
- 	display: flex;
 
- 	padding-bottom: 10rpx;
 
- }
 
- .lineRightView .fxlineMs{
 
- 	line-height: 50rpx;
 
- 	padding-right: 20rpx;
 
- }
 
- .lineRightView input{
 
- 	width: 200rpx;
 
- 	height: 50rpx;
 
- 		line-height: 50rpx;
 
- 		text-align: right;
 
- }
 
- </style>
 
 
  |