historyDetail.vue 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183
  1. <template>
  2. <view class="box">
  3. <view class="contentBox">
  4. <view class="top" :style="{background:'#'+themeColor}">
  5. <view class="orderState">
  6. <image src="../../static/img/icon_order_def.png" mode="" style="width: 44rpx;height: 44rpx;">
  7. </image>
  8. <!-- <view class="SheetState" v-if="orderData.billsheet.PayState==2">已结算</view>
  9. <view class="SheetState" v-if="orderData.billsheet.PayState==0">未结算</view>
  10. -->
  11. <!-- SheetType单据类型(1维修单 2销售单3洗车单4销售退货) -->
  12. <view v-if="orderData.billsheet.SheetType == 1">
  13. <!-- 0待施工(已保存)1施工中(已派工)2已完工 3已质检 4 已作废 -->
  14. <view class="SheetState" v-if="orderData.billsheet.SheetState == 0">待施工</view>
  15. <view class="SheetState" v-if="orderData.billsheet.SheetState == 1">施工中</view>
  16. <view class="SheetState" v-if="orderData.billsheet.SheetState == 2">已完工</view>
  17. <view class="SheetState" v-if="orderData.billsheet.SheetState == 3">已质检</view>
  18. <view class="SheetState" v-if="orderData.billsheet.SheetState == 4">已作废</view>
  19. </view>
  20. <view v-if="orderData.billsheet.SheetType == 2">
  21. <!-- 0待施工(已保存)1施工中(已派工)2已审核 3已质检 4 已作废 -->
  22. <view class="SheetState" v-if="orderData.billsheet.SheetState < 2 ">未审核</view>
  23. <view class="SheetState" v-if="orderData.billsheet.SheetState == 2">已审核</view>
  24. <view class="SheetState" v-if="orderData.billsheet.SheetState == 4">已作废</view>
  25. </view>
  26. <view v-if="orderData.billsheet.SheetType == 3">
  27. <!-- 0待施工(已保存)1施工中(已派工)2已完工 3已质检 4 已作废 -->
  28. <view class="SheetState" v-if="orderData.billsheet.SheetState == 0">已保存</view>
  29. <view class="SheetState" v-if="orderData.billsheet.SheetState == 4">已作废</view>
  30. </view>
  31. </view>
  32. </view>
  33. <!-- 店铺信息 -->
  34. <view class="shopBox">
  35. <image src="../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
  36. <view class="shopCont">
  37. <view class="shopName">{{orderData.billsheet.ShopName}}</view>
  38. <view class="Address">{{orderData.billsheet.Address}}</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="carMes">
  53. <view class="plate">{{orderData.billsheet.PlateNumber}}</view>
  54. <view class="mileage" v-if="orderData.billsheet.CurrentMileage>0">
  55. {{orderData.billsheet.CurrentMileage}}km
  56. </view>
  57. </view>
  58. <view class="informationLine">
  59. <view class="informationTxt">姓名:</view>
  60. <view class="informationNum">{{orderData.billsheet.CustomerName}}</view>
  61. </view>
  62. <view class="informationLine">
  63. <view class="informationTxt">手机号:</view>
  64. <view class="informationNum">{{orderData.billsheet.MobilePhone}}</view>
  65. </view>
  66. <view class="informationLine">
  67. <view class="informationTxt">单号:</view>
  68. <view class="informationNum">{{orderData.billsheet.Code}}</view>
  69. </view>
  70. <view class="informationLine">
  71. <view class="informationTxt">接车时间:</view>
  72. <view class="informationNum">{{orderData.billsheet.time}}</view>
  73. </view>
  74. <view class="informationLine">
  75. <view class="informationTxt">服务顾问:</view>
  76. <view class="informationNum">{{orderData.billsheet.PickName}}</view>
  77. </view>
  78. <view class="informationLine" v-if="FaultDescription">
  79. <view class="informationTxt">故障描述:</view>
  80. <view class="informationNum" v-if="orderData.billsheet.FaultDescription">
  81. {{orderData.billsheet.FaultDescription}}
  82. </view>
  83. </view>
  84. <view class="informationLine" v-if="RepairDescription">
  85. <view class="informationTxt">维修建议:</view>
  86. <view class="informationNum" v-if="orderData.billsheet.RepairDescription">
  87. {{orderData.billsheet.RepairDescription}}
  88. </view>
  89. </view>
  90. <view class="informationLine" v-if="Comment">
  91. <view class="informationTxt">备注:</view>
  92. <view class="informationNum" v-if="orderData.billsheet.Comment">{{orderData.billsheet.Comment}}
  93. </view>
  94. </view>
  95. </view>
  96. <!-- 项目明细 -->
  97. <view class="detailedBox itemBox" v-if=" orderData.listItems.length!=0">
  98. <view class="detailedTitle">项目</view>
  99. <view class="detailedLineBox">
  100. <view class="detailedLine" v-for="(item,index) in orderData.listItems">
  101. <view class="detailedName"><span
  102. :class="{kaColor:item.CardDetailID}">卡</span>{{item.ItemName}}</view>
  103. <view class="secondBox" :class="{noLine:index == orderData.listItems.length-1}">
  104. <view class="comment" v-if="ItemComment">{{item.Comment}}</view>
  105. <view class="secondRight">
  106. <!-- <view class="grayPrice">¥{{item.CheckOutTaxRate}}</view> -->
  107. <view class="price" v-if="ItemMoney">
  108. <span>¥</span>
  109. {{item.AmountMoney}}
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. <!-- 商品明细-->
  117. <view class="detailedBox itemBox" v-if="orderData.listParts.length!=0">
  118. <view class="detailedTitle">商品</view>
  119. <view class="detailedLineBox">
  120. <view class="detailedLine" v-for="(item,index) in orderData.listParts">
  121. <view class="goodTop">
  122. <view class="detailedName"><span
  123. :class="{kaColor:item.CardDetailID}">卡</span>{{item.GoodsName}}</view>
  124. <view class="qty">x{{item.SaleQty}}</view>
  125. </view>
  126. <view class="secondBox" :class="{noLine:index == orderData.listParts.length-1}">
  127. <view class="comment" v-if="GoodsComment">{{item.Comment}}</view>
  128. <view class="secondRight">
  129. <!-- <view class="grayPrice">¥{{item.CheckOutTaxRate}}</view> -->
  130. <view class="price" v-if="ItemMoney">
  131. <span>¥</span>
  132. {{item.AmountMoney}}
  133. </view>
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. </view>
  139. <!-- 费用明细 -->
  140. <view class="goodscost"
  141. v-if="AmountMoney || TotalDiscountMoney || CardMoneyT || CardMoneyC || ReceiptsMoney">
  142. <view class="detailedTitle">费用明细</view>
  143. <view class="goodscostLine" v-if="AmountMoney">
  144. <view class="goodscostTxt">应收总计</view>
  145. <view class="goodsCostNum">¥{{orderData.billsheet.AmountMoney}}</view>
  146. </view>
  147. <view class="goodscostLine" v-if="TotalDiscountMoney">
  148. <view class="goodscostTxt">优惠总计</view>
  149. <view class="goodsCostNum">¥{{orderData.billsheet.TotalDiscountMoney}}</view>
  150. </view>
  151. <view class="goodscostLine" v-if="CardMoneyT">
  152. <view class="goodscostTxt">计次卡冲销</view>
  153. <view class="goodsCostNum">¥{{orderData.billsheet.CardMoneyT}}</view>
  154. </view>
  155. <view class="goodscostLine" v-if="CardMoneyC">
  156. <view class="goodscostTxt">储值卡冲销</view>
  157. <view class="goodsCostNum">¥{{orderData.billsheet.CardMoneyCWriteOff}}</view>
  158. </view>
  159. <view class="goodscostLine" v-if="ReceiptsMoney">
  160. <view class="goodscostTxt">支付金额</view>
  161. <view class="goodsCostNum">¥{{orderData.billsheet.money}}</view>
  162. </view>
  163. </view>
  164. <!-- 手机号授权 -->
  165. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  166. <view class="authorizCont" @click.stop="">
  167. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  168. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  169. <button class="authorizContbutton" type="default" open-type="getPhoneNumber"
  170. @getphonenumber="decryptPhoneNumber">授权</button>
  171. </view>
  172. <view style="text-align: center;padding-top: 56rpx;">
  173. <image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  174. </view>
  175. </view>
  176. </view>
  177. <view v-if="appraise == true && orderData.billsheet.PayState == 2" class="bottom">
  178. <view
  179. v-if="(orderData.billsheet.EvaluateState == 0) && (lastDay <= 30) && appraise == true && orderData.billsheet.PayState == 2"
  180. @click.stop="goAppraise()" class="ping">评价</view>
  181. <view v-if="orderData.billsheet.EvaluateState == 1" @click.stop="goAppraiseDetail()" class="kan">查看评价</view>
  182. </view>
  183. </view>
  184. </template>
  185. <script>
  186. export default {
  187. data() {
  188. return {
  189. location: '',
  190. id: '',
  191. orderData: '',
  192. themeColor: '',
  193. authorizShow: false,
  194. userInfo: '',
  195. ext: '',
  196. wxOpenData: '',
  197. appraise: false,
  198. lastDay: '',
  199. // 权限
  200. FaultDescription: false, //故障描述
  201. RepairDescription: false, //维修建议
  202. Comment: false, //备注
  203. ItemMoney: false, //项目、商品金额
  204. ItemComment: false, //项目备注
  205. GoodsComment: false, //商品备注
  206. AmountMoney: false, //应收总计
  207. TotalDiscountMoney: false, //优惠总计
  208. CardMoneyT: false, //计次卡冲销
  209. CardMoneyC: false, //储值卡冲销
  210. ReceiptsMoney: false, //支付金额
  211. }
  212. },
  213. onLoad(opt) {
  214. this.id = opt.id
  215. this.themeColor = uni.getStorageSync("themeColor");
  216. this.userInfo = this.$store.state.userInfo;
  217. this.ext = this.$common.getExtStoreId();
  218. if (this.userInfo) {
  219. this.getData()
  220. } else {
  221. this.$common.automaticlogin().then(val => {
  222. this.userInfo = this.$store.state.userInfo;
  223. this.wxOpenData = this.$store.state.wxOpenData;
  224. this.themeColor = uni.getStorageSync("themeColor");
  225. this.getData()
  226. })
  227. }
  228. this.myPower();
  229. this.showPower();
  230. },
  231. methods: {
  232. //显示权限
  233. showPower() {
  234. this.$http('openweiXinCardInfoController/getShowSetting', {
  235. }, 'GET').then(res => {
  236. // 权限
  237. // FaultDescription:false,//故障描述
  238. // RepairDescription:false,//维修建议
  239. // Comment:false,//备注
  240. // ItemMoney:false,//项目、商品金额
  241. // ItemComment:false,//项目备注
  242. // GoodsComment:false,//商品备注
  243. // AmountMoney:false,//应收总计
  244. // TotalDiscountMoney:false,//优惠总计
  245. // CardMoneyT:false,//计次卡冲销
  246. // CardMoneyC:false,//储值卡冲销
  247. // ReceiptsMoney:false,//支付金额
  248. var list = res.data
  249. list.forEach((item, index) => {
  250. if (item.fieldValue == 'FaultDescription') {
  251. this.FaultDescription = item.isChecked
  252. }
  253. if (item.fieldValue == 'RepairDescription') {
  254. this.RepairDescription = item.isChecked
  255. }
  256. if (item.fieldValue == 'Comment') {
  257. this.Comment = item.isChecked
  258. }
  259. if (item.fieldValue == 'ItemMoney') {
  260. this.ItemMoney = item.isChecked
  261. }
  262. if (item.fieldValue == 'ItemComment') {
  263. this.ItemComment = item.isChecked
  264. }
  265. if (item.fieldValue == 'GoodsComment') {
  266. this.GoodsComment = item.isChecked
  267. }
  268. if (item.fieldValue == 'AmountMoney') {
  269. this.AmountMoney = item.isChecked
  270. }
  271. if (item.fieldValue == 'CardMoneyT') {
  272. this.CardMoneyT = item.isChecked
  273. }
  274. if (item.fieldValue == 'CardMoneyC') {
  275. this.CardMoneyC = item.isChecked
  276. }
  277. if (item.fieldValue == 'ReceiptsMoney') {
  278. this.ReceiptsMoney = item.isChecked
  279. }
  280. })
  281. })
  282. },
  283. //评价权限
  284. myPower() {
  285. this.$http('openMiniEvaluate/getEvaluateSetting', {
  286. }, 'GET').then(res => {
  287. // var list = res.data.Items
  288. this.appraise = res.data
  289. })
  290. },
  291. goAppraiseDetail(item) {
  292. uni.navigateTo({
  293. url: 'myAppraiseDetail?sheetId=' + this.orderData.billsheet.id
  294. })
  295. },
  296. goAppraise(item) {
  297. uni.navigateTo({
  298. url: 'appraise?sheetID=' + this.orderData.billsheet.id + '&shopID=' + this.orderData.billsheet
  299. .shopID
  300. })
  301. },
  302. decryptPhoneNumber: function(e) {
  303. console.log(e);
  304. this.code = e.detail.code
  305. this.wxPhoneLogin()
  306. this.authorizShow = false;
  307. },
  308. wxPhoneLogin() {
  309. var that = this;
  310. this.$http('miniApp2/sys/wxPhoneLogin', {
  311. appId: this.ext.appId,
  312. unionId: this.ext.unionId,
  313. code: this.code,
  314. openId: this.wxOpenData.openid
  315. }, 'POST').then(res => {
  316. var data = res.data;
  317. if (data.loginInfo) {
  318. this.userInfo = data.loginInfo.openUser;
  319. this.wxOpenData = data.loginInfo;
  320. this.$store.commit('mutationswxOpenData', data.loginInfo)
  321. this.$store.commit('mutationsuserInfo', this.userInfo)
  322. this.getData()
  323. }
  324. })
  325. },
  326. map() {
  327. console.log("打开地图")
  328. var that = this;
  329. if (!that.orderData.billsheet.lat || !that.orderData.billsheet.lng) {
  330. uni.showToast({
  331. title: '该店铺未设置定位',
  332. icon: 'none',
  333. duration: 3000
  334. });
  335. } else {
  336. uni.openLocation({
  337. latitude: Number(that.orderData.billsheet.lat),
  338. longitude: Number(that.orderData.billsheet.lng),
  339. name: that.orderData.billsheet.ShopName,
  340. address: that.orderData.billsheet.Address,
  341. success: function() {
  342. console.log('success');
  343. },
  344. fail(err) {
  345. console.log(err)
  346. }
  347. });
  348. }
  349. },
  350. call() {
  351. uni.makePhoneCall({
  352. phoneNumber: this.orderData.billsheet.shopMobilePhone
  353. });
  354. },
  355. getData() {
  356. let that = this
  357. uni.showLoading({
  358. title: '加载中'
  359. });
  360. this.$http('openweiXinCardInfoController/queryConsumptionDetail', {
  361. // lat: this.location.lat,
  362. // lng: this.location.lng,
  363. id: this.id,
  364. }, 'POST').then(res => {
  365. uni.hideLoading();
  366. this.orderData = res.data;
  367. console.log('data===',this.orderData);
  368. })
  369. },
  370. //时间对比
  371. getDateBeforeNow(stringTime) {
  372. console.log("传参未格式化", stringTime);
  373. stringTime = new Date(stringTime.replace(/-/g, '/'))
  374. // 统一单位换算
  375. var minute = 1000 * 60;
  376. var hour = minute * 60;
  377. var day = hour * 24;
  378. var week = day * 7;
  379. var month = day * 30;
  380. var year = month * 12;
  381. var time1 = new Date().getTime(); //当前的时间戳 console.log("当前时间", time1);
  382. // 对时间进行毫秒单位转换 var time2 = new Date(stringTime).getTime(); //指定时间的时间戳
  383. console.log("传过来的时间", time2);
  384. var time = time1 - time2;
  385. console.log("计算后的时间", time);
  386. var result =
  387. null; // if (time < 0) { // // alert("传过来的时间的时间不能晚于当前时间!"); // result = stringTime; // } else if (time / year >= 1) {
  388. // result = parseInt(time / year) + "年前";
  389. // } else if (time / month >= 1) {
  390. // result = parseInt(time / month) + "月前";
  391. // } else if (time / week >= 1) { // result = parseInt(time / week) + "周前"; // } else if (time / day >= 1) {
  392. // result = parseInt(time / day) + "天前";
  393. // } else if (time / hour >= 1) { // result = parseInt(time / hour) + "小时前";
  394. // } else if (time / minute >= 1) {
  395. // result = parseInt(time / minute) + "分钟前"; // } else {
  396. // result = "刚刚"; // }
  397. if (time < 0) {
  398. // alert("传过来的时间的时间不能晚于当前时间!");
  399. result = -1;
  400. } else if (time / day >= 0) {
  401. result = parseInt(time / day); //多少天前
  402. }
  403. console.log("多少天前", result);
  404. return result;
  405. },
  406. goback() {
  407. uni.navigateBack({})
  408. },
  409. },
  410. onPullDownRefresh() {
  411. this.getData()
  412. setTimeout(function() {
  413. uni.stopPullDownRefresh();
  414. }, 1000);
  415. },
  416. }
  417. </script>
  418. <style scoped>
  419. .box {
  420. min-height: 100vh;
  421. background: #F4F5F7;
  422. padding-bottom: constant(safe-area-inset-bottom);
  423. padding-bottom: env(safe-area-inset-bottom);
  424. }
  425. .contentBox {
  426. background: #F4F5F7;
  427. padding-bottom: 100rpx;
  428. }
  429. .top {
  430. height: 190rpx;
  431. background: #FF0000;
  432. }
  433. .orderState {
  434. display: flex;
  435. justify-content: center;
  436. align-items: center;
  437. padding-top: 40rpx;
  438. }
  439. .SheetState {
  440. display: flex;
  441. justify-content: center;
  442. font-size: 36rpx;
  443. font-weight: 500;
  444. color: #FFFFFF;
  445. margin-left: 15rpx;
  446. }
  447. .timeEditImg {
  448. width: 25rpx;
  449. height: 25rpx;
  450. padding-left: 20rpx;
  451. }
  452. .shopBoximg {
  453. width: 40rpx;
  454. height: 40rpx;
  455. }
  456. .shopRightImg {
  457. width: 44rpx;
  458. height: 45rpx;
  459. }
  460. .shopsx {
  461. width: 1px;
  462. height: 50rpx;
  463. background: #EEEEEE;
  464. margin-top: 30rpx;
  465. margin-left: 28rpx;
  466. }
  467. .shopBox {
  468. display: flex;
  469. padding: 30rpx 20rpx;
  470. margin: 0rpx 24rpx;
  471. margin-top: -60rpx;
  472. background-color: #FFFFFF;
  473. border-radius: 10rpx;
  474. }
  475. .shopCont {
  476. width: 405rpx;
  477. padding-left: 20rpx;
  478. }
  479. .shopName {
  480. font-size: 30rpx;
  481. font-weight: bold;
  482. color: #3C3C3C;
  483. line-height: 45rpx;
  484. }
  485. .Address {
  486. color: #999999;
  487. font-size: 24rpx;
  488. margin-top: 10rpx;
  489. }
  490. .shopRihgtTxt {
  491. color: #999999;
  492. font-size: 24rpx;
  493. }
  494. .shopRightBox {
  495. padding-left: 28rpx;
  496. }
  497. .peopleCont {
  498. font-size: 28rpx;
  499. color: #3C3C3C;
  500. padding-left: 20rpx;
  501. }
  502. .people {
  503. display: flex;
  504. padding-left: 20rpx;
  505. padding-top: 30rpx;
  506. padding-bottom: 36rpx;
  507. }
  508. .PlateNumberBox {
  509. display: flex;
  510. padding-left: 20rpx;
  511. padding-bottom: 30rpx;
  512. }
  513. .PlateNumbercx {
  514. font-size: 28rpx;
  515. color: #3C3C3C;
  516. padding-left: 20rpx;
  517. }
  518. .PlateNumber {
  519. width: 130rpx;
  520. height: 32rpx;
  521. border-radius: 4rpx;
  522. border: 1px solid #F19D01;
  523. line-height: 32rpx;
  524. text-align: center;
  525. font-size: 22rpx;
  526. color: #F19D01;
  527. margin-left: 26rpx;
  528. }
  529. .PlateNumberBoxTop {
  530. display: flex;
  531. }
  532. .CarModel {
  533. font-size: 26rpx;
  534. color: #999999;
  535. padding-left: 20rpx;
  536. padding-top: 6rpx;
  537. padding-right: 20rpx;
  538. padding-bottom: 15rpx;
  539. width: 600rpx;
  540. }
  541. .detailedBox {
  542. background: #FFFFFF;
  543. border-radius: 10px;
  544. margin: 20rpx 24rpx;
  545. padding-bottom: 20rpx;
  546. }
  547. .itemBox {
  548. margin-top: 20rpx;
  549. }
  550. .carMes {
  551. padding: 23rpx 20rpx;
  552. display: flex;
  553. align-items: center;
  554. justify-content: flex-start;
  555. border-bottom: 1rpx solid #EEEEEE;
  556. }
  557. .plate {
  558. font-size: 30rpx;
  559. color: #3C3C3C;
  560. font-weight: bold;
  561. margin-right: 20rpx;
  562. }
  563. .mileage {
  564. font-size: 24rpx;
  565. color: #F19D01;
  566. padding: 0rpx 10rpx;
  567. border: 1rpx solid #F19D01;
  568. border-radius: 4rpx;
  569. height: 36rpx;
  570. }
  571. .detailedTitle {
  572. padding: 23rpx 20rpx;
  573. display: flex;
  574. text-align: center;
  575. align-content: flex-start;
  576. border-bottom: 1rpx solid #EEEEEE;
  577. font-size: 30rpx;
  578. font-weight: bold;
  579. color: #3C3C3C;
  580. }
  581. .detailedLine {
  582. padding: 20rpx 20rpx 0rpx;
  583. }
  584. .detailedImg {
  585. width: 120rpx;
  586. height: 120rpx;
  587. border-radius: 10rpx;
  588. }
  589. .detailedName {
  590. font-size: 26rpx;
  591. color: #3C3C3C;
  592. }
  593. .kaColor {
  594. background: #F19D01;
  595. border-radius: 4rpx;
  596. color: #FFFFFF;
  597. font-size: 24rpx;
  598. margin-right: 8rpx;
  599. padding: 3rpx 5rpx;
  600. }
  601. .qty {
  602. font-size: 24rpx;
  603. font-weight: 400;
  604. color: #999999;
  605. }
  606. .secondBox {
  607. display: flex;
  608. padding: 20rpx 0rpx;
  609. justify-content: space-between;
  610. align-items: baseline;
  611. border-bottom: 1rpx solid #EEEEEE;
  612. }
  613. .noLine {
  614. border-bottom: 0 solid #FFFFFF;
  615. }
  616. .comment {
  617. margin-right: 20rpx;
  618. font-size: 24rpx;
  619. font-weight: 400;
  620. color: #999999;
  621. flex-grow: 1;
  622. }
  623. .secondRight {
  624. display: flex;
  625. justify-content: flex-end;
  626. align-items: baseline;
  627. }
  628. .grayPrice {
  629. font-size: 24rpx;
  630. font-weight: 400;
  631. color: #999999;
  632. text-decoration: line-through;
  633. }
  634. .price {
  635. font-size: 32rpx;
  636. font-weight: 500;
  637. color: #FF0000;
  638. display: flex;
  639. align-items: center;
  640. }
  641. span {
  642. font-size: 24rpx;
  643. }
  644. .goodTop {
  645. display: flex;
  646. justify-content: space-between;
  647. }
  648. .goodscost {
  649. background: #FFFFFF;
  650. border-radius: 10px;
  651. margin: 20rpx 24rpx;
  652. padding-bottom: 20rpx;
  653. }
  654. .goodscostLine {
  655. display: flex;
  656. justify-content: space-between;
  657. font-size: 26rpx;
  658. padding: 20rpx 20rpx;
  659. color: #333333;
  660. }
  661. .goodsCostNum {
  662. color: #FF0000;
  663. font-weight: bold;
  664. }
  665. .information {
  666. width: 702rpx;
  667. background: #FFFFFF;
  668. border-radius: 10px;
  669. margin-left: 24rpx;
  670. margin-top: 20rpx;
  671. padding: 0rpx 0 15rpx 0;
  672. }
  673. .informationLine {
  674. display: flex;
  675. font-size: 26rpx;
  676. padding: 15rpx 20rpx;
  677. }
  678. .informationTxt {
  679. width: 190rpx;
  680. color: #999999;
  681. }
  682. .informationNum {
  683. color: #333333;
  684. width: calc(100vw - 190rpx);
  685. }
  686. .copyBtn {
  687. width: 86rpx;
  688. height: 40rpx;
  689. background: #F4F5F7;
  690. border-radius: 20rpx;
  691. font-size: 24rpx;
  692. color: #333333;
  693. text-align: center;
  694. line-height: 40rpx;
  695. margin-left: 20rpx;
  696. }
  697. .orderBottom {
  698. width: 750rpx;
  699. height: 98rpx;
  700. background: #FFFFFF;
  701. position: fixed;
  702. left: 0;
  703. bottom: 0;
  704. display: flex;
  705. justify-content: flex-end;
  706. }
  707. .cancelBtn {
  708. width: 150rpx;
  709. height: 56rpx;
  710. border-radius: 36rpx;
  711. border: 2rpx solid #DDDDDD;
  712. text-align: center;
  713. line-height: 56rpx;
  714. font-size: 28rpx;
  715. color: #3C3C3C;
  716. margin-top: 21rpx;
  717. margin-right: 16rpx;
  718. margin-left: 20rpx;
  719. }
  720. .payBtn {
  721. width: 150rpx;
  722. height: 56rpx;
  723. border-radius: 36rpx;
  724. border: 2rpx solid #FF4F00;
  725. text-align: center;
  726. line-height: 56rpx;
  727. font-size: 28rpx;
  728. color: #FF4F00;
  729. margin-top: 21rpx;
  730. margin-right: 16rpx;
  731. margin-left: 20rpx;
  732. }
  733. .timeBox2 {
  734. width: 100vw;
  735. height: 100vh;
  736. background: rgba(0, 0, 0, 0.5);
  737. position: fixed;
  738. top: 0;
  739. left: 0;
  740. }
  741. .timeLeftActive {
  742. background: #FFFFFF;
  743. }
  744. .timeMain {
  745. width: 100vw;
  746. height: 70vh;
  747. margin-top: 30vh;
  748. background: #FFFFFF;
  749. border-radius: 24rpx 24rpx 0px 0px;
  750. }
  751. .timesfNo {
  752. background: #F5F5F5;
  753. }
  754. .timesfActive {
  755. background: #FF4F00;
  756. }
  757. .timesfActive .timeSfNum {
  758. color: #FFFFFF;
  759. }
  760. .timesfActive .timeyy {
  761. color: #FFFFFF;
  762. }
  763. .topBox {
  764. padding: 20rpx 24rpx;
  765. }
  766. .timeTop {
  767. display: flex;
  768. line-height: 90rpx;
  769. padding-left: 24rpx;
  770. padding-right: 24rpx;
  771. justify-content: space-between;
  772. }
  773. .timeTopTitle {
  774. font-size: 30rpx;
  775. font-family: PingFangSC-Medium, PingFang SC;
  776. font-weight: 600;
  777. color: #3C3C3C;
  778. }
  779. .close {
  780. color: #999999;
  781. font-size: 30rpx;
  782. padding-left: 30rpx;
  783. }
  784. .timeCont {
  785. height: calc(70vh - 210rpx);
  786. }
  787. .timeSv {
  788. height: calc(70vh - 210rpx);
  789. }
  790. .timeLeft2 {
  791. width: 162rpx;
  792. background: #F4F5F7;
  793. border-top: 1px soid #F4F5F7;
  794. border-right: 1px soid #F4F5F7;
  795. }
  796. .timeRight2 {
  797. width: 588rpx;
  798. }
  799. .timesf {
  800. width: 165rpx;
  801. height: 98rpx;
  802. border-radius: 7rpx;
  803. border: 2rpx solid #EEEEEE;
  804. text-align: center;
  805. margin-left: 20rpx;
  806. margin-bottom: 24rpx;
  807. }
  808. .timeBottom {
  809. width: 750rpx;
  810. height: 120rpx;
  811. background: #FFFFFF;
  812. box-shadow: 0px -2px 20rpx 0px rgba(153, 153, 153, 0.2);
  813. display: flex;
  814. align-items: center;
  815. }
  816. .timerightBox {
  817. display: flex;
  818. flex-wrap: wrap;
  819. }
  820. .timeCont {
  821. display: flex;
  822. }
  823. .timeSfNum {
  824. color: #666666;
  825. font-size: 28rpx;
  826. padding-top: 15rpx;
  827. }
  828. .timeyy {
  829. font-size: 24rpx;
  830. color: #999999;
  831. }
  832. .timecomplete {
  833. width: 690rpx;
  834. height: 74rpx;
  835. background: linear-gradient(124deg, #FF8700 0%, #FF4F00 100%);
  836. border-radius: 37rpx;
  837. line-height: 74rpx;
  838. text-align: center;
  839. font-size: 30rpx;
  840. color: #FFFFFF;
  841. margin-left: 30rpx;
  842. }
  843. .timeleftLine {
  844. font-size: 30rpx;
  845. color: #999999;
  846. text-align: center;
  847. padding: 28rpx 10rpx;
  848. border-bottom: 1px solid #EEEEEE;
  849. }
  850. .yuyueBox {
  851. background: #FFFFFF;
  852. border-radius: 10rpx;
  853. margin-left: 24rpx;
  854. margin-right: 24rpx;
  855. }
  856. .yuyueTime {
  857. display: flex;
  858. padding-left: 20rpx;
  859. padding-top: 30rpx;
  860. padding-bottom: 36rpx;
  861. align-items: center;
  862. }
  863. .yuyueState {
  864. display: flex;
  865. padding-left: 20rpx;
  866. padding-top: 30rpx;
  867. padding-bottom: 36rpx;
  868. }
  869. .maBox {
  870. display: flex;
  871. justify-content: space-between;
  872. padding: 24rpx 20rpx;
  873. }
  874. .querenMa {
  875. margin: 20rpx 0;
  876. padding-bottom: 30rpx;
  877. }
  878. .maBoximg {
  879. width: 308rpx;
  880. height: 308rpx;
  881. margin: 30rpx 197rpx;
  882. }
  883. .rightShou {
  884. display: flex;
  885. justify-content: flex-start;
  886. align-items: center;
  887. }
  888. .authorizBox {
  889. width: 100vw;
  890. height: 100vh;
  891. background: rgba(0, 0, 0, 0.5);
  892. position: fixed;
  893. top: 0;
  894. left: 0;
  895. }
  896. .authorizCont {
  897. margin-top: 30vh;
  898. width: 564rpx;
  899. height: 408rpx;
  900. background: #FFFFFF;
  901. border-radius: 24rpx;
  902. margin-left: 93rpx;
  903. position: relative;
  904. }
  905. .authorizCloseImg {
  906. width: 62rpx;
  907. height: 62rpx;
  908. }
  909. .sqLogoBox {
  910. width: 180rpx;
  911. height: 180rpx;
  912. background: #FFFFFF;
  913. border-radius: 90rpx;
  914. text-align: center;
  915. position: absolute;
  916. top: -50rpx;
  917. left: 192rpx;
  918. }
  919. .authorizName {
  920. color: #333333;
  921. line-height: 42rpx;
  922. font-size: 30rpx;
  923. text-align: center;
  924. padding-top: 58rpx;
  925. }
  926. .authorizMs {
  927. color: #999999;
  928. line-height: 36rpx;
  929. font-size: 26rpx;
  930. width: 452rpx;
  931. padding-top: 24rpx;
  932. text-align: center;
  933. margin-left: 56rpx;
  934. }
  935. .authorizContbutton {
  936. width: 422rpx;
  937. height: 88rpx;
  938. background: #D53533;
  939. border-radius: 44rpx;
  940. line-height: 88rpx;
  941. text-align: center;
  942. font-size: 30rpx;
  943. color: #FFFFFF;
  944. margin-top: 62rpx;
  945. margin-left: 71rpx;
  946. }
  947. .bottom {
  948. position: fixed;
  949. width: 100%;
  950. padding: 20rpx 24rpx;
  951. right: 0;
  952. bottom: 0;
  953. background: #ffffff;
  954. font-size: 28rpx;
  955. display: flex;
  956. justify-content: flex-end;
  957. height: 58rpx;
  958. padding-bottom: constant(safe-area-inset-bottom);
  959. padding-bottom: env(safe-area-inset-bottom);
  960. }
  961. .ping {
  962. text-align: center;
  963. color: #FF4F00;
  964. width: 150rpx;
  965. height: 56rpx;
  966. line-height: 56rpx;
  967. border-radius: 36rpx;
  968. border: 2rpx solid #FF4F00;
  969. }
  970. .kan {
  971. text-align: center;
  972. color: #3C3C3C;
  973. width: 150rpx;
  974. height: 56rpx;
  975. line-height: 56rpx;
  976. border-radius: 36rpx;
  977. border: 2rpx solid #DDDDDD;
  978. }
  979. </style>