jkDetail.vue 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <img :src="mainImg" alt="" class="topimg" mode="widthFix">
  5. </view>
  6. <view class="cont">
  7. <view class="name">{{info.activityName}}</view>
  8. <view class="name2">{{info.startTime.slice(0,10)}}~{{info.endTime.slice(0,10)}}</view>
  9. <view class="name3">{{info.activityContent}}</view>
  10. </view>
  11. <view class="shopBox">
  12. <view class="shopBoxTop">
  13. <view class="shopMs">活动门店</view>
  14. <view class="shopTy" @click="useShow">
  15. <view class="shopTyTxt">{{info.shopCount}}家门店通用</view>
  16. <img src="../../static/timg/jt2.png" alt="" class="shopjt">
  17. </view>
  18. </view>
  19. <view class="shopCont">
  20. <view class="shopContLeft">
  21. <view class="shopName">{{shopInfo.shopName}}</view>
  22. <view class="shopaddress">{{shopInfo.address?shopInfo.address:''}}</view>
  23. </view>
  24. <view class="shopContRight">
  25. <view class="shopContRightLine" @click="getmap">
  26. <img src="../../static/timg/icon_map.png" alt="" class="shopRightIcon">
  27. <view class="shopRightTxt">地图</view>
  28. </view>
  29. <view class="shopRightSx"></view>
  30. <view class="shopContRightLine" @click="call">
  31. <img src="../../static/timg/icon_phone.png" alt="" class="shopRightIcon">
  32. <view class="shopRightTxt">电话</view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <!-- 多少人报名 -->
  38. <view class="signupBox" v-if="info.signUserList.length">
  39. <view class="signupTop">
  40. <span class="signupTops1">{{info.signUserList.length}}</span>
  41. <span class="signupTops1">人已报名</span>
  42. </view>
  43. <view class="signupCont">
  44. <view class="signupLine" v-for="(item,index) in info.signUserList">
  45. <view class="signupLineL">
  46. <img :src="item.headImg" alt="" class="signupLineLImg">
  47. <view class="signupLineLName">{{item.nickName}}</view>
  48. </view>
  49. <view class="signupLineM">{{item.plateNumber?item.plateNumber:''}}</view>
  50. <view class="signupLineR">{{item.createTime}}</view>
  51. </view>
  52. </view>
  53. </view>
  54. <!-- 多少人报名 -->
  55. <!-- 多少人看过 -->
  56. <view class="signupBox" v-if="info.lookCount">
  57. <view class="signupTop">
  58. <span class="signupTops1">{{info.lookCount}}</span>
  59. <span class="signupTops1">人看过</span>
  60. </view>
  61. <!-- <view class="seeBox">
  62. <view class="seeLine" v-for="(item,index) in 15">
  63. <img src="http://dmsphoto.66km.com.cn/marketing//accompany/3885B510-6405-4A5E-BD64-B6C09CEE070E.jpg" alt="" class="signupLineLImg">
  64. </view>
  65. </view> -->
  66. </view>
  67. <view class="detailBOx" v-if="dimgList.length>0">
  68. <view class="detailTitle">活动详情</view>
  69. <view class="detailImgBox" v-for="(item,index) in dimgList">
  70. <img :src="item.img" alt="" class="detailImg" mode="widthFix">
  71. </view>
  72. </view>
  73. <view style="height: 200rpx;padding-bottom: constant(safe-area-inset-bottom);
  74. padding-bottom: env(safe-area-inset-bottom);"></view>
  75. <view class="bottom">
  76. <view class="timeTbox" v-if="!activityEnd">
  77. <view class="timeviewTxt" v-if="activityNoOpen"> 距开始</view>
  78. <view class="timeviewTxt" v-if="!activityNoOpen"> 距结束</view>
  79. <view class="timeK">{{shengyuD}}</view>
  80. <view class="timeviewTxt" ></view>
  81. <view class="timeK">{{shengyuH}}</view>
  82. <view class="timeviewTxt"></view>
  83. <view class="timeK">{{shengyuM}}</view>
  84. <view class="timeviewTxt" ></view>
  85. </view>
  86. <view class="bottomBtnBox">
  87. <view class="bottomBtnBoxLeft" @click="shareShowzs">
  88. <img src="../../static/timg/share.png" alt="" class="shareIcon">
  89. <view class="shareTxt">分享</view>
  90. </view>
  91. <!-- <button open-type="share" class="bottomBtnBoxLeft shareBtn" >
  92. <image src="../../static/timg/share.png" mode="" class="shareIcon"></image>
  93. <view class="shareTxt">分享</view>
  94. </button> -->
  95. <!-- 状态1未开始 2进行中3已结束 -->
  96. <view class="bottomBtn" v-if="info.state==2" @click="signUp" :style="{background:'#'+themeColor}">
  97. <span v-if="info.money">{{info.money}} &nbsp; 立即抢购</span>
  98. <span v-else>立即报名</span>
  99. </view>
  100. <view class="bottomBtn2" v-if="info.state==1">报名未开始</view>
  101. <view class="bottomBtn2" v-if="info.state==3">报名已结束</view>
  102. </view>
  103. </view>
  104. <!-- 报名弹框 -->
  105. <view class="baomingBox" v-if="bmShow" @click="nobmshow">
  106. <view class="baomingCont" @click.stop="" :style="{bottom: jpHeight}">
  107. <view class="bmTop">
  108. <view class="bmTitle">登记信息</view>
  109. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="nobmshow">
  110. </view>
  111. <view style="padding: 0 24rpx;">
  112. <view class="bmshopLine" @click="showCkshop">
  113. <view class="bmshopname" v-if="!shopName">请选择门店</view>
  114. <view class="bmshopname" style="color: #333333;">{{shopName}}</view>
  115. <img src="../../static/timg/icon_arrow_right.png" alt="" class="bmshopjt">
  116. </view>
  117. <!-- clWhere报名凭证1,2,3,4 1手机号2车牌号3姓名4单位 -->
  118. <view class="bmLine" v-if="info.clWhere.indexOf(1)!=-1" @click="focusState1cl">
  119. <!-- :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">
  120. </view>
  121. <view class="bmLine" v-if="info.clWhere.indexOf(2)!=-1" @click="focusState2cl">
  122. <input type="text" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="plateNumber" class="bmlineInput" placeholder="输入车牌号" placeholder-style="color:#999999">
  123. </view>
  124. <view class="bmLine" v-if="info.clWhere.indexOf(3)!=-1" @click="focusState3cl">
  125. <input type="text" :hold-keyboard="true" :adjust-position="false" @blur="inputBindBlur" @focus="inputBindFocus" v-model="customerName" class="bmlineInput" placeholder="输入姓名" placeholder-style="color:#999999">
  126. </view>
  127. <view class="bmLine" v-if="info.clWhere.indexOf(4)!=-1" @click="focusState4cl">
  128. <input type="text" :adjust-position="false" :hold-keyboard="true" @blur="inputBindBlur" @focus="inputBindFocus" v-model="unit" class="bmlineInput" placeholder="输入单位" placeholder-style="color:#999999">
  129. </view>
  130. </view>
  131. <view class="bmTtnBox">
  132. <view style="height: 1rpx;"></view>
  133. <view class="bmBtn" @click="submitOrder" :style="{background:'#'+themeColor}">
  134. <span v-if="info.money">{{info.money}} &nbsp; 立即抢购</span>
  135. <span v-else>立即报名</span>
  136. </view>
  137. </view>
  138. </view>
  139. </view>
  140. <!-- 门店弹框 -->
  141. <view class="baomingBox ckshopBox" v-if="ckshopShow">
  142. <view class="baomingCont">
  143. <view class="bmTop">
  144. <view class="bmTitle">选择门店</view>
  145. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop">
  146. </view>
  147. <view style="padding: 0 24rpx; height: 45vh;overflow-y: scroll;">
  148. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  149. <view class="shoplineLeft">
  150. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  151. <image src="../../static/img/noimg.png" mode="" class="shopImg" v-else></image>
  152. </view>
  153. <view class="shopright" style="padding-left: 20rpx;">
  154. <view class="shopTop">
  155. <view class="shopName">{{item.shopName}}</view>
  156. </view>
  157. <view class="brandsBg" v-if="item.brands">
  158. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  159. </view>
  160. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  161. v-if="item.endTime">{{item.endTime}}</span> </view>
  162. <view class="shopBottomLeft">
  163. <span class="shopaddress"
  164. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  165. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  166. </view>
  167. </view>
  168. </view>
  169. </view>
  170. </view>
  171. </view>
  172. <!-- 适用门店 -->
  173. <view class="baomingBox ckshopBox" v-if="useShopShow" @click="noShowShop2">
  174. <view class="baomingCont" @click.stop="">
  175. <view class="bmTop">
  176. <view class="bmTitle">选择门店</view>
  177. <img src="../../static/timg/chahao.png" alt="" class="bmChimg" @click="noShowShop2">
  178. </view>
  179. <view style="padding: 0 24rpx; height: 45vh;overflow-y: scroll;">
  180. <view class="ckshopLine" v-for="(item,index) in info.shopList" @click="ckshop(item)">
  181. <view class="shoplineLeft">
  182. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  183. <image src="../../static/img/noimg.png" mode="" class="shopImg" v-else></image>
  184. </view>
  185. <view class="shopright" style="padding-left: 20rpx;">
  186. <view class="shopTop">
  187. <view class="shopName">{{item.shopName}}</view>
  188. </view>
  189. <view class="brandsBg" v-if="item.brands">
  190. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  191. </view>
  192. <view class="shopTime"><span v-if="item.startTime">{{item.startTime}}</span> - <span
  193. v-if="item.endTime">{{item.endTime}}</span> </view>
  194. <view class="shopBottomLeft">
  195. <span class="shopaddress"
  196. v-if="item.address">{{item.provinceName}}{{item.cityName}}{{item.areaName}}{{item.address}}</span>
  197. <span v-if="item.distance&&item.distance!= '0.00'">{{item.distance}}km</span>
  198. </view>
  199. </view>
  200. </view>
  201. </view>
  202. </view>
  203. </view>
  204. <img src="../../static/timg/mp3.png" class="mp3Img" @click="play()" v-if="!payshow&mp3Url!=''">
  205. <img src=".../../static/timg/mp31.png" class="mp3Img" @click="play2()" id="bofang" v-if="payshow&mp3Url!=''">
  206. <view class="shareBox" v-if="shareShow" @click="shareShowyc">
  207. <img :src="shareQrCode" alt=""style="width: 300rpx;height:300rpx">
  208. <view class="shareCont" @click.stop="">
  209. <button open-type="share" class=" shareBtn" >
  210. <image src="../../static/timg/icon_wxhy.png" mode="" class="shareBimg"></image>
  211. <view class="bottomTxtshare">分享</view>
  212. </button>
  213. <view @click="gowp">
  214. <img src="../../static/timg/icon_haibao.png" alt="" class="shareBimg">
  215. <view class="bottomTxtshare">生成海报</view>
  216. </view>
  217. </view>
  218. </view>
  219. </view>
  220. </template>
  221. <script>
  222. export default {
  223. data() {
  224. return {
  225. info:'',
  226. type:'',
  227. shopNum:'',
  228. shopInfo:'',
  229. activityEnd:true,
  230. activityNoOpen:true,
  231. shengyuD:'',
  232. shengyuH:'',
  233. shengyuM:'',
  234. queryShopList:'',
  235. collectingID:'',
  236. bmShow:false,
  237. ckshopShow:false,
  238. mainImg:'',
  239. dimgList:[],
  240. shopName:'',
  241. ckshopdata:'',
  242. customerName:'',
  243. mobilePhone:'',
  244. unit:'',
  245. plateNumber:'',
  246. comment:'',
  247. userInfo:'',
  248. useShopShow:false,
  249. jpHeight:0,
  250. isPlay: false,
  251. mp3Url:'',
  252. payshow:false,
  253. jpNum:1,
  254. focusState1:false,
  255. focusState2:false,
  256. focusState3:false,
  257. focusState4:false,
  258. shareShow:false,
  259. ext:'',
  260. shareId:'',
  261. scene:'',
  262. themeColor:'',
  263. }
  264. },
  265. onLoad(opt) {
  266. console.log(opt)
  267. if(opt.shareId){
  268. this.shareId=opt.shareId
  269. }
  270. this.userInfo=this.$store.state.userInfo;
  271. // opt.scene='10002'
  272. if(this.userInfo){
  273. this.themeColor = uni.getStorageSync("themeColor");
  274. this.queryGoodsLook()
  275. if(opt.scene&&opt.scene!='undefined'){
  276. this.scene=opt.scene;
  277. this.getShareParams()
  278. }else{
  279. this.collectingID=opt.id;
  280. //this.getInfo();
  281. this.queryActivityInfo();
  282. this.queryGoodsLook()
  283. }
  284. }else{
  285. this.$common.automaticlogin().then(val => {
  286. this.themeColor = uni.getStorageSync("themeColor");
  287. this.userInfo=this.$store.state.userInfo;
  288. if(opt.scene&&opt.scene!='undefined'){
  289. this.scene=opt.scene;
  290. this.getShareParams()
  291. }else{
  292. this.collectingID=opt.id;
  293. //this.getInfo();
  294. this.queryActivityInfo();
  295. this.queryGoodsLook()
  296. }
  297. //this.queryActivityInfo();
  298. })
  299. }
  300. this.shopckList= uni.getStorageSync("shopckList");
  301. //this.ckmusic=uni.getStorageSync("ckmusic");
  302. },
  303. onPullDownRefresh(){
  304. //this.getInfo();
  305. this.queryActivityInfo();
  306. setTimeout(() => {
  307. uni.stopPullDownRefresh(); // 关闭下拉刷新
  308. }, 1000);
  309. },
  310. onHide(){
  311. this.bgmMusic.stop(()=>{
  312. console.log('背景音乐停止了');
  313. });
  314. },
  315. onUnload(){
  316. this.bgmMusic.stop()
  317. },
  318. methods: {
  319. getShareParams(){
  320. this.$http('openMall/getShareParams', {
  321. scene:this.scene,
  322. },'GET').then(res => {
  323. this.collectingID=res.data.goodsID;
  324. this.shareId=res.data.operatorID
  325. this.queryActivityInfo();
  326. this.queryGoodsLook()
  327. })
  328. },
  329. gowp(){
  330. var time=''
  331. if(this.info.startTime){
  332. var time = this.info.startTime.slice(0,10) + '~' +this.info.endTime.slice(0,10)
  333. }else{
  334. }
  335. var sellingPoint='';
  336. if(this.info.activityContent){
  337. sellingPoint=this.info.activityContent
  338. }
  339. this.shareShow=false;
  340. uni.navigateTo({
  341. url:'../shop/wp?img='+this.mainImg+'&name='+this.info.activityName+'&time='+time+'&sellingPoint'+sellingPoint+'&id='+this.collectingID+'&type=2'
  342. })
  343. },
  344. shareShowyc(){
  345. this.shareShow=false;
  346. },
  347. shareShowzs(){
  348. this.shareShow=true;
  349. },
  350. focusState1cl(){
  351. this.focusState1=true;
  352. },
  353. focusState2cl(){
  354. this.focusState2=true;
  355. },
  356. focusState3cl(){
  357. this.focusState3=true;
  358. },
  359. focusState4cl(){
  360. this.focusState4=true;
  361. },
  362. inputBindFocus(e){
  363. //console.log( e.detail.height);
  364. this.jpHeight=e.detail.height+ "px";
  365. //console.log(this.jpHeight)
  366. },
  367. inputBindBlur(){
  368. //return false;
  369. uni.onKeyboardHeightChange((obj)=>{
  370. console.log("inputBindBlur"+obj.height)
  371. let _sysInfo = uni.getSystemInfoSync();
  372. let _heightDiff = _sysInfo.screenHeight - _sysInfo.windowHeight
  373. let _diff = obj.height - _heightDiff;
  374. console.log(_diff)
  375. if(_diff<0||_diff==0){
  376. this.jpHeight=0
  377. }
  378. // 键盘高度
  379. //this.jpHeight = (_diff > 0 ? _diff : 0) - 2 + "px";
  380. })
  381. if(this.jpNum==1){
  382. this.jpHeight=0
  383. }
  384. this.jpNum++;
  385. },
  386. queryGoodsLook(){
  387. this.$http('openmy/queryGoodsLook', {
  388. goodsId:this.collectingID,
  389. openId:this.userInfo.openId
  390. },'POST').then(res => {
  391. })
  392. },
  393. noShowShop2(){
  394. this.useShopShow=false;
  395. },
  396. useShow(){
  397. this.useShopShow=true;
  398. },
  399. submitOrder(){
  400. uni.hideKeyboard()
  401. var jsonArray={
  402. itemId:this.collectingID,
  403. itemName:this.info.activityName,
  404. itemQty:1,
  405. salePrice:this.info.money?this.info.money:0,
  406. totalPrice:this.info.money?this.info.money:0,
  407. }
  408. if(this.ckshopdata==''){
  409. uni.showToast({
  410. title: '请选择服务门店',
  411. icon: 'none',
  412. duration: 3000
  413. });
  414. return false;
  415. }
  416. if(this.info.clWhere.indexOf(1)!=-1&&this.mobilePhone==''){
  417. uni.showToast({
  418. title: '请输入手机号',
  419. icon: 'none',
  420. duration: 3000
  421. });
  422. return false;
  423. }
  424. if(this.info.clWhere.indexOf(2)!=-1&&this.plateNumber==''){
  425. uni.showToast({
  426. title: '请输入车牌号',
  427. icon: 'none',
  428. duration: 3000
  429. });
  430. return false;
  431. }
  432. if(this.info.clWhere.indexOf(3)!=-1&&this.customerName==''){
  433. uni.showToast({
  434. title: '请输入姓名',
  435. icon: 'none',
  436. duration: 3000
  437. });
  438. return false;
  439. }
  440. if(this.info.clWhere.indexOf(4)!=-1&&this.unit==''){
  441. uni.showToast({
  442. title: '请输入单位',
  443. icon: 'none',
  444. duration: 3000
  445. });
  446. return false;
  447. }
  448. var arr=[]
  449. arr.push(jsonArray)
  450. var params={
  451. sheetType:'6',
  452. sheetContent:this.info.activityName,
  453. customerName:this.customerName,
  454. mobilePhone:this.mobilePhone,
  455. unit:this.unit,
  456. plateNumber:this.plateNumber,
  457. //carModel:this.carInfo.carModel,
  458. totalMoney:this.info.money?this.info.money:0,
  459. shopId:this.ckshopdata.id,
  460. comment:this.comment,
  461. sheetDetail:JSON.stringify(arr),
  462. payType:this.info.payType,
  463. shareId:this.shareId,
  464. }
  465. uni.showLoading({
  466. title: '加载中'
  467. })
  468. this.$http('openMallOrder/submitOrder', params,'POST').then(res => {
  469. uni.hideLoading();
  470. if(res.code==0){
  471. this.orderData=res.data
  472. if(this.info.payType==1){
  473. this.unifiedPay(res.data)
  474. }else{
  475. uni.showToast({
  476. title: '报名成功',
  477. icon: 'none',
  478. duration: 3000
  479. });
  480. uni.redirectTo({
  481. url: "../user/myOrder/activityOrderDetail?id=" + this.orderData.id +"&SheetType=" + this.orderData.sheetType
  482. })
  483. }
  484. }else{
  485. uni.showToast({
  486. title: res.msg,
  487. icon: 'none',
  488. duration: 3000
  489. });
  490. }
  491. })
  492. },
  493. unifiedPay(res){
  494. this.$http('openMallOrder/unifiedPay', {
  495. sheetId:res.id
  496. },'POST').then(res => {
  497. if(res.code==0){
  498. this.requestPayment(res.data)
  499. }else{
  500. uni.showToast({
  501. title: res.msg,
  502. icon: 'none',
  503. duration: 3000
  504. });
  505. }
  506. })
  507. },
  508. requestPayment(res){
  509. var payInfo=res;
  510. //console.log(payInfo)
  511. //console.log(String(Date.now()))
  512. var that=this;
  513. uni.requestPayment({
  514. provider: 'wxpay',
  515. //timeStamp: String(Date.now()),
  516. timeStamp: payInfo.timeStamp,
  517. nonceStr: payInfo.nonceStr,
  518. package:payInfo.package,
  519. signType: payInfo.signType,
  520. paySign: payInfo.paySign,
  521. appid:payInfo.appId,
  522. success: function (res) {
  523. console.log('success:' + JSON.stringify(res));
  524. uni.showToast({
  525. title: '支付成功',
  526. icon:'none',
  527. duration: 2000
  528. });
  529. uni.redirectTo({
  530. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  531. })
  532. },
  533. fail: function (err) {
  534. console.log(err)
  535. uni.showToast({
  536. title: '支付失败',
  537. icon:'none',
  538. duration: 2000
  539. });
  540. console.log(that.orderData)
  541. uni.redirectTo({
  542. url: "../user/myOrder/activityOrderDetail?id=" + that.orderData.id +"&SheetType=" + that.orderData.sheetType
  543. })
  544. }
  545. });
  546. },
  547. signUp(){
  548. this.info.shopList.forEach(item=>{
  549. if(item.id == this.shopInfo.id){
  550. this.ckshopdata=item;
  551. this.shopName=item.shopName;
  552. }
  553. })
  554. this.bmShow=true;
  555. },
  556. nobmshow(){
  557. this.bmShow=false;
  558. },
  559. ckshop(item){
  560. this.ckshopdata=item;
  561. this.shopName=item.shopName;
  562. this.ckshopShow=false;
  563. this.shopInfo=item
  564. this.useShopShow=false;
  565. },
  566. showCkshop(){
  567. console.log("选择门店")
  568. this.ckshopShow=true;
  569. },
  570. noShowShop(){
  571. this.ckshopShow=false;
  572. },
  573. queryActivityInfo(){
  574. uni.showLoading({
  575. title: '加载中'
  576. })
  577. this.$http('openHome/queryActivityInfo', {
  578. collectingID:this.collectingID
  579. }, 'GET').then(res => {
  580. //uni.hideLoading();
  581. this.info = res.data;
  582. this.getInfo()
  583. if(this.info.imgList){
  584. this.info.imgList.forEach(item=>{
  585. if(item.imgType==1){
  586. this.mainImg=item.img
  587. }else{
  588. this.dimgList.push(item)
  589. }
  590. })
  591. }
  592. if (this.info.endTime < this.info.startTime) {
  593. // this.$vux.toast.text('时间设置错误')
  594. return
  595. }
  596. // this.activityNoOpen
  597. if (Number(new Date().getTime()) > (Number(new Date(this.info.startTime.replace(/-/g, '/')).getTime()) || 0)) {
  598. console.log("现在时间大于开始时间")
  599. this.activityNoOpen = false
  600. } else {
  601. this.activityNoOpen = true
  602. }
  603. if (Number(new Date().getTime()) > Number(new Date(this.info.endTime.replace(/-/g, '/')).getTime())) {
  604. console.log("现在时间大于结束时间")
  605. this.activityEnd = true
  606. } else {
  607. this.activityEnd = false
  608. }
  609. if (!this.activityNoOpen && !this.activityEnd) {
  610. this.clock()
  611. }
  612. if (this.activityNoOpen && !this.activityEnd) {
  613. this.clock2()
  614. }
  615. if(this.info.music){
  616. this.bgmMusic = uni.createInnerAudioContext();
  617. this.bgmMusic.autoplay = true;//自动播放
  618. this.bgmMusic.loop = true;//循环播放
  619. this.mp3Url='http://dmsimg.66km.com/music/sakuratears.mp3';
  620. this.bgmMusic.src ='http://dmsimg.66km.com/music/sakuratears.mp3'//, mp3Url;//背景音乐地址
  621. this.bgmMusic.onPlay(function(){
  622. console.log('背景音乐播放中');
  623. });
  624. this.bgmMusic.onError((res) => {
  625. console.log(res.errMsg);
  626. console.log(res.errCode);
  627. });
  628. }
  629. })
  630. },
  631. play2(){
  632. this.bgmMusic.play();
  633. this.payshow=false;
  634. },
  635. play(){
  636. this.payshow=true;
  637. this.bgmMusic.stop(()=>{
  638. console.log('背景音乐停止了');
  639. });
  640. },
  641. getInfo(){
  642. this.$http('openreservation/getInfo', {
  643. lat: '',
  644. lng: '',
  645. }, 'GET').then(res => {
  646. uni.hideLoading();
  647. //this.shopInfo = res.data.shopInfo
  648. var shopinfo=res.data.shopInfo;
  649. this.info.shopList.forEach(item=>{
  650. //console.log(item.id)
  651. //console.log(shopinfo.id)
  652. if(item.id==shopinfo.id){
  653. this.shopInfo=shopinfo
  654. }
  655. })
  656. if(this.shopInfo==''){
  657. this.shopInfo=this.info.shopList[0]
  658. }
  659. })
  660. },
  661. call() {
  662. uni.makePhoneCall({
  663. phoneNumber: this.shopInfo.mobilePhone
  664. });
  665. },
  666. getmap() {
  667. console.log("打开地图")
  668. var that = this;
  669. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  670. uni.showToast({
  671. title: '该店铺未设置定位',
  672. icon: 'none',
  673. duration: 3000
  674. });
  675. } else {
  676. uni.openLocation({
  677. latitude: Number(that.shopInfo.lat),
  678. longitude: Number(that.shopInfo.lng),
  679. name: that.shopInfo.shopName,
  680. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName + that.shopInfo.address,
  681. success: function() {
  682. console.log('success');
  683. },
  684. fail(err) {
  685. console.log(err)
  686. }
  687. });
  688. }
  689. },
  690. clock () {
  691. let _this = this
  692. let today = new Date() // 当前时间
  693. let h = today.getHours()
  694. let m = today.getMinutes()
  695. let s = today.getSeconds()
  696. let stopTime = new Date(_this.info.endTime.replace(/-/g, '/')) // 结束时间
  697. if (Number(new Date(_this.info.endTime).getTime()) < Number(new Date().getTime())) {
  698. this.activityEnd = true
  699. return
  700. }
  701. let stopH = stopTime.getHours()
  702. let stopM = stopTime.getMinutes()
  703. let stopS = stopTime.getSeconds()
  704. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  705. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  706. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  707. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  708. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  709. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  710. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  711. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  712. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  713. // setTimeout("clock()",500);
  714. this.shengyuM=shengyuM;
  715. this.shengyuD=shengyuD;
  716. this.shengyuH=shengyuH;
  717. setTimeout(_this.clock, 500)
  718. },
  719. clock2(){
  720. let _this = this
  721. let today = new Date() // 当前时间
  722. let h = today.getHours()
  723. let m = today.getMinutes()
  724. let s = today.getSeconds()
  725. let startTime = new Date(_this.info.startTime.replace(/-/g, '/')) // 结束时间
  726. if (Number(new Date(_this.info.startTime).getTime()) < Number(new Date().getTime())) {
  727. this.activityNoOpen = true
  728. return
  729. }
  730. let stopH = startTime.getHours()
  731. let stopM = startTime.getMinutes()
  732. let stopS = startTime.getSeconds()
  733. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  734. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  735. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  736. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  737. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  738. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  739. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  740. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  741. this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  742. // setTimeout("clock()",500);
  743. this.shengyuM=shengyuM;
  744. this.shengyuD=shengyuD;
  745. this.shengyuH=shengyuH;
  746. setTimeout(_this.clock2, 500)
  747. }
  748. },
  749. onShareAppMessage(res) {
  750. console.log(this.userInfo)
  751. var img='';
  752. /* if(this.info.ImgList.length>0){
  753. img=this.info.ImgList[0].url
  754. } */
  755. return {
  756. title: this.info.activityName,
  757. imageUrl:this.mainImg,
  758. path: 'pages/activity/jkDetail?id=' + this.collectingID+'&shareId='+this.userInfo.openId,
  759. success(res){
  760. uni.showToast({
  761. title:'分享成功'
  762. })
  763. },
  764. fail(res){
  765. uni.showToast({
  766. title:'分享失败',
  767. icon:'none',
  768. duration: 3000
  769. })
  770. }
  771. }
  772. },
  773. }
  774. </script>
  775. <style scoped>
  776. .shareBtn{
  777. /* width: 100rpx; */
  778. background: #F4F5F7;
  779. }
  780. .shareBimg{
  781. width: 102rpx;
  782. height: 102rpx;
  783. }
  784. .bottomTxtshare{
  785. color: #333333;
  786. font-size: 22rpx;
  787. padding-top: 20rpx;
  788. }
  789. .shareBox{
  790. width: 100%;
  791. height: 100vh;
  792. background: rgba(0, 0, 0, 0.5);
  793. position: fixed;
  794. left: 0;
  795. bottom: 0;
  796. z-index: 11;
  797. }
  798. .shareCont{
  799. width: 100%;
  800. background: #F4F5F7;
  801. position: absolute;
  802. left: 0;
  803. bottom: 0;
  804. display: flex;
  805. justify-content: space-around;
  806. padding: 50rpx 0;
  807. border-radius: 40rpx 40rpx 0px 0px;
  808. }
  809. .mp3Img{
  810. /* transform: translate(-1584.4%, 121.5%) scale(1); */
  811. position: fixed;
  812. top: 40rpx;
  813. right: 40rpx;
  814. width: 60rpx;
  815. height: 60rpx;
  816. }
  817. .ckshopBox{
  818. z-index: 111 !important;
  819. }
  820. .shopline {
  821. padding: 20rpx 0;
  822. background-color: #FFFFFF;
  823. border-radius: 10rpx;
  824. display: flex;
  825. }
  826. .baomingBox{
  827. width: 750rpx;
  828. height: 100vh;
  829. background: rgba(0, 0, 0, 0.4);
  830. position: fixed;
  831. top: 0;
  832. left: 0;
  833. z-index: 11;
  834. /* display: flex;
  835. align-items: center; */
  836. }
  837. .bmTtnBox{
  838. width: 750rpx;
  839. height: 120rpx;
  840. background: #FFFFFF;
  841. box-shadow: 0px -2px 10rpx 0px rgba(153,153,153,0.2000);
  842. /* position: absolute;
  843. left: 0;
  844. bottom: 0; */
  845. /* padding-bottom: constant(safe-area-inset-bottom);
  846. padding-bottom: env(safe-area-inset-bottom); */
  847. }
  848. .bmBtn{
  849. width: 690rpx;
  850. height: 74rpx;
  851. background: #D53533;
  852. border-radius: 37rpx;
  853. text-align: center;
  854. line-height: 74rpx;
  855. color: #ffffff;
  856. font-size: 30rpx;
  857. margin-top: 23rpx;
  858. margin-left: 30rpx;
  859. margin-top: 20rpx;
  860. }
  861. .bmshopjt{
  862. width: 12rpx;
  863. height: 20rpx;
  864. margin-top: 10rpx;
  865. }
  866. .bmlineInput{
  867. color: #333333;
  868. font-size: 28rpx;
  869. height: 98rpx;
  870. line-height: 98rpx;
  871. }
  872. .bmshopname{
  873. font-weight: 400;
  874. color: #999999;
  875. font-size: 28rpx;
  876. line-height: 40rpx;
  877. width: 500rpx;
  878. white-space:nowrap;
  879. overflow:hidden;
  880. text-overflow:ellipsis;
  881. }
  882. .bmshopLine{
  883. display: flex;
  884. justify-content: space-between;
  885. padding: 26rpx 0;
  886. border-bottom: 1px solid #EEEEEE;
  887. }
  888. .bmLine{
  889. border-bottom: 1px solid #EEEEEE;
  890. }
  891. .bmTop{
  892. display: flex;
  893. justify-content: space-between;
  894. padding: 40rpx 24rpx 10rpx 24rpx;
  895. }
  896. .bmTitle{
  897. font-weight: 500;
  898. color: #3C3C3C;
  899. font-size: 30rpx;
  900. line-height: 36rpx;
  901. }
  902. .bmChimg{
  903. width: 36rpx;
  904. height: 36rpx;
  905. }
  906. .baomingCont{
  907. position: absolute;
  908. width: 750rpx;
  909. /* height:850rpx; */
  910. /* padding-bottom: constant(safe-area-inset-bottom);
  911. padding-bottom: env(safe-area-inset-bottom); */
  912. left: 0;
  913. bottom: 0;
  914. background: #ffffff;
  915. border-radius: 24rpx 24rpx 0px 0px;
  916. }
  917. .shareIcon{
  918. width: 48rpx;
  919. height: 48rpx;
  920. display: block;
  921. }
  922. .bottomBtnBox{
  923. display: flex;
  924. }
  925. .bottomBtnBoxLeft{
  926. padding-left: 40rpx;
  927. padding-top: 21rpx;
  928. }
  929. .shareTxt{
  930. color: #666666;font-size: 20rpx;
  931. text-align: center;
  932. }
  933. .bottomBtn{
  934. width: 598rpx;
  935. height: 74rpx;
  936. background: #D53533;
  937. border-radius: 37rpx;
  938. line-height: 74rpx;
  939. text-align: center;
  940. color: #ffffff;
  941. font-size: 30rpx;
  942. margin-top: 24rpx;
  943. margin-left: 34rpx;
  944. }
  945. .bottomBtn2{
  946. width: 598rpx;
  947. height: 74rpx;
  948. background: #DDDDDD;
  949. border-radius: 37rpx;
  950. line-height: 74rpx;
  951. text-align: center;
  952. color: #ffffff;
  953. font-size: 30rpx;
  954. margin-top: 24rpx;
  955. margin-left: 34rpx;
  956. }
  957. .timeTbox{
  958. width: 750rpx;
  959. height: 60rpx;
  960. background:#FFF5F0;
  961. border-radius: 24rpx 24rpx 0px 0px;
  962. border: 1px solid #EFE1D5;
  963. display: flex;
  964. justify-content: center;
  965. font-size: 24rpx;
  966. font-family: PingFangSC-Regular, PingFang SC;
  967. font-weight: 400;
  968. color: #764D49;
  969. }
  970. .timeviewTxt{
  971. line-height: 41rpx;
  972. padding-top: 10rpx;
  973. }
  974. .timeDivTxt{
  975. line-height: 60rpx;
  976. padding: 0 10rpx;
  977. }
  978. .timeK{
  979. height: 41rpx;
  980. line-height: 41rpx;
  981. color: #FFFFFF;
  982. width: 41rpx;
  983. text-align: center;
  984. background: #F03B3B;
  985. border-radius: 6rpx;
  986. margin-top: 9rpx;
  987. margin-left: 15rpx;
  988. margin-right: 15rpx;
  989. }
  990. .bottom{
  991. width: 750rpx;
  992. height: 180rpx;
  993. background: #FFFFFF;
  994. border-radius: 24rpx 24rpx 0px 0px;
  995. position: fixed;
  996. left: 0;
  997. bottom: 0;
  998. padding-bottom: constant(safe-area-inset-bottom);
  999. padding-bottom: env(safe-area-inset-bottom);
  1000. }
  1001. .signupBox{
  1002. background: #ffffff;
  1003. margin-top: 20rpx;
  1004. }
  1005. .seeBox{
  1006. display: flex;
  1007. flex-wrap: wrap;
  1008. padding-left: 24rpx;
  1009. padding-bottom: 20rpx;
  1010. }
  1011. .seeLine{
  1012. padding-top: 14rpx;
  1013. padding-right: 16rpx;
  1014. }
  1015. .signupLine{
  1016. display: flex;
  1017. justify-content: space-between;
  1018. padding: 11rpx 0;
  1019. border-bottom: 1px solid #DDDDDD;
  1020. }
  1021. .signupLineM{
  1022. color: #3C3C3C;font-size: 26rpx;
  1023. line-height: 56rpx;
  1024. }
  1025. .signupLineR{
  1026. color: #999999;
  1027. font-size: 26rpx;
  1028. line-height: 56rpx;
  1029. }
  1030. .signupLineLName{
  1031. font-weight: 400;
  1032. color: #3C3C3C;
  1033. font-size: 26rpx;
  1034. padding-left: 16rpx;
  1035. line-height: 56rpx;
  1036. width: 150rpx;
  1037. white-space:nowrap;
  1038. overflow:hidden;
  1039. text-overflow:ellipsis;
  1040. }
  1041. .signupCont{
  1042. padding: 0 24rpx;
  1043. }
  1044. .signupLineLImg{
  1045. width: 56rpx;
  1046. height: 56rpx;
  1047. border-radius: 8rpx;
  1048. }
  1049. .signupLineL{
  1050. display: flex;
  1051. }
  1052. .signupTop{
  1053. width: 750rpx;
  1054. height: 78rpx;
  1055. background: url(http://dmsphoto.66km.com.cn/thFiles/FF582E15-1971-4C04-8AB3-F7618FFB961D.png);
  1056. background-size: 100% 100%;
  1057. text-align: center;
  1058. line-height: 78rpx;
  1059. }
  1060. .signupTops1{
  1061. color: #FF0000;font-weight: 500;
  1062. font-size: 28rpx;
  1063. }
  1064. .signupTops1{
  1065. color: #703917;font-weight: 500;
  1066. font-size: 28rpx;
  1067. }
  1068. .shopRightIcon{
  1069. width: 44rpx;
  1070. height: 44rpx;
  1071. display: block;
  1072. margin: 0 auto;
  1073. margin-bottom: 10rpx;
  1074. }
  1075. .shopName{
  1076. color: #3C3C3C;
  1077. font-size: 28rpx;
  1078. }
  1079. .shopaddress{
  1080. font-weight: 400;
  1081. color: #999999;
  1082. font-size: 24rpx;
  1083. padding-top: 10rpx;
  1084. width: 500rpx;
  1085. }
  1086. .shopRightSx{
  1087. width: 2rpx;
  1088. height: 69rpx;
  1089. background:#EEEEEE ;
  1090. margin-left: 34rpx;
  1091. margin-right: 34rpx;
  1092. margin-top: 14rpx;
  1093. }
  1094. .shopCont{
  1095. display: flex;
  1096. justify-content: space-between;
  1097. padding-top: 25rpx;
  1098. }
  1099. .shopContRight{
  1100. display: flex;
  1101. }
  1102. .shopContRightLine{
  1103. text-align: center;
  1104. color: #999999;
  1105. font-size: 24rpx;
  1106. }
  1107. .content{
  1108. min-height: 100vh;
  1109. background:#F4F5F7;
  1110. }
  1111. .detailImg{
  1112. width: 750rpx;
  1113. display: block;
  1114. }
  1115. .detailBOx{
  1116. background: #ffffff;
  1117. margin-top: 20rpx;
  1118. }
  1119. .detailTitle{
  1120. color: #222222;
  1121. font-weight: 500;
  1122. padding: 20rpx 24rpx;
  1123. font-size: 30rpx;
  1124. }
  1125. .topimg{
  1126. width: 750rpx;
  1127. }
  1128. .shopMs{
  1129. font-weight: 500;
  1130. color: #222222;
  1131. line-height: 42rpx;
  1132. font-size: 30rpx;
  1133. }
  1134. .shopBox{
  1135. background: #ffffff;
  1136. margin-top: 20rpx;
  1137. padding: 20rpx 24rpx;
  1138. }
  1139. .shopBoxTop{
  1140. display: flex;
  1141. justify-content: space-between;
  1142. }
  1143. .shopTy{
  1144. display: flex;
  1145. }
  1146. .shopTyTxt{
  1147. font-weight: 400;
  1148. color: #666666;
  1149. font-size: 24rpx;
  1150. line-height: 42rpx;
  1151. }
  1152. .shopjt{
  1153. width: 14rpx;
  1154. height: 23rpx;
  1155. margin-top: 10rpx;
  1156. margin-left: 10rpx;
  1157. }
  1158. .cont{
  1159. background: #ffffff;
  1160. border-radius: 24rpx 24rpx 0px 0px;
  1161. margin-top: -30rpx;
  1162. padding: 30rpx 24rpx;
  1163. position: relative;
  1164. }
  1165. .name{
  1166. color: #3C3C3C;
  1167. line-height: 42rpx;
  1168. font-weight: 500;
  1169. font-size: 30rpx;
  1170. }
  1171. .name2{
  1172. color: #3C3C3C;
  1173. line-height: 36rpx;
  1174. font-weight: 400;
  1175. font-size: 26rpx;
  1176. padding-top: 16rpx;
  1177. }
  1178. .name3{
  1179. color: #999999;
  1180. line-height: 36rpx;
  1181. font-weight: 400;
  1182. font-size: 26rpx;
  1183. padding-top: 16rpx;
  1184. }
  1185. .shopImg {
  1186. width: 146rpx;
  1187. height: 146rpx;
  1188. border-radius: 6rpx;
  1189. }
  1190. .shopBox2 {
  1191. padding-top: 30rpx;
  1192. display: flex;
  1193. }
  1194. .flex {
  1195. display: flex;
  1196. justify-content: space-between;
  1197. }
  1198. .shopCont2 {
  1199. padding-left: 22rpx;
  1200. width: 520rpx;
  1201. }
  1202. .shopName {
  1203. color: #333333;
  1204. font-size: 26rpx;
  1205. font-weight: 600;
  1206. }
  1207. .span1 {
  1208. color: #FF4F00;
  1209. font-size: 36rpx;
  1210. }
  1211. .span2 {
  1212. color: #FF4F00;
  1213. font-size: 22rpx;
  1214. }
  1215. .span3 {
  1216. color: #333333;
  1217. font-size: 22rpx;
  1218. padding-left: 22rpx;
  1219. }
  1220. .shopBq {
  1221. color: #FF4F00;
  1222. font-size: 22rpx;
  1223. border-radius: 4rpx;
  1224. border: 1px solid #FF4F00;
  1225. line-height: 30rpx;
  1226. height: 30rpx;
  1227. padding: 0rpx 5rpx;
  1228. margin-top: 10rpx;
  1229. }
  1230. .brandsBg {
  1231. display: flex;
  1232. height: 38rpx;
  1233. flex-wrap: wrap;
  1234. align-items: center;
  1235. overflow: hidden;
  1236. padding: 5rpx 0rpx;
  1237. }
  1238. .brands {
  1239. border-radius: 4rpx;
  1240. padding: 0 5rpx;
  1241. color: #F19D01;
  1242. height: 28rpx;
  1243. border: 1px solid #F19D01;
  1244. font-size: 20rpx;
  1245. line-height: 28rpx;
  1246. margin: 5rpx 10rpx 5rpx 0rpx;
  1247. }
  1248. .timeBg {
  1249. display: flex;
  1250. }
  1251. .shopTime {
  1252. color: #666666;
  1253. font-size: 22rpx;
  1254. }
  1255. .addressBox {
  1256. color: #666666;
  1257. font-size: 22rpx;
  1258. }
  1259. .ckshopLine{
  1260. display: flex;
  1261. padding: 20rpx 0;
  1262. border-bottom: 1px solid #EEEEEE;
  1263. }
  1264. button::after{
  1265. border: none;
  1266. }
  1267. button{
  1268. position: relative;
  1269. display: block;
  1270. margin-left: 0;
  1271. margin-right: 0;
  1272. padding-left: 0px;
  1273. padding-right: 0px;
  1274. box-sizing: border-box;
  1275. // font-size: 18px;
  1276. text-align: center;
  1277. text-decoration: none;
  1278. // line-height: 1;
  1279. line-height: 1.35;
  1280. // border-radius: 5px;
  1281. -webkit-tap-highlight-color: transparent;
  1282. overflow: hidden;
  1283. color: #000000;
  1284. background-color: #fff;
  1285. height: 100%;
  1286. }
  1287. </style>