activityOrderDetail.vue 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669
  1. <template>
  2. <view class="box">
  3. <!-- 自定义导航 -->
  4. <!-- <view class="zdyNavBox">
  5. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  6. <view class="zdyNav">
  7. <view class="zdyNavLeft">
  8. <image src="../../../static/img/nav_icon_back.png" mode="aspectFit" class="backImg" @click="goback"></image>
  9. <image src="../../../static/img/nav_icon_home.png" mode="" class="homeImg" @click="gohome"></image>
  10. </view>
  11. <view class="zdyNavTitle">订单详情</view>
  12. <view style="width: 100px;"></view>
  13. </view>
  14. </view>
  15. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  16. <view style="height: 44px;"></view> -->
  17. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'订单详情'" :cj="3"></homenav>
  18. <view class="top" :style="{background:'#'+themeColor}">
  19. <view class="orderState">
  20. <image src="../../../static/img/icon_order_def.png" mode="" style="width: 44rpx;height: 44rpx;"></image>
  21. <view class="SheetState" v-if="orderData.data.sheetState == 1">待付款</view>
  22. <view class="SheetState" v-if="orderData.data.sheetState == 2">待服务</view>
  23. <view class="SheetState" v-if="orderData.data.sheetState == 3">已完成</view>
  24. <view class="SheetState" v-if="orderData.data.sheetState == 4">已取消</view>
  25. <view class="SheetState" v-if="orderData.data.sheetState == 5">待成团</view>
  26. </view>
  27. </view>
  28. <!-- 拼团信息 -->
  29. <view class="ptCont" v-if="orderData.data.sheetState == 5">
  30. <view class="ptTimeBox">
  31. <view class="ptTimeTxt">拼团剩余</view>
  32. <view class="ptTime">{{dh}}</view>
  33. <view class="ptdd">:</view>
  34. <view class="ptTime">{{dm}}</view>
  35. <view class="ptdd">:</view>
  36. <view class="ptTime">{{ds}}</view>
  37. </view>
  38. <view class="ptmobilePhoneLine">
  39. <image src="../../../static/timg/icon_guan.png" mode="" class="vipIcon"></image>
  40. <view class="ptmobilePhone">{{orderData.openGroup.firstMobilePhone}}</view>
  41. </view>
  42. <view class="DiffBNumber">还差 <span style="color:#FF0000; ">{{orderData.openGroup.groupNumber - orderData.groupList.length}}</span> 人,赶快邀请好友来拼团吧</view>
  43. <view class="ptBtnBox">
  44. <view class="seeTy" @click="seeTyshowBtn">查看全部团员</view>
  45. <button open-type="share" class=" shareBtn" >
  46. <view class="yqhypt">邀请好友拼团</view>
  47. </button>
  48. </view>
  49. </view>
  50. <!-- 店铺信息 -->
  51. <view class="shopBox" :class="{shopBoxpt:orderData.data.sheetState == 5}">
  52. <image src="../../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
  53. <view class="shopCont">
  54. <view class="shopName">{{orderData.shopInfo.shopName}}</view>
  55. <view class="Address">
  56. {{orderData.shopInfo.provinceName}}{{orderData.shopInfo.cityName}}{{orderData.shopInfo.areaName}}{{orderData.shopInfo.address}}
  57. </view>
  58. </view>
  59. <view class="shopRightBox" @click="map">
  60. <image src="../../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image>
  61. <view class="shopRihgtTxt">地图</view>
  62. </view>
  63. <view class="shopsx"></view>
  64. <view class="shopRightBox" @click="call">
  65. <image src="../../../static/img/icon_phone.png" mode="" class="shopRightImg"></image>
  66. <view class="shopRihgtTxt">电话</view>
  67. </view>
  68. </view>
  69. <!-- 订单内容 -->
  70. <view class="information">
  71. <view class="detailedTitle">订单内容
  72. <view class="groupStateBox " v-if="orderData.data.groupState==4">
  73. <image src="../../../static/img/icon_selectY.png" mode="" class="groupStateIcon"></image>
  74. <view class="groupStateTxt">自动成团</view>
  75. </view>
  76. <view class="groupStateBox " v-if="orderData.data.groupState==3">
  77. <image src="../../../static/img/icon_selectY.png" mode="" class="groupStateIcon"></image>
  78. <view class="groupStateTxt">拼团成功</view>
  79. </view>
  80. <view class="groupStateBox " v-if="orderData.data.groupState==1">
  81. <image src="../../../static/img/icon_del_red.png" mode="" class="groupStateIcon"></image>
  82. <view class="groupStateTxt">拼团失败</view>
  83. </view>
  84. <!-- <view class="groupStateBox " v-if="orderData.data.groupState==0">
  85. <image src="../../../static/img/icon_del_red.png" mode="" class="groupStateIcon"></image>
  86. <view class="groupStateTxt">拼团取消</view>
  87. </view> -->
  88. </view>
  89. <view v-if="orderData.openSheetDetail.length>0" v-for="(item,index) in orderData.openSheetDetail" :key="index">
  90. <view class="informationLine2">
  91. <view class="goodsName">{{item.itemName}}</view>
  92. <view class="huodong" @click="goDetail(item.itemId)">
  93. <view class="goodsName3">活动详情</view>
  94. <image src="../../../static/img/little_rightArrow.png" mode="" style="width: 30rpx;height: 30rpx;"></image>
  95. </view>
  96. </view>
  97. <view class="salePrice"><span class="informationNum">¥</span>{{orderData.data.payType==1? item.salePrice:0}}</view>
  98. </view>
  99. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4&& orderData.data.sheetState != 5" class="line"></view>
  100. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4&& orderData.data.sheetState != 5">
  101. <view class="goodsName2">
  102. 券码信息({{quanMaList.length?quanMaList.length:0}}张可用)
  103. </view>
  104. <view class="detailedLineBox" v-for="(v,index) in orderData.OpenSheetQRCode">
  105. <view class="detailedLine">
  106. <view v-if="v.writeoffState==1" class="detailedName">
  107. <view class="redPoint"></view>
  108. <view class="code">{{v.qrCode}}</view>
  109. <view class="quanState">待使用</view>
  110. </view>
  111. <view v-if="v.writeoffState==3" class="detailedName">
  112. <view class="redPoint"></view>
  113. <view class="code old" >{{v.qrCode}}</view>
  114. <view class="quanState2">已使用</view>
  115. </view>
  116. <image src="../../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
  117. v-if="v.writeoffState==1" @click="isShowMaSHow(index)"></image>
  118. </view>
  119. <view class="writeoffLineBox" v-if="v.writeoffState==3">
  120. <view class="writeoffLine">
  121. <view class="writeoffLineTxt">核销时间:{{v.writeoffTime}}</view>
  122. <view class="writeoffLineTxt">核销人:{{v.writeoffName}}</view>
  123. </view>
  124. <view class="writeoffLine">
  125. <view class="writeoffLineTxt">核销门店:{{v.writeoffShopName?v.writeoffShopName:''}}</view>
  126. </view>
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. <!-- 实付款 -->
  132. <view class="money">
  133. <view class="informationNum">实付款:</view>
  134. <view class="informationNum" style="color: #FF0000;font-weight: bold;">¥{{orderData.data.payType==1?orderData.data.realMoney:0}}</view>
  135. </view>
  136. <!-- 订单信息 -->
  137. <view class="information">
  138. <view class="detailedTitle">订单信息</view>
  139. <view class="informationLine" v-if="orderData.data.plateNumber">
  140. <view class="informationTxt">车牌号:</view>
  141. <view class="informationNum">{{orderData.data.plateNumber}}</view>
  142. </view>
  143. <view class="informationLine" v-if="orderData.data.customerName">
  144. <view class="informationTxt">联系人:</view>
  145. <view class="informationNum">{{orderData.data.customerName}}</view>
  146. </view>
  147. <view class="informationLine" v-if="orderData.data.mobilePhone">
  148. <view class="informationTxt">手机号:</view>
  149. <view class="informationNum">{{orderData.data.mobilePhone}}</view>
  150. </view>
  151. <view class="informationLine" v-if="orderData.data.unit">
  152. <view class="informationTxt">单位:</view>
  153. <view class="informationNum">{{orderData.data.unit}}</view>
  154. </view>
  155. <view class="informationLine">
  156. <view class="informationTxt">报名时间:</view>
  157. <view class="informationNum">{{orderData.data.createTime}}</view>
  158. </view>
  159. <view class="informationLine">
  160. <view class="informationTxt">订单单号:</view>
  161. <view class="informationNum">{{orderData.data.code}}<span class="codeCopy"
  162. @click="copy(orderData.data.code)">复制</span></view>
  163. </view>
  164. </view>
  165. <!-- 支付信息 -->
  166. <view class="information">
  167. <view class="detailedTitle">支付信息</view>
  168. <view class="informationLine">
  169. <view class="informationTxt">支付状态:</view>
  170. <view class="informationNum" v-if="orderData.data.payState==1">未支付</view>
  171. <view class="informationNum" v-if="orderData.data.payState==2">已支付</view>
  172. </view>
  173. <view class="informationLine">
  174. <view class="informationTxt">支付方式:</view>
  175. <view class="informationNum" v-if="orderData.data.payType==1">在线支付</view>
  176. <view class="informationNum" v-if="orderData.data.payType==2">-</view>
  177. </view>
  178. <view class="informationLine">
  179. <view class="informationTxt">支付时间:</view>
  180. <view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
  181. </view>
  182. </view>
  183. <!-- 核销信息 -->
  184. <view class="information writeoffXx" v-if="orderData.data.sheetState == 3">
  185. <view class="detailedTitle">核销信息</view>
  186. <view class="informationLine">
  187. <view class="informationTxt">核销状态:</view>
  188. <view class="informationNum" v-if="orderData.data.writeoffState==1">未核销</view>
  189. <view class="informationNum" v-if="orderData.data.writeoffState==2">部分核销</view>
  190. <view class="informationNum" v-if="orderData.data.writeoffState==3">已核销</view>
  191. </view>
  192. <view class="informationLine">
  193. <view class="informationTxt">核销时间:</view>
  194. <view class="informationNum">{{orderData.data.writeoffTime?orderData.data.writeoffTime:'-'}} {{orderData.data.writeoffName}}</view>
  195. </view>
  196. <view class="informationLine">
  197. <view class="informationTxt">核销门店:</view>
  198. <view class="informationNum">{{orderData.data.writeoffShopName?orderData.data.writeoffShopName:'-'}}</view>
  199. </view>
  200. </view>
  201. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  202. <view class="bottom" v-if="orderData.data.sheetState == 1">
  203. <!-- <view class="cancel" @click="cancelBespeak" v-if="orderData.data.groupType==1">取消订单</view> -->
  204. <view class="cancel" @click="cancelBespeak" >取消订单</view>
  205. <view class="defer" :style="{border:'1rpx solid #'+themeColor,color:'#'+themeColor}" @click="pay">立即支付</view>
  206. </view>
  207. <!-- <view class="bottom" v-if="orderData.data.sheetState == 2||orderData.data.sheetState == 5">
  208. <view class="cancel" @click="cancelOrder" v-if="orderData.data.payState==2">退款</view>
  209. <view class="cancel" @click="cancelBespeak" v-else>取消订单</view>
  210. </view> -->
  211. <view class="" v-if="orderData.data.sheetState == 2||orderData.data.sheetState == 5">
  212. <view v-if="orderData.data.payState==2"></view>
  213. <viwe class="bottom" v-else>
  214. <view class="cancel" @click="cancelBespeak" >取消订单</view>
  215. </viwe>
  216. </view>
  217. <!-- 券码 -->
  218. <view class="maBox" v-if="isShowMa==true" @click="isShowMaHide">
  219. <view class="querenMa">
  220. <view class="maTop">
  221. <view class="maTitle">请到店出示券码即可开始服务</view>
  222. <image @click="isShowMaHide" src="../../../static/img/icon_delete.png" mode=""
  223. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;"></image>
  224. </view>
  225. <swiper class="swiper" circular :current='swiperIndex' :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#D53533">
  226. <swiper-item v-for="(item,index) in quanMaList">
  227. <view class="swiper-item">
  228. <view class="maCode">{{item}}</view>
  229. <view class="maBoximg">
  230. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="400" :unit="unit"
  231. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  232. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  233. </view>
  234. </view>
  235. </swiper-item>
  236. </swiper>
  237. </view>
  238. </view>
  239. <!-- 手机号授权 -->
  240. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  241. <view class="authorizCont" @click.stop="">
  242. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  243. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  244. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  245. </view>
  246. <view style="text-align: center;padding-top: 56rpx;">
  247. <image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  248. </view>
  249. </view>
  250. <!-- 全部团员 -->
  251. <view class="maBox" v-if="seeTyshow" @click="seeTyHide">
  252. <view class="grouptk" @click.stop="">
  253. <view class="maTop">
  254. <view class="maTitle maTitle2 ">全部团员</view>
  255. <image src="../../../static/img/icon_delete.png" mode=""
  256. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;" @click="seeTyHide"></image>
  257. </view>
  258. <view class="grouptkCobt">
  259. <view class="grouptkLIne" v-for="(item,index) in orderData.groupList">
  260. <view class="grouptkLIneLeft">
  261. <view class="groupTz" v-if="item.groupMemberLevel==1">团长</view>
  262. <view class="groupTy" v-else>团员</view>
  263. <view class="groupmobilePhone">{{item.mobilePhone}}</view>
  264. </view>
  265. <view class="grouptkLIneTime">{{item.payTime}}</view>
  266. </view>
  267. </view>
  268. </view>
  269. </view>
  270. <!-- 退款原因 -->
  271. <view class="tuikuanBox" v-if="isShowTui==true">
  272. <view class="tuikuan">
  273. <view class="tuiTop">
  274. <view class="tuiTitle">退款</view>
  275. <image @click="isShowTuiHide" src="../../../static/img/icon_delete.png" mode=""
  276. style="width: 26rpx; height: 26rpx;"></image>
  277. </view>
  278. <view class="contLine">
  279. <view class="contlineLeft">
  280. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  281. 退款原因
  282. </view>
  283. <view class="contlineRight carModelRight" @click="">
  284. <picker class="carModel" @change="bindChange" mode="selector" :value="index"
  285. :range="tuicauseList" range-key="contents">
  286. <view class="uni-input">{{tuicauseList[index].contents}}</view>
  287. <!-- <view class="uni-input noColor" v-else>请选择</view> -->
  288. </picker>
  289. <image src="../../static/img/little_rightArrow.png" mode="" class="contlineRightJt"></image>
  290. </view>
  291. </view>
  292. <view class="contLine">
  293. <view class="contlineLeft">
  294. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  295. 退款金额
  296. </view>
  297. <view class="contlineRight carModelRight" @click="cktime">
  298. <span class="carModel">{{orderData.data.realMoney}}</span>
  299. </view>
  300. </view>
  301. <view class="contLine">
  302. <view class="contlineLeft">
  303. <image src="" mode="" class="star"></image>
  304. 补充描述
  305. </view>
  306. <view class="contlineRight">
  307. <textarea placeholder-style="color:#999999" placeholder="请输入" v-model="tuikuanContent"
  308. class="contlineRightInput" maxlength="-1" auto-height="true" @confirm="feedDone" />
  309. </view>
  310. </view>
  311. <view class="tuiBtns">
  312. <view class="btn" @click="isShowTuiHide">取消</view>
  313. <view class="btn2" @click="goTui">确认退款</view>
  314. </view>
  315. </view>
  316. </view>
  317. </view>
  318. </template>
  319. <script>
  320. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  321. import homenav from "@/components/homenav/nav.vue"
  322. export default {
  323. components: {
  324. tkiQrcode,homenav
  325. },
  326. data() {
  327. return {
  328. id: '',
  329. iStatusBarHeight:'',
  330. orderData: '',
  331. onval: true, // val值变化时自动重新生成二维码
  332. loadMake: true, // 组件加载完成后自动生成二维码
  333. size: 500,
  334. qrcodeShow: false,
  335. qrcodeTop: '-100vh',
  336. qrcodeTopVal: '',
  337. ifShow: false,
  338. val: '二维码', // 要生成的二维码值
  339. unit: 'upx', // 单位
  340. background: '#b4e9e2', // 背景色
  341. foreground: '#309286', // 前景色
  342. pdground: '#262637', // 角标色
  343. icon: '', // 二维码图标
  344. iconsize: 40, // 二维码图标大小
  345. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  346. src: '', // 二维码生成后的图片地址或base64
  347. isShowMa: false,
  348. quanMaList:[],
  349. themeColor:'',
  350. authorizShow:false,
  351. userInfo:'',
  352. ext:'',
  353. wxOpenData:'',
  354. dh:'',
  355. dm:'',
  356. ds:'',
  357. seeTyshow:false,
  358. isShowTui:false,
  359. index:0,
  360. tuicauseList: [],
  361. tuikuanContent: '',
  362. swiperIndex:0,
  363. }
  364. },
  365. //0拼团取消1拼团失败 2拼团中3拼团成功4自动成团 groupState
  366. onLoad(opt) {
  367. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  368. this.id = opt.id
  369. this.themeColor = uni.getStorageSync("themeColor");
  370. this.userInfo=this.$store.state.userInfo;
  371. this.ext=this.$common.getExtStoreId();
  372. if(this.userInfo){
  373. if (this.id) {
  374. this.getData();
  375. this.getTuiKuanData()
  376. }
  377. }else{
  378. this.$common.automaticlogin().then(val => {
  379. this.userInfo=this.$store.state.userInfo;
  380. this.wxOpenData=this.$store.state.wxOpenData;
  381. this.themeColor = uni.getStorageSync("themeColor");
  382. if (this.id) {
  383. this.getData();
  384. this.getTuiKuanData()
  385. }
  386. if(!this.userInfo){
  387. this.authorizShow=true
  388. }
  389. })
  390. }
  391. },
  392. methods: {
  393. isShowTuiHide(){
  394. this.isShowTui=false;
  395. },
  396. bindChange(e) {
  397. console.log(e);
  398. this.index = e.detail.value
  399. },
  400. getTuiKuanData() {
  401. console.log("退款原因")
  402. this.$http('openMallOrder/getOpenReason', {
  403. // id: this.id,
  404. }, 'GET').then(res => {
  405. this.tuicauseList = res.data;
  406. })
  407. },
  408. goTui(){
  409. var that=this;
  410. uni.showLoading({
  411. title: '加载中'
  412. })
  413. let yuanyin = this.tuicauseList[this.index].contents
  414. that.$http('openMallOrder/cancelOrder', {
  415. realMoney:that.orderData.data.realMoney,
  416. sheetId: that.id,
  417. refundReason:yuanyin,
  418. refundComment:this.tuikuanContent,
  419. }, 'POST').then(res => {
  420. uni.hideLoading();
  421. // var list = res.data.Items
  422. this.isShowTui=false;
  423. uni.showToast({
  424. title: '取消成功',
  425. icon: 'none',
  426. duration: 2000
  427. });
  428. setTimeout(function() {
  429. that.getData();
  430. }, 1000);
  431. })
  432. },
  433. cancelOrder(){
  434. this.isShowTui=true;
  435. },
  436. seeTyHide(){
  437. this.seeTyshow=false;
  438. },
  439. seeTyshowBtn(){
  440. this.seeTyshow=true;
  441. },
  442. decryptPhoneNumber: function(e) {
  443. console.log(e);
  444. this.code=e.detail.code
  445. this.wxPhoneLogin()
  446. this.authorizShow=false;
  447. },
  448. wxPhoneLogin(){
  449. var that=this;
  450. this.$http('miniApp2/sys/wxPhoneLogin', {
  451. appId:this.ext.appId,
  452. unionId:this.ext.unionId,
  453. code:this.code,
  454. openId:this.wxOpenData.openid
  455. },'POST').then(res => {
  456. var data = res.data;
  457. if(data.loginInfo){
  458. this.userInfo=data.loginInfo.openUser;
  459. this.wxOpenData=data.loginInfo;
  460. this.$store.commit('mutationswxOpenData', data)
  461. this.$store.commit('mutationsuserInfo', this.userInfo)
  462. this.getData()
  463. }
  464. })
  465. },
  466. isShowMaSHow(index){
  467. this.swiperIndex=index
  468. this.isShowMa=true
  469. },
  470. isShowMaHide(){
  471. this.isShowMa=false
  472. },
  473. goDetail(id) {
  474. console.log('id--',id);
  475. uni.navigateTo({
  476. url: '../../activity/jkDetail?id=' + id
  477. })
  478. },
  479. pay(){
  480. this.$http('openMallOrder/unifiedPay', {
  481. sheetId:this.id
  482. },'POST').then(res => {
  483. if(res.code==0){
  484. this.requestPayment(res.data)
  485. }else{
  486. uni.showToast({
  487. title: res.msg,
  488. icon: 'none',
  489. duration: 3000
  490. });
  491. }
  492. })
  493. },
  494. requestPayment(res){
  495. var payInfo=res;
  496. //console.log(payInfo)
  497. //console.log(String(Date.now()))
  498. var that=this;
  499. uni.requestPayment({
  500. provider: 'wxpay',
  501. //timeStamp: String(Date.now()),
  502. timeStamp: payInfo.timeStamp,
  503. nonceStr: payInfo.nonceStr,
  504. package:payInfo.package,
  505. signType: payInfo.signType,
  506. paySign: payInfo.paySign,
  507. appid:payInfo.appId,
  508. success: function (res) {
  509. console.log('success:' + JSON.stringify(res));
  510. uni.showToast({
  511. title: '支付成功',
  512. icon:'none',
  513. duration: 2000
  514. });
  515. that.getData()
  516. },
  517. fail: function (err) {
  518. console.log(err)
  519. uni.showToast({
  520. title: '支付失败',
  521. icon:'none',
  522. duration: 2000
  523. });
  524. }
  525. });
  526. },
  527. copy(txt) {
  528. uni.setClipboardData({
  529. data: txt,
  530. success: function() {
  531. uni.showToast({
  532. title: '复制成功',
  533. icon: 'none',
  534. duration: 2000
  535. });
  536. }
  537. });
  538. },
  539. upTime() {
  540. uni.showLoading({
  541. title: '加载中'
  542. })
  543. var that = this
  544. this.$http('openreservation/carOwner/updateTimeOfAppointment', {
  545. id: this.id,
  546. shopId: this.orderData.shopInfo.id,
  547. billDate: this.billDate
  548. }, 'POST').then(res => {
  549. uni.hideLoading();
  550. // var list = res.data.Items
  551. var list = res.data
  552. console.log("result+=", res.data);
  553. uni.showToast({
  554. title: '延期成功',
  555. icon: 'none',
  556. duration: 2000
  557. });
  558. setTimeout(function() {
  559. that.getData();
  560. }, 1000);
  561. })
  562. },
  563. cancelBespeak(){
  564. var that = this
  565. uni.showModal({
  566. title: '提示',
  567. content: '是否取消该订单',
  568. cancelText:'否',
  569. confirmText:'是',
  570. success: function (res) {
  571. if (res.confirm) {
  572. uni.showLoading({
  573. title: '加载中'
  574. })
  575. that.$http('openOrderManagement/updateSheetState', {
  576. id: that.id,
  577. }, 'POST').then(res => {
  578. uni.hideLoading();
  579. // var list = res.data.Items
  580. uni.showToast({
  581. title: '取消成功',
  582. icon: 'none',
  583. duration: 2000
  584. });
  585. setTimeout(function() {
  586. that.getData();
  587. }, 1000);
  588. })
  589. } else if (res.cancel) {
  590. }
  591. }
  592. });
  593. },
  594. map() {
  595. console.log("打开地图")
  596. var that = this;
  597. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  598. uni.showToast({
  599. title: '该店铺未设置定位',
  600. icon: 'none',
  601. duration: 3000
  602. });
  603. } else {
  604. uni.openLocation({
  605. latitude: Number(that.orderData.shopInfo.lat),
  606. longitude: Number(that.orderData.shopInfo.lng),
  607. name: that.orderData.shopInfo.shopName,
  608. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  609. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  610. success: function() {
  611. console.log('success');
  612. },
  613. fail(err) {
  614. console.log(err)
  615. }
  616. });
  617. }
  618. },
  619. call() {
  620. uni.makePhoneCall({
  621. phoneNumber: this.orderData.shopInfo.mobilePhone
  622. });
  623. },
  624. getData() {
  625. uni.showLoading({
  626. title: '加载中'
  627. });
  628. this.$http('openOrderManagement/queryOpenSheet', {
  629. id: this.id,
  630. }, 'GET').then(res => {
  631. uni.hideLoading();
  632. this.orderData = res.data;
  633. if (this.quanMaList) {
  634. this.quanMaList = [];
  635. }
  636. let maList = this.orderData.OpenSheetQRCode;
  637. if (maList) {
  638. maList.forEach(item =>{
  639. if (item.writeoffState==1) {
  640. this.quanMaList.push(item.qrCode);
  641. }
  642. })
  643. }
  644. this.clock()
  645. console.log('可用券码--',this.quanMaList);
  646. })
  647. },
  648. getData2() {
  649. uni.showLoading({
  650. title: '加载中'
  651. });
  652. this.$http('openOrderManagement/queryOpenSheet', {
  653. id: this.id,
  654. }, 'GET').then(res => {
  655. uni.hideLoading();
  656. this.orderData = res.data;
  657. if (this.quanMaList) {
  658. this.quanMaList = [];
  659. }
  660. let maList = this.orderData.OpenSheetQRCode;
  661. if (maList) {
  662. maList.forEach(item =>{
  663. if (item.writeoffState==1) {
  664. this.quanMaList.push(item.qrCode);
  665. }
  666. })
  667. }
  668. })
  669. },
  670. clock(){
  671. let _this = this
  672. let today = new Date() // 当前时间
  673. let h = today.getHours()
  674. let m = today.getMinutes()
  675. let s = today.getSeconds()
  676. let startTime = new Date(_this.orderData.openGroup.endTime.replace(/-/g, '/')) // 结束时间
  677. if (Number(new Date(_this.orderData.openGroup.endTime).getTime()) < Number(new Date().getTime())) {
  678. //this.activityNoOpen = true
  679. this.dh=0;
  680. this.dm=0;
  681. this.ds=0;
  682. _this.getData2();
  683. return false
  684. }
  685. let stopH = startTime.getHours()
  686. let stopM = startTime.getMinutes()
  687. let stopS = startTime.getSeconds()
  688. let shenyu = startTime.getTime() - today.getTime() // 倒计时毫秒数
  689. //console.log(shenyu)
  690. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  691. // let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  692. let D = parseInt(shenyu)
  693. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  694. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  695. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  696. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  697. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  698. //console.log(S)
  699. // this.daojishi = '报名倒计时:' + shengyuD + '天' + shengyuH + '小时' + shengyuM + '分' + S + '秒'
  700. // setTimeout("clock()",500);
  701. this.dh=shengyuH;
  702. this.dm=shengyuM;
  703. this.ds=S;
  704. if(this.dh<10){
  705. this.dh='0'+this.dh
  706. }
  707. if(this.dm<10){
  708. this.dm='0'+this.dm
  709. }
  710. if(this.ds<10){
  711. this.ds='0'+this.ds
  712. }
  713. setTimeout(_this.clock, 1000)
  714. },
  715. goback() {
  716. uni.navigateBack({
  717. delta: 1
  718. })
  719. },
  720. gohome(){
  721. uni.switchTab({
  722. url:'../../index/index'
  723. })
  724. },
  725. },
  726. onPullDownRefresh() {
  727. this.getData()
  728. setTimeout(function() {
  729. uni.stopPullDownRefresh();
  730. }, 1000);
  731. },
  732. onShareAppMessage(res) {
  733. console.log(this.userInfo)
  734. var img='';
  735. /* if(this.info.ImgList.length>0){
  736. img=this.info.ImgList[0].url
  737. } */
  738. return {
  739. title: this.orderData.data.sheetContent,
  740. //imageUrl:this.mainImg,
  741. imageUrl:'http://dmsphoto.66km.com.cn/thFiles/83074F71-F5C9-4C8E-B23F-2D195788960B.png',
  742. path: 'pages/subPack/jkDetail?id=' + this.orderData.openSheetDetail[0].itemId+'&shareId='+this.userInfo.openId+'&groupID='+this.orderData.data.groupID+'&shareName='+this.userInfo.nickName,
  743. success(res){
  744. uni.showToast({
  745. title:'分享成功'
  746. })
  747. },
  748. fail(res){
  749. uni.showToast({
  750. title:'分享失败',
  751. icon:'none',
  752. duration: 3000
  753. })
  754. }
  755. }
  756. },
  757. }
  758. </script>
  759. <style scoped>
  760. .groupStateIcon{
  761. width: 28rpx;height: 28rpx;
  762. }
  763. .groupStateTxt{
  764. font-weight: 400;padding-left: 8rpx;
  765. color: #3C3C3C;line-height: 28rpx;
  766. font-size: 26rpx;
  767. }
  768. .groupStateBox{
  769. display: flex;
  770. }
  771. .detailedTitle{
  772. display: flex;justify-content: space-between;
  773. }
  774. .grouptk{
  775. width: 638rpx;
  776. height: 750rpx;
  777. background: #FFFFFF;
  778. border-radius: 24rpx;
  779. margin-top: 300rpx;
  780. margin-left: 56rpx;
  781. }
  782. .grouptkLIneLeft{
  783. display: flex;
  784. }
  785. .groupTz{
  786. border-radius: 15rpx;padding: 0 10rpx;margin-right: 8rpx;
  787. border: 1rpx solid #FF9D00;color: #FF9D00;font-size: 22rpx;
  788. }
  789. .groupTy{
  790. border-radius: 15rpx;padding: 0 10rpx;margin-right: 8rpx;
  791. border: 1rpx solid #764D49;color: #764D49;font-size: 22rpx;
  792. }
  793. .grouptkLIne{
  794. display: flex;padding: 15rpx 24rpx;
  795. justify-content: space-between;font-weight: 400;
  796. color: #3C3C3C;font-size: 26rpx;line-height: 32rpx;
  797. }
  798. .grouptk .maTitle{
  799. padding-left: 4rpx;
  800. color: #333333;font-weight: 500;
  801. }
  802. .ptCont{
  803. width: 702rpx;
  804. height: 297rpx;
  805. background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
  806. border-radius: 10rpx;
  807. margin-left: 24rpx;
  808. margin-top: -60rpx;
  809. }
  810. .ptTimeBox{
  811. display: flex;font-weight: 400;justify-content: center;padding-top: 24rpx;
  812. }
  813. .ptTimeTxt{
  814. font-weight: 400;font-size: 24rpx;line-height: 42rpx;
  815. color: #764D49;padding-right: 18rpx;
  816. }
  817. .ptdd{
  818. font-size: 24rpx;padding:0 8rpx;
  819. line-height: 42rpx;
  820. font-weight: 400;
  821. color: #764D49;
  822. }
  823. .ptTime{
  824. width: 42rpx;font-size: 24rpx;
  825. height: 42rpx;text-align: center;line-height: 42rpx;
  826. background: #FF0000;
  827. border-radius: 6rpx;
  828. font-weight: 500;
  829. color: #FFFFFF;
  830. }
  831. .DiffBNumber{
  832. color: #764D49;font-size: 24rpx;text-align: center;padding-top:16rpx;padding-bottom: 30rpx;
  833. }
  834. .ptmobilePhoneLine{
  835. display: flex;font-weight: 400;justify-content: center;
  836. color: #764D49;font-size: 26rpx;padding-top:20rpx;
  837. }
  838. .vipIcon{
  839. width: 32rpx;height: 32rpx;margin-right: 8rpx;
  840. }
  841. .seeTy{
  842. width: 260rpx;line-height: 62rpx;text-align: center;
  843. height: 62rpx;color: #FF0000;
  844. border-radius: 36rpx;font-size: 26rpx;
  845. border: 2rpx solid #FF0000;
  846. margin-right: 15rpx;
  847. }
  848. .ptBtnBox{
  849. display: flex;
  850. justify-content: center;
  851. }
  852. .yqhypt{
  853. width: 260rpx;color: #FFFFFF;line-height: 66rpx;text-align: center;
  854. height: 66rpx;font-size: 26rpx;
  855. background: linear-gradient(132deg, #FD5C05 0%, #FD0323 100%);
  856. border-radius: 36rpx;
  857. margin-left: 15rpx;
  858. }
  859. .box {
  860. min-height: 100vh;
  861. background: #F4F5F7;
  862. padding-bottom: 135rpx;
  863. }
  864. .zdyNavBox{
  865. width: 100vw;
  866. background: #FFFFFF;
  867. position: fixed;
  868. top: 0;
  869. left: 0;
  870. z-index: 9999999;
  871. }
  872. .zdyNav{
  873. height: 44px;
  874. display: flex;
  875. justify-content: space-between;
  876. align-items: center;
  877. }
  878. .backImg{
  879. width: 44rpx;
  880. height: 44rpx;
  881. margin-left: 10rpx;
  882. margin-right: 20rpx;
  883. }
  884. .homeImg{
  885. width: 44rpx;
  886. height: 44rpx;
  887. }
  888. .zdyNavLeft{
  889. display: flex;
  890. align-items: center;
  891. }
  892. .zdyNavTitle{
  893. width: 100vw;
  894. height: 44px;
  895. background: #FFFFFF;
  896. text-align: center;
  897. font-size: 34rpx;
  898. line-height: 44px;
  899. }
  900. .top {
  901. height: 190rpx;
  902. background: #FF0000;
  903. }
  904. .orderState {
  905. display: flex;
  906. justify-content: center;
  907. align-items: center;
  908. padding-top: 40rpx;
  909. }
  910. .SheetState {
  911. display: flex;
  912. justify-content: center;
  913. font-size: 36rpx;
  914. font-weight: 500;
  915. color: #FFFFFF;
  916. margin-left: 15rpx;
  917. }
  918. .timeEditImg {
  919. width: 25rpx;
  920. height: 25rpx;
  921. padding-left: 20rpx;
  922. }
  923. .shopBoximg {
  924. width: 40rpx;
  925. height: 40rpx;
  926. }
  927. .shopRightImg {
  928. width: 44rpx;
  929. height: 45rpx;
  930. }
  931. .shopsx {
  932. width: 1px;
  933. height: 50rpx;
  934. background: #EEEEEE;
  935. margin-top: 30rpx;
  936. margin-left: 28rpx;
  937. }
  938. .shopBox {
  939. display: flex;
  940. padding: 30rpx 20rpx;
  941. margin: 0rpx 24rpx;
  942. margin-top: -60rpx;
  943. background-color: #FFFFFF;
  944. border-radius: 10rpx;
  945. }
  946. .shopCont {
  947. width: 405rpx;
  948. padding-left: 20rpx;
  949. }
  950. .shopName {
  951. font-size: 30rpx;
  952. font-weight: bold;
  953. color: #3C3C3C;
  954. line-height: 42rpx;
  955. }
  956. .Address {
  957. color: #999999;
  958. font-size: 24rpx;
  959. margin-top: 10rpx;
  960. }
  961. .shopRihgtTxt {
  962. color: #999999;
  963. font-size: 24rpx;
  964. }
  965. .shopRightBox {
  966. padding-left: 28rpx;
  967. }
  968. .detailedTitle {
  969. padding: 23rpx 20rpx;
  970. display: flex;
  971. text-align: center;
  972. align-content: flex-start;
  973. border-bottom: 1rpx solid #EEEEEE;
  974. font-size: 30rpx;
  975. font-weight: bold;
  976. color: #3C3C3C;
  977. }
  978. .detailedLine {
  979. display: flex;
  980. padding: 16rpx 20rpx;
  981. justify-content: space-between;
  982. align-items: center;
  983. }
  984. .detailedImg {
  985. width: 120rpx;
  986. height: 120rpx;
  987. border-radius: 10rpx;
  988. }
  989. .detailedName {
  990. display: flex;
  991. align-items: center;
  992. }
  993. .code {
  994. font-size: 26rpx;
  995. color: #333333;
  996. font-weight: bold;
  997. width: 180rpx
  998. }
  999. .old {
  1000. color: #999999;
  1001. font-weight: 400;
  1002. text-decoration: line-through;
  1003. }
  1004. .redPoint {
  1005. width: 10rpx;
  1006. height: 10rpx;
  1007. background: #FF0000;
  1008. border-radius: 10rpx;
  1009. margin-right: 10rpx;
  1010. }
  1011. .quanState {
  1012. font-size: 22rpx;
  1013. color: #F19D01;
  1014. padding: 0 10rpx;
  1015. border: 1rpx solid #F19D01;
  1016. border-radius: 4rpx;
  1017. margin-left: 20rpx;
  1018. }
  1019. .quanState2{
  1020. font-size: 22rpx;
  1021. color: #999999;
  1022. padding: 0 10rpx;
  1023. border: 1rpx solid #DDDDDD;
  1024. border-radius: 4rpx;
  1025. margin-left: 20rpx;
  1026. }
  1027. .information {
  1028. background: #FFFFFF;
  1029. border-radius: 10rpx;
  1030. margin: 20rpx 24rpx;
  1031. padding-bottom: 15rpx;
  1032. }
  1033. .informationLine {
  1034. display: flex;
  1035. padding: 15rpx 20rpx;
  1036. }
  1037. .informationLine2 {
  1038. display: flex;
  1039. justify-content: space-between;
  1040. font-size: 26rpx;
  1041. padding: 20rpx;
  1042. align-items: center;
  1043. padding-bottom: 0;
  1044. }
  1045. .salePrice {
  1046. padding-left: 20rpx;
  1047. padding-top: 15rpx;
  1048. font-size: 26rpx;
  1049. font-weight: 500;
  1050. color: #333333;
  1051. line-height: 45rpx;
  1052. }
  1053. .money {
  1054. background: #FFFFFF;
  1055. border-radius: 10rpx;
  1056. margin: 20rpx 24rpx;
  1057. display: flex;
  1058. justify-content: space-between;
  1059. font-size: 26rpx;
  1060. padding: 30rpx 20rpx;
  1061. }
  1062. .informationTxt {
  1063. width: 190rpx;
  1064. font-size: 26rpx;
  1065. color: #999999;
  1066. }
  1067. .line {
  1068. height: 20rpx;
  1069. background-color: #FFFFFF;
  1070. border-bottom: 1rpx solid #EEEEEE;
  1071. }
  1072. .goodsName {
  1073. width: 70%;
  1074. color: #333333;
  1075. font-size: 26rpx;
  1076. }
  1077. .huodong{
  1078. display: flex;
  1079. align-items: center;
  1080. }
  1081. .goodsName3{
  1082. color: #333333;
  1083. font-size: 26rpx;
  1084. }
  1085. .goodsName2{
  1086. padding: 20rpx 20rpx 15rpx;
  1087. color: #333333;
  1088. font-size: 26rpx;
  1089. }
  1090. .informationNum {
  1091. color: #333333;
  1092. font-size: 26rpx;
  1093. }
  1094. .codeCopy {
  1095. width: 77rpx;
  1096. height: 36rpx;
  1097. background: #F4F5F7;
  1098. border-radius: 22rpx;
  1099. font-size: 24rpx;
  1100. color: #333333;
  1101. text-align: center;
  1102. line-height: 33rpx;
  1103. padding: 0 15rpx;
  1104. margin-left: 20rpx;
  1105. }
  1106. .orderBottom {
  1107. width: 750rpx;
  1108. height: 98rpx;
  1109. background: #FFFFFF;
  1110. position: fixed;
  1111. left: 0;
  1112. bottom: 0;
  1113. display: flex;
  1114. justify-content: flex-end;
  1115. }
  1116. .bottom {
  1117. display: flex;
  1118. justify-content: flex-end;
  1119. padding: 20rpx;
  1120. background-color: #FFFFFF;
  1121. align-items: center;
  1122. height: 98rpx;
  1123. width: 100vw;
  1124. position: fixed;
  1125. bottom: 0rpx;
  1126. padding-bottom: constant(safe-area-inset-bottom);
  1127. padding-bottom: env(safe-area-inset-bottom);
  1128. }
  1129. .cancel {
  1130. color: #3C3C3C;
  1131. font-size: 28rpx;
  1132. width: 150rpx;
  1133. height: 56rpx;
  1134. border-radius: 36rpx;
  1135. border: 1rpx solid #DDDDDD;
  1136. text-align: center;
  1137. line-height: 56rpx;
  1138. margin-right: 40rpx;
  1139. }
  1140. .defer {
  1141. color: #D53533;
  1142. font-size: 28rpx;
  1143. width: 150rpx;
  1144. height: 56rpx;
  1145. border-radius: 36rpx;
  1146. border: 1rpx solid #D53533;
  1147. text-align: center;
  1148. line-height: 56rpx;
  1149. margin-right: 40rpx;
  1150. }
  1151. .itemBox {
  1152. margin: 20rpx;
  1153. border-radius: 10rpx;
  1154. border: 2rpx solid #EEEEEE;
  1155. }
  1156. .itemTop {
  1157. padding: 18rpx 20rpx;
  1158. padding-right: 0;
  1159. background-color: #FFEFD5;
  1160. display: flex;
  1161. justify-content: space-between;
  1162. align-content: center;
  1163. }
  1164. .topTitle {
  1165. width: 104rpx;
  1166. font-size: 26rpx;
  1167. color: #333333;
  1168. margin-right: 20rpx;
  1169. text-align: right;
  1170. }
  1171. .leftItem {
  1172. font-size: 26rpx;
  1173. color: #333333;
  1174. margin-right: 20rpx;
  1175. flex-grow: 1;
  1176. /* 隐藏文字显示 ...不换行 */
  1177. overflow: hidden;
  1178. text-overflow: ellipsis;
  1179. white-space: nowrap;
  1180. }
  1181. .itemContent {
  1182. padding: 20rpx;
  1183. padding-right: 0;
  1184. background-color: #FFFFFF;
  1185. display: flex;
  1186. justify-content: space-between;
  1187. align-content: center;
  1188. }
  1189. .maBox {
  1190. width: 100%;
  1191. height: 100vh;
  1192. background: rgba(0, 0, 0, 0.4);
  1193. position: fixed;
  1194. left: 0;
  1195. top: 0;
  1196. z-index: 9999;
  1197. }
  1198. .querenMa {
  1199. width: 578;
  1200. height: 640rpx;
  1201. background: #ffffff;
  1202. margin: 0 86rpx;
  1203. margin-top: 50%;
  1204. border-radius: 24rpx;
  1205. }
  1206. .maTop {
  1207. display: flex;
  1208. justify-content: space-between;
  1209. align-items: center;
  1210. padding: 30rpx 20rpx 15rpx;
  1211. }
  1212. .maTitle {
  1213. color: #666666;
  1214. font-size: 26rpx;
  1215. text-align: center;
  1216. padding-left: 100rpx;
  1217. }
  1218. .swiper{
  1219. width: 100%;
  1220. height: 85%;
  1221. background: #FFFFFF;
  1222. }
  1223. .swiper-item{
  1224. width: 100%;
  1225. height: 100%;
  1226. }
  1227. .maCode {
  1228. font-size: 30rpx;
  1229. font-weight: 500;
  1230. color: #333333;
  1231. line-height: 42rpx;
  1232. margin-bottom: 40rpx;
  1233. text-align: center;
  1234. }
  1235. .maBoximg {
  1236. width: 400rpx;
  1237. height: 400rpx;
  1238. margin-left: 86rpx;
  1239. }
  1240. .authorizBox{
  1241. width: 100vw;
  1242. height: 100vh;
  1243. background: rgba(0, 0, 0, 0.5);
  1244. position: fixed;
  1245. top: 0;
  1246. left: 0;
  1247. }
  1248. .authorizCont{
  1249. margin-top: 30vh;
  1250. width: 564rpx;
  1251. height: 408rpx;
  1252. background: #FFFFFF;
  1253. border-radius: 24rpx;
  1254. margin-left: 93rpx;
  1255. position: relative;
  1256. }
  1257. .authorizCloseImg{
  1258. width: 62rpx;
  1259. height: 62rpx;
  1260. }
  1261. .sqLogoBox{
  1262. width: 180rpx;
  1263. height: 180rpx;
  1264. background: #FFFFFF;
  1265. border-radius: 90rpx;
  1266. text-align: center;
  1267. position: absolute;
  1268. top: -50rpx;
  1269. left: 192rpx;
  1270. }
  1271. .authorizName{
  1272. color: #333333;
  1273. line-height: 42rpx;
  1274. font-size: 30rpx;
  1275. text-align: center;
  1276. padding-top: 58rpx;
  1277. }
  1278. .authorizMs{
  1279. color: #999999;
  1280. line-height: 36rpx;
  1281. font-size: 26rpx;
  1282. width: 452rpx;
  1283. padding-top: 24rpx;
  1284. text-align: center;
  1285. margin-left: 56rpx;
  1286. }
  1287. .authorizContbutton{
  1288. width: 422rpx;
  1289. height: 88rpx;
  1290. background: #D53533;
  1291. border-radius: 44rpx;
  1292. line-height: 88rpx;
  1293. text-align: center;
  1294. font-size:30rpx;
  1295. color: #FFFFFF;
  1296. margin-top: 62rpx;
  1297. margin-left:71rpx;
  1298. }
  1299. .shopBoxpt{
  1300. margin-top: 20rpx;
  1301. }
  1302. button::after{
  1303. border: none;
  1304. }
  1305. button{
  1306. position: relative;
  1307. display: block;
  1308. margin-left: 0;
  1309. margin-right: 0;
  1310. padding-left: 0px;
  1311. padding-right: 0px;
  1312. box-sizing: border-box;
  1313. // font-size: 18px;
  1314. text-align: center;
  1315. text-decoration: none;
  1316. // line-height: 1;
  1317. line-height: 1.35;
  1318. // border-radius: 5px;
  1319. -webkit-tap-highlight-color: transparent;
  1320. overflow: hidden;
  1321. color: #000000;
  1322. background-color: #fff;
  1323. height: 100%;
  1324. }
  1325. .tuikuanBox {
  1326. width: 100%;
  1327. height: 100vh;
  1328. background: rgba(0, 0, 0, 0.4);
  1329. position: fixed;
  1330. left: 0;
  1331. top: 0;
  1332. z-index: 999;
  1333. }
  1334. .tuikuan {
  1335. width: 638rpx;
  1336. height: 664rpx;
  1337. background: #ffffff;
  1338. margin: 0 36rpx;
  1339. margin-top: 50%;
  1340. border-radius: 24rpx;
  1341. padding: 30rpx 20rpx;
  1342. }
  1343. .tuiTop {
  1344. display: flex;
  1345. justify-content: space-between;
  1346. margin-bottom: 36rpx;
  1347. }
  1348. .tuiTitle {
  1349. width: 56rpx;
  1350. height: 40rpx;
  1351. font-size: 28rpx;
  1352. font-weight: 500;
  1353. color: #3C3C3C;
  1354. line-height: 40rpx;
  1355. }
  1356. .contLine {
  1357. display: flex;
  1358. justify-content: space-between;
  1359. font-size: 28rpx;
  1360. padding: 30rpx 0;
  1361. border-bottom: 1px solid #EEEEEE;
  1362. }
  1363. .contlineLeft {
  1364. color: #666666;
  1365. line-height: 40rpx;
  1366. align-items: center;
  1367. }
  1368. .star {
  1369. width: 14rpx;
  1370. height: 14rpx;
  1371. padding-bottom: 5rpx;
  1372. }
  1373. .carModel {
  1374. width: 350rpx;
  1375. text-align: left;
  1376. }
  1377. .noColor {
  1378. color: #CCCCCC;
  1379. }
  1380. .carModelRight {
  1381. display: flex;
  1382. justify-content: flex-start;
  1383. align-items: center;
  1384. }
  1385. .contlineRight {
  1386. color: #333333;
  1387. line-height: 40rpx;
  1388. width: 400rpx;
  1389. text-align: right;
  1390. }
  1391. .contlineRightInput {
  1392. color: #333333;
  1393. text-align: left;
  1394. font-size: 28rpx;
  1395. min-height: 182rpx;
  1396. width: 400rpx;
  1397. }
  1398. .contlineRightJt {
  1399. width: 30rpx;
  1400. height: 30rpx;
  1401. }
  1402. .tuiBtns {
  1403. display: flex;justify-content: space-around;
  1404. padding: 40rpx 20rpx 10rpx;
  1405. }
  1406. .btn {
  1407. width: 250rpx;
  1408. height: 70rpx;
  1409. background: #F4F5F7;
  1410. border-radius: 10rpx;
  1411. font-size: 28rpx;
  1412. font-weight: 500;
  1413. color: #3C3C3C;
  1414. line-height: 70rpx;
  1415. text-align: center;
  1416. }
  1417. .btn2 {
  1418. width: 250rpx;
  1419. height: 70rpx;
  1420. background: #3F90F7;
  1421. border-radius: 10rpx;
  1422. font-size: 28rpx;
  1423. font-weight: 500;
  1424. color: #FFFFFF;
  1425. line-height: 70rpx;
  1426. text-align: center;
  1427. }
  1428. .writeoffLine{
  1429. display: flex;justify-content: space-between;
  1430. color: #999999;font-size: 24rpx;
  1431. line-height: 33rpx;padding-top: 8rpx;
  1432. }
  1433. .writeoffLineBox{
  1434. padding: 0 20rpx;
  1435. }
  1436. .detailedLineBox .detailedLine{
  1437. padding-bottom: 0rpx;
  1438. }
  1439. .writeoffXx .informationNum{
  1440. width: 500rpx;
  1441. }
  1442. .detailedLineBox{
  1443. padding-bottom: 10rpx;
  1444. }
  1445. </style>