historyDetail.vue 28 KB

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