mallOrderDetail.vue 40 KB

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