jkDetail.vue 48 KB

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