historyDetail.vue 28 KB

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