eorderDetail.vue 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018
  1. <template>
  2. <view class="box">
  3. <view class="top">
  4. <view class="nav" >
  5. <view>
  6. <image src="../../static/img/baiback22.png" mode="" class="gobackImg" @click="goback"></image>
  7. <!-- <image src="../../static/img/baigoindex22.png" mode="" class="goIndexImg" @click="goIndex()"></image> -->
  8. </view>
  9. <view>订单详情</view>
  10. <view style="width: 92rpx;"></view>
  11. </view>
  12. <view style="height: 44px;"></view>
  13. <view class="SheetState" v-if="orderData.sheetState==1">等待付款</view>
  14. <view class="SheetState" v-if="orderData.sheetState==2">请尽快到店享受服务</view>
  15. <view class="SheetState" v-if="orderData.sheetState==3||orderData.sheetState==5">订单已完成</view>
  16. <view class="SheetState" v-if="orderData.sheetState==0">订单已取消</view>
  17. <view class="SheetState" v-if="orderData.sheetState==4">订单已完成</view>
  18. </view>
  19. <view v-if="orderData">
  20. <!-- 服务确认码 -->
  21. <view class="orderTop" v-if="orderData.sheetState==2 || orderData.sheetState==3 || orderData.sheetState==4 || orderData.sheetState==5">
  22. <view class="maBox">
  23. <view class="timeLeft">
  24. <span>服务确认码</span>
  25. </view>
  26. <view style="text-decoration:line-through; color: #999999; font-size: 26rpx;"
  27. v-if="orderData.sheetState==3 || orderData.sheetState==4 || orderData.sheetState==5 && orderData.serviceCode!=null">{{orderData.serviceCode}}</view>
  28. <view class="rightShou" v-if="orderData.sheetState==2">
  29. <view class="timeRight" style="color: #FF2400;" @click="showMa">收起</view>
  30. <image src="../../static/img/icon_arrow_up_orange.png" style="width: 17rpx; height: 11rpx; margin-left:10rpx ;">
  31. </image>
  32. </view>
  33. <view style="color: #999999; font-size: 26rpx;" v-if="orderData.sheetState==3 || orderData.sheetState==4 || orderData.sheetState==5">已使用</view>
  34. </view>
  35. <!-- 确认码 -->
  36. <view class="querenMa" v-if="isShowMa==true && orderData.sheetState==2">
  37. <view style="color: #FF2400; font-size: 24rpx; text-align: center;">请到店出示券码即可开始服务</view>
  38. <view class="maBoximg">
  39. <tki-qrcode cid="qrcode1" ref="qrcode" :val="orderData.serviceCode" :size="308" :unit="unit"
  40. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  41. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  42. </view>
  43. <view style="color: #333333; font-size: 26rpx; font-weight: bold; text-align: center;">
  44. {{orderData.serviceCode}}
  45. </view>
  46. </view>
  47. </view>
  48. <view class="orderTop">
  49. <view class="timeBox">
  50. <view class="timeLeft">
  51. <span v-if="orderData.sheetState==1||orderData.sheetState==2||orderData.sheetState==0">预约到店:{{orderData.orderTime}}</span>
  52. <span v-else>服务时间:{{orderData.serviceTime}}</span>
  53. <image v-if="orderData.sheetState==2" src="../../static/img/icon_edit.png" mode="" class="timeEditImg" @click="timeShowClick"></image>
  54. </view>
  55. <!-- <view class="timeRight" @click="qrcodeClick">订单码</view> -->
  56. </view>
  57. <view class="shopBox">
  58. <image src="../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
  59. <view class="shopCont">
  60. <view class="shopName">{{orderData.shopName}}</view>
  61. </view>
  62. <!-- <view class="shopRightBox" @click="map">
  63. <view> <image src="../../static/img/icon_ditu2.png" mode="" class="shopRightImg"></image> </view>
  64. <view class="shopRihgtTxt">地图</view>
  65. </view>
  66. <view class="shopsx"></view>
  67. <view class="shopRightBox" @click="call">
  68. <view> <image src="../../static/img/icon_phone2.png" mode="" class="shopRightImg"></image> </view>
  69. <view class="shopRihgtTxt">电话</view>
  70. </view> -->
  71. </view>
  72. <view class="people">
  73. <image src="../../static/img/icon_ren.png" mode="" class="shopBoximg"></image>
  74. <view class="peopleCont">{{orderData.contactName}}</view>
  75. <view class="peopleCont" style="padding-left: 20rpx;">{{orderData.contactPhone}}</view>
  76. </view>
  77. <view class="PlateNumberBox">
  78. <image src="../../static/img/icon_che.png" mode="" class="shopBoximg"></image>
  79. <view class="">
  80. <view class="PlateNumberBoxTop">
  81. <view class="PlateNumbercx"> <span v-if="orderData.carInfo.brand">{{orderData.carInfo.brand}}</span>
  82. <span style="padding-left: 20rpx;" v-if="orderData.carInfo.series">{{orderData.carInfo.series}}</span>
  83. </view>
  84. <view class="PlateNumber">{{orderData.plateNumber}}</view>
  85. </view>
  86. <view class="CarModel">{{orderData.carModel}}</view>
  87. </view>
  88. </view>
  89. </view>
  90. <view style="margin-top: -40rpx;"></view>
  91. <!-- 商品明细-->
  92. <view class="detailedBox itemBox" v-if="orderData.goodsList.length!=0">
  93. <view class="detailedTitle">商品明细</view>
  94. <view class="detailedLineBox">
  95. <view class="detailedLine" v-for="(item,index) in orderData.goodsList">
  96. <view>
  97. <image :src="item.Url" mode="" class="detailedImg" v-if="item.Url"></image>
  98. <image src="../../static/img/noimg.png" mode="" class="detailedImg" v-else></image>
  99. </view>
  100. <view class="detailedCont">
  101. <view class="detailedName">{{item.GoodsName}}</view>
  102. <view class="detailedContBottom">
  103. <span class="SalePrice">¥{{item.SalePrice}}</span>
  104. <span>x{{item.SaleQty}}</span>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. </view>
  110. <!-- 商品明细-->
  111. <!-- 项目明细 -->
  112. <view class="detailedBox itemBox" v-if=" orderData.itemList.length!=0">
  113. <view class="detailedTitle">项目明细</view>
  114. <view class="detailedLineBox">
  115. <view class="detailedLine" v-for="(item,index) in orderData.itemList">
  116. <view>
  117. <image :src="item.Url" mode="" class="detailedImg" v-if="item.Url"></image>
  118. <image src="../../static/img/noitem.png" mode="" class="detailedImg" v-else></image>
  119. </view>
  120. <view class="detailedCont">
  121. <view class="detailedName">{{item.ItemName}}</view>
  122. <view class="detailedContBottom">
  123. <span class="SalePrice">¥{{item.SalePrice}}</span>
  124. <span>x1</span>
  125. </view>
  126. </view>
  127. </view>
  128. </view>
  129. </view>
  130. <!-- 项目明细 -->
  131. <!-- 商品费 -->
  132. <view class="goodscost">
  133. <view class="goodscostLine">
  134. <view class="goodscostTxt">商品费</view>
  135. <view class="goodsCostNum">¥{{orderData.goodsMoney}}</view>
  136. </view>
  137. <view class="goodscostLine">
  138. <view class="goodscostTxt">项目费</view>
  139. <view class="goodsCostNum">¥{{orderData.itemMoney}}</view>
  140. </view>
  141. <view class="goodscostLine">
  142. <view class="goodscostTxt">优惠券优惠</view>
  143. <view class="goodsCostNum">-¥{{orderData.couponMoney}}</view>
  144. </view>
  145. <view class="goodscostLine">
  146. <view class="goodscostTxt">实付款</view>
  147. <view class="goodsCostNum" style="color: #FF4F00;">¥{{orderData.payMoney}}</view>
  148. </view>
  149. </view>
  150. <!-- 商品费 -->
  151. <!-- 订单信息 -->
  152. <view class="information">
  153. <view class="detailedTitle">订单信息</view>
  154. <view class="informationLine">
  155. <view class="informationTxt">订单编号:</view>
  156. <view class="informationNum">{{orderData.code}}</view>
  157. <view class="copyBtn" @click="copy(orderData.code)">复制</view>
  158. </view>
  159. <view class="informationLine">
  160. <view class="informationTxt">下单人:</view>
  161. <view class="informationNum">{{orderData.memberName}}</view>
  162. </view>
  163. <view class="informationLine">
  164. <view class="informationTxt">下单时间:</view>
  165. <view class="informationNum">{{orderData.createTime}}</view>
  166. </view>
  167. <view class="informationLine">
  168. <view class="informationTxt">下单备注:</view>
  169. <view class="informationNum">{{orderData.comment}}</view>
  170. </view>
  171. </view>
  172. <!-- 订单信息 -->
  173. <!-- 支付信息 -->
  174. <view class="information">
  175. <view class="detailedTitle">支付信息</view>
  176. <view class="informationLine">
  177. <view class="informationTxt">支付状态:</view>
  178. <view class="informationNum" v-if="orderData.sheetState==2||orderData.sheetState==3||orderData.sheetState==4">已支付</view>
  179. <view class="informationNum" v-if="orderData.sheetState==1">未支付</view>
  180. </view>
  181. <view class="informationLine">
  182. <view class="informationTxt">支付方式:</view>
  183. <view class="informationNum">{{orderData.payMethod==1?'线上支付':'线下支付'}}</view>
  184. </view>
  185. <view class="informationLine">
  186. <view class="informationTxt">支付时间:</view>
  187. <view class="informationNum" v-if="orderData.payTime">{{orderData.payTime}}</view>
  188. </view>
  189. </view>
  190. <!-- 支付信息 -->
  191. <view style="height: 150rpx;"></view>
  192. <!-- <view class="orderBottom" v-if="orderData.SheetState==1||orderData.SheetState==2">
  193. <view class="payBtn" v-if="orderData.SheetState!=2" @click="orderPay">立即支付</view>
  194. <view class="cancelBtn" style="margin-right: 16rpx;" @click="cancelOrder">取消订单</view>
  195. </view>
  196. <view class="orderBottom" v-if="orderData.EvaluateState==1">
  197. <view class="cancelBtn" style="margin-right: 16rpx;" @click="gopingjia">查看评价</view>
  198. </view>
  199. <view class="orderBottom" v-if="orderData.EvaluateState==0&&orderData.EState==1">
  200. <view class="payBtn" @click="evaluate">立即评价</view>
  201. </view> -->
  202. <view class="orderBottom" v-if="orderData.sheetState==2">
  203. <view class="cancelBtn" style="margin-right: 16rpx;" @click="goHeXiao">核销</view>
  204. </view>
  205. <!-- 二维码 -->
  206. <view v-if="qrcodeShow" class="qrcodeBox" @click="qrcodeShow=false">
  207. <view @click.stop="qrc">
  208. <tki-qrcode cid="qrcode1" ref="qrcode" :val="qrcodeTopVal" :size="size" :unit="unit"
  209. :pdground="pdground" :icon="icon" :iconSize="iconsize" pdground="#000000"
  210. :lv="lv" :onval="onval" :loadMake="loadMake" :usingComponents="true" @result="qrR"/>
  211. </view>
  212. </view>
  213. <!-- 二维码 -->
  214. <!-- 地图 -->
  215. <!-- 地图 -->
  216. <!-- 预约时间 -->
  217. <view class="timeBox2" v-if="timeShow&&OrderTimes" @click="timeShow=false">
  218. <view class="timeMain">
  219. <view class="timeTop">
  220. <view class="timeTopTitle">选择预约时间</view>
  221. <view class="close" @click="timeShow=false">X</view>
  222. </view>
  223. <view class="timeCont">
  224. <view class="timeLeft2">
  225. <scroll-view scroll-y="true" class="timeSv">
  226. <view class="timeleftLine" v-for="(item,index) in OrderTimes"
  227. :class="{timeLeftActive:index==orderTimeIndex1}"
  228. @click.stop="orderTimeIndex1=index,orderTimeIndex2=-1"
  229. >{{item.date.substring(5,10)}}</view>
  230. </scroll-view>
  231. </view>
  232. <view class="timeRight2">
  233. <scroll-view scroll-y="true" class="timeSv">
  234. <view class="timerightBox">
  235. <view class="timesf" v-for="(item,index) in OrderTimes[orderTimeIndex1].timeList"
  236. :class="{timesfNo:item.type!=1,timesfActive:index==orderTimeIndex2}"
  237. @click.stop="timeSfCk(item,index)"
  238. >
  239. <view class="timeSfNum">{{item.time}}</view>
  240. <view class="timeyy" v-if="item.type==1">可预约</view>
  241. <view class="timeyy" v-if="item.type==2">已约满</view>
  242. <view class="timeyy" v-if="item.type==3">已过期</view>
  243. </view>
  244. </view>
  245. </scroll-view>
  246. </view>
  247. </view>
  248. <view class="timeBottom">
  249. <view class="timecomplete" @click="timeCk">完成</view>
  250. </view>
  251. </view>
  252. </view>
  253. </view>
  254. </view>
  255. </template>
  256. <script>
  257. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  258. export default {
  259. components: {
  260. tkiQrcode
  261. },
  262. data() {
  263. return {
  264. location:'',
  265. isload:false,
  266. id:'',
  267. iStatusBarHeight:'',
  268. orderData:'',
  269. type:'',
  270. onval: true, // val值变化时自动重新生成二维码
  271. loadMake: true, // 组件加载完成后自动生成二维码
  272. size:500,
  273. qrcodeShow:false,
  274. qrcodeTop:'-100vh',
  275. qrcodeTopVal:'',
  276. ifShow: false,
  277. val: '二维码', // 要生成的二维码值
  278. unit: 'upx', // 单位
  279. background: '#b4e9e2', // 背景色
  280. foreground: '#309286', // 前景色
  281. pdground: '#333333', // 角标色
  282. icon: '', // 二维码图标
  283. iconsize: 40, // 二维码图标大小
  284. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  285. src: '' ,// 二维码生成后的图片地址或base64
  286. timeShow:false,
  287. orderTime:'',
  288. OrderTimes:'',
  289. orderTimeIndex1:0,
  290. orderTimeIndex2:-1,
  291. isShowMa: true,
  292. iOSInfo:'',
  293. }
  294. },
  295. onLoad(opt) {
  296. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  297. this.location=uni.getStorageSync("location");
  298. this.id=opt.id
  299. this.getData()
  300. this.type=opt.type;
  301. this.getOrderTimes();
  302. var qxnum = uni.getStorageSync("quanxian");
  303. if (qxnum == 1) {
  304. this.iOSInfo = JSON.parse(JSON.stringify(window.iOSInfo));
  305. }else if(qxnum==2){
  306. window.getAndroid=this.getAndroid;
  307. }
  308. },
  309. onShow() {
  310. if(this.id){
  311. this.getData()
  312. }
  313. },
  314. methods: {
  315. getAndroid(e){
  316. this.iOSInfo=e
  317. },
  318. showMa() {
  319. this.isShowMa = !this.isShowMa
  320. },
  321. gopingjia(){
  322. uni.navigateTo({
  323. url:'../me/myAppraiseDetail?id='+this.id
  324. })
  325. },
  326. timeShowClick(){
  327. if(this.OrderTimes){
  328. this.timeShow=true
  329. }else{
  330. uni.showToast({
  331. title: '当前店铺尚未设置可预约时间',
  332. icon:'none',
  333. duration: 3000
  334. });
  335. }
  336. },
  337. goHeXiao() {
  338. console.log(this.id)
  339. //app交互
  340. var standalone = window.navigator.standalone
  341. var userAgent = window.navigator.userAgent.toLowerCase()
  342. var safari = /safari/.test(userAgent)
  343. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  344. var android = /android/.test(userAgent)
  345. if (ios) {
  346. if (true) { //!standalone&& !safari
  347. window.webkit.messageHandlers.europewriteoff.postMessage({
  348. "id": this.id ? this.id : ''
  349. })
  350. }
  351. } else if (android) {
  352. window.android.europewriteoff(this.id)
  353. }
  354. },
  355. map(){
  356. console.log("打开地图")
  357. var that=this;
  358. if(!that.orderData.Lat||!that.orderData.Lng){
  359. uni.showToast({
  360. title: '该店铺未设置定位',
  361. icon:'none',
  362. duration: 3000
  363. });
  364. }else{
  365. uni.openLocation({
  366. latitude:Number(that.orderData.Lat) ,
  367. longitude:Number( that.orderData.Lng),
  368. name:that.orderData.ShopName,
  369. address:that.orderData.Address,
  370. success: function () {
  371. console.log('success');
  372. },
  373. fail(err) {
  374. console.log(err)
  375. }
  376. });
  377. }
  378. },
  379. qrR(){
  380. },
  381. qrc(){
  382. console.log(111)
  383. },
  384. call(){
  385. uni.makePhoneCall({
  386. phoneNumber: this.orderData.contactPhone
  387. });
  388. },
  389. qrcodeClick(){
  390. this.ifShow=true;
  391. this.qrcodeShow=true;
  392. this.qrcodeTopVal=this.orderData.Code;
  393. //this.$refs.qrcode._makeCode()
  394. },
  395. copy(txt){
  396. uni.setClipboardData({
  397. data: txt,
  398. success: function () {
  399. uni.showToast({
  400. title: '复制成功',
  401. icon:'none',
  402. duration: 2000
  403. });
  404. }
  405. });
  406. },
  407. getData(){
  408. uni.showLoading({ title: '加载中'});
  409. this.$http('h5BmSheet/h5BmSheetDetail', {
  410. //lat:this.location.lat,
  411. // lng:this.location.lng,
  412. id:this.id,
  413. },'GET').then(res => {
  414. uni.hideLoading();
  415. this.orderData=res.data;
  416. })
  417. },
  418. goback(){
  419. if(this.type==2){
  420. uni.switchTab({
  421. url:'../index/index'
  422. })
  423. }else{
  424. uni.navigateBack({})
  425. }
  426. },
  427. evaluate(){
  428. uni.navigateTo({
  429. url:'evaluate?sheetID='+this.id+'&shopID='+this.orderData.ShopID
  430. })
  431. },
  432. goIndex(){
  433. uni.switchTab({
  434. url:'../index/index'
  435. })
  436. },
  437. cancelOrder(){
  438. var that=this;
  439. uni.showModal({
  440. title: '提示',
  441. content: '确定要取消订单吗',
  442. success: function (res) {
  443. if (res.confirm) {
  444. uni.showLoading({ title: '加载中'});
  445. that.$http('miniAppMyBMemberCar/updateBMSheetState', {
  446. id:that.orderData.ID
  447. },'POST').then(res => {
  448. uni.hideLoading();
  449. if(that.orderData.SheetState!=1){
  450. uni.showModal({
  451. title: '订单取消成功,请等待银行处理',
  452. content: '金额将原路退还至您的账户。若您使用了优惠券,将退至您的账户',
  453. showCancel:false,
  454. success: function (res) {
  455. that.getData()
  456. }
  457. });
  458. }else{
  459. uni.showModal({
  460. title: '提示',
  461. content: '订单取消成功',
  462. showCancel:false,
  463. success: function (res) {
  464. that.getData()
  465. }
  466. });
  467. }
  468. // that.getData()
  469. })
  470. } else if (res.cancel) {
  471. }
  472. }
  473. });
  474. },
  475. orderPay(){
  476. uni.showLoading({ title: '加载中'});
  477. var that=this;
  478. this.$http('miniApp/maintainOrder/orderPay', {
  479. sheetID:this.orderData.ID
  480. },'POST').then(res => {
  481. uni.hideLoading();
  482. var payInfo=JSON.parse(res.data.payInfo)
  483. uni.requestPayment({
  484. provider: 'wxpay',
  485. // timeStamp: String(Date.now()),
  486. timeStamp:payInfo.timeStamp,
  487. nonceStr: payInfo.nonceStr,
  488. package: payInfo.package,
  489. signType: payInfo.signType,
  490. paySign: payInfo.paySign,
  491. success: function (res) {
  492. console.log('success:' + JSON.stringify(res));
  493. uni.showToast({
  494. title: '支付成功',
  495. icon:'none',
  496. duration: 2000
  497. });
  498. that.getData()
  499. },
  500. fail: function (err) {
  501. console.log('fail:' + JSON.stringify(err));
  502. }
  503. });
  504. })
  505. },
  506. timeSfCk(item,index){
  507. if(item.type==1){
  508. this.orderTimeIndex2=index;
  509. var orderTime=this.OrderTimes[this.orderTimeIndex1].date +' '+ item.time
  510. this.orderTime=orderTime
  511. }
  512. },
  513. timeCk(){
  514. this.timeShow=false;
  515. this.$http('h5BmSheet/h5UpdateTimeOfAppointment', {
  516. id:this.id,
  517. billDate:this.orderTime
  518. },'POST').then(res => {
  519. if(res.code==0){
  520. uni.showToast({
  521. title: '修改成功',
  522. icon:'none',
  523. duration: 2000
  524. });
  525. }
  526. this.getData()
  527. })
  528. },
  529. getOrderTimes(){
  530. this.$http('h5BmSheet/getOrderTimes', {
  531. },'GET').then(res => {
  532. this.OrderTimes=res.data;
  533. })
  534. }
  535. },
  536. onPullDownRefresh() {
  537. this.getOrderTimes()
  538. this.getData()
  539. setTimeout(function () {
  540. uni.stopPullDownRefresh();
  541. }, 1000);
  542. },
  543. }
  544. </script>
  545. <style scoped>
  546. .box{
  547. min-height: 100vh;
  548. background: #F4F5F7;
  549. }
  550. .status_bar{
  551. background: #FF4F00;
  552. width: 100vw;
  553. position: fixed;
  554. top: 0;
  555. left: 0;
  556. z-index: 1111;
  557. }
  558. .qrcodeBox{
  559. width: 100vw;
  560. height: 100vh;
  561. display: flex;
  562. justify-content: center;
  563. align-items: center;
  564. position: fixed;
  565. top: 0;
  566. left: 0;
  567. background: rgba(0,0,0,0.7);
  568. }
  569. .top{
  570. width: 750rpx;
  571. height: 242rpx;
  572. background: #FF4F00;
  573. /* background: linear-gradient(134deg, #FF8635 0%, #FF4828 100%); */
  574. }
  575. .nav{
  576. line-height: 44px;
  577. font-size: 34rpx;
  578. font-weight: 600;
  579. display: flex;
  580. justify-content: space-between;
  581. color: #FFFFFF;
  582. position: fixed;
  583. width: 100vw;
  584. left: 0;
  585. z-index: 1111;
  586. background: #FF4F00;
  587. }
  588. .gobackImg{
  589. width: 92rpx;
  590. height: 88rpx;
  591. /* padding: 12px; */
  592. }
  593. .SheetState{
  594. font-size: 44rpx;
  595. font-weight: 500;
  596. color: #FFFFFF;
  597. padding-left: 24rpx;
  598. padding-top: 24rpx;
  599. }
  600. .orderTop{
  601. background: #FFFFFF;
  602. border-radius: 10rpx;
  603. margin: 20rpx 24rpx;
  604. }
  605. .timeEditImg{
  606. width: 25rpx;height: 25rpx;padding-left: 20rpx;
  607. }
  608. .timeLeft{
  609. font-size: 28rpx;
  610. color: #3C3C3C;font-weight: 500;
  611. }
  612. .timeRight{
  613. font-size: 26rpx;
  614. color: #3F90F7;
  615. }
  616. .timeBox{
  617. display: flex;
  618. justify-content: space-between;
  619. padding: 24rpx 20rpx;
  620. border-bottom: 1px solid #EEEEEE;
  621. }
  622. .orderTop{
  623. position: relative;
  624. top: -44rpx;
  625. }
  626. .shopBoximg{
  627. width: 40rpx;height: 40rpx;
  628. }
  629. .shopRightImg{
  630. width: 52rpx;height: 38rpx;
  631. }
  632. .shopsx{
  633. width: 1px;
  634. height: 50rpx;
  635. background: #EEEEEE;
  636. margin-top: 30rpx;
  637. margin-left: 28rpx;
  638. }
  639. .shopBox{
  640. display: flex;
  641. padding: 30rpx 20rpx 20rpx 20rpx;
  642. }
  643. .shopCont{
  644. width: 418rpx;padding-left: 20rpx;
  645. }
  646. .shopName{
  647. font-size: 28rpx;
  648. color: #3C3C3C;
  649. font-weight: 500;
  650. }
  651. .Address{
  652. color: #999999;font-size: 26rpx;padding-top: 10rpx;
  653. }
  654. .shopRihgtTxt{
  655. color: #999999;font-size: 22rpx;padding-top: 5rpx;
  656. }
  657. .shopRightBox{
  658. padding-top: 30rpx;
  659. padding-left: 28rpx;
  660. }
  661. .peopleCont{
  662. font-size: 28rpx;
  663. font-weight: 500;
  664. color: #3C3C3C;
  665. padding-left: 20rpx;
  666. }
  667. .people{
  668. display: flex;
  669. padding-left: 20rpx;
  670. padding-bottom: 36rpx;
  671. }
  672. .PlateNumberBox{
  673. display: flex;padding-left: 20rpx;padding-bottom: 30rpx;
  674. }
  675. .PlateNumbercx{
  676. font-size: 28rpx;
  677. font-weight: 500;
  678. color: #3C3C3C;
  679. padding-left: 20rpx;
  680. }
  681. .PlateNumber{
  682. width: 130rpx;
  683. height: 32rpx;
  684. border-radius: 4rpx;
  685. border: 1px solid #F19D01;
  686. line-height: 32rpx;
  687. text-align: center;
  688. font-size: 22rpx;
  689. color: #F19D01;
  690. margin-left: 26rpx;
  691. }
  692. .PlateNumberBoxTop{
  693. display: flex;
  694. }
  695. .CarModel{
  696. font-size: 26rpx;
  697. color: #999999;
  698. padding-left: 20rpx;
  699. padding-top: 6rpx;
  700. padding-right: 20rpx;
  701. padding-bottom: 15rpx;
  702. width: 600rpx;
  703. }
  704. .detailedBox{
  705. width: 702rpx;
  706. background: #FFFFFF;
  707. border-radius: 10px;
  708. margin-left: 24rpx;
  709. margin-top: -60rpx;
  710. padding-bottom: 20rpx;
  711. }
  712. .itemBox{
  713. margin-top: 20rpx;
  714. }
  715. .detailedTitle{
  716. font-size: 32rpx;
  717. color: #3C3C3C;
  718. padding-left: 20rpx;padding-top: 30rpx;
  719. font-weight: 600;
  720. padding-bottom: 10rpx;
  721. }
  722. .detailedLine{
  723. display: flex;
  724. padding-left: 20rpx;
  725. padding-top: 40rpx;
  726. }
  727. .detailedImg{
  728. width: 120rpx;
  729. height: 120rpx;
  730. border-radius: 10rpx;
  731. }
  732. .detailedCont{
  733. padding-left: 20rpx;
  734. display: flex;
  735. flex-direction: column;
  736. justify-content: space-between;
  737. }
  738. .detailedName{
  739. font-size: 26rpx;
  740. color: #3C3C3C;
  741. }
  742. .detailedContBottom{
  743. display: flex;
  744. justify-content: space-between;
  745. font-size: 26rpx;
  746. color: #999999;
  747. width: 500rpx;
  748. line-height: 40rpx;
  749. }
  750. .SalePrice{
  751. font-size: 32rpx;
  752. font-weight: 500;
  753. color: #3C3C3C;
  754. }
  755. .goodscost{
  756. width: 702rpx;
  757. background: #FFFFFF;
  758. border-radius: 10px;
  759. margin-left: 24rpx;
  760. margin-top: 20rpx;
  761. padding: 15rpx 0;
  762. }
  763. .goodscostLine{
  764. display: flex;
  765. justify-content: space-between;
  766. font-size: 28rpx;
  767. padding: 20rpx 20rpx;
  768. color: #666666;
  769. }
  770. .goodsCostNum{
  771. color: #3C3C3C;
  772. }
  773. .information{
  774. width: 702rpx;
  775. background: #FFFFFF;
  776. border-radius: 10px;
  777. margin-left: 24rpx;
  778. margin-top: 20rpx;
  779. padding: 0rpx 0 15rpx 0;
  780. }
  781. .informationLine{
  782. display: flex;font-size: 26rpx;
  783. padding: 15rpx 20rpx;
  784. }
  785. .informationTxt{
  786. width: 150rpx;
  787. color: #666666;
  788. }
  789. .informationNum{
  790. color: #333333;
  791. }
  792. .copyBtn{
  793. width: 86rpx;
  794. height: 40rpx;
  795. background: #F4F5F7;
  796. border-radius: 20rpx;
  797. font-size: 24rpx;
  798. color: #333333;
  799. text-align: center;
  800. line-height: 40rpx;
  801. margin-left: 20rpx;
  802. }
  803. .orderBottom{
  804. width: 750rpx;
  805. height: 98rpx;
  806. background: #FFFFFF;
  807. position: fixed;
  808. left: 0;
  809. bottom: 0;
  810. display: flex;
  811. justify-content: flex-end;
  812. }
  813. .cancelBtn{
  814. width: 150rpx;
  815. height: 56rpx;
  816. border-radius: 36rpx;
  817. border: 2rpx solid #DDDDDD;
  818. text-align: center;
  819. line-height: 56rpx;
  820. font-size: 28rpx;
  821. color: #3C3C3C;
  822. margin-top: 21rpx;
  823. }
  824. .payBtn{
  825. width: 150rpx;
  826. height: 56rpx;
  827. border-radius: 36rpx;
  828. border: 2rpx solid #FF4F00;
  829. text-align: center;
  830. line-height: 56rpx;
  831. font-size: 28rpx;
  832. color: #FF4F00;
  833. margin-top: 21rpx;
  834. margin-right: 16rpx;
  835. margin-left: 40rpx;
  836. }
  837. .timeBox2{
  838. width: 100vw;
  839. height: 100vh;
  840. background: rgba(0,0,0,0.5);
  841. position: fixed;
  842. top: 0;
  843. left: 0;
  844. }
  845. .timeLeftActive{
  846. background: #FFFFFF;
  847. }
  848. .timeMain{
  849. width: 100vw;
  850. height: 70vh;
  851. margin-top: 30vh;
  852. background: #FFFFFF;
  853. border-radius: 24rpx 24rpx 0px 0px;
  854. }
  855. .timesfNo{
  856. background: #F5F5F5;
  857. }
  858. .timesfActive{
  859. background: #FF4F00;
  860. }
  861. .timesfActive .timeSfNum{
  862. color: #FFFFFF;
  863. }
  864. .timesfActive .timeyy{
  865. color: #FFFFFF;
  866. }
  867. .topBox{
  868. padding: 20rpx 24rpx;
  869. }
  870. .timeTop{
  871. display: flex;
  872. line-height: 90rpx;
  873. padding-left: 24rpx;
  874. padding-right: 24rpx;
  875. justify-content: space-between;
  876. }
  877. .timeTopTitle{
  878. font-size: 30rpx;
  879. font-family: PingFangSC-Medium, PingFang SC;
  880. font-weight: 600;
  881. color: #3C3C3C;
  882. }
  883. .close{
  884. color: #999999;font-size: 30rpx;
  885. padding-left: 30rpx;
  886. }
  887. .timeCont{
  888. height: calc(70vh - 210rpx);
  889. }
  890. .timeSv{
  891. height: calc(70vh - 210rpx);
  892. }
  893. .timeLeft2{
  894. width: 162rpx;
  895. background: #F4F5F7;
  896. border-top: 1px soid #F4F5F7;
  897. border-right:1px soid #F4F5F7 ;
  898. }
  899. .timeRight2{
  900. width: 588rpx;
  901. }
  902. .timesf{
  903. width: 165rpx;
  904. height: 98rpx;
  905. border-radius: 7rpx;
  906. border: 2rpx solid #EEEEEE;
  907. text-align: center;
  908. margin-left: 20rpx;
  909. margin-bottom: 24rpx;
  910. }
  911. .timeBottom{
  912. width: 750rpx;
  913. height: 120rpx;
  914. background: #FFFFFF;
  915. box-shadow: 0px -2px 20rpx 0px rgba(153, 153, 153, 0.2);
  916. display: flex;
  917. align-items: center;
  918. }
  919. .timerightBox{
  920. display: flex;
  921. flex-wrap: wrap;
  922. }
  923. .timeCont{
  924. display: flex;
  925. }
  926. .timeSfNum{
  927. color: #666666;
  928. font-size: 28rpx;
  929. padding-top: 15rpx;
  930. }
  931. .timeyy{
  932. font-size: 24rpx;
  933. color: #999999;
  934. }
  935. .timecomplete{
  936. width: 690rpx;
  937. height: 74rpx;
  938. background: linear-gradient(124deg, #FF8700 0%, #FF4F00 100%);
  939. border-radius: 37rpx;
  940. line-height: 74rpx;
  941. text-align: center;
  942. font-size: 30rpx;
  943. color: #FFFFFF;
  944. margin-left: 30rpx;
  945. }
  946. .timeleftLine{
  947. font-size: 30rpx;
  948. color: #999999;
  949. text-align: center;
  950. padding: 28rpx 10rpx;
  951. border-bottom: 1px solid #EEEEEE;
  952. }
  953. .goIndexImg{
  954. width: 92rpx;
  955. height: 88rpx;
  956. }
  957. .maBox {
  958. display: flex;
  959. justify-content: space-between;
  960. padding: 24rpx 20rpx;
  961. }
  962. .querenMa {
  963. margin: 20rpx 0;
  964. padding-bottom: 30rpx;
  965. }
  966. .maBoximg {
  967. width: 308rpx;
  968. height: 308rpx;
  969. margin: 30rpx 197rpx;
  970. }
  971. .rightShou {
  972. display: flex;
  973. justify-content: flex-start;
  974. align-items: center;
  975. }
  976. </style>