jkDetail.vue 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829
  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:true,
  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. /* uni.showShareMenu({
  406. withShareTicket: true,
  407. menus: ['shareAppMessage', 'shareTimeline'], // 自定义分享面板的菜单项
  408. }); */
  409. },
  410. onShow() {
  411. this.shopName=this.$store.state.ckshopInfo.shopName;
  412. this.ckshopdata=this.$store.state.ckshopInfo
  413. this.shopInfo=this.$store.state.ckshopInfo
  414. //console.log(this.shopInfo)
  415. },
  416. onPullDownRefresh(){
  417. //this.getInfo();
  418. this.queryActivityInfo();
  419. setTimeout(() => {
  420. uni.stopPullDownRefresh(); // 关闭下拉刷新
  421. }, 1000);
  422. },
  423. onHide(){
  424. this.bgmMusic.stop(()=>{
  425. console.log('背景音乐停止了');
  426. });
  427. if (this.ticker) {
  428. clearInterval(this.ticker);
  429. }
  430. },
  431. onUnload(){
  432. this.bgmMusic.stop()
  433. },
  434. methods: {
  435. ptMore(){
  436. this.djsMoreShow=true;
  437. },
  438. ptMorehide(){
  439. this.djsMoreShow=false;
  440. },
  441. beginTimer() { //这个计时器是每秒减去数组中指定字段的时间
  442. // console.log("??????????????????"+this.info.groupType)
  443. if(this.info.groupType){
  444. this.ticker = setInterval(() => {
  445. this.info.groupList= JSON.parse(JSON.stringify( this.info.groupList))
  446. /* for (let i = 0, len = this.info.groupList.length; i < len; i++) {
  447. const item = this.info.groupList[i];
  448. if (item.EndTime) {
  449. }
  450. } */
  451. }, 1000);
  452. }
  453. },
  454. setDate(time) {
  455. var t_s = Date.parse(new Date(time)); //转化为时间戳毫秒数
  456. // console.log(t_s)
  457. var newt=t_s - 1000; //设置新时间比旧时间少一秒
  458. return this.formatDate(newt)
  459. } ,
  460. formatDate(time) {
  461. let date = new Date(time);
  462. let YY = date.getFullYear();
  463. let MM = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1;
  464. let DD = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
  465. let hh = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
  466. let mm = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
  467. let ss = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
  468. // 这里可以修改返回的日期格式
  469. return YY + "-" + MM + "-" + DD + " " + hh + ":" + mm + ":" + ss;
  470. },
  471. authorizShowno(){
  472. this.authorizShow=false
  473. },
  474. getShareParams(){
  475. this.$http('openMall/getShareParams', {
  476. scene:this.scene,
  477. },'GET').then(res => {
  478. this.collectingID=res.data.goodsID;
  479. this.shareId=res.data.operatorID
  480. this.queryActivityInfo();
  481. this.queryGoodsLook()
  482. })
  483. },
  484. gowp(){
  485. var time=''
  486. if(this.info.startTime){
  487. var time = this.info.startTime.slice(0,10) + '~' +this.info.endTime.slice(0,10)
  488. }else{
  489. }
  490. var sellingPoint='';
  491. if(this.info.activityContent){
  492. sellingPoint=this.info.activityContent
  493. }
  494. //console.log(sellingPoint)
  495. this.shareShow=false;
  496. uni.navigateTo({
  497. url:'../shop/wp?img='+this.mainImg+'&name='+this.info.activityName+'&time='+time+'&sellingPoint='+sellingPoint+'&id='+this.collectingID+'&type=2'+'&groupType='+this.info.groupType
  498. })
  499. },
  500. shareShowyc(){
  501. this.shareShow=false;
  502. },
  503. shareShowzs(){
  504. this.shareShow=true;
  505. },
  506. focusState1cl(){
  507. this.focusState1=true;
  508. },
  509. focusState2cl(){
  510. this.focusState2=true;
  511. },
  512. focusState3cl(){
  513. this.focusState3=true;
  514. },
  515. focusState4cl(){
  516. this.focusState4=true;
  517. },
  518. inputBindFocus(e){
  519. //console.log( e.detail.height);
  520. this.jpHeight=e.detail.height+ "px";
  521. //console.log(this.jpHeight)
  522. },
  523. inputBindBlur(){
  524. //return false;
  525. uni.onKeyboardHeightChange((obj)=>{
  526. console.log("inputBindBlur"+obj.height)
  527. let _sysInfo = uni.getSystemInfoSync();
  528. let _heightDiff = _sysInfo.screenHeight - _sysInfo.windowHeight
  529. let _diff = obj.height - _heightDiff;
  530. console.log(_diff)
  531. if(_diff<0||_diff==0){
  532. this.jpHeight=0
  533. }
  534. // 键盘高度
  535. //this.jpHeight = (_diff > 0 ? _diff : 0) - 2 + "px";
  536. })
  537. if(this.jpNum==1){
  538. this.jpHeight=0
  539. }
  540. this.jpNum++;
  541. },
  542. queryGoodsLook(){
  543. this.$http('openmy/queryGoodsLook', {
  544. goodsId:this.collectingID,
  545. openId:this.userInfo.openId
  546. },'POST').then(res => {
  547. })
  548. },
  549. noShowShop2(){
  550. this.useShopShow=false;
  551. },
  552. useShow(){
  553. this.useShopShow=true;
  554. },
  555. submitOrder(){
  556. uni.hideKeyboard()
  557. var jsonArray={
  558. itemId:this.collectingID,
  559. itemName:this.info.activityName,
  560. itemQty:1,
  561. salePrice:this.info.money?this.info.money:0,
  562. totalPrice:this.info.money?this.info.money:0,
  563. }
  564. if(this.ckshopdata==''){
  565. uni.showToast({
  566. title: '请选择服务门店',
  567. icon: 'none',
  568. duration: 3000
  569. });
  570. return false;
  571. }
  572. if(this.info.clWhere.indexOf(1)!=-1&&this.mobilePhone==''){
  573. uni.showToast({
  574. title: '请输入手机号',
  575. icon: 'none',
  576. duration: 3000
  577. });
  578. return false;
  579. }
  580. if(this.info.clWhere.indexOf(2)!=-1&&this.plateNumber==''){
  581. uni.showToast({
  582. title: '请输入车牌号',
  583. icon: 'none',
  584. duration: 3000
  585. });
  586. return false;
  587. }
  588. if(this.info.clWhere.indexOf(3)!=-1&&this.customerName==''){
  589. uni.showToast({
  590. title: '请输入姓名',
  591. icon: 'none',
  592. duration: 3000
  593. });
  594. return false;
  595. }
  596. if(this.info.clWhere.indexOf(4)!=-1&&this.unit==''){
  597. uni.showToast({
  598. title: '请输入单位',
  599. icon: 'none',
  600. duration: 3000
  601. });
  602. return false;
  603. }
  604. var arr=[]
  605. arr.push(jsonArray)
  606. var params={
  607. sheetType:'6',
  608. sheetContent:this.info.activityName,
  609. customerName:this.customerName,
  610. mobilePhone:this.mobilePhone,
  611. unit:this.unit,
  612. plateNumber:this.plateNumber,
  613. //carModel:this.carInfo.carModel,
  614. totalMoney:this.info.money?this.info.money:0,
  615. shopId:this.ckshopdata.id,
  616. comment:this.comment,
  617. sheetDetail:JSON.stringify(arr),
  618. payType:this.info.payType,
  619. shareId:this.shareId,
  620. groupType:0,
  621. }
  622. if(this.groupOwner==1){
  623. params.groupOwner=1;
  624. params.groupType=1;
  625. params.totalMoney=this.info.groupMoney
  626. }
  627. if(this.groupOwner==2){
  628. params.groupOwner=2;
  629. params.groupType=1;
  630. params.groupID=this.groupID;
  631. params.totalMoney=this.info.groupMoney
  632. }
  633. uni.showLoading({
  634. title: '加载中'
  635. })
  636. if(!this.isgo){
  637. return false
  638. }
  639. this.isgo=false;
  640. this.$http('openMallOrder/submitOrder', params,'POST').then(res => {
  641. uni.hideLoading();
  642. this.isgo=true;
  643. if(res.code==0){
  644. this.orderData=res.data
  645. if(this.info.payType==1){
  646. this.unifiedPay(res.data)
  647. }else{
  648. uni.showToast({
  649. title: '报名成功',
  650. icon: 'none',
  651. duration: 3000
  652. });
  653. uni.redirectTo({
  654. url: "../user/myOrder/activityOrderDetail?id=" + this.orderData.id +"&SheetType=" + this.orderData.sheetType
  655. })
  656. }
  657. }else{
  658. uni.showToast({
  659. title: res.msg,
  660. icon: 'none',
  661. duration: 3000
  662. });
  663. }
  664. })
  665. },
  666. unifiedPay(res){
  667. this.$http('openMallOrder/unifiedPay', {
  668. sheetId:res.id
  669. },'POST').then(res => {
  670. if(res.code==0){
  671. this.requestPayment(res.data)
  672. }else{
  673. uni.showToast({
  674. title: res.msg,
  675. icon: 'none',
  676. duration: 3000
  677. });
  678. }
  679. })
  680. },
  681. requestPayment(res){
  682. var payInfo=res;
  683. //console.log(payInfo)
  684. //console.log(String(Date.now()))
  685. var that=this;
  686. uni.requestPayment({
  687. provider: 'wxpay',
  688. //timeStamp: String(Date.now()),
  689. timeStamp: payInfo.timeStamp,
  690. nonceStr: payInfo.nonceStr,
  691. package:payInfo.package,
  692. signType: payInfo.signType,
  693. paySign: payInfo.paySign,
  694. appid:payInfo.appId,
  695. success: function (res) {
  696. console.log('success:' + JSON.stringify(res));
  697. uni.showToast({
  698. title: '支付成功',
  699. icon:'none',
  700. duration: 2000
  701. });
  702. uni.redirectTo({
  703. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  704. })
  705. },
  706. fail: function (err) {
  707. console.log(err)
  708. uni.showToast({
  709. title: '支付失败',
  710. icon:'none',
  711. duration: 2000
  712. });
  713. console.log(that.orderData)
  714. uni.redirectTo({
  715. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  716. })
  717. }
  718. });
  719. },
  720. signUp(){
  721. this.groupOwner=0;
  722. if(this.userInfo){
  723. /* this.info.shopList.forEach(item=>{
  724. if(item.id == this.shopInfo.id){
  725. this.ckshopdata=item;
  726. this.shopName=item.shopName;
  727. }
  728. }) */
  729. this.bmShow=true;
  730. }else{
  731. this.authorizShow=true
  732. }
  733. },
  734. groupFn(){
  735. this.groupOwner=1;
  736. if(this.userInfo){
  737. this.bmShow=true;
  738. }else{
  739. this.authorizShow=true
  740. }
  741. },
  742. join(e){
  743. this.groupOwner=2;
  744. this.groupID=e.ID
  745. if(this.userInfo){
  746. this.bmShow=true;
  747. }else{
  748. this.authorizShow=true
  749. }
  750. },
  751. nobmshow(){
  752. this.bmShow=false;
  753. },
  754. ckshop(item){
  755. this.ckshopdata=item;
  756. this.shopName=item.shopName;
  757. this.ckshopShow=false;
  758. this.shopInfo=item
  759. this.useShopShow=false;
  760. },
  761. showCkshop(){
  762. console.log("选择门店")
  763. //this.ckshopShow=true;
  764. uni.navigateTo({
  765. url:'/pages/shop/ckshopList?goodsId='+this.collectingID+'&type=5'
  766. })
  767. },
  768. noShowShop(){
  769. this.ckshopShow=false;
  770. },
  771. queryActivityInfo(){
  772. uni.showLoading({
  773. title: '加载中'
  774. })
  775. this.$http('openHome/queryActivityInfo', {
  776. collectingID:this.collectingID
  777. }, 'GET').then(res => {
  778. //uni.hideLoading();
  779. this.info = res.data;
  780. console.log(this.info)
  781. this.getInfo();
  782. this.dimgList=[]
  783. if(this.info.imgList){
  784. this.info.imgList.forEach(item=>{
  785. if(item.imgType==1){
  786. this.mainImg=item.img
  787. }else{
  788. this.dimgList.push(item)
  789. }
  790. })
  791. }
  792. if (this.info.endTime < this.info.startTime) {
  793. // this.$vux.toast.text('时间设置错误')
  794. return
  795. }
  796. // this.activityNoOpen
  797. if (Number(new Date().getTime()) > (Number(new Date(this.info.startTime.replace(/-/g, '/')).getTime()) || 0)) {
  798. console.log("现在时间大于开始时间")
  799. this.activityNoOpen = false
  800. } else {
  801. this.activityNoOpen = true
  802. }
  803. if (Number(new Date().getTime()) > Number(new Date(this.info.endTime.replace(/-/g, '/')).getTime())) {
  804. console.log("现在时间大于结束时间")
  805. this.activityEnd = true
  806. } else {
  807. this.activityEnd = false
  808. }
  809. if (!this.activityNoOpen && !this.activityEnd) {
  810. this.clock()
  811. }
  812. if (this.activityNoOpen && !this.activityEnd) {
  813. this.clock2()
  814. }
  815. if(this.info.music){
  816. this.bgmMusic = uni.createInnerAudioContext();
  817. this.bgmMusic.autoplay = true;//自动播放
  818. this.bgmMusic.loop = true;//循环播放
  819. this.mp3Url='http://dmsimg.66km.com/music/sakuratears.mp3';
  820. this.bgmMusic.src ='http://dmsimg.66km.com/music/sakuratears.mp3'//, mp3Url;//背景音乐地址
  821. this.bgmMusic.onPlay(function(){
  822. console.log('背景音乐播放中');
  823. });
  824. this.bgmMusic.onError((res) => {
  825. console.log(res.errMsg);
  826. console.log(res.errCode);
  827. });
  828. }
  829. })
  830. },
  831. play2(){
  832. this.bgmMusic.play();
  833. this.payshow=false;
  834. },
  835. play(){
  836. this.payshow=true;
  837. this.bgmMusic.stop(()=>{
  838. console.log('背景音乐停止了');
  839. });
  840. },
  841. getInfo(){
  842. this.$http('openreservation/getInfo', {
  843. lat: '',
  844. lng: '',
  845. }, 'GET').then(res => {
  846. uni.hideLoading();
  847. //this.shopInfo = res.data.shopInfo
  848. var shopinfo=res.data.shopInfo;
  849. this.info.shopList.forEach(item=>{
  850. if(item.id==shopinfo.id){
  851. this.ckshopdata=shopinfo
  852. this.shopInfo=shopinfo
  853. this.shopName=this.shopInfo.shopName
  854. }
  855. })
  856. if(this.shopInfo==''){
  857. this.shopInfo=this.info.shopList[0]
  858. //this.shopName=this.shopInfo.shopName
  859. }
  860. this.beginTimer();
  861. })
  862. },
  863. call() {
  864. uni.makePhoneCall({
  865. phoneNumber: this.shopInfo.mobilePhone
  866. });
  867. },
  868. getmap() {
  869. console.log("打开地图")
  870. var that = this;
  871. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  872. uni.showToast({
  873. title: '该店铺未设置定位',
  874. icon: 'none',
  875. duration: 3000
  876. });
  877. } else {
  878. uni.openLocation({
  879. latitude: Number(that.shopInfo.lat),
  880. longitude: Number(that.shopInfo.lng),
  881. name: that.shopInfo.shopName,
  882. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName + that.shopInfo.address,
  883. success: function() {
  884. console.log('success');
  885. },
  886. fail(err) {
  887. console.log(err)
  888. }
  889. });
  890. }
  891. },
  892. clock () {
  893. let _this = this
  894. let today = new Date() // 当前时间
  895. let h = today.getHours()
  896. let m = today.getMinutes()
  897. let s = today.getSeconds()
  898. let stopTime = new Date(_this.info.endTime.replace(/-/g, '/')) // 结束时间
  899. if (Number(new Date(_this.info.endTime).getTime()) < Number(new Date().getTime())) {
  900. this.activityEnd = true
  901. return
  902. }
  903. let stopH = stopTime.getHours()
  904. let stopM = stopTime.getMinutes()
  905. let stopS = stopTime.getSeconds()
  906. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  907. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  908. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  909. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  910. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  911. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  912. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  913. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  914. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  915. // setTimeout("clock()",500);
  916. this.shengyuM=shengyuM;
  917. this.shengyuD=shengyuD;
  918. this.shengyuH=shengyuH;
  919. setTimeout(_this.clock, 500)
  920. },
  921. clock2(){
  922. let _this = this
  923. let today = new Date() // 当前时间
  924. let h = today.getHours()
  925. let m = today.getMinutes()
  926. let s = today.getSeconds()
  927. let startTime = new Date(_this.info.startTime.replace(/-/g, '/')) // 结束时间
  928. if (Number(new Date(_this.info.startTime).getTime()) < Number(new Date().getTime())) {
  929. this.activityNoOpen = true
  930. return
  931. }
  932. let stopH = startTime.getHours()
  933. let stopM = startTime.getMinutes()
  934. let stopS = startTime.getSeconds()
  935. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  936. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  937. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  938. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  939. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  940. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  941. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  942. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  943. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  944. // setTimeout("clock()",500);
  945. this.shengyuM=shengyuM;
  946. this.shengyuD=shengyuD;
  947. this.shengyuH=shengyuH;
  948. setTimeout(_this.clock2, 500)
  949. },
  950. decryptPhoneNumber: function(e) {
  951. console.log(e);
  952. this.code=e.detail.code
  953. this.wxPhoneLogin()
  954. this.authorizShow=false;
  955. },
  956. wxPhoneLogin(){
  957. var that=this;
  958. this.$http('miniApp2/sys/wxPhoneLogin', {
  959. appId:this.ext.appId,
  960. unionId:this.ext.unionId,
  961. code:this.code,
  962. openId:this.wxOpenData.openid
  963. },'POST').then(res => {
  964. var data = res.data;
  965. if(data.loginInfo){
  966. this.userInfo=data.loginInfo.openUser;
  967. this.wxOpenData=data.loginInfo;
  968. this.$store.commit('mutationswxOpenData', data)
  969. this.$store.commit('mutationsuserInfo', this.userInfo)
  970. this.getInfo()
  971. }
  972. })
  973. },
  974. },
  975. filters: {
  976. // 拼团有效期的filter
  977. limitTimeFilter (val) {
  978. //console.log('limitTimeFilter')
  979. //https://blog.csdn.net/qq_39905409/article/details/104478623
  980. if (val) {
  981. //console.log(val)
  982. let formateLimitTimes = that.$common.formateTimeStamp(val);
  983. let txt = `${formateLimitTimes.hour} : ${formateLimitTimes.min} : ${formateLimitTimes.seconds} `;
  984. /* if (formateLimitTimes.day != '00') {
  985. txt = `${Number(formateLimitTimes.day)*24} 时 ${formateLimitTimes.min} 分 ${formateLimitTimes.seconds} 秒`;
  986. } */
  987. return txt;
  988. } else {
  989. const twtxt = `0 : 0 : 0 `
  990. return twtxt;
  991. }
  992. }
  993. },
  994. beforeCreate: function () {
  995. that = this;
  996. },
  997. onShareAppMessage(res) {
  998. console.log(this.userInfo)
  999. var img='';
  1000. /* if(this.info.ImgList.length>0){
  1001. img=this.info.ImgList[0].url
  1002. } */
  1003. console.log(this.info.groupType)
  1004. if(this.info.groupType){
  1005. //console.log(res.target.dataset.obj.ID)
  1006. var url= 'pages/subPack/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId+'&shareName='+this.userInfo.nickName+'&groupID='+res.target.dataset.obj.ID
  1007. }else{
  1008. var url= 'pages/activity/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId
  1009. }
  1010. return {
  1011. title: this.info.activityName,
  1012. //imageUrl:this.mainImg,
  1013. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  1014. path:url,
  1015. success(res){
  1016. uni.showToast({
  1017. title:'分享成功'
  1018. })
  1019. },
  1020. fail(res){
  1021. uni.showToast({
  1022. title:'分享失败',
  1023. icon:'none',
  1024. duration: 3000
  1025. })
  1026. }
  1027. }
  1028. },
  1029. onShareTimeline() {
  1030. if(this.info.groupType){
  1031. //console.log(res.target.dataset.obj.ID)
  1032. var url= 'pages/subPack/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId+'&shareName='+this.userInfo.nickName+'&groupID='+res.target.dataset.obj.ID
  1033. }else{
  1034. var url= 'pages/activity/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId
  1035. }
  1036. return {
  1037. title: this.info.activityName,
  1038. query:url,
  1039. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  1040. }
  1041. }
  1042. }
  1043. </script>
  1044. <style scoped>
  1045. .ptNameBz{
  1046. font-weight: 500;line-height: 34rpx;
  1047. font-size: 22rpx;height: 32rpx;
  1048. color: #FD0F00;margin-top: 6rpx;margin-right: 10rpx;
  1049. background: url('http://dmsphoto.66km.com.cn/thFiles/2AF1130F-C318-45D3-B057-FA0728B41046.png') no-repeat;
  1050. background-size: 100% 100%;
  1051. padding-left: 64rpx;padding-right: 4rpx;
  1052. }
  1053. .name{
  1054. display: flex;
  1055. }
  1056. .djsCont{
  1057. width: 638rpx;
  1058. height: 50vh;
  1059. background: #fff;
  1060. margin-top: 20vh;
  1061. margin-left:56rpx ;border-radius: 15rpx;
  1062. }
  1063. .djsCont .ptLine{
  1064. border-top:0;
  1065. border-bottom: 1px solid #EEEEEE;
  1066. }
  1067. .djsCont .bmTop{
  1068. border-bottom: 1px solid #EEEEEE;
  1069. padding: 24rpx;
  1070. }
  1071. .djsLineBox{
  1072. height: calc(60vh - 120rpx);
  1073. overflow-y: scroll;
  1074. }
  1075. .ptLine{
  1076. display: flex;
  1077. justify-content: space-between;
  1078. padding: 26rpx 24rpx;border-top: 1px solid #EEEEEE;
  1079. }
  1080. .FirstMobilePhone{
  1081. font-weight: 400;
  1082. color: #222222;font-size: 28rpx;line-height: 60rpx;
  1083. }
  1084. .DiffBNumber{
  1085. font-weight: 400;text-align: right;
  1086. color: #222222;font-size: 26rpx;
  1087. }
  1088. .ptlineRight{
  1089. display: flex;
  1090. }
  1091. .ptlinexx{
  1092. padding-right: 12rpx;
  1093. }
  1094. .ptBtn{
  1095. width: 137rpx;font-weight: 400;
  1096. color: #FFFFFF;font-size: 26rpx;
  1097. height: 60rpx;text-align: center;
  1098. background: #E02E24;line-height: 60rpx;
  1099. border-radius: 6rpx;
  1100. margin-top: 4rpx;
  1101. }
  1102. .ptdjs{
  1103. font-weight: 400;
  1104. color: #666666;font-size: 24rpx;
  1105. }
  1106. .ptBox{
  1107. background: #ffffff;margin-top: 20rpx;
  1108. }
  1109. .bottomPtBox{
  1110. display: flex;padding-top: 24rpx;
  1111. }
  1112. .ptNum{
  1113. font-weight: 400;
  1114. color: #222222;font-size: 28rpx;
  1115. }
  1116. .ptBoxtop{
  1117. display: flex;justify-content: space-between;
  1118. padding: 20rpx 24rpx;
  1119. }
  1120. .ptMore{
  1121. font-weight: 400;
  1122. color: #666666;font-size: 24rpx;
  1123. }
  1124. .separate{
  1125. width: 284rpx;margin-left: 30rpx;
  1126. height: 74rpx;
  1127. background: #FFE4E2;
  1128. border-radius: 37rpx;
  1129. text-align: center;color:#D53533;
  1130. }
  1131. .separate .separateTop{
  1132. color:#D53533;
  1133. }
  1134. .separate .separateTxt{
  1135. color:#D53533;
  1136. }
  1137. .groupBtn{
  1138. width: 284rpx;text-align: center;color: #ffffff;
  1139. height: 74rpx;margin-left: 30rpx;
  1140. background: #D53533;
  1141. border-radius: 37rpx;
  1142. }
  1143. .separateTop{
  1144. font-weight: 500;font-size: 28rpx;
  1145. color: #FFFFFF;padding-top: 2rpx;
  1146. }
  1147. .separateTxt{
  1148. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1149. }
  1150. .companyName{
  1151. font-size: 24rpx;
  1152. font-family: PingFangSC-Medium, PingFang SC;
  1153. font-weight: 500;
  1154. color: #666666;
  1155. line-height: 33rpx;
  1156. text-align: center;
  1157. padding: 40rpx;
  1158. }
  1159. .shareBtn{
  1160. /* width: 100rpx; */
  1161. background: #F4F5F7;
  1162. }
  1163. .shareBimg{
  1164. width: 102rpx;
  1165. height: 102rpx;
  1166. }
  1167. .bottomTxtshare{
  1168. color: #333333;
  1169. font-size: 22rpx;
  1170. padding-top: 20rpx;
  1171. }
  1172. .shareBox{
  1173. width: 100%;
  1174. height: 100vh;
  1175. background: rgba(0, 0, 0, 0.5);
  1176. position: fixed;
  1177. left: 0;
  1178. bottom: 0;
  1179. z-index: 11;
  1180. }
  1181. .shareCont{
  1182. width: 100%;
  1183. background: #F4F5F7;
  1184. position: absolute;
  1185. left: 0;
  1186. bottom: 0;
  1187. display: flex;
  1188. justify-content: space-around;
  1189. padding: 50rpx 0;
  1190. border-radius: 40rpx 40rpx 0px 0px;
  1191. }
  1192. .mp3Img{
  1193. /* transform: translate(-1584.4%, 121.5%) scale(1); */
  1194. position: fixed;
  1195. top: 40rpx;
  1196. right: 40rpx;
  1197. width: 60rpx;
  1198. height: 60rpx;
  1199. }
  1200. .ckshopBox{
  1201. z-index: 111 !important;
  1202. }
  1203. .shopline {
  1204. padding: 20rpx 0;
  1205. background-color: #FFFFFF;
  1206. border-radius: 10rpx;
  1207. display: flex;
  1208. }
  1209. .baomingBox{
  1210. width: 750rpx;
  1211. height: 100vh;
  1212. background: rgba(0, 0, 0, 0.4);
  1213. position: fixed;
  1214. top: 0;
  1215. left: 0;
  1216. z-index: 11;
  1217. /* display: flex;
  1218. align-items: center; */
  1219. }
  1220. .bmTtnBox{
  1221. width: 750rpx;
  1222. height: 120rpx;
  1223. background: #FFFFFF;
  1224. box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
  1225. position: absolute;
  1226. left: 0;
  1227. bottom: 0;
  1228. padding-bottom: constant(safe-area-inset-bottom);
  1229. padding-bottom: env(safe-area-inset-bottom);
  1230. }
  1231. .bmBtn{
  1232. width: 690rpx;
  1233. height: 74rpx;
  1234. background: #D53533;
  1235. border-radius: 37rpx;
  1236. text-align: center;
  1237. line-height: 74rpx;
  1238. color: #ffffff;
  1239. font-size: 30rpx;
  1240. margin-top: 23rpx;
  1241. margin-left: 30rpx;
  1242. margin-top: 20rpx;
  1243. }
  1244. .bmshopjt{
  1245. width: 12rpx;
  1246. height: 20rpx;
  1247. margin-top: 10rpx;
  1248. }
  1249. .bmlineInput{
  1250. color: #333333;
  1251. font-size: 28rpx;
  1252. height: 98rpx;
  1253. line-height: 98rpx;
  1254. }
  1255. .bmshopname{
  1256. font-weight: 400;
  1257. color: #999999;
  1258. font-size: 28rpx;
  1259. line-height: 40rpx;
  1260. width: 500rpx;
  1261. white-space:nowrap;
  1262. overflow:hidden;
  1263. text-overflow:ellipsis;
  1264. }
  1265. .bmshopLine{
  1266. display: flex;
  1267. justify-content: space-between;
  1268. padding: 26rpx 0;
  1269. border-bottom: 1px solid #EEEEEE;
  1270. }
  1271. .bmLine{
  1272. border-bottom: 1px solid #EEEEEE;
  1273. }
  1274. .bmTop{
  1275. display: flex;
  1276. justify-content: space-between;
  1277. padding: 30rpx 24rpx 10rpx 24rpx;
  1278. }
  1279. .bmTitle{
  1280. font-weight: 500;
  1281. color: #3C3C3C;
  1282. font-size: 30rpx;
  1283. line-height: 36rpx;
  1284. }
  1285. .bmChimg{
  1286. width: 36rpx;
  1287. height: 36rpx;
  1288. }
  1289. .baomingCont{
  1290. position: absolute;
  1291. width: 750rpx;
  1292. /* height:850rpx; */
  1293. /* padding-bottom: constant(safe-area-inset-bottom);
  1294. padding-bottom: env(safe-area-inset-bottom); */
  1295. left: 0;
  1296. bottom: 0;
  1297. background: #ffffff;
  1298. border-radius: 24rpx 24rpx 0px 0px;
  1299. padding-bottom: 10rpx;
  1300. }
  1301. .shareIcon{
  1302. width: 48rpx;
  1303. height: 48rpx;
  1304. display: block;
  1305. }
  1306. .bottomBtnBox{
  1307. display: flex;
  1308. }
  1309. .bottomBtnBoxLeft{
  1310. padding-left: 40rpx;
  1311. padding-top: 21rpx;
  1312. }
  1313. .shareTxt{
  1314. color: #666666;font-size: 20rpx;
  1315. text-align: center;
  1316. }
  1317. .bottomBtn{
  1318. width: 598rpx;
  1319. height: 74rpx;
  1320. background: #D53533;
  1321. border-radius: 37rpx;
  1322. line-height: 74rpx;
  1323. text-align: center;
  1324. color: #ffffff;
  1325. font-size: 30rpx;
  1326. margin-top: 24rpx;
  1327. margin-left: 34rpx;
  1328. }
  1329. .bottomBtn2{
  1330. width: 598rpx;
  1331. height: 74rpx;
  1332. background: #DDDDDD;
  1333. border-radius: 37rpx;
  1334. line-height: 74rpx;
  1335. text-align: center;
  1336. color: #ffffff;
  1337. font-size: 30rpx;
  1338. margin-top: 24rpx;
  1339. margin-left: 34rpx;
  1340. }
  1341. .timeTbox{
  1342. width: 750rpx;
  1343. height: 60rpx;
  1344. background:#FFF5F0;
  1345. border-radius: 24rpx 24rpx 0px 0px;
  1346. border: 1px solid #EFE1D5;
  1347. display: flex;
  1348. justify-content: center;
  1349. font-size: 24rpx;
  1350. font-family: PingFangSC-Regular, PingFang SC;
  1351. font-weight: 400;
  1352. color: #764D49;
  1353. }
  1354. .timeviewTxt{
  1355. line-height: 41rpx;
  1356. padding-top: 10rpx;
  1357. }
  1358. .timeDivTxt{
  1359. line-height: 60rpx;
  1360. padding: 0 10rpx;
  1361. }
  1362. .timeK{
  1363. height: 41rpx;
  1364. line-height: 41rpx;
  1365. color: #FFFFFF;
  1366. width: 41rpx;
  1367. text-align: center;
  1368. background: #F03B3B;
  1369. border-radius: 6rpx;
  1370. margin-top: 9rpx;
  1371. margin-left: 15rpx;
  1372. margin-right: 15rpx;
  1373. }
  1374. .bottom{
  1375. width: 750rpx;
  1376. height: 180rpx;
  1377. background: #FFFFFF;
  1378. border-radius: 24rpx 24rpx 0px 0px;
  1379. position: fixed;
  1380. left: 0;
  1381. bottom: 0;
  1382. padding-bottom: constant(safe-area-inset-bottom);
  1383. padding-bottom: env(safe-area-inset-bottom);
  1384. }
  1385. .signupBox{
  1386. background: #ffffff;
  1387. margin-top: 20rpx;
  1388. }
  1389. .seeBox{
  1390. display: flex;
  1391. flex-wrap: wrap;
  1392. padding-left: 24rpx;
  1393. padding-bottom: 20rpx;
  1394. }
  1395. .seeLine{
  1396. padding-top: 14rpx;
  1397. padding-right: 16rpx;
  1398. }
  1399. .signupLine{
  1400. display: flex;
  1401. justify-content: space-between;
  1402. padding: 11rpx 0;
  1403. border-bottom: 1px solid #DDDDDD;
  1404. }
  1405. .signupLineM{
  1406. color: #3C3C3C;font-size: 26rpx;
  1407. line-height: 56rpx;
  1408. }
  1409. .signupLineR{
  1410. color: #999999;
  1411. font-size: 26rpx;
  1412. line-height: 56rpx;
  1413. }
  1414. .signupLineLName{
  1415. font-weight: 400;
  1416. color: #3C3C3C;
  1417. font-size: 26rpx;
  1418. padding-left: 16rpx;
  1419. line-height: 56rpx;
  1420. width: 150rpx;
  1421. white-space:nowrap;
  1422. overflow:hidden;
  1423. text-overflow:ellipsis;
  1424. }
  1425. .signupCont{
  1426. padding: 0 24rpx;
  1427. }
  1428. .signupLineLImg{
  1429. width: 56rpx;
  1430. height: 56rpx;
  1431. border-radius: 8rpx;
  1432. }
  1433. .signupLineL{
  1434. display: flex;
  1435. }
  1436. .signupTop{
  1437. width: 750rpx;
  1438. height: 78rpx;
  1439. background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
  1440. background-size: 100% 100%;
  1441. text-align: center;
  1442. line-height: 78rpx;
  1443. }
  1444. .signupTops1{
  1445. color: #FF0000;font-weight: 500;
  1446. font-size: 28rpx;
  1447. }
  1448. .signupTops1{
  1449. color: #703917;font-weight: 500;
  1450. font-size: 28rpx;
  1451. }
  1452. .shopRightIcon{
  1453. width: 44rpx;
  1454. height: 44rpx;
  1455. display: block;
  1456. margin: 0 auto;
  1457. margin-bottom: 10rpx;
  1458. }
  1459. .shopName{
  1460. color: #3C3C3C;
  1461. font-size: 28rpx;
  1462. width: 500rpx;
  1463. }
  1464. .shopaddress{
  1465. font-weight: 400;
  1466. color: #999999;
  1467. font-size: 24rpx;
  1468. padding-top: 10rpx;
  1469. width: 500rpx;
  1470. }
  1471. .shopRightSx{
  1472. width: 2rpx;
  1473. height: 69rpx;
  1474. background:#EEEEEE ;
  1475. margin-left: 34rpx;
  1476. margin-right: 34rpx;
  1477. margin-top: 14rpx;
  1478. }
  1479. .shopCont{
  1480. display: flex;
  1481. justify-content: space-between;
  1482. padding-top: 25rpx;
  1483. }
  1484. .shopContRight{
  1485. display: flex;
  1486. }
  1487. .shopContRightLine{
  1488. text-align: center;
  1489. color: #999999;
  1490. font-size: 24rpx;
  1491. }
  1492. .content{
  1493. min-height: 100vh;
  1494. background:#F4F5F7;
  1495. }
  1496. .detailImg{
  1497. width: 750rpx;
  1498. display: block;
  1499. }
  1500. .detailBOx{
  1501. background: #ffffff;
  1502. margin-top: 20rpx;
  1503. }
  1504. .detailTitle{
  1505. color: #222222;
  1506. font-weight: 500;
  1507. padding: 20rpx 24rpx;
  1508. font-size: 30rpx;
  1509. }
  1510. .topimg{
  1511. width: 750rpx;
  1512. }
  1513. .shopMs{
  1514. font-weight: 500;
  1515. color: #222222;
  1516. line-height: 42rpx;
  1517. font-size: 30rpx;
  1518. }
  1519. .shopBox{
  1520. background: #ffffff;
  1521. margin-top: 20rpx;
  1522. padding: 20rpx 24rpx;
  1523. }
  1524. .shopBoxTop{
  1525. display: flex;
  1526. justify-content: space-between;
  1527. }
  1528. .shopTy{
  1529. display: flex;
  1530. }
  1531. .shopTyTxt{
  1532. font-weight: 400;
  1533. color: #666666;
  1534. font-size: 24rpx;
  1535. line-height: 42rpx;
  1536. }
  1537. .shopjt{
  1538. width: 14rpx;
  1539. height: 23rpx;
  1540. margin-top: 10rpx;
  1541. margin-left: 10rpx;
  1542. }
  1543. .cont{
  1544. background: #ffffff;
  1545. border-radius: 24rpx 24rpx 0px 0px;
  1546. margin-top: -30rpx;
  1547. padding: 30rpx 24rpx;
  1548. position: relative;
  1549. }
  1550. .name{
  1551. color: #3C3C3C;
  1552. line-height: 42rpx;
  1553. font-weight: 500;
  1554. font-size: 30rpx;
  1555. }
  1556. .name2{
  1557. color: #3C3C3C;
  1558. line-height: 36rpx;
  1559. font-weight: 400;
  1560. font-size: 26rpx;
  1561. padding-top: 16rpx;
  1562. }
  1563. .name3{
  1564. color: #999999;
  1565. line-height: 36rpx;
  1566. font-weight: 400;
  1567. font-size: 26rpx;
  1568. padding-top: 16rpx;
  1569. }
  1570. .shopImg {
  1571. width: 146rpx;
  1572. height: 146rpx;
  1573. border-radius: 6rpx;
  1574. }
  1575. .shopBox2 {
  1576. padding-top: 30rpx;
  1577. display: flex;
  1578. }
  1579. .flex {
  1580. display: flex;
  1581. justify-content: space-between;
  1582. }
  1583. .shopCont2 {
  1584. padding-left: 22rpx;
  1585. width: 520rpx;
  1586. }
  1587. .shopName {
  1588. color: #333333;
  1589. font-size: 26rpx;
  1590. font-weight: 600;
  1591. }
  1592. .span1 {
  1593. color: #FF4F00;
  1594. font-size: 36rpx;
  1595. }
  1596. .span2 {
  1597. color: #FF4F00;
  1598. font-size: 22rpx;
  1599. }
  1600. .span3 {
  1601. color: #333333;
  1602. font-size: 22rpx;
  1603. padding-left: 22rpx;
  1604. }
  1605. .shopBq {
  1606. color: #FF4F00;
  1607. font-size: 22rpx;
  1608. border-radius: 4rpx;
  1609. border: 1px solid #FF4F00;
  1610. line-height: 30rpx;
  1611. height: 30rpx;
  1612. padding: 0rpx 5rpx;
  1613. margin-top: 10rpx;
  1614. }
  1615. .brandsBg {
  1616. display: flex;
  1617. height: 38rpx;
  1618. flex-wrap: wrap;
  1619. align-items: center;
  1620. overflow: hidden;
  1621. padding: 5rpx 0rpx;
  1622. }
  1623. .brands {
  1624. border-radius: 4rpx;
  1625. padding: 0 5rpx;
  1626. color: #F19D01;
  1627. height: 28rpx;
  1628. border: 1px solid #F19D01;
  1629. font-size: 20rpx;
  1630. line-height: 28rpx;
  1631. margin: 5rpx 10rpx 5rpx 0rpx;
  1632. }
  1633. .timeBg {
  1634. display: flex;
  1635. }
  1636. .shopTime {
  1637. color: #666666;
  1638. font-size: 22rpx;
  1639. }
  1640. .addressBox {
  1641. color: #666666;
  1642. font-size: 22rpx;
  1643. }
  1644. .ckshopLine{
  1645. display: flex;
  1646. padding: 20rpx 0;
  1647. border-bottom: 1px solid #EEEEEE;
  1648. }
  1649. button::after{
  1650. border: none;
  1651. }
  1652. button{
  1653. position: relative;
  1654. display: block;
  1655. margin-left: 0;
  1656. margin-right: 0;
  1657. padding-left: 0px;
  1658. padding-right: 0px;
  1659. box-sizing: border-box;
  1660. text-align: center;
  1661. text-decoration: none;
  1662. line-height: 1.35;
  1663. -webkit-tap-highlight-color: transparent;
  1664. overflow: hidden;
  1665. color: #000000;
  1666. background-color: #fff;
  1667. height: 100%;
  1668. }
  1669. .authorizBox{
  1670. width: 100vw;
  1671. height: 100vh;
  1672. background: rgba(0, 0, 0, 0.5);
  1673. position: fixed;
  1674. top: 0;
  1675. left: 0;
  1676. }
  1677. .authorizCont{
  1678. margin-top: 30vh;
  1679. width: 564rpx;
  1680. height: 408rpx;
  1681. background: #FFFFFF;
  1682. border-radius: 24rpx;
  1683. margin-left: 93rpx;
  1684. position: relative;
  1685. }
  1686. .authorizCloseImg{
  1687. width: 62rpx;
  1688. height: 62rpx;
  1689. }
  1690. .sqLogoBox{
  1691. width: 180rpx;
  1692. height: 180rpx;
  1693. background: #FFFFFF;
  1694. border-radius: 90rpx;
  1695. text-align: center;
  1696. position: absolute;
  1697. top: -50rpx;
  1698. left: 192rpx;
  1699. }
  1700. .authorizName{
  1701. color: #333333;
  1702. line-height: 42rpx;
  1703. font-size: 30rpx;
  1704. text-align: center;
  1705. padding-top: 58rpx;
  1706. }
  1707. .authorizMs{
  1708. color: #999999;
  1709. line-height: 36rpx;
  1710. font-size: 26rpx;
  1711. width: 452rpx;
  1712. padding-top: 24rpx;
  1713. text-align: center;
  1714. margin-left: 56rpx;
  1715. }
  1716. .authorizContbutton{
  1717. width: 422rpx;
  1718. height: 88rpx;
  1719. background: #D53533;
  1720. border-radius: 44rpx;
  1721. line-height: 88rpx;
  1722. text-align: center;
  1723. font-size:30rpx;
  1724. color: #FFFFFF;
  1725. margin-top: 62rpx;
  1726. margin-left:71rpx;
  1727. }
  1728. .applicationTk{
  1729. height: 60vh;
  1730. }
  1731. .groupBtnTxt{
  1732. color: #FFFFFF;font-size: 26rpx;line-height: 26rpx;
  1733. }
  1734. .groupBtnTop{
  1735. font-weight: 500;font-size: 28rpx;
  1736. color: #FFFFFF;padding-top: 2rpx;
  1737. }
  1738. </style>