jkDetail.vue 53 KB

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