jkDetail.vue 55 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092
  1. <template>
  2. <view class="content">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'活动详情'"></homenav>
  4. <view class="top">
  5. <img :src="mainImg" alt="" class="topimg" mode="widthFix">
  6. </view>
  7. <view class="cont">
  8. <view class="name">
  9. <view class="ptNameBz" v-if="info.groupType">
  10. {{info.groupNumber}}人团
  11. </view>
  12. <view style="width: 550rpx;"> {{info.activityName}}</view></view>
  13. <view class="name2">{{info.startTime.slice(0,10)}}~{{info.endTime.slice(0,10)}}</view>
  14. <view class="name3">{{info.activityContent}}</view>
  15. </view>
  16. <view class="couponPackageData" v-if="info.couponPackageName">
  17. <view class="couponPackageTitle">{{info.couponPackageName}}</view>
  18. <view class="linecouponCont" v-for="item in info.couponList">
  19. <view class="linecouponContLeft">
  20. <view class="couponType" v-if="item.discountType==1">满减券</view>
  21. <view class="couponType" v-if="item.discountType==2">商品券</view>
  22. <view class="couponType" v-if="item.discountType==3">服务券</view>
  23. <view class="couponName">{{item.actName}}</view>
  24. </view>
  25. <view class="couponNum">x{{item.actQty}}</view>
  26. </view>
  27. </view>
  28. <view class="shopBox">
  29. <view class="shopBoxTop">
  30. <view class="shopMs">活动门店</view>
  31. <view class="shopTy" @click="useShow">
  32. <view class="shopTyTxt">{{info.shopCount}}家门店通用</view>
  33. <img src="../../static/timg/jt2.png" alt="" class="shopjt">
  34. </view>
  35. </view>
  36. <view class="shopCont">
  37. <view class="shopContLeft">
  38. <view class="shopName">{{shopInfo.shopName}}</view>
  39. <view class="shopaddress">{{shopInfo.address?shopInfo.address:''}}</view>
  40. </view>
  41. <view class="shopContRight">
  42. <view class="shopContRightLine" @click="getmap">
  43. <img src="../../static/timg/icon_map.png" alt="" class="shopRightIcon">
  44. <view class="shopRightTxt">地图</view>
  45. </view>
  46. <view class="shopRightSx"></view>
  47. <view class="shopContRightLine" @click="call">
  48. <img src="../../static/timg/icon_phone.png" alt="" class="shopRightIcon">
  49. <view class="shopRightTxt">电话</view>
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. <!-- //0拼团取消1拼团失败 2拼团中3拼团成功4自动成团 groupState -->
  55. <!-- 拼团信息 -->
  56. <view class="ptCont" v-if="info.shareOpenGroup.groupState == 2&&!ptState">
  57. <view class="ptTimeBox">
  58. <view class="ptTimeTxt">拼团剩余</view>
  59. <view class="ptTime">{{dh}}</view>
  60. <view class="ptdd">:</view>
  61. <view class="ptTime">{{dm}}</view>
  62. <view class="ptdd">:</view>
  63. <view class="ptTime">{{ds}}</view>
  64. </view>
  65. <view class="ptmobilePhoneLine">
  66. <image src="../../static/timg/icon_guan.png" mode="" class="vipIcon"></image>
  67. <view class="ptmobilePhone">{{info.shareOpenGroup.firstMobilePhone}}</view>
  68. </view>
  69. <view class="DiffBNumber">还差 <span style="#EC0F0A">{{info.shareOpenGroup.groupNumber - info.shareGroupList.length}}</span> 人,赶快邀请好友来拼团吧</view>
  70. <view class="ptBtnBox" v-if="!ifMyself">
  71. <view class="yqhypt" @click="jionPt">参与拼团</view>
  72. </view>
  73. <view class="ptBtnBox" v-if="ifMyself">
  74. <view class="seeTy" @click="seeTyshowBtn">查看全部团员</view>
  75. <button open-type="share" class=" shareBtn" >
  76. <view class="yqhypt">邀请好友拼团</view>
  77. </button>
  78. </view>
  79. </view>
  80. <!-- //0拼团取消1拼团失败 2拼团中3拼团成功4自动成团 groupState -->
  81. <view class="ptCont2" v-if="info.shareOpenGroup.groupState == 3||info.shareOpenGroup.groupState == 4||info.shareOpenGroup.groupState == 1||info.shareOpenGroup.groupState == 0">
  82. <view class="groupStateBox " v-if="info.shareOpenGroup.groupState==3||info.shareOpenGroup.groupState == 4||info.shareOpenGroup.groupState == 0">
  83. <image src="../../static/timg/icon_checked@2x.png" mode="" class="groupStateIcon"></image>
  84. <view class="groupStateTxt">拼团成功</view>
  85. </view>
  86. <view class="groupStateBox " v-if="info.shareOpenGroup.groupState==1">
  87. <image src="../../static/img/icon_del_red.png" mode="" class="groupStateIcon"></image>
  88. <view class="groupStateTxt">未满人数,拼团失败</view>
  89. </view>
  90. <view class="ptmobilePhoneLine">
  91. <image src="../../static/timg/icon_guan.png" mode="" class="vipIcon"></image>
  92. <view class="ptmobilePhone">{{info.shareOpenGroup.firstMobilePhone}}</view>
  93. </view>
  94. <view class="ptBtnBox" style="padding-top: 20rpx;">
  95. <view class="seeTy" @click="seeTyshowBtn">查看全部团员</view>
  96. </view>
  97. </view>
  98. <view class="detailBOx" v-if="dimgList.length>0">
  99. <view class="detailTitle">活动详情</view>
  100. <view class="detailImgBox" v-for="(item,index) in dimgList">
  101. <img :src="item.img" alt="" class="detailImg" mode="widthFix">
  102. </view>
  103. </view>
  104. <view class="companyName">©{{info.supportInfo}}</view>
  105. <view style="height: 200rpx;padding-bottom: constant(safe-area-inset-bottom);
  106. padding-bottom: env(safe-area-inset-bottom);"></view>
  107. <view class="bottom">
  108. <view class="timeTbox" v-if="!activityEnd">
  109. <view class="timeviewTxt" v-if="activityNoOpen"> 距开始</view>
  110. <view class="timeviewTxt" v-if="!activityNoOpen"> 距结束</view>
  111. <view class="timeK">{{shengyuD}}</view>
  112. <view class="timeviewTxt" > 天</view>
  113. <view class="timeK">{{shengyuH}}</view>
  114. <view class="timeviewTxt"> 时</view>
  115. <view class="timeK">{{shengyuM}}</view>
  116. <view class="timeviewTxt" > 分</view>
  117. </view>
  118. <view class="bottomBtnBox" v-if="info.clState!=1">
  119. <view class="bottomBtnBoxLeft" @click="shareShowzs">
  120. <img src="../../static/timg/share.png" alt="" class="shareIcon">
  121. <view class="shareTxt">分享</view>
  122. </view>
  123. <!-- <button open-type="share" class="bottomBtnBoxLeft shareBtn" >
  124. <image src="../../static/timg/share.png" mode="" class="shareIcon"></image>
  125. <view class="shareTxt">分享</view>
  126. </button> -->
  127. <!-- 状态1未开始 2进行中3已结束 -->
  128. <view class="bottomBtn" v-if="info.state==2&&info.groupType!=1" @click="signUp" :style="{background:'#'+themeColor}">
  129. <span v-if="info.payType==1">¥{{info.money}} &nbsp; 立即抢购</span>
  130. <span v-else>立即报名</span>
  131. </view>
  132. <view class="bottomPtBox" v-if="info.state==2&&info.groupType==1" >
  133. <view class="separate" @click="signUp">
  134. <view class="separateTop">¥{{info.money}}</view>
  135. <view class="separateTxt">单独购买</view>
  136. </view>
  137. <view class="groupBtn" @click="groupFn">
  138. <view class="groupBtnTop">¥{{info.groupMoney}}</view>
  139. <view class="groupBtnTxt">发起拼团</view>
  140. </view>
  141. </view>
  142. <view class="bottomBtn2" v-if="info.state==1">报名未开始</view>
  143. <view class="bottomBtn2" v-if="info.state==3">报名已结束</view>
  144. </view>
  145. <view class="bottomBtnBox" v-if="info.clState==1">
  146. <view class="bottomBtnBoxLeft" @click="shareShowzs">
  147. <img src="../../static/timg/share.png" alt="" class="shareIcon">
  148. <view class="shareTxt">分享</view>
  149. </view>
  150. <view class="bottomBtn2" >该活动已停用,暂无法参与拼团</view>
  151. </view>
  152. </view>
  153. <!-- 报名弹框 -->
  154. <view class="baomingBox" v-if="bmShow" @click="nobmshow">
  155. <view class="baomingCont applicationTk" @click.stop="" :style="{bottom: jpHeight}">
  156. <view class="bmTop">
  157. <view class="bmTitle">登记信息</view>
  158. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="nobmshow">
  159. </view>
  160. <view style="padding: 0 24rpx;">
  161. <view class="bmshopLine" @click="showCkshop">
  162. <view class="bmshopname" v-if="!shopName">请选择门店</view>
  163. <view class="bmshopname" style="color: #333333;">{{shopName}}</view>
  164. <img src="../../static/timg/icon_arrow_right.png" alt="" class="bmshopjt">
  165. </view>
  166. <!-- clWhere报名凭证1,2,3,4 1手机号2车牌号3姓名4单位 -->
  167. <view class="bmLine" v-if="info.clWhere.indexOf(1)!=-1" @click="focusState1cl">
  168. <!-- :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">
  169. </view>
  170. <view class="bmLine" v-if="info.clWhere.indexOf(2)!=-1" @click="focusState2cl">
  171. <input type="text" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="plateNumber" class="bmlineInput" placeholder="输入车牌号" placeholder-style="color:#999999">
  172. </view>
  173. <view class="bmLine" v-if="info.clWhere.indexOf(3)!=-1" @click="focusState3cl">
  174. <input type="text" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="customerName" class="bmlineInput" placeholder="输入姓名" placeholder-style="color:#999999">
  175. </view>
  176. <view class="bmLine" v-if="info.clWhere.indexOf(4)!=-1" @click="focusState4cl">
  177. <input type="text" :adjust-position="false" :hold-keyboard="true" @blur="inputBindBlur" @focus="inputBindFocus" v-model="unit" class="bmlineInput" placeholder="输入单位" placeholder-style="color:#999999">
  178. </view>
  179. </view>
  180. <view class="bmTtnBox">
  181. <view style="height: 1rpx;"></view>
  182. <view class="bmBtn" @click="submitOrder" :style="{background:'#'+themeColor}">
  183. <span v-if="groupOwner">
  184. ¥{{info.groupMoney}} &nbsp; 立即拼团
  185. </span>
  186. <span v-else>
  187. <span v-if="info.payType==1">¥{{info.money}} &nbsp; 单独购买</span>
  188. <span v-else>立即报名</span>
  189. </span>
  190. </view>
  191. </view>
  192. </view>
  193. </view>
  194. <!-- 门店弹框 -->
  195. <view class="baomingBox ckshopBox" v-if="ckshopShow">
  196. <view class="baomingCont">
  197. <view class="bmTop">
  198. <view class="bmTitle">选择门店</view>
  199. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop">
  200. </view>
  201. <view style="padding: 0 24rpx; height: 65vh;overflow-y: scroll;">
  202. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  203. <view class="shoplineLeft">
  204. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  205. <image src="../../static/timg/noimg.png" mode="" class="shopImg" v-else></image>
  206. </view>
  207. <view class="shopright" style="padding-left: 20rpx;">
  208. <view class="shopTop">
  209. <view class="shopName">{{item.shopName}}</view>
  210. </view>
  211. <view class="brandsBg" v-if="item.brands">
  212. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  213. </view>
  214. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  215. v-if="item.endTime">{{item.endTime}}</span> </view>
  216. <view class="shopBottomLeft">
  217. <span class="shopaddress"
  218. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  219. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  220. </view>
  221. </view>
  222. </view>
  223. </view>
  224. </view>
  225. </view>
  226. <!-- 适用门店 -->
  227. <view class="baomingBox ckshopBox" v-if="useShopShow" @click="noShowShop2">
  228. <view class="baomingCont" @click.stop="">
  229. <view class="bmTop">
  230. <view class="bmTitle">选择门店</view>
  231. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop2">
  232. </view>
  233. <view style="padding: 0 24rpx; height: 65vh;overflow-y: scroll;">
  234. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  235. <view class="shoplineLeft">
  236. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  237. <image src="../../static/timg/noimg.png" mode="" class="shopImg" v-else></image>
  238. </view>
  239. <view class="shopright" style="padding-left: 20rpx;">
  240. <view class="shopTop">
  241. <view class="shopName">{{item.shopName}}</view>
  242. </view>
  243. <view class="brandsBg" v-if="item.brands">
  244. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  245. </view>
  246. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  247. v-if="item.endTime">{{item.endTime}}</span> </view>
  248. <view class="shopBottomLeft">
  249. <span class="shopaddress"
  250. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  251. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  252. </view>
  253. </view>
  254. </view>
  255. </view>
  256. </view>
  257. </view>
  258. <img src="../../static/timg/mp3.png" class="mp3Img" @click="play()" v-if="!payshow&mp3Url!=''">
  259. <img src=".../../static/timg/mp31.png" class="mp3Img" @click="play2()" id="bofang" v-if="payshow&mp3Url!=''">
  260. <view class="shareBox" v-if="shareShow" @click="shareShowyc">
  261. <img :src="shareQrCode" alt=""style="width: 300rpx;height:300rpx">
  262. <view class="shareCont" @click.stop="">
  263. <button open-type="share" class=" shareBtn" >
  264. <image src="../../static/timg/icon_wxhy.png" mode="" class="shareBimg"></image>
  265. <view class="bottomTxtshare">分享</view>
  266. </button>
  267. <view @click="gowp">
  268. <img src="../../static/timg/icon_haibao.png" alt="" class="shareBimg">
  269. <view class="bottomTxtshare">生成海报</view>
  270. </view>
  271. </view>
  272. </view>
  273. <!-- 手机号授权 -->
  274. <view class="authorizBox" v-if="authorizShow" @click="authorizShowno">
  275. <view class="authorizCont" @click.stop="">
  276. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  277. <view class="authorizMs">未注册的手机号登录后将自动创建会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>
  278. <view class="sqLine">
  279. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  280. <view class="sqRefuse" @click="authorizShowHide">拒绝</view>
  281. </view>
  282. </view>
  283. <view style="text-align: center;padding-top: 56rpx;">
  284. <image src="../../static/timg/icon_guanbi@2x.png" @click="authorizShowno" mode="" class="authorizCloseImg"></image>
  285. </view>
  286. </view>
  287. <!-- 拼单更多 -->
  288. <view class="baomingBox" v-if="djsMoreShow">
  289. <view class="djsCont">
  290. <view class="bmTop">
  291. <view class="bmTitle">12人正在拼单,可直接参与</view>
  292. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop2">
  293. </view>
  294. <view class="djsLineBox">
  295. <view class="ptLine" v-for="(item,index) in info.groupList">
  296. <view class="FirstMobilePhone">{{item.FirstMobilePhone?item.FirstMobilePhone:'***'}}</view>
  297. <view class="ptlineRight">
  298. <view class="ptlinexx">
  299. <view class="DiffBNumber">还差 <span>{{item.DiffBNumber}}人</span>拼成 </view>
  300. <view class="ptdjs">剩余{{item.EndTime | limitTimeFilter }}</view><!-- | limitTimeFilter -->
  301. </view>
  302. <view class="ptBtn" @click="join(item)">{{item.IfMyself?'邀请好友':'去拼团'}} </view>
  303. </view>
  304. </view>
  305. </view>
  306. </view>
  307. </view>
  308. <!-- 全部团员 -->
  309. <view class="maBox" v-if="seeTyshow" @click="seeTyHide">
  310. <view class="grouptk" @click.stop="">
  311. <view class="maTop">
  312. <view class="maTitle">全部团员</view>
  313. <image src="../../static/img/icon_delete.png" mode=""
  314. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;" @click="seeTyHide"></image>
  315. </view>
  316. <view class="grouptkCobt">
  317. <view class="grouptkLIne" v-for="(item,index) in info.shareGroupList">
  318. <view class="grouptkLIneLeft">
  319. <view class="groupTz" v-if="item.groupMemberLevel==1">团长</view>
  320. <view class="groupTy" v-else>团员</view>
  321. <view class="groupmobilePhone">{{item.mobilePhone}}</view>
  322. </view>
  323. <view class="grouptkLIneTime">{{item.payTime}}</view>
  324. </view>
  325. </view>
  326. </view>
  327. </view>
  328. </view>
  329. </template>
  330. <script>
  331. import homenav from "../../components/homenav/nav.vue"
  332. let that;
  333. export default {
  334. components: {
  335. homenav
  336. },
  337. data() {
  338. return {
  339. info:'',
  340. type:'',
  341. shopNum:'',
  342. shopInfo:'',
  343. activityEnd:true,
  344. activityNoOpen:true,
  345. shengyuD:'',
  346. shengyuH:'',
  347. shengyuM:'',
  348. queryShopList:'',
  349. collectingID:'',
  350. bmShow:false,
  351. ckshopShow:false,
  352. mainImg:'',
  353. dimgList:[],
  354. shopName:'',
  355. ckshopdata:'',
  356. customerName:'',
  357. mobilePhone:'',
  358. unit:'',
  359. plateNumber:'',
  360. comment:'',
  361. userInfo:'',
  362. useShopShow:false,
  363. jpHeight:0,
  364. isPlay: false,
  365. mp3Url:'',
  366. payshow:false,
  367. jpNum:1,
  368. focusState1:false,
  369. focusState2:false,
  370. focusState3:false,
  371. focusState4:false,
  372. shareShow:false,
  373. ext:'',
  374. shareId:'',
  375. scene:'',
  376. themeColor:'',
  377. authorizShow:false,
  378. wxOpenData:'',
  379. ext:'',
  380. iStatusBarHeight:'',
  381. groupOwner:'',
  382. groupID:'',
  383. ticker: null,
  384. djsMoreShow:false,
  385. dh:'',
  386. dm:'',
  387. ds:'',
  388. seeTyshow:false,
  389. ptState:false,
  390. cyptNum:'',
  391. shareOpenID:'',
  392. shareName:'',
  393. ifMyself:'',
  394. }
  395. },
  396. onLoad(opt) {
  397. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  398. if(opt.shareId){
  399. this.shareOpenID=opt.shareId;
  400. this.shareName=opt.shareName;
  401. this.groupID=opt.groupID
  402. }
  403. //this.groupID="E035EA0C-6095-466F-8580-89E6683FE1FF"
  404. console.log(opt)
  405. if(opt.shareId){
  406. this.shareId=opt.shareId
  407. }
  408. this.ext=this.$common.getExtStoreId();
  409. // opt.scene='10002'
  410. if(this.userInfo){
  411. this.userInfo=this.$store.state.userInfo;
  412. this.wxOpenData=this.$store.state.wxOpenData;
  413. this.themeColor = uni.getStorageSync("themeColor");
  414. this.queryGoodsLook()
  415. if(opt.scene&&opt.scene!='undefined'){
  416. this.scene=opt.scene;
  417. this.getShareParams()
  418. }else{
  419. this.collectingID=opt.id;
  420. //this.getInfo();
  421. this.queryActivityInfo();
  422. this.queryGoodsLook()
  423. }
  424. }else{
  425. this.$common.automaticlogin().then(val => {
  426. this.themeColor = uni.getStorageSync("themeColor");
  427. this.userInfo=this.$store.state.userInfo;
  428. this.wxOpenData=this.$store.state.wxOpenData;
  429. if(opt.scene&&opt.scene!='undefined'){
  430. this.scene=opt.scene;
  431. this.getShareParams()
  432. }else{
  433. this.collectingID=opt.id;
  434. //this.getInfo();
  435. this.queryActivityInfo();
  436. this.queryGoodsLook()
  437. }
  438. //this.queryActivityInfo();
  439. })
  440. }
  441. this.shopckList= uni.getStorageSync("shopckList");
  442. //this.ckmusic=uni.getStorageSync("ckmusic");
  443. //这一段是防止进入页面出去后再进来计时器重复启动
  444. if (this.ticker) {
  445. clearInterval(this.ticker);
  446. }
  447. this.beginTimer();
  448. },
  449. onPullDownRefresh(){
  450. //this.getInfo();
  451. this.queryActivityInfo();
  452. setTimeout(() => {
  453. uni.stopPullDownRefresh(); // 关闭下拉刷新
  454. }, 1000);
  455. },
  456. onHide(){
  457. this.bgmMusic.stop(()=>{
  458. console.log('背景音乐停止了');
  459. });
  460. },
  461. onUnload(){
  462. this.bgmMusic.stop()
  463. },
  464. methods: {
  465. seeTyHide(){
  466. this.seeTyshow=false;
  467. },
  468. seeTyshowBtn(){
  469. this.seeTyshow=true;
  470. },
  471. beginTimer() { //这个计时器是每秒减去数组中指定字段的时间
  472. this.ticker = setInterval(() => {
  473. this.info.groupList= JSON.parse(JSON.stringify( this.info.groupList))
  474. /* for (let i = 0, len = this.info.groupList.length; i < len; i++) {
  475. const item = this.info.groupList[i];
  476. if (item.EndTime) {
  477. }
  478. } */
  479. }, 1000);
  480. },
  481. setDate(time) {
  482. var t_s = Date.parse(new Date(time)); //转化为时间戳毫秒数
  483. // console.log(t_s)
  484. var newt=t_s - 1000; //设置新时间比旧时间少一秒
  485. return this.formatDate(newt)
  486. } ,
  487. formatDate(time) {
  488. let date = new Date(time);
  489. let YY = date.getFullYear();
  490. let MM = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
  491. let DD = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
  492. let hh = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
  493. let mm = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
  494. let ss = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
  495. // 这里可以修改返回的日期格式
  496. return YY + "-" + MM + "-" + DD + " " + hh + ":" + mm + ":" + ss;
  497. },
  498. authorizShowno(){
  499. this.authorizShow=false
  500. },
  501. getShareParams(){
  502. this.$http('openMall/getShareParams', {
  503. scene:this.scene,
  504. },'GET').then(res => {
  505. this.collectingID=res.data.goodsID;
  506. this.shareId=res.data.operatorID
  507. this.queryActivityInfo();
  508. this.queryGoodsLook()
  509. })
  510. },
  511. gowp(){
  512. var time=''
  513. if(this.info.startTime){
  514. var time = this.info.startTime.slice(0,10) + '~' +this.info.endTime.slice(0,10)
  515. }else{
  516. }
  517. var sellingPoint='';
  518. if(this.info.activityContent){
  519. sellingPoint=this.info.activityContent
  520. }
  521. //console.log(sellingPoint)
  522. this.shareShow=false;
  523. uni.navigateTo({
  524. url:'../shop/wp?img='+this.mainImg+'&name='+this.info.activityName+'&time='+time+'&sellingPoint='+sellingPoint+'&id='+this.collectingID+'&type=2'
  525. })
  526. },
  527. shareShowyc(){
  528. this.shareShow=false;
  529. },
  530. shareShowzs(){
  531. this.shareShow=true;
  532. },
  533. focusState1cl(){
  534. this.focusState1=true;
  535. },
  536. focusState2cl(){
  537. this.focusState2=true;
  538. },
  539. focusState3cl(){
  540. this.focusState3=true;
  541. },
  542. focusState4cl(){
  543. this.focusState4=true;
  544. },
  545. inputBindFocus(e){
  546. //console.log( e.detail.height);
  547. this.jpHeight=e.detail.height+ "px";
  548. //console.log(this.jpHeight)
  549. },
  550. inputBindBlur(){
  551. //return false;
  552. uni.onKeyboardHeightChange((obj)=>{
  553. console.log("inputBindBlur"+obj.height)
  554. let _sysInfo = uni.getSystemInfoSync();
  555. let _heightDiff = _sysInfo.screenHeight - _sysInfo.windowHeight
  556. let _diff = obj.height - _heightDiff;
  557. console.log(_diff)
  558. if(_diff<0||_diff==0){
  559. this.jpHeight=0
  560. }
  561. // 键盘高度
  562. //this.jpHeight = (_diff > 0 ? _diff : 0) - 2 + "px";
  563. })
  564. if(this.jpNum==1){
  565. this.jpHeight=0
  566. }
  567. this.jpNum++;
  568. },
  569. queryGoodsLook(){
  570. this.$http('openmy/queryGoodsLook', {
  571. goodsId:this.collectingID,
  572. openId:this.userInfo.openId
  573. },'POST').then(res => {
  574. })
  575. },
  576. noShowShop2(){
  577. this.useShopShow=false;
  578. },
  579. useShow(){
  580. this.useShopShow=true;
  581. },
  582. submitOrder(){
  583. uni.hideKeyboard()
  584. var jsonArray={
  585. itemId:this.collectingID,
  586. itemName:this.info.activityName,
  587. itemQty:1,
  588. salePrice:this.info.money?this.info.money:0,
  589. totalPrice:this.info.money?this.info.money:0,
  590. }
  591. if(this.ckshopdata==''){
  592. uni.showToast({
  593. title: '请选择服务门店',
  594. icon: 'none',
  595. duration: 3000
  596. });
  597. return false;
  598. }
  599. if(this.info.clWhere.indexOf(1)!=-1&&this.mobilePhone==''){
  600. uni.showToast({
  601. title: '请输入手机号',
  602. icon: 'none',
  603. duration: 3000
  604. });
  605. return false;
  606. }
  607. if(this.info.clWhere.indexOf(2)!=-1&&this.plateNumber==''){
  608. uni.showToast({
  609. title: '请输入车牌号',
  610. icon: 'none',
  611. duration: 3000
  612. });
  613. return false;
  614. }
  615. if(this.info.clWhere.indexOf(3)!=-1&&this.customerName==''){
  616. uni.showToast({
  617. title: '请输入姓名',
  618. icon: 'none',
  619. duration: 3000
  620. });
  621. return false;
  622. }
  623. if(this.info.clWhere.indexOf(4)!=-1&&this.unit==''){
  624. uni.showToast({
  625. title: '请输入单位',
  626. icon: 'none',
  627. duration: 3000
  628. });
  629. return false;
  630. }
  631. var arr=[]
  632. arr.push(jsonArray)
  633. var params={
  634. sheetType:'6',
  635. sheetContent:this.info.activityName,
  636. customerName:this.customerName,
  637. mobilePhone:this.mobilePhone,
  638. unit:this.unit,
  639. plateNumber:this.plateNumber,
  640. //carModel:this.carInfo.carModel,
  641. totalMoney:this.info.money?this.info.money:0,
  642. shopId:this.ckshopdata.id,
  643. comment:this.comment,
  644. sheetDetail:JSON.stringify(arr),
  645. payType:this.info.payType,
  646. shareId:this.shareId,
  647. groupType:0,
  648. }
  649. if(this.groupOwner==1){
  650. params.groupOwner=1;
  651. params.groupType=1;
  652. params.totalMoney=this.info.groupMoney;
  653. //params.groupID=this.groupID;
  654. if(this.cyptNum==1){
  655. params.shareOpenID=this.shareOpenID;
  656. params.shareName=this.shareName;
  657. }
  658. }
  659. if(this.groupOwner==2){
  660. params.groupOwner=2;
  661. params.groupType=1;
  662. params.groupID=this.groupID;
  663. params.totalMoney=this.info.groupMoney;
  664. if(this.cyptNum==1){
  665. params.shareOpenID=this.shareOpenID;
  666. params.shareName=this.shareName;
  667. }
  668. }
  669. uni.showLoading({
  670. title: '加载中'
  671. })
  672. this.$http('openMallOrder/submitOrder', params,'POST').then(res => {
  673. uni.hideLoading();
  674. if(res.code==0){
  675. this.orderData=res.data
  676. if(this.info.payType==1){
  677. this.unifiedPay(res.data)
  678. }else{
  679. uni.showToast({
  680. title: '报名成功',
  681. icon: 'none',
  682. duration: 3000
  683. });
  684. uni.redirectTo({
  685. url: "../user/myOrder/activityOrderDetail?id=" + this.orderData.id +"&SheetType=" + this.orderData.sheetType
  686. })
  687. }
  688. }else{
  689. uni.showToast({
  690. title: res.msg,
  691. icon: 'none',
  692. duration: 3000
  693. });
  694. }
  695. })
  696. },
  697. unifiedPay(res){
  698. this.$http('openMallOrder/unifiedPay', {
  699. sheetId:res.id
  700. },'POST').then(res => {
  701. if(res.code==0){
  702. this.requestPayment(res.data)
  703. }else{
  704. uni.showToast({
  705. title: res.msg,
  706. icon: 'none',
  707. duration: 3000
  708. });
  709. }
  710. })
  711. },
  712. requestPayment(res){
  713. var payInfo=res;
  714. //console.log(payInfo)
  715. //console.log(String(Date.now()))
  716. var that=this;
  717. uni.requestPayment({
  718. provider: 'wxpay',
  719. //timeStamp: String(Date.now()),
  720. timeStamp: payInfo.timeStamp,
  721. nonceStr: payInfo.nonceStr,
  722. package:payInfo.package,
  723. signType: payInfo.signType,
  724. paySign: payInfo.paySign,
  725. appid:payInfo.appId,
  726. success: function (res) {
  727. console.log('success:' + JSON.stringify(res));
  728. uni.showToast({
  729. title: '支付成功',
  730. icon:'none',
  731. duration: 2000
  732. });
  733. uni.redirectTo({
  734. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  735. })
  736. },
  737. fail: function (err) {
  738. console.log(err)
  739. uni.showToast({
  740. title: '支付失败',
  741. icon:'none',
  742. duration: 2000
  743. });
  744. console.log(that.orderData)
  745. uni.redirectTo({
  746. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  747. })
  748. }
  749. });
  750. },
  751. signUp(){
  752. this.groupOwner=0;
  753. if(this.userInfo){
  754. /* this.info.shopList.forEach(item=>{
  755. if(item.id == this.shopInfo.id){
  756. this.ckshopdata=item;
  757. this.shopName=item.shopName;
  758. }
  759. }) */
  760. this.bmShow=true;
  761. }else{
  762. this.authorizShow=true
  763. }
  764. },
  765. groupFn(){
  766. this.groupOwner=1;
  767. this.cyptNum=2;
  768. if(this.userInfo){
  769. this.bmShow=true;
  770. }else{
  771. this.authorizShow=true
  772. }
  773. },
  774. jionPt(){
  775. if(this.info.state==3){
  776. uni.showToast({
  777. title: '活动已结束',
  778. icon: 'none',
  779. duration: 3000
  780. });
  781. return false;
  782. }
  783. this.groupOwner=2;
  784. this.cyptNum=1;
  785. if(this.userInfo){
  786. this.bmShow=true;
  787. }else{
  788. this.authorizShow=true
  789. }
  790. },
  791. join(e){
  792. this.cyptNum=2;
  793. this.groupOwner=2;
  794. this.groupID=e.ID
  795. if(this.userInfo){
  796. this.bmShow=true;
  797. }else{
  798. this.authorizShow=true
  799. }
  800. },
  801. nobmshow(){
  802. this.bmShow=false;
  803. },
  804. ckshop(item){
  805. this.ckshopdata=item;
  806. this.shopName=item.shopName;
  807. this.ckshopShow=false;
  808. this.shopInfo=item
  809. this.useShopShow=false;
  810. },
  811. showCkshop(){
  812. console.log("选择门店")
  813. this.ckshopShow=true;
  814. },
  815. noShowShop(){
  816. this.ckshopShow=false;
  817. },
  818. queryActivityInfo(){
  819. uni.showLoading({
  820. title: '加载中'
  821. })
  822. this.$http('openHome/queryActivityInfo', {
  823. collectingID:this.collectingID,
  824. groupID:this.groupID
  825. }, 'GET').then(res => {
  826. //uni.hideLoading();
  827. this.info = res.data;
  828. console.log(this.info)
  829. this.getInfo();
  830. this.dimgList=[]
  831. if(this.info.imgList){
  832. this.info.imgList.forEach(item=>{
  833. if(item.imgType==1){
  834. this.mainImg=item.img
  835. }else{
  836. this.dimgList.push(item)
  837. }
  838. })
  839. }
  840. if (this.info.endTime < this.info.startTime) {
  841. // this.$vux.toast.text('时间设置错误')
  842. return
  843. }
  844. // this.activityNoOpen
  845. if (Number(new Date().getTime()) > (Number(new Date(this.info.startTime.replace(/-/g, '/')).getTime()) || 0)) {
  846. console.log("现在时间大于开始时间")
  847. this.activityNoOpen = false
  848. } else {
  849. this.activityNoOpen = true
  850. }
  851. if (Number(new Date().getTime()) > Number(new Date(this.info.endTime.replace(/-/g, '/')).getTime())) {
  852. console.log("现在时间大于结束时间")
  853. this.activityEnd = true
  854. } else {
  855. this.activityEnd = false
  856. }
  857. if (!this.activityNoOpen && !this.activityEnd) {
  858. this.clock()
  859. }
  860. if (this.activityNoOpen && !this.activityEnd) {
  861. this.clock2()
  862. }
  863. if (this.info.shareOpenGroup.groupState==2) {
  864. this.clock3()
  865. }
  866. if(this.info.music){
  867. this.bgmMusic = uni.createInnerAudioContext();
  868. this.bgmMusic.autoplay = true;//自动播放
  869. this.bgmMusic.loop = true;//循环播放
  870. this.mp3Url='http://dmsimg.66km.com/music/sakuratears.mp3';
  871. this.bgmMusic.src ='http://dmsimg.66km.com/music/sakuratears.mp3'//, mp3Url;//背景音乐地址
  872. this.bgmMusic.onPlay(function(){
  873. console.log('背景音乐播放中');
  874. });
  875. this.bgmMusic.onError((res) => {
  876. console.log(res.errMsg);
  877. console.log(res.errCode);
  878. });
  879. }
  880. //console.log(this.userInfo)
  881. this.info.shareGroupList.forEach(item=>{
  882. if(item.openID==this.userInfo.openId){
  883. this.ifMyself=true
  884. }
  885. })
  886. })
  887. },
  888. play2(){
  889. this.bgmMusic.play();
  890. this.payshow=false;
  891. },
  892. play(){
  893. this.payshow=true;
  894. this.bgmMusic.stop(()=>{
  895. console.log('背景音乐停止了');
  896. });
  897. },
  898. getInfo(){
  899. this.$http('openreservation/getInfo', {
  900. lat: '',
  901. lng: '',
  902. }, 'GET').then(res => {
  903. uni.hideLoading();
  904. //this.shopInfo = res.data.shopInfo
  905. var shopinfo=res.data.shopInfo;
  906. this.info.shopList.forEach(item=>{
  907. //console.log(item.id)
  908. //console.log(shopinfo.id)
  909. if(item.id==shopinfo.id){
  910. this.shopInfo=shopinfo
  911. }
  912. })
  913. if(this.shopInfo==''){
  914. this.shopInfo=this.info.shopList[0]
  915. }
  916. })
  917. },
  918. call() {
  919. uni.makePhoneCall({
  920. phoneNumber: this.shopInfo.mobilePhone
  921. });
  922. },
  923. getmap() {
  924. console.log("打开地图")
  925. var that = this;
  926. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  927. uni.showToast({
  928. title: '该店铺未设置定位',
  929. icon: 'none',
  930. duration: 3000
  931. });
  932. } else {
  933. uni.openLocation({
  934. latitude: Number(that.shopInfo.lat),
  935. longitude: Number(that.shopInfo.lng),
  936. name: that.shopInfo.shopName,
  937. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName + that.shopInfo.address,
  938. success: function() {
  939. console.log('success');
  940. },
  941. fail(err) {
  942. console.log(err)
  943. }
  944. });
  945. }
  946. },
  947. clock () {
  948. let _this = this
  949. let today = new Date() // 当前时间
  950. let h = today.getHours()
  951. let m = today.getMinutes()
  952. let s = today.getSeconds()
  953. let stopTime = new Date(_this.info.endTime.replace(/-/g, '/')) // 结束时间
  954. if (Number(new Date(_this.info.endTime).getTime()) < Number(new Date().getTime())) {
  955. this.activityEnd = true
  956. return
  957. }
  958. let stopH = stopTime.getHours()
  959. let stopM = stopTime.getMinutes()
  960. let stopS = stopTime.getSeconds()
  961. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  962. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  963. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  964. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  965. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  966. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  967. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  968. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  969. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  970. // setTimeout("clock()",500);
  971. this.shengyuM=shengyuM;
  972. this.shengyuD=shengyuD;
  973. this.shengyuH=shengyuH;
  974. setTimeout(_this.clock, 500)
  975. },
  976. clock2(){
  977. let _this = this
  978. let today = new Date() // 当前时间
  979. let h = today.getHours()
  980. let m = today.getMinutes()
  981. let s = today.getSeconds()
  982. let startTime = new Date(_this.info.startTime.replace(/-/g, '/')) // 结束时间
  983. if (Number(new Date(_this.info.startTime).getTime()) < Number(new Date().getTime())) {
  984. this.activityNoOpen = true
  985. return
  986. }
  987. let stopH = startTime.getHours()
  988. let stopM = startTime.getMinutes()
  989. let stopS = startTime.getSeconds()
  990. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  991. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  992. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  993. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  994. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  995. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  996. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  997. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  998. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  999. // setTimeout("clock()",500);
  1000. this.shengyuM=shengyuM;
  1001. this.shengyuD=shengyuD;
  1002. this.shengyuH=shengyuH;
  1003. setTimeout(_this.clock2, 500)
  1004. },
  1005. clock3(){
  1006. let _this = this
  1007. let today = new Date() // 当前时间
  1008. let h = today.getHours()
  1009. let m = today.getMinutes()
  1010. let s = today.getSeconds()
  1011. let startTime = new Date(_this.info.shareOpenGroup.endTime.replace(/-/g, '/')) // 结束时间
  1012. if (Number(new Date(_this.info.shareOpenGroup.endTime).getTime()) < Number(new Date().getTime())) {
  1013. this.ptState = true;
  1014. this.dh=0;
  1015. this.dm=0;
  1016. this.ds=0;
  1017. //this.queryActivityInfo();
  1018. //this.info.state=3
  1019. return
  1020. }
  1021. let stopH = startTime.getHours()
  1022. let stopM = startTime.getMinutes()
  1023. let stopS = startTime.getSeconds()
  1024. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  1025. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  1026. // let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  1027. let D = parseInt(shenyu)
  1028. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  1029. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  1030. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  1031. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  1032. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  1033. // this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  1034. // setTimeout("clock()",500);
  1035. this.dh=shengyuH;
  1036. this.dm=shengyuM;
  1037. this.ds=S;
  1038. if(this.dh<10){
  1039. this.dh='0'+this.dh
  1040. }
  1041. if(this.dm<10){
  1042. this.dm='0'+this.dm
  1043. }
  1044. if(this.ds<10){
  1045. this.ds='0'+this.ds
  1046. }
  1047. setTimeout(_this.clock3, 500)
  1048. },
  1049. decryptPhoneNumber: function(e) {
  1050. console.log(e);
  1051. this.code=e.detail.code
  1052. this.wxPhoneLogin()
  1053. this.authorizShow=false;
  1054. },
  1055. wxPhoneLogin(){
  1056. var that=this;
  1057. this.$http('miniApp2/sys/wxPhoneLogin', {
  1058. appId:this.ext.appId,
  1059. unionId:this.ext.unionId,
  1060. code:this.code,
  1061. openId:this.wxOpenData.openid
  1062. },'POST').then(res => {
  1063. var data = res.data;
  1064. if(data.loginInfo){
  1065. this.userInfo=data.loginInfo.openUser;
  1066. this.wxOpenData=data.loginInfo;
  1067. this.$store.commit('mutationswxOpenData', data)
  1068. this.$store.commit('mutationsuserInfo', this.userInfo)
  1069. this.getInfo()
  1070. }
  1071. })
  1072. },
  1073. },
  1074. filters: {
  1075. // 拼团有效期的filter
  1076. limitTimeFilter (val) {
  1077. //console.log('limitTimeFilter')
  1078. //https://blog.csdn.net/qq_39905409/article/details/104478623
  1079. if (val) {
  1080. console.log(val)
  1081. let formateLimitTimes = that.$common.formateTimeStamp(val);
  1082. let txt = `${formateLimitTimes.hour}: ${formateLimitTimes.min} :${formateLimitTimes.seconds} `;
  1083. /* if (formateLimitTimes.day != '00') {
  1084. txt = `${Number(formateLimitTimes.day)*24} 时 ${formateLimitTimes.min} 分 ${formateLimitTimes.seconds} 秒`;
  1085. } */
  1086. return txt;
  1087. } else {
  1088. const twtxt = `0 : 0 : 0 `
  1089. return twtxt;
  1090. }
  1091. }
  1092. },
  1093. beforeCreate: function () {
  1094. that = this;
  1095. },
  1096. onShareAppMessage(res) {
  1097. console.log(this.userInfo)
  1098. var img='';
  1099. /* if(this.info.ImgList.length>0){
  1100. img=this.info.ImgList[0].url
  1101. } */
  1102. return {
  1103. title: this.info.activityName,
  1104. //imageUrl:this.mainImg,
  1105. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  1106. path: 'pages/activity/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId,
  1107. success(res){
  1108. uni.showToast({
  1109. title:'分享成功'
  1110. })
  1111. },
  1112. fail(res){
  1113. uni.showToast({
  1114. title:'分享失败',
  1115. icon:'none',
  1116. duration: 3000
  1117. })
  1118. }
  1119. }
  1120. },
  1121. }
  1122. </script>
  1123. <style scoped>
  1124. .djsCont{
  1125. width: 638rpx;
  1126. height: 60vh;
  1127. background: #fff;
  1128. margin-top: 20vh;
  1129. margin-left:56rpx ;border-radius: 15rpx;
  1130. }
  1131. .djsLineBox{
  1132. height: calc(60vh - 120rpx);
  1133. overflow-y: scroll;
  1134. }
  1135. .ptLine{
  1136. display: flex;
  1137. justify-content: space-between;
  1138. padding: 26rpx 24rpx;border-top: 1px solid #EEEEEE;
  1139. }
  1140. .FirstMobilePhone{
  1141. font-weight: 400;
  1142. color: #222222;font-size: 28rpx;line-height: 60rpx;
  1143. }
  1144. .DiffBNumber{
  1145. font-weight: 400;text-align: right;
  1146. color: #222222;font-size: 26rpx;
  1147. }
  1148. .ptlineRight{
  1149. display: flex;
  1150. }
  1151. .ptlinexx{
  1152. padding-right: 12rpx;
  1153. }
  1154. .ptBtn{
  1155. width: 137rpx;font-weight: 400;
  1156. color: #FFFFFF;font-size: 26rpx;
  1157. height: 60rpx;text-align: center;
  1158. background: #E02E24;line-height: 60rpx;
  1159. border-radius: 6rpx;
  1160. }
  1161. .ptdjs{
  1162. font-weight: 400;
  1163. color: #666666;font-size: 24rpx;
  1164. }
  1165. .ptBox{
  1166. background: #ffffff;margin-top: 20rpx;
  1167. }
  1168. .bottomPtBox{
  1169. display: flex;padding-top: 24rpx;
  1170. }
  1171. .ptNum{
  1172. font-weight: 400;
  1173. color: #222222;font-size: 28rpx;
  1174. }
  1175. .ptBoxtop{
  1176. display: flex;justify-content: space-between;
  1177. padding: 20rpx 24rpx;
  1178. }
  1179. .ptMore{
  1180. font-weight: 400;
  1181. color: #666666;font-size: 24rpx;
  1182. }
  1183. .separate{
  1184. width: 284rpx;margin-left: 30rpx;
  1185. height: 74rpx;
  1186. background: #FFE4E2;
  1187. border-radius: 37rpx;
  1188. text-align: center;color:#EC0F0A;
  1189. }
  1190. .separate .separateTop{
  1191. color:#EC0F0A;
  1192. }
  1193. .separate .separateTxt{
  1194. color:#EC0F0A;
  1195. }
  1196. .groupBtn{
  1197. width: 284rpx;text-align: center;color: #ffffff;
  1198. height: 74rpx;margin-left: 30rpx;
  1199. background: #EC0F0A;
  1200. border-radius: 37rpx;
  1201. }
  1202. .separateTop{
  1203. font-weight: 500;font-size: 28rpx;
  1204. color: #EC0F0A;
  1205. }
  1206. .groupBtnTop{
  1207. font-weight: 500;font-size: 28rpx;
  1208. color: #FFFFFF;padding-top: 2rpx;
  1209. }
  1210. .separateTxt{
  1211. color: #EC0F0A;font-size: 26rpx;line-height: 26rpx;
  1212. }
  1213. .groupBtnTxt{
  1214. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1215. }
  1216. .companyName{
  1217. font-size: 24rpx;
  1218. font-family: PingFangSC-Medium, PingFang SC;
  1219. font-weight: 500;
  1220. color: #666666;
  1221. line-height: 33rpx;
  1222. text-align: center;
  1223. padding: 40rpx;
  1224. }
  1225. .shareBtn{
  1226. /* width: 100rpx; */
  1227. background: #F4F5F7;
  1228. }
  1229. .shareBimg{
  1230. width: 102rpx;
  1231. height: 102rpx;
  1232. }
  1233. .bottomTxtshare{
  1234. color: #333333;
  1235. font-size: 22rpx;
  1236. padding-top: 20rpx;
  1237. }
  1238. .shareBox{
  1239. width: 100%;
  1240. height: 100vh;
  1241. background: rgba(0, 0, 0, 0.5);
  1242. position: fixed;
  1243. left: 0;
  1244. bottom: 0;
  1245. z-index: 11;
  1246. }
  1247. .shareCont{
  1248. width: 100%;
  1249. background: #F4F5F7;
  1250. position: absolute;
  1251. left: 0;
  1252. bottom: 0;
  1253. display: flex;
  1254. justify-content: space-around;
  1255. padding: 50rpx 0;
  1256. border-radius: 40rpx 40rpx 0px 0px;
  1257. }
  1258. .mp3Img{
  1259. /* transform: translate(-1584.4%, 121.5%) scale(1); */
  1260. position: fixed;
  1261. top: 40rpx;
  1262. right: 40rpx;
  1263. width: 60rpx;
  1264. height: 60rpx;
  1265. }
  1266. .ckshopBox{
  1267. z-index: 111 !important;
  1268. }
  1269. .shopline {
  1270. padding: 20rpx 0;
  1271. background-color: #FFFFFF;
  1272. border-radius: 10rpx;
  1273. display: flex;
  1274. }
  1275. .baomingBox{
  1276. width: 750rpx;
  1277. height: 100vh;
  1278. background: rgba(0, 0, 0, 0.4);
  1279. position: fixed;
  1280. top: 0;
  1281. left: 0;
  1282. z-index: 11;
  1283. /* display: flex;
  1284. align-items: center; */
  1285. }
  1286. .bmTtnBox{
  1287. width: 750rpx;
  1288. height: 120rpx;
  1289. background: #FFFFFF;
  1290. box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
  1291. position: absolute;
  1292. left: 0;
  1293. bottom: 0;
  1294. padding-bottom: constant(safe-area-inset-bottom);
  1295. padding-bottom: env(safe-area-inset-bottom);
  1296. }
  1297. .bmBtn{
  1298. width: 690rpx;
  1299. height: 74rpx;
  1300. background: #EC0F0A;
  1301. border-radius: 37rpx;
  1302. text-align: center;
  1303. line-height: 74rpx;
  1304. color: #ffffff;
  1305. font-size: 30rpx;
  1306. margin-top: 23rpx;
  1307. margin-left: 30rpx;
  1308. margin-top: 20rpx;
  1309. }
  1310. .bmshopjt{
  1311. width: 12rpx;
  1312. height: 20rpx;
  1313. margin-top: 10rpx;
  1314. }
  1315. .bmlineInput{
  1316. color: #333333;
  1317. font-size: 28rpx;
  1318. height: 98rpx;
  1319. line-height: 98rpx;
  1320. }
  1321. .bmshopname{
  1322. font-weight: 400;
  1323. color: #999999;
  1324. font-size: 28rpx;
  1325. line-height: 40rpx;
  1326. width: 500rpx;
  1327. white-space:nowrap;
  1328. overflow:hidden;
  1329. text-overflow:ellipsis;
  1330. }
  1331. .bmshopLine{
  1332. display: flex;
  1333. justify-content: space-between;
  1334. padding: 26rpx 0;
  1335. border-bottom: 1px solid #EEEEEE;
  1336. }
  1337. .bmLine{
  1338. border-bottom: 1px solid #EEEEEE;
  1339. }
  1340. .bmTop{
  1341. display: flex;
  1342. justify-content: space-between;
  1343. padding: 40rpx 24rpx 10rpx 24rpx;
  1344. }
  1345. .bmTitle{
  1346. font-weight: 500;
  1347. color: #3C3C3C;
  1348. font-size: 30rpx;
  1349. line-height: 36rpx;
  1350. }
  1351. .bmChimg{
  1352. width: 36rpx;
  1353. height: 36rpx;
  1354. }
  1355. .baomingCont{
  1356. position: absolute;
  1357. width: 750rpx;
  1358. /* height:850rpx; */
  1359. /* padding-bottom: constant(safe-area-inset-bottom);
  1360. padding-bottom: env(safe-area-inset-bottom); */
  1361. left: 0;
  1362. bottom: 0;
  1363. background: #ffffff;
  1364. border-radius: 24rpx 24rpx 0px 0px;
  1365. padding-bottom: 10rpx;
  1366. }
  1367. .shareIcon{
  1368. width: 48rpx;
  1369. height: 48rpx;
  1370. display: block;
  1371. }
  1372. .bottomBtnBox{
  1373. display: flex;
  1374. }
  1375. .bottomBtnBoxLeft{
  1376. padding-left: 40rpx;
  1377. padding-top: 21rpx;
  1378. }
  1379. .shareTxt{
  1380. color: #666666;font-size: 20rpx;
  1381. text-align: center;
  1382. }
  1383. .bottomBtn{
  1384. width: 598rpx;
  1385. height: 74rpx;
  1386. background: #EC0F0A;
  1387. border-radius: 37rpx;
  1388. line-height: 74rpx;
  1389. text-align: center;
  1390. color: #ffffff;
  1391. font-size: 30rpx;
  1392. margin-top: 24rpx;
  1393. margin-left: 34rpx;
  1394. }
  1395. .bottomBtn2{
  1396. width: 598rpx;
  1397. height: 74rpx;
  1398. background: #DDDDDD;
  1399. border-radius: 37rpx;
  1400. line-height: 74rpx;
  1401. text-align: center;
  1402. color: #ffffff;
  1403. font-size: 30rpx;
  1404. margin-top: 24rpx;
  1405. margin-left: 34rpx;
  1406. }
  1407. .timeTbox{
  1408. width: 750rpx;
  1409. height: 60rpx;
  1410. background:#FFF5F0;
  1411. border-radius: 24rpx 24rpx 0px 0px;
  1412. border: 1px solid #EFE1D5;
  1413. display: flex;
  1414. justify-content: center;
  1415. font-size: 24rpx;
  1416. font-family: PingFangSC-Regular, PingFang SC;
  1417. font-weight: 400;
  1418. color: #764D49;
  1419. }
  1420. .timeviewTxt{
  1421. line-height: 41rpx;
  1422. padding-top: 10rpx;
  1423. }
  1424. .timeDivTxt{
  1425. line-height: 60rpx;
  1426. padding: 0 10rpx;
  1427. }
  1428. .timeK{
  1429. height: 41rpx;
  1430. line-height: 41rpx;
  1431. color: #FFFFFF;
  1432. width: 41rpx;
  1433. text-align: center;
  1434. background: EC0F0A;
  1435. border-radius: 6rpx;
  1436. margin-top: 9rpx;
  1437. margin-left: 15rpx;
  1438. margin-right: 15rpx;
  1439. }
  1440. .bottom{
  1441. width: 750rpx;
  1442. height: 180rpx;
  1443. background: #FFFFFF;
  1444. border-radius: 24rpx 24rpx 0px 0px;
  1445. position: fixed;
  1446. left: 0;
  1447. bottom: 0;
  1448. padding-bottom: constant(safe-area-inset-bottom);
  1449. padding-bottom: env(safe-area-inset-bottom);
  1450. }
  1451. .signupBox{
  1452. background: #ffffff;
  1453. margin-top: 20rpx;
  1454. }
  1455. .seeBox{
  1456. display: flex;
  1457. flex-wrap: wrap;
  1458. padding-left: 24rpx;
  1459. padding-bottom: 20rpx;
  1460. }
  1461. .seeLine{
  1462. padding-top: 14rpx;
  1463. padding-right: 16rpx;
  1464. }
  1465. .signupLine{
  1466. display: flex;
  1467. justify-content: space-between;
  1468. padding: 11rpx 0;
  1469. border-bottom: 1px solid #DDDDDD;
  1470. }
  1471. .signupLineM{
  1472. color: #3C3C3C;font-size: 26rpx;
  1473. line-height: 56rpx;
  1474. }
  1475. .signupLineR{
  1476. color: #999999;
  1477. font-size: 26rpx;
  1478. line-height: 56rpx;
  1479. }
  1480. .signupLineLName{
  1481. font-weight: 400;
  1482. color: #3C3C3C;
  1483. font-size: 26rpx;
  1484. padding-left: 16rpx;
  1485. line-height: 56rpx;
  1486. width: 150rpx;
  1487. white-space:nowrap;
  1488. overflow:hidden;
  1489. text-overflow:ellipsis;
  1490. }
  1491. .signupCont{
  1492. padding: 0 24rpx;
  1493. }
  1494. .signupLineLImg{
  1495. width: 56rpx;
  1496. height: 56rpx;
  1497. border-radius: 8rpx;
  1498. }
  1499. .signupLineL{
  1500. display: flex;
  1501. }
  1502. .signupTop{
  1503. width: 750rpx;
  1504. height: 78rpx;
  1505. background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
  1506. background-size: 100% 100%;
  1507. text-align: center;
  1508. line-height: 78rpx;
  1509. }
  1510. .signupTops1{
  1511. color: #EC0F0A;font-weight: 500;
  1512. font-size: 28rpx;
  1513. }
  1514. .signupTops1{
  1515. color: #703917;font-weight: 500;
  1516. font-size: 28rpx;
  1517. }
  1518. .shopRightIcon{
  1519. width: 44rpx;
  1520. height: 44rpx;
  1521. display: block;
  1522. margin: 0 auto;
  1523. margin-bottom: 10rpx;
  1524. }
  1525. .shopName{
  1526. color: #3C3C3C;
  1527. font-size: 28rpx;
  1528. width: 500rpx;
  1529. }
  1530. .shopaddress{
  1531. font-weight: 400;
  1532. color: #999999;
  1533. font-size: 24rpx;
  1534. padding-top: 10rpx;
  1535. width: 500rpx;
  1536. }
  1537. .shopRightSx{
  1538. width: 2rpx;
  1539. height: 69rpx;
  1540. background:#EEEEEE ;
  1541. margin-left: 34rpx;
  1542. margin-right: 34rpx;
  1543. margin-top: 14rpx;
  1544. }
  1545. .shopCont{
  1546. display: flex;
  1547. justify-content: space-between;
  1548. padding-top: 25rpx;
  1549. }
  1550. .shopContRight{
  1551. display: flex;
  1552. }
  1553. .shopContRightLine{
  1554. text-align: center;
  1555. color: #999999;
  1556. font-size: 24rpx;
  1557. }
  1558. .content{
  1559. min-height: 100vh;
  1560. background:#F4F5F7;
  1561. }
  1562. .detailImg{
  1563. width: 750rpx;
  1564. display: block;
  1565. }
  1566. .detailBOx{
  1567. background: #ffffff;
  1568. margin-top: 20rpx;
  1569. }
  1570. .detailTitle{
  1571. color: #222222;
  1572. font-weight: 500;
  1573. padding: 20rpx 24rpx;
  1574. font-size: 30rpx;
  1575. }
  1576. .topimg{
  1577. width: 750rpx;
  1578. }
  1579. .shopMs{
  1580. font-weight: 500;
  1581. color: #222222;
  1582. line-height: 42rpx;
  1583. font-size: 30rpx;
  1584. }
  1585. .shopBox{
  1586. background: #ffffff;
  1587. margin-top: 20rpx;
  1588. padding: 20rpx 24rpx;
  1589. }
  1590. .shopBoxTop{
  1591. display: flex;
  1592. justify-content: space-between;
  1593. }
  1594. .shopTy{
  1595. display: flex;
  1596. }
  1597. .shopTyTxt{
  1598. font-weight: 400;
  1599. color: #666666;
  1600. font-size: 24rpx;
  1601. line-height: 42rpx;
  1602. }
  1603. .shopjt{
  1604. width: 14rpx;
  1605. height: 23rpx;
  1606. margin-top: 10rpx;
  1607. margin-left: 10rpx;
  1608. }
  1609. .cont{
  1610. background: #ffffff;
  1611. border-radius: 24rpx 24rpx 0px 0px;
  1612. margin-top: -30rpx;
  1613. padding: 30rpx 24rpx;
  1614. position: relative;
  1615. }
  1616. .name{
  1617. color: #3C3C3C;
  1618. line-height: 42rpx;
  1619. font-weight: 500;
  1620. font-size: 30rpx;
  1621. display: flex;
  1622. }
  1623. .name2{
  1624. color: #3C3C3C;
  1625. line-height: 36rpx;
  1626. font-weight: 400;
  1627. font-size: 26rpx;
  1628. padding-top: 16rpx;
  1629. }
  1630. .name3{
  1631. color: #999999;
  1632. line-height: 36rpx;
  1633. font-weight: 400;
  1634. font-size: 26rpx;
  1635. padding-top: 16rpx;
  1636. }
  1637. .shopImg {
  1638. width: 146rpx;
  1639. height: 146rpx;
  1640. border-radius: 6rpx;
  1641. }
  1642. .shopBox2 {
  1643. padding-top: 30rpx;
  1644. display: flex;
  1645. }
  1646. .flex {
  1647. display: flex;
  1648. justify-content: space-between;
  1649. }
  1650. .shopCont2 {
  1651. padding-left: 22rpx;
  1652. width: 520rpx;
  1653. }
  1654. .shopName {
  1655. color: #333333;
  1656. font-size: 26rpx;
  1657. font-weight: 600;
  1658. }
  1659. .span1 {
  1660. color: #FF4F00;
  1661. font-size: 36rpx;
  1662. }
  1663. .span2 {
  1664. color: #FF4F00;
  1665. font-size: 22rpx;
  1666. }
  1667. .span3 {
  1668. color: #333333;
  1669. font-size: 22rpx;
  1670. padding-left: 22rpx;
  1671. }
  1672. .shopBq {
  1673. color: #FF4F00;
  1674. font-size: 22rpx;
  1675. border-radius: 4rpx;
  1676. border: 1px solid #FF4F00;
  1677. line-height: 30rpx;
  1678. height: 30rpx;
  1679. padding: 0rpx 5rpx;
  1680. margin-top: 10rpx;
  1681. }
  1682. .brandsBg {
  1683. display: flex;
  1684. height: 38rpx;
  1685. flex-wrap: wrap;
  1686. align-items: center;
  1687. overflow: hidden;
  1688. padding: 5rpx 0rpx;
  1689. }
  1690. .brands {
  1691. border-radius: 4rpx;
  1692. padding: 0 5rpx;
  1693. color: #F19D01;
  1694. height: 28rpx;
  1695. border: 1px solid #F19D01;
  1696. font-size: 20rpx;
  1697. line-height: 28rpx;
  1698. margin: 5rpx 10rpx 5rpx 0rpx;
  1699. }
  1700. .timeBg {
  1701. display: flex;
  1702. }
  1703. .shopTime {
  1704. color: #666666;
  1705. font-size: 22rpx;
  1706. }
  1707. .addressBox {
  1708. color: #666666;
  1709. font-size: 22rpx;
  1710. }
  1711. .ckshopLine{
  1712. display: flex;
  1713. padding: 20rpx 0;
  1714. border-bottom: 1px solid #EEEEEE;
  1715. }
  1716. button::after{
  1717. border: none;
  1718. }
  1719. button{
  1720. position: relative;
  1721. display: block;
  1722. margin-left: 0;
  1723. margin-right: 0;
  1724. padding-left: 0px;
  1725. padding-right: 0px;
  1726. box-sizing: border-box;
  1727. // font-size: 18px;
  1728. text-align: center;
  1729. text-decoration: none;
  1730. // line-height: 1;
  1731. line-height: 1.35;
  1732. // border-radius: 5px;
  1733. -webkit-tap-highlight-color: transparent;
  1734. overflow: hidden;
  1735. color: #000000;
  1736. background-color: #fff;
  1737. height: 100%;
  1738. }
  1739. .authorizBox{
  1740. width: 100vw;
  1741. height: 100vh;
  1742. background: rgba(0, 0, 0, 0.5);
  1743. position: fixed;
  1744. top: 0;
  1745. left: 0;
  1746. }
  1747. .authorizCont{
  1748. margin-top: 30vh;
  1749. width: 564rpx;
  1750. height: 408rpx;
  1751. background: #FFFFFF;
  1752. border-radius: 24rpx;
  1753. margin-left: 93rpx;
  1754. position: relative;
  1755. }
  1756. .authorizCloseImg{
  1757. width: 62rpx;
  1758. height: 62rpx;
  1759. }
  1760. .sqLogoBox{
  1761. width: 180rpx;
  1762. height: 180rpx;
  1763. background: #FFFFFF;
  1764. border-radius: 90rpx;
  1765. text-align: center;
  1766. position: absolute;
  1767. top: -50rpx;
  1768. left: 192rpx;
  1769. }
  1770. .authorizName{
  1771. color: #333333;
  1772. line-height: 42rpx;
  1773. font-size: 30rpx;
  1774. text-align: center;
  1775. padding-top: 58rpx;
  1776. }
  1777. .authorizMs{
  1778. color: #999999;
  1779. line-height: 36rpx;
  1780. font-size: 26rpx;
  1781. width: 452rpx;
  1782. padding-top: 24rpx;
  1783. text-align: center;
  1784. margin-left: 56rpx;
  1785. }
  1786. .authorizContbutton{
  1787. width: 210rpx;
  1788. height: 66rpx;
  1789. background: #EC0F0A;
  1790. border-radius: 44rpx;
  1791. line-height: 66rpx;
  1792. text-align: center;
  1793. font-size:30rpx;
  1794. color: #FFFFFF;
  1795. margin-left:40rpx;
  1796. }
  1797. .sqRefuse{
  1798. width: 210rpx;
  1799. height: 66rpx;
  1800. border: 1px solid #eaeaea;
  1801. line-height: 66rpx;
  1802. border-radius: 36rpx;
  1803. text-align: center;
  1804. font-size:30rpx;
  1805. margin-right:40rpx;
  1806. color: #999999;
  1807. }
  1808. .sqLine{
  1809. margin-top: 62rpx;
  1810. display: flex;
  1811. justify-content: space-between;
  1812. }
  1813. .applicationTk{
  1814. height: 60vh;
  1815. }
  1816. .ptCont{
  1817. width: 702rpx;
  1818. height: 297rpx;
  1819. background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
  1820. border-radius: 10rpx;
  1821. margin-left: 24rpx;
  1822. margin-top: 20rpx;
  1823. }
  1824. .ptCont2{
  1825. width: 702rpx;
  1826. padding-bottom: 20rpx;
  1827. background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
  1828. border-radius: 10rpx;
  1829. margin-left: 24rpx;
  1830. margin-top: 20rpx;
  1831. }
  1832. .ptTimeBox{
  1833. display: flex;font-weight: 400;justify-content: center;padding-top: 24rpx;
  1834. }
  1835. .ptTimeTxt{
  1836. font-weight: 400;font-size: 24rpx;line-height: 42rpx;
  1837. color: #764D49;padding-right: 18rpx;
  1838. }
  1839. .ptdd{
  1840. font-size: 24rpx;padding:0 8rpx;
  1841. line-height: 42rpx;
  1842. font-weight: 400;
  1843. color: #764D49;
  1844. }
  1845. .ptTime{
  1846. width: 42rpx;font-size: 24rpx;
  1847. height: 42rpx;text-align: center;line-height: 42rpx;
  1848. background: #EC0F0A;
  1849. border-radius: 6rpx;
  1850. font-weight: 500;
  1851. color: #FFFFFF;
  1852. }
  1853. .DiffBNumber{
  1854. color: #764D49;font-size: 24rpx;text-align: center;padding-top:16rpx;padding-bottom: 30rpx;
  1855. }
  1856. .ptmobilePhoneLine{
  1857. display: flex;font-weight: 400;justify-content: center;
  1858. color: #764D49;font-size: 26rpx;padding-top:20rpx;
  1859. }
  1860. .vipIcon{
  1861. width: 32rpx;height: 32rpx;
  1862. }
  1863. .seeTy{
  1864. width: 260rpx;line-height: 62rpx;text-align: center;
  1865. height: 62rpx;color: #EC0F0A;
  1866. border-radius: 36rpx;font-size: 26rpx;
  1867. border: 2rpx solid #EC0F0A;
  1868. }
  1869. .ptBtnBox{
  1870. display: flex;
  1871. justify-content: space-around;
  1872. }
  1873. .yqhypt{
  1874. width: 260rpx;color: #FFFFFF;line-height: 66rpx;text-align: center;
  1875. height: 66rpx;font-size: 26rpx;
  1876. background: linear-gradient(132deg, #FD5C05 0%, #FD0323 100%);
  1877. border-radius: 36rpx;
  1878. }
  1879. .groupStateIcon{
  1880. width: 28rpx;height: 28rpx;
  1881. }
  1882. .groupStateTxt{
  1883. font-weight: 400;padding-left: 8rpx;
  1884. color: #3C3C3C;line-height: 28rpx;
  1885. font-size: 26rpx;
  1886. }
  1887. .groupStateBox{
  1888. display: flex;justify-content: center;
  1889. padding-top: 18rpx;
  1890. }
  1891. .maBox {
  1892. width: 100%;
  1893. height: 100vh;
  1894. background: rgba(0, 0, 0, 0.4);
  1895. position: fixed;
  1896. left: 0;
  1897. top: 0;
  1898. z-index: 9999;
  1899. }
  1900. .querenMa {
  1901. width: 578;
  1902. height: 640rpx;
  1903. background: #ffffff;
  1904. margin: 0 86rpx;
  1905. margin-top: 50%;
  1906. border-radius: 24rpx;
  1907. }
  1908. .maTop {
  1909. display: flex;
  1910. justify-content: space-between;
  1911. align-items: center;
  1912. padding: 30rpx 20rpx 15rpx;
  1913. }
  1914. .maTitle {
  1915. color: #666666;
  1916. font-size: 26rpx;
  1917. text-align: center;
  1918. padding-left: 100rpx;
  1919. }
  1920. .grouptk{
  1921. width: 638rpx;
  1922. height: 750rpx;
  1923. background: #FFFFFF;
  1924. border-radius: 24rpx;
  1925. margin-top: 300rpx;
  1926. margin-left: 56rpx;
  1927. }
  1928. .grouptkLIneLeft{
  1929. display: flex;
  1930. }
  1931. .groupTz{
  1932. border-radius: 15rpx;padding: 0 10rpx;margin-right: 8rpx;
  1933. border: 1rpx solid #FF9D00;color: #FF9D00;font-size: 22rpx;
  1934. }
  1935. .groupTy{
  1936. border-radius: 15rpx;padding: 0 10rpx;margin-right: 8rpx;
  1937. border: 1rpx solid #764D49;color: #764D49;font-size: 22rpx;
  1938. }
  1939. .grouptkLIne{
  1940. display: flex;padding: 15rpx 24rpx;
  1941. justify-content: space-between;font-weight: 400;
  1942. color: #3C3C3C;font-size: 26rpx;line-height: 32rpx;
  1943. }
  1944. .grouptk .maTitle{
  1945. padding-left: 24rpx;
  1946. }
  1947. .ptNameBz{
  1948. font-weight: 500;line-height: 34rpx;
  1949. font-size: 22rpx;height: 32rpx;
  1950. color: #FD0F00;margin-top: 6rpx;margin-right: 10rpx;
  1951. background: url('http://dmsphoto.66km.com.cn/thFiles/2AF1130F-C318-45D3-B057-FA0728B41046.png') no-repeat;
  1952. background-size: 100% 100%;
  1953. padding-left: 64rpx;padding-right: 4rpx;
  1954. }
  1955. .couponPackageData{
  1956. background: #ffffff;
  1957. margin-top: 20rpx;
  1958. }
  1959. .couponPackageTitle{
  1960. padding-left: 24rpx;
  1961. padding-top: 30rpx;
  1962. color: #333333;
  1963. font-size: 32rpx;
  1964. line-height: 45rpx;
  1965. font-weight: 500;
  1966. }
  1967. .linecoupon{
  1968. justify-content: space-between;
  1969. }
  1970. .linecouponCont{
  1971. display: flex;
  1972. justify-content: space-between;
  1973. padding: 15rpx 24rpx;
  1974. }
  1975. .linecouponContLeft{
  1976. display: flex;
  1977. }
  1978. .couponType{
  1979. color: #FFA511;
  1980. border: 1px solid #FFA511;
  1981. border-radius: 4rpx;
  1982. font-size: 18rpx;
  1983. line-height: 26rpx;
  1984. padding: 0 8rpx;
  1985. height: 26rpx;
  1986. margin-top: 5rpx;
  1987. }
  1988. .couponName{
  1989. font-size: 26rpx;line-height: 38rpx;color: #3C3C3C;
  1990. padding-left: 20rpx;
  1991. }
  1992. .couponNum{
  1993. font-size: 26rpx;line-height: 38rpx;color: #999999;
  1994. }
  1995. </style>