historyDetail.vue 28 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199
  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 :class="{kaColor:item.CardDetailID}">卡</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
  133. :class="{kaColor:item.CardDetailID}">卡</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. })
  243. }
  244. this.myPower();
  245. this.showPower();
  246. },
  247. methods: {
  248. //显示权限
  249. showPower() {
  250. this.$http('openweiXinCardInfoController/getShowSetting', {
  251. }, 'GET').then(res => {
  252. // 权限
  253. // FaultDescription:false,//故障描述
  254. // RepairDescription:false,//维修建议
  255. // Comment:false,//备注
  256. // ItemMoney:false,//项目、商品金额
  257. // ItemComment:false,//项目备注
  258. // GoodsComment:false,//商品备注
  259. // AmountMoney:false,//应收总计
  260. // TotalDiscountMoney:false,//优惠总计
  261. // CardMoneyT:false,//计次卡冲销
  262. // CardMoneyC:false,//储值卡冲销
  263. // ReceiptsMoney:false,//支付金额
  264. var list = res.data
  265. list.forEach((item, index) => {
  266. if (item.fieldValue == 'FaultDescription') {
  267. this.FaultDescription = item.isChecked
  268. }
  269. if (item.fieldValue == 'RepairDescription') {
  270. this.RepairDescription = item.isChecked
  271. }
  272. if (item.fieldValue == 'Comment') {
  273. this.Comment = item.isChecked
  274. }
  275. if (item.fieldValue == 'ItemMoney') {
  276. this.ItemMoney = item.isChecked
  277. }
  278. if (item.fieldValue == 'ItemComment') {
  279. this.ItemComment = item.isChecked
  280. }
  281. if (item.fieldValue == 'GoodsComment') {
  282. this.GoodsComment = item.isChecked
  283. }
  284. if (item.fieldValue == 'AmountMoney') {
  285. this.AmountMoney = item.isChecked
  286. }
  287. if (item.fieldValue == 'CardMoneyT') {
  288. this.CardMoneyT = item.isChecked
  289. }
  290. if (item.fieldValue == 'CardMoneyC') {
  291. this.CardMoneyC = item.isChecked
  292. }
  293. if (item.fieldValue == 'ReceiptsMoney') {
  294. this.ReceiptsMoney = item.isChecked
  295. }
  296. })
  297. })
  298. },
  299. //评价权限
  300. myPower() {
  301. this.$http('openMiniEvaluate/getEvaluateSetting', {
  302. }, 'GET').then(res => {
  303. // var list = res.data.Items
  304. this.appraise = res.data
  305. })
  306. },
  307. goAppraiseDetail(item) {
  308. uni.navigateTo({
  309. url: 'myAppraiseDetail?sheetId=' + this.orderData.billsheet.id
  310. })
  311. },
  312. goAppraise(item) {
  313. uni.navigateTo({
  314. url: 'appraise?sheetID=' + this.orderData.billsheet.id + '&shopID=' + this.orderData.billsheet
  315. .shopID
  316. })
  317. },
  318. decryptPhoneNumber: function(e) {
  319. console.log(e);
  320. this.code = e.detail.code
  321. this.wxPhoneLogin()
  322. this.authorizShow = false;
  323. },
  324. wxPhoneLogin() {
  325. var that = this;
  326. this.$http('miniApp2/sys/wxPhoneLogin', {
  327. appId: this.ext.appId,
  328. unionId: this.ext.unionId,
  329. code: this.code,
  330. openId: this.wxOpenData.openid
  331. }, 'POST').then(res => {
  332. var data = res.data;
  333. if (data.loginInfo) {
  334. this.userInfo = data.loginInfo.openUser;
  335. this.wxOpenData = data.loginInfo;
  336. this.$store.commit('mutationswxOpenData', data.loginInfo)
  337. this.$store.commit('mutationsuserInfo', this.userInfo)
  338. this.getData()
  339. }
  340. })
  341. },
  342. map() {
  343. console.log("打开地图")
  344. var that = this;
  345. if (!that.orderData.billsheet.lat || !that.orderData.billsheet.lng) {
  346. uni.showToast({
  347. title: '该店铺未设置定位',
  348. icon: 'none',
  349. duration: 3000
  350. });
  351. } else {
  352. uni.openLocation({
  353. latitude: Number(that.orderData.billsheet.lat),
  354. longitude: Number(that.orderData.billsheet.lng),
  355. name: that.orderData.billsheet.ShopName,
  356. address: that.orderData.billsheet.Address,
  357. success: function() {
  358. console.log('success');
  359. },
  360. fail(err) {
  361. console.log(err)
  362. }
  363. });
  364. }
  365. },
  366. call() {
  367. uni.makePhoneCall({
  368. phoneNumber: this.orderData.billsheet.shopMobilePhone
  369. });
  370. },
  371. getData() {
  372. let that = this
  373. uni.showLoading({
  374. title: '加载中'
  375. });
  376. this.$http('openweiXinCardInfoController/queryConsumptionDetail', {
  377. // lat: this.location.lat,
  378. // lng: this.location.lng,
  379. id: this.id,
  380. }, 'POST').then(res => {
  381. uni.hideLoading();
  382. this.orderData = res.data;
  383. console.log('data===', this.orderData);
  384. })
  385. },
  386. //时间对比
  387. getDateBeforeNow(stringTime) {
  388. console.log("传参未格式化", stringTime);
  389. stringTime = new Date(stringTime.replace(/-/g, '/'))
  390. // 统一单位换算
  391. var minute = 1000 * 60;
  392. var hour = minute * 60;
  393. var day = hour * 24;
  394. var week = day * 7;
  395. var month = day * 30;
  396. var year = month * 12;
  397. var time1 = new Date().getTime(); //当前的时间戳 console.log("当前时间", time1);
  398. // 对时间进行毫秒单位转换 var time2 = new Date(stringTime).getTime(); //指定时间的时间戳
  399. console.log("传过来的时间", time2);
  400. var time = time1 - time2;
  401. console.log("计算后的时间", time);
  402. var result =
  403. null; // if (time < 0) { // // alert("传过来的时间的时间不能晚于当前时间!"); // result = stringTime; // } else if (time / year >= 1) {
  404. // result = parseInt(time / year) + "年前";
  405. // } else if (time / month >= 1) {
  406. // result = parseInt(time / month) + "月前";
  407. // } else if (time / week >= 1) { // result = parseInt(time / week) + "周前"; // } else if (time / day >= 1) {
  408. // result = parseInt(time / day) + "天前";
  409. // } else if (time / hour >= 1) { // result = parseInt(time / hour) + "小时前";
  410. // } else if (time / minute >= 1) {
  411. // result = parseInt(time / minute) + "分钟前"; // } else {
  412. // result = "刚刚"; // }
  413. if (time < 0) {
  414. // alert("传过来的时间的时间不能晚于当前时间!");
  415. result = -1;
  416. } else if (time / day >= 0) {
  417. result = parseInt(time / day); //多少天前
  418. }
  419. console.log("多少天前", result);
  420. return result;
  421. },
  422. goback() {
  423. uni.navigateBack({})
  424. },
  425. },
  426. onPullDownRefresh() {
  427. this.getData()
  428. setTimeout(function() {
  429. uni.stopPullDownRefresh();
  430. }, 1000);
  431. },
  432. }
  433. </script>
  434. <style scoped>
  435. .box {
  436. min-height: 100vh;
  437. background: #F4F5F7;
  438. padding-bottom: constant(safe-area-inset-bottom);
  439. padding-bottom: env(safe-area-inset-bottom);
  440. }
  441. .contentBox {
  442. background: #F4F5F7;
  443. padding-bottom: 100rpx;
  444. }
  445. .top {
  446. height: 190rpx;
  447. background: #FF0000;
  448. }
  449. .stateBox {
  450. display: flex;
  451. }
  452. .orderState {
  453. display: flex;
  454. justify-content: center;
  455. align-items: center;
  456. padding-top: 40rpx;
  457. }
  458. .SheetState {
  459. display: flex;
  460. justify-content: center;
  461. font-size: 36rpx;
  462. font-weight: 500;
  463. color: #FFFFFF;
  464. margin-left: 15rpx;
  465. }
  466. .timeEditImg {
  467. width: 25rpx;
  468. height: 25rpx;
  469. padding-left: 20rpx;
  470. }
  471. .shopBoximg {
  472. width: 40rpx;
  473. height: 40rpx;
  474. }
  475. .shopRightImg {
  476. width: 44rpx;
  477. height: 45rpx;
  478. }
  479. .shopsx {
  480. width: 1px;
  481. height: 50rpx;
  482. background: #EEEEEE;
  483. margin-top: 30rpx;
  484. margin-left: 28rpx;
  485. }
  486. .shopBox {
  487. display: flex;
  488. padding: 30rpx 20rpx;
  489. margin: 0rpx 24rpx;
  490. margin-top: -60rpx;
  491. background-color: #FFFFFF;
  492. border-radius: 10rpx;
  493. }
  494. .shopCont {
  495. width: 405rpx;
  496. padding-left: 20rpx;
  497. }
  498. .shopName {
  499. font-size: 30rpx;
  500. font-weight: bold;
  501. color: #3C3C3C;
  502. line-height: 45rpx;
  503. }
  504. .Address {
  505. color: #999999;
  506. font-size: 24rpx;
  507. margin-top: 10rpx;
  508. }
  509. .shopRihgtTxt {
  510. color: #999999;
  511. font-size: 24rpx;
  512. }
  513. .shopRightBox {
  514. padding-left: 28rpx;
  515. }
  516. .peopleCont {
  517. font-size: 28rpx;
  518. color: #3C3C3C;
  519. padding-left: 20rpx;
  520. }
  521. .people {
  522. display: flex;
  523. padding-left: 20rpx;
  524. padding-top: 30rpx;
  525. padding-bottom: 36rpx;
  526. }
  527. .PlateNumberBox {
  528. display: flex;
  529. padding-left: 20rpx;
  530. padding-bottom: 30rpx;
  531. }
  532. .PlateNumbercx {
  533. font-size: 28rpx;
  534. color: #3C3C3C;
  535. padding-left: 20rpx;
  536. }
  537. .PlateNumber {
  538. width: 130rpx;
  539. height: 32rpx;
  540. border-radius: 4rpx;
  541. border: 1px solid #F19D01;
  542. line-height: 32rpx;
  543. text-align: center;
  544. font-size: 22rpx;
  545. color: #F19D01;
  546. margin-left: 26rpx;
  547. }
  548. .PlateNumberBoxTop {
  549. display: flex;
  550. }
  551. .CarModel {
  552. font-size: 26rpx;
  553. color: #999999;
  554. padding-left: 20rpx;
  555. padding-top: 6rpx;
  556. padding-right: 20rpx;
  557. padding-bottom: 15rpx;
  558. width: 600rpx;
  559. }
  560. .detailedBox {
  561. background: #FFFFFF;
  562. border-radius: 10px;
  563. margin: 20rpx 24rpx;
  564. padding-bottom: 20rpx;
  565. }
  566. .itemBox {
  567. margin-top: 20rpx;
  568. }
  569. .carMes {
  570. padding: 23rpx 20rpx;
  571. display: flex;
  572. align-items: center;
  573. justify-content: flex-start;
  574. border-bottom: 1rpx solid #EEEEEE;
  575. }
  576. .plate {
  577. font-size: 30rpx;
  578. color: #3C3C3C;
  579. font-weight: bold;
  580. margin-right: 20rpx;
  581. }
  582. .mileage {
  583. font-size: 24rpx;
  584. color: #F19D01;
  585. padding: 0rpx 10rpx;
  586. border: 1rpx solid #F19D01;
  587. border-radius: 4rpx;
  588. height: 36rpx;
  589. }
  590. .detailedTitle {
  591. padding: 23rpx 20rpx;
  592. display: flex;
  593. text-align: center;
  594. align-content: flex-start;
  595. border-bottom: 1rpx solid #EEEEEE;
  596. font-size: 30rpx;
  597. font-weight: bold;
  598. color: #3C3C3C;
  599. }
  600. .detailedLine {
  601. padding: 20rpx 20rpx 0rpx;
  602. }
  603. .detailedImg {
  604. width: 120rpx;
  605. height: 120rpx;
  606. border-radius: 10rpx;
  607. }
  608. .detailedName {
  609. font-size: 26rpx;
  610. color: #3C3C3C;
  611. }
  612. .kaColor {
  613. background: #F19D01;
  614. border-radius: 4rpx;
  615. color: #FFFFFF;
  616. font-size: 24rpx;
  617. margin-right: 8rpx;
  618. padding: 3rpx 5rpx;
  619. }
  620. .qty {
  621. font-size: 24rpx;
  622. font-weight: 400;
  623. color: #999999;
  624. }
  625. .secondBox {
  626. display: flex;
  627. padding: 20rpx 0rpx;
  628. justify-content: space-between;
  629. align-items: baseline;
  630. border-bottom: 1rpx solid #EEEEEE;
  631. }
  632. .noLine {
  633. border-bottom: 0 solid #FFFFFF;
  634. }
  635. .comment {
  636. margin-right: 20rpx;
  637. font-size: 24rpx;
  638. font-weight: 400;
  639. color: #999999;
  640. flex-grow: 1;
  641. }
  642. .secondRight {
  643. display: flex;
  644. justify-content: flex-end;
  645. align-items: baseline;
  646. }
  647. .grayPrice {
  648. font-size: 24rpx;
  649. font-weight: 400;
  650. color: #999999;
  651. text-decoration: line-through;
  652. }
  653. .price {
  654. font-size: 32rpx;
  655. font-weight: 500;
  656. color: #FF0000;
  657. display: flex;
  658. align-items: center;
  659. }
  660. span {
  661. font-size: 24rpx;
  662. }
  663. .goodTop {
  664. display: flex;
  665. justify-content: space-between;
  666. }
  667. .goodscost {
  668. background: #FFFFFF;
  669. border-radius: 10px;
  670. margin: 20rpx 24rpx;
  671. padding-bottom: 20rpx;
  672. }
  673. .goodscostLine {
  674. display: flex;
  675. justify-content: space-between;
  676. font-size: 26rpx;
  677. padding: 20rpx 20rpx;
  678. color: #333333;
  679. }
  680. .goodsCostNum {
  681. color: #FF0000;
  682. font-weight: bold;
  683. }
  684. .information {
  685. width: 702rpx;
  686. background: #FFFFFF;
  687. border-radius: 10px;
  688. margin-left: 24rpx;
  689. margin-top: 20rpx;
  690. padding: 0rpx 0 15rpx 0;
  691. }
  692. .informationLine {
  693. display: flex;
  694. font-size: 26rpx;
  695. padding: 15rpx 20rpx;
  696. }
  697. .informationTxt {
  698. width: 190rpx;
  699. color: #999999;
  700. }
  701. .informationNum {
  702. color: #333333;
  703. width: calc(100vw - 190rpx);
  704. }
  705. .copyBtn {
  706. width: 86rpx;
  707. height: 40rpx;
  708. background: #F4F5F7;
  709. border-radius: 20rpx;
  710. font-size: 24rpx;
  711. color: #333333;
  712. text-align: center;
  713. line-height: 40rpx;
  714. margin-left: 20rpx;
  715. }
  716. .orderBottom {
  717. width: 750rpx;
  718. height: 98rpx;
  719. background: #FFFFFF;
  720. position: fixed;
  721. left: 0;
  722. bottom: 0;
  723. display: flex;
  724. justify-content: flex-end;
  725. }
  726. .cancelBtn {
  727. width: 150rpx;
  728. height: 56rpx;
  729. border-radius: 36rpx;
  730. border: 2rpx solid #DDDDDD;
  731. text-align: center;
  732. line-height: 56rpx;
  733. font-size: 28rpx;
  734. color: #3C3C3C;
  735. margin-top: 21rpx;
  736. margin-right: 16rpx;
  737. margin-left: 20rpx;
  738. }
  739. .payBtn {
  740. width: 150rpx;
  741. height: 56rpx;
  742. border-radius: 36rpx;
  743. border: 2rpx solid #FF4F00;
  744. text-align: center;
  745. line-height: 56rpx;
  746. font-size: 28rpx;
  747. color: #FF4F00;
  748. margin-top: 21rpx;
  749. margin-right: 16rpx;
  750. margin-left: 20rpx;
  751. }
  752. .timeBox2 {
  753. width: 100vw;
  754. height: 100vh;
  755. background: rgba(0, 0, 0, 0.5);
  756. position: fixed;
  757. top: 0;
  758. left: 0;
  759. }
  760. .timeLeftActive {
  761. background: #FFFFFF;
  762. }
  763. .timeMain {
  764. width: 100vw;
  765. height: 70vh;
  766. margin-top: 30vh;
  767. background: #FFFFFF;
  768. border-radius: 24rpx 24rpx 0px 0px;
  769. }
  770. .timesfNo {
  771. background: #F5F5F5;
  772. }
  773. .timesfActive {
  774. background: #FF4F00;
  775. }
  776. .timesfActive .timeSfNum {
  777. color: #FFFFFF;
  778. }
  779. .timesfActive .timeyy {
  780. color: #FFFFFF;
  781. }
  782. .topBox {
  783. padding: 20rpx 24rpx;
  784. }
  785. .timeTop {
  786. display: flex;
  787. line-height: 90rpx;
  788. padding-left: 24rpx;
  789. padding-right: 24rpx;
  790. justify-content: space-between;
  791. }
  792. .timeTopTitle {
  793. font-size: 30rpx;
  794. font-family: PingFangSC-Medium, PingFang SC;
  795. font-weight: 600;
  796. color: #3C3C3C;
  797. }
  798. .close {
  799. color: #999999;
  800. font-size: 30rpx;
  801. padding-left: 30rpx;
  802. }
  803. .timeCont {
  804. height: calc(70vh - 210rpx);
  805. }
  806. .timeSv {
  807. height: calc(70vh - 210rpx);
  808. }
  809. .timeLeft2 {
  810. width: 162rpx;
  811. background: #F4F5F7;
  812. border-top: 1px soid #F4F5F7;
  813. border-right: 1px soid #F4F5F7;
  814. }
  815. .timeRight2 {
  816. width: 588rpx;
  817. }
  818. .timesf {
  819. width: 165rpx;
  820. height: 98rpx;
  821. border-radius: 7rpx;
  822. border: 2rpx solid #EEEEEE;
  823. text-align: center;
  824. margin-left: 20rpx;
  825. margin-bottom: 24rpx;
  826. }
  827. .timeBottom {
  828. width: 750rpx;
  829. height: 120rpx;
  830. background: #FFFFFF;
  831. box-shadow: 0px -2px 20rpx 0px rgba(153, 153, 153, 0.2);
  832. display: flex;
  833. align-items: center;
  834. }
  835. .timerightBox {
  836. display: flex;
  837. flex-wrap: wrap;
  838. }
  839. .timeCont {
  840. display: flex;
  841. }
  842. .timeSfNum {
  843. color: #666666;
  844. font-size: 28rpx;
  845. padding-top: 15rpx;
  846. }
  847. .timeyy {
  848. font-size: 24rpx;
  849. color: #999999;
  850. }
  851. .timecomplete {
  852. width: 690rpx;
  853. height: 74rpx;
  854. background: linear-gradient(124deg, #FF8700 0%, #FF4F00 100%);
  855. border-radius: 37rpx;
  856. line-height: 74rpx;
  857. text-align: center;
  858. font-size: 30rpx;
  859. color: #FFFFFF;
  860. margin-left: 30rpx;
  861. }
  862. .timeleftLine {
  863. font-size: 30rpx;
  864. color: #999999;
  865. text-align: center;
  866. padding: 28rpx 10rpx;
  867. border-bottom: 1px solid #EEEEEE;
  868. }
  869. .yuyueBox {
  870. background: #FFFFFF;
  871. border-radius: 10rpx;
  872. margin-left: 24rpx;
  873. margin-right: 24rpx;
  874. }
  875. .yuyueTime {
  876. display: flex;
  877. padding-left: 20rpx;
  878. padding-top: 30rpx;
  879. padding-bottom: 36rpx;
  880. align-items: center;
  881. }
  882. .yuyueState {
  883. display: flex;
  884. padding-left: 20rpx;
  885. padding-top: 30rpx;
  886. padding-bottom: 36rpx;
  887. }
  888. .maBox {
  889. display: flex;
  890. justify-content: space-between;
  891. padding: 24rpx 20rpx;
  892. }
  893. .querenMa {
  894. margin: 20rpx 0;
  895. padding-bottom: 30rpx;
  896. }
  897. .maBoximg {
  898. width: 308rpx;
  899. height: 308rpx;
  900. margin: 30rpx 197rpx;
  901. }
  902. .rightShou {
  903. display: flex;
  904. justify-content: flex-start;
  905. align-items: center;
  906. }
  907. .authorizBox {
  908. width: 100vw;
  909. height: 100vh;
  910. background: rgba(0, 0, 0, 0.5);
  911. position: fixed;
  912. top: 0;
  913. left: 0;
  914. }
  915. .authorizCont {
  916. margin-top: 30vh;
  917. width: 564rpx;
  918. height: 408rpx;
  919. background: #FFFFFF;
  920. border-radius: 24rpx;
  921. margin-left: 93rpx;
  922. position: relative;
  923. }
  924. .authorizCloseImg {
  925. width: 62rpx;
  926. height: 62rpx;
  927. }
  928. .sqLogoBox {
  929. width: 180rpx;
  930. height: 180rpx;
  931. background: #FFFFFF;
  932. border-radius: 90rpx;
  933. text-align: center;
  934. position: absolute;
  935. top: -50rpx;
  936. left: 192rpx;
  937. }
  938. .authorizName {
  939. color: #333333;
  940. line-height: 42rpx;
  941. font-size: 30rpx;
  942. text-align: center;
  943. padding-top: 58rpx;
  944. }
  945. .authorizMs {
  946. color: #999999;
  947. line-height: 36rpx;
  948. font-size: 26rpx;
  949. width: 452rpx;
  950. padding-top: 24rpx;
  951. text-align: center;
  952. margin-left: 56rpx;
  953. }
  954. .authorizContbutton {
  955. width: 422rpx;
  956. height: 88rpx;
  957. background: #D53533;
  958. border-radius: 44rpx;
  959. line-height: 88rpx;
  960. text-align: center;
  961. font-size: 30rpx;
  962. color: #FFFFFF;
  963. margin-top: 62rpx;
  964. margin-left: 71rpx;
  965. }
  966. .bottom {
  967. position: fixed;
  968. width: 100%;
  969. padding: 20rpx 24rpx;
  970. right: 0;
  971. bottom: 0;
  972. background: #ffffff;
  973. font-size: 28rpx;
  974. display: flex;
  975. justify-content: flex-end;
  976. height: 58rpx;
  977. padding-bottom: constant(safe-area-inset-bottom);
  978. padding-bottom: env(safe-area-inset-bottom);
  979. }
  980. .ping {
  981. text-align: center;
  982. color: #FF4F00;
  983. width: 150rpx;
  984. height: 56rpx;
  985. line-height: 56rpx;
  986. border-radius: 36rpx;
  987. border: 2rpx solid #FF4F00;
  988. }
  989. .kan {
  990. text-align: center;
  991. color: #3C3C3C;
  992. width: 150rpx;
  993. height: 56rpx;
  994. line-height: 56rpx;
  995. border-radius: 36rpx;
  996. border: 2rpx solid #DDDDDD;
  997. }
  998. </style>