historyDetail.vue 28 KB

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