activityOrderDetail.vue 42 KB

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