jkDetail.vue 53 KB

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