mallOrderDetail.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242
  1. <template>
  2. <view class="box">
  3. <!-- 自定义导航 -->
  4. <view class="zdyNavBox">
  5. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  6. <view class="zdyNav">
  7. <view class="zdyNavLeft">
  8. <image src="../../static/img/nav_icon_back.png" mode="aspectFit" class="backImg" @click="goback">
  9. </image>
  10. </view>
  11. <view class="zdyNavTitle">订单详情</view>
  12. <view style="width: 50px;"></view>
  13. </view>
  14. </view>
  15. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  16. <view style="height: 44px;"></view>
  17. <view class="top">
  18. <view class="orderState">
  19. <image src="../../static/img/icon_order_def.png" mode="" style="width: 44rpx;height: 44rpx;"></image>
  20. <view class="SheetState" v-if="orderData.data.sheetState == 1">待付款</view>
  21. <view class="SheetState" v-if="orderData.data.sheetState == 2">待服务</view>
  22. <view class="SheetState" v-if="orderData.data.sheetState == 3">已完成</view>
  23. <view class="SheetState" v-if="orderData.data.sheetState == 4">已取消</view>
  24. </view>
  25. </view>
  26. <!-- 店铺信息 -->
  27. <view class="shopBox">
  28. <image src="../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
  29. <view class="shopCont">
  30. <view class="shopName">{{orderData.shopInfo.shopName}}</view>
  31. <view class="Address">
  32. {{orderData.shopInfo.provinceName}}{{orderData.shopInfo.cityName}}{{orderData.shopInfo.areaName}}{{orderData.shopInfo.address}}
  33. </view>
  34. </view>
  35. <!-- <view class="shopRightBox" @click="map"> -->
  36. <view class="shopRightBox">
  37. <image src="../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image>
  38. <view class="shopRihgtTxt">地图</view>
  39. </view>
  40. <view class="shopsx"></view>
  41. <view class="shopRightBox" @click="call">
  42. <image src="../../static/img/icon_phone.png" mode="" class="shopRightImg"></image>
  43. <view class="shopRihgtTxt">电话</view>
  44. </view>
  45. </view>
  46. <!-- 订单内容 -->
  47. <view class="information">
  48. <view class="detailedTitle">订单内容</view>
  49. <view v-if="orderData.openSheetDetail.length>0" v-for="(item,index) in orderData.openSheetDetail"
  50. :key="index">
  51. <view class="goodsName">{{item.itemName}}</view>
  52. <view class="informationLine2">
  53. <view class="salePrice"><span class="informationNum">¥</span>{{item.salePrice}}</view>
  54. <view class="informationNum" style="color: #999999;">
  55. x{{item.itemQty}}</view>
  56. </view>
  57. </view>
  58. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4" class="line"></view>
  59. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4">
  60. <view class="goodsName">
  61. 券码信息({{quanMaList.length?quanMaList.length:0}}张可用)
  62. </view>
  63. <view class="detailedLine" v-for="(v,index) in orderData.OpenSheetQRCode">
  64. <view v-if="v.writeoffState==1" class="detailedName">
  65. <view class="redPoint"></view>
  66. <view class="code">{{v.qrCode}}</view>
  67. <view class="quanState">待使用</view>
  68. </view>
  69. <view v-if="v.writeoffState==3" class="detailedName">
  70. <view class="redPoint"></view>
  71. <view class="code old">{{v.qrCode}}</view>
  72. <view class="quanState2">已使用</view>
  73. </view>
  74. <image src="../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
  75. v-if="v.writeoffState==1" @click="isShowMa=true"></image>
  76. </view>
  77. </view>
  78. </view>
  79. <!-- 套餐内容 -->
  80. <view class="information" v-if="SheetType==3">
  81. <view class="detailedTitle">套餐内容</view>
  82. <!-- 项目 -->
  83. <view class="itemBox" v-if="orderData.projectList.length>0">
  84. <!-- 头 -->
  85. <view class="itemTop">
  86. <view class="leftItem">项目名称</view>
  87. <view class="topTitle">数量</view>
  88. <view class="topTitle">有效期</view>
  89. </view>
  90. <view v-for="(item,index) in orderData.projectList" :key="index">
  91. <view class="itemContent">
  92. <view class="leftItem">{{item.flowName}}</view>
  93. <view class="topTitle">{{item.flowQty}}</view>
  94. <view class="topTitle">{{item.date}}</view>
  95. </view>
  96. </view>
  97. </view>
  98. <!-- 商品 -->
  99. <view class="itemBox" v-if="orderData.shopList.length>0">
  100. <!-- 头 -->
  101. <view class="itemTop">
  102. <view class="leftItem">商品名称</view>
  103. <view class="topTitle">数量</view>
  104. <view class="topTitle">有效期</view>
  105. </view>
  106. <view v-for="(item,index) in orderData.shopList" :key="index">
  107. <view class="itemContent">
  108. <view class="leftItem">{{item.flowName}}</view>
  109. <view class="topTitle">{{item.flowQty}}</view>
  110. <view class="topTitle">{{item.date}}</view>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. <!-- 实付款 -->
  116. <view class="money">
  117. <view class="informationNum">实付款:</view>
  118. <view class="informationNum" style="color: #FF0000;font-weight: bold;">¥{{orderData.data.realMoney}}</view>
  119. </view>
  120. <!-- 订单信息 -->
  121. <view class="information">
  122. <view class="detailedTitle">订单信息</view>
  123. <view class="informationLine">
  124. <view class="informationTxt">订单单号:</view>
  125. <view class="informationNum">{{orderData.data.code}}<span class="codeCopy"
  126. @click="copy(orderData.data.code)">复制</span></view>
  127. </view>
  128. <view class="informationLine">
  129. <view class="informationTxt">下单人:</view>
  130. <view class="informationNum">{{orderData.data.userMobilePhone}}</view>
  131. </view>
  132. <view class="informationLine">
  133. <view class="informationTxt">下单时间:</view>
  134. <view class="informationNum">{{orderData.data.createTime}}</view>
  135. </view>
  136. <view class="informationLine">
  137. <view class="informationTxt">订单备注:</view>
  138. <view class="informationNum" style="width: 510rpx;">{{orderData.data.comment?orderData.data.comment:''}}
  139. </view>
  140. </view>
  141. </view>
  142. <!-- 支付信息 -->
  143. <view class="information">
  144. <view class="detailedTitle">支付信息</view>
  145. <view class="informationLine">
  146. <view class="informationTxt">支付状态:</view>
  147. <view class="informationNum" v-if="orderData.data.payState==1">未支付</view>
  148. <view class="informationNum" v-if="orderData.data.payState==2">已支付</view>
  149. </view>
  150. <view class="informationLine">
  151. <view class="informationTxt">支付方式:</view>
  152. <view class="informationNum" v-if="orderData.data.payType==1">在线支付</view>
  153. <view class="informationNum" v-if="orderData.data.payType==2">线下支付</view>
  154. </view>
  155. <view class="informationLine">
  156. <view class="informationTxt">支付时间:</view>
  157. <view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
  158. </view>
  159. </view>
  160. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  161. <!-- 待付款 -->
  162. <view class="bottom" v-if="orderData.data.sheetState == 1">
  163. <view v-if="iOSInfo.indexOf('Q030')!=-1||!iOSInfo" class="cancel" @click="cancelBespeak">取消订单</view>
  164. </view>
  165. <!-- 待服务 -->
  166. <view class="bottom" v-if="orderData.data.sheetState == 2">
  167. <view v-if="(iOSInfo.indexOf('Q031')!=-1||!iOSInfo) && orderData.data.payType==1" class="defer" @click="isShowTui=true">退款</view>
  168. <view v-if="iOSInfo.indexOf('Q032')!=-1||!iOSInfo" class="defer" @click="goHeXiao">核销</view>
  169. <!-- <view v-if="iOSInfo.indexOf('Q033')!=-1||!iOSInfo" class="defer" @click="">开单</view> -->
  170. </view>
  171. <!-- 券码 -->
  172. <view class="maBox" v-if="isShowMa==true" @click="isShowMa=false">
  173. <view class="querenMa">
  174. <view class="maTop">
  175. <view class="maTitle">请到店出示券码即可开始服务</view>
  176. <image @click="isShowMa=false" src="../../static/img/icon_delete.png" mode=""
  177. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;"></image>
  178. </view>
  179. <swiper class="swiper" circular :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC"
  180. indicator-active-color="#D53533">
  181. <swiper-item v-for="(item,index) in quanMaList">
  182. <view class="swiper-item">
  183. <view class="maCode">{{item}}</view>
  184. <view class="maBoximg">
  185. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="400" :unit="unit"
  186. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  187. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  188. </view>
  189. </view>
  190. </swiper-item>
  191. </swiper>
  192. </view>
  193. </view>
  194. <!-- 退款原因 -->
  195. <view class="tuikuanBox" v-if="isShowTui==true">
  196. <view class="tuikuan">
  197. <view class="tuiTop">
  198. <view class="tuiTitle">退款</view>
  199. <image @click="isShowTui=false" src="../../static/img/icon_close.png" mode=""
  200. style="width: 26rpx; height: 26rpx;"></image>
  201. </view>
  202. <view class="contLine">
  203. <view class="contlineLeft">
  204. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  205. 退款原因
  206. </view>
  207. <view class="contlineRight carModelRight" @click="">
  208. <picker class="carModel" @change="bindChange" mode="selector" :value="index"
  209. :range="tuicauseList" range-key="contents">
  210. <view class="uni-input">{{tuicauseList[index].contents}}</view>
  211. <!-- <view class="uni-input noColor" v-else>请选择</view> -->
  212. </picker>
  213. <image src="../../static/img/little_rightArrow.png" mode="" class="contlineRightJt"></image>
  214. </view>
  215. </view>
  216. <view class="contLine">
  217. <view class="contlineLeft">
  218. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  219. 退款金额
  220. </view>
  221. <view class="contlineRight carModelRight" @click="cktime">
  222. <span class="carModel">{{orderData.data.realMoney}}</span>
  223. </view>
  224. </view>
  225. <view class="contLine">
  226. <view class="contlineLeft">
  227. <image src="" mode="" class="star"></image>
  228. 补充描述
  229. </view>
  230. <view class="contlineRight">
  231. <textarea placeholder-style="color:#999999" placeholder="请输入" v-model="tuikuanContent"
  232. class="contlineRightInput" maxlength="-1" auto-height="true" @confirm="feedDone" />
  233. </view>
  234. </view>
  235. <view class="tuiBtns">
  236. <view class="btn" @click="isShowTui=false">取消</view>
  237. <view class="btn2" @click="goTui">确认退款</view>
  238. </view>
  239. </view>
  240. </view>
  241. </view>
  242. </template>
  243. <script>
  244. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  245. export default {
  246. components: {
  247. tkiQrcode,
  248. },
  249. data() {
  250. return {
  251. id: '',
  252. iStatusBarHeight: '',
  253. SheetType: '', //SheetType 1 商品2项目3套餐4救援5钣喷6集客
  254. orderData: '',
  255. onval: true, // val值变化时自动重新生成二维码
  256. loadMake: true, // 组件加载完成后自动生成二维码
  257. size: 500,
  258. qrcodeShow: false,
  259. qrcodeTop: '-100vh',
  260. qrcodeTopVal: '',
  261. ifShow: false,
  262. val: '二维码', // 要生成的二维码值
  263. unit: 'upx', // 单位
  264. background: '#b4e9e2', // 背景色
  265. foreground: '#309286', // 前景色
  266. pdground: '#262637', // 角标色
  267. icon: '', // 二维码图标
  268. iconsize: 40, // 二维码图标大小
  269. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  270. src: '', // 二维码生成后的图片地址或base64
  271. isShowMa: false,
  272. quanMaList: [],
  273. isShowTui: false,
  274. tuicauseList: [],
  275. tuikuanContent: '',
  276. index: 0,
  277. iOSInfo:'',
  278. }
  279. },
  280. onLoad(opt) {
  281. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  282. this.id = opt.id
  283. this.SheetType = opt.SheetType
  284. if (this.id) {
  285. this.getData()
  286. }
  287. this.getTuiKuanData()
  288. var qxnum = uni.getStorageSync("quanxian");
  289. if (qxnum == 1) {
  290. this.iOSInfo = JSON.parse(JSON.stringify(window.iOSInfo));
  291. }
  292. },
  293. methods: {
  294. goTui() {
  295. let yuanyin = this.tuicauseList[this.index].contents
  296. if (!yuanyin) {
  297. uni.showToast({
  298. title: '请选择退款原因',
  299. icon: 'none',
  300. duration: 3000
  301. });
  302. return false;
  303. }
  304. uni.showLoading({
  305. title: '加载中'
  306. })
  307. var that = this
  308. this.$http('openH5Indent/reimburse', {
  309. id: this.id,
  310. refundReason: yuanyin,
  311. refundComment: this.tuikuanContent,
  312. realMoney: this.orderData.data.realMoney
  313. }, 'GET').then(res => {
  314. uni.hideLoading();
  315. // var list = res.data.Items
  316. // var list = res.data
  317. console.log("result+=", res);
  318. if (res.code == 0) {
  319. that.isShowTui = false
  320. uni.showToast({
  321. title: '退款成功',
  322. icon: 'none',
  323. duration: 2000
  324. });
  325. setTimeout(function() {
  326. that.getData();
  327. }, 1000);
  328. }
  329. })
  330. },
  331. bindChange(e) {
  332. console.log(e);
  333. this.index = e.detail.value
  334. },
  335. feedDone(e) {
  336. this.tuikuanContent = e.target.value
  337. },
  338. // 核销
  339. goHeXiao() {
  340. //app交互
  341. var standalone = window.navigator.standalone
  342. var userAgent = window.navigator.userAgent.toLowerCase()
  343. var safari = /safari/.test(userAgent)
  344. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  345. var android = /android/.test(userAgent)
  346. if (ios) {
  347. if (true) { //!standalone&& !safari
  348. window.webkit.messageHandlers.goHeXiao.postMessage({
  349. "id": this.id ? this.id : ''
  350. })
  351. }
  352. } else if (android) {
  353. window.android.postMessage()
  354. }
  355. },
  356. getTuiKuanData() {
  357. uni.showLoading({
  358. title: '加载中'
  359. });
  360. this.$http('openH5Indent/getOpenReason', {
  361. // id: this.id,
  362. }, 'GET').then(res => {
  363. uni.hideLoading();
  364. this.tuicauseList = res.data;
  365. })
  366. },
  367. pay() {
  368. this.$http('openMallOrder/unifiedPay', {
  369. sheetId: this.id
  370. }, 'POST').then(res => {
  371. if (res.code == 0) {
  372. this.requestPayment(res.data)
  373. } else {
  374. uni.showToast({
  375. title: res.msg,
  376. icon: 'none',
  377. duration: 3000
  378. });
  379. }
  380. })
  381. },
  382. requestPayment(res) {
  383. var payInfo = res;
  384. //console.log(payInfo)
  385. //console.log(String(Date.now()))
  386. var that = this;
  387. uni.requestPayment({
  388. provider: 'wxpay',
  389. //timeStamp: String(Date.now()),
  390. timeStamp: payInfo.timeStamp,
  391. nonceStr: payInfo.nonceStr,
  392. package: payInfo.package,
  393. signType: payInfo.signType,
  394. paySign: payInfo.paySign,
  395. appid: payInfo.appId,
  396. success: function(res) {
  397. console.log('success:' + JSON.stringify(res));
  398. uni.showToast({
  399. title: '支付成功',
  400. icon: 'none',
  401. duration: 2000
  402. });
  403. that.getData()
  404. },
  405. fail: function(err) {
  406. console.log(err)
  407. uni.showToast({
  408. title: '支付失败',
  409. icon: 'none',
  410. duration: 2000
  411. });
  412. }
  413. });
  414. },
  415. copy(txt) {
  416. uni.setClipboardData({
  417. data: txt,
  418. success: function() {
  419. uni.showToast({
  420. title: '复制成功',
  421. icon: 'none',
  422. duration: 2000
  423. });
  424. }
  425. });
  426. },
  427. upTime() {
  428. uni.showLoading({
  429. title: '加载中'
  430. })
  431. var that = this
  432. this.$http('openH5Indent/carOwner/updateTimeOfAppointment', {
  433. id: this.id,
  434. shopId: this.orderData.shopInfo.id,
  435. billDate: this.billDate
  436. }, 'POST').then(res => {
  437. uni.hideLoading();
  438. // var list = res.data.Items
  439. var list = res.data
  440. console.log("result+=", res.data);
  441. uni.showToast({
  442. title: '延期成功',
  443. icon: 'none',
  444. duration: 2000
  445. });
  446. setTimeout(function() {
  447. that.getData();
  448. }, 1000);
  449. })
  450. },
  451. cancelBespeak() {
  452. var that = this
  453. uni.showModal({
  454. title: '提示',
  455. content: '是否取消该订单',
  456. cancelText: '否',
  457. confirmText: '是',
  458. success: function(res) {
  459. if (res.confirm) {
  460. uni.showLoading({
  461. title: '加载中'
  462. })
  463. that.$http('openH5Indent/updateSheetState', {
  464. id: that.id,
  465. }, 'POST').then(res => {
  466. uni.hideLoading();
  467. // var list = res.data.Items
  468. uni.showToast({
  469. title: '取消成功',
  470. icon: 'none',
  471. duration: 2000
  472. });
  473. setTimeout(function() {
  474. that.getData();
  475. }, 1000);
  476. })
  477. } else if (res.cancel) {
  478. }
  479. }
  480. });
  481. },
  482. map() {
  483. console.log("打开地图")
  484. var that = this;
  485. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  486. uni.showToast({
  487. title: '该店铺未设置定位',
  488. icon: 'none',
  489. duration: 3000
  490. });
  491. } else {
  492. uni.openLocation({
  493. latitude: Number(that.orderData.shopInfo.lat),
  494. longitude: Number(that.orderData.shopInfo.lng),
  495. name: that.orderData.shopInfo.shopName,
  496. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  497. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  498. success: function() {
  499. console.log('success');
  500. },
  501. fail(err) {
  502. console.log(err)
  503. }
  504. });
  505. }
  506. },
  507. call() {
  508. uni.makePhoneCall({
  509. phoneNumber: this.orderData.shopInfo.mobilePhone
  510. });
  511. },
  512. getData() {
  513. uni.showLoading({
  514. title: '加载中'
  515. });
  516. this.$http('openH5Indent/queryOpenSheet', {
  517. id: this.id,
  518. }, 'GET').then(res => {
  519. uni.hideLoading();
  520. this.orderData = res.data;
  521. if (this.quanMaList) {
  522. this.quanMaList = [];
  523. }
  524. let maList = this.orderData.OpenSheetQRCode;
  525. if (maList) {
  526. maList.forEach(item => {
  527. if (item.writeoffState == 1) {
  528. this.quanMaList.push(item.qrCode);
  529. }
  530. })
  531. }
  532. console.log('可用券码--', this.quanMaList);
  533. })
  534. },
  535. goback() {
  536. uni.navigateBack({
  537. delta: 1
  538. })
  539. },
  540. },
  541. onPullDownRefresh() {
  542. this.getData()
  543. setTimeout(function() {
  544. uni.stopPullDownRefresh();
  545. }, 1000);
  546. },
  547. }
  548. </script>
  549. <style scoped>
  550. .box {
  551. min-height: 100vh;
  552. background: #F4F5F7;
  553. padding-bottom: 135rpx;
  554. }
  555. .zdyNavBox {
  556. width: 100vw;
  557. background: #FFFFFF;
  558. position: fixed;
  559. top: 0;
  560. left: 0;
  561. z-index: 9999999;
  562. }
  563. .zdyNav {
  564. height: 44px;
  565. display: flex;
  566. justify-content: space-between;
  567. align-items: center;
  568. }
  569. .backImg {
  570. width: 44rpx;
  571. height: 44rpx;
  572. margin-left: 10rpx;
  573. margin-right: 20rpx;
  574. }
  575. .homeImg {
  576. width: 44rpx;
  577. height: 44rpx;
  578. }
  579. .zdyNavLeft {
  580. display: flex;
  581. align-items: center;
  582. }
  583. .zdyNavTitle {
  584. height: 44px;
  585. background: #FFFFFF;
  586. text-align: center;
  587. font-size: 34rpx;
  588. line-height: 44px;
  589. }
  590. .top {
  591. height: 190rpx;
  592. background-color: #FF0000;
  593. }
  594. .orderState {
  595. display: flex;
  596. justify-content: center;
  597. align-items: center;
  598. padding-top: 40rpx;
  599. }
  600. .SheetState {
  601. display: flex;
  602. justify-content: center;
  603. font-size: 36rpx;
  604. font-weight: 500;
  605. color: #FFFFFF;
  606. margin-left: 15rpx;
  607. }
  608. .timeEditImg {
  609. width: 25rpx;
  610. height: 25rpx;
  611. padding-left: 20rpx;
  612. }
  613. .shopBoximg {
  614. width: 40rpx;
  615. height: 40rpx;
  616. }
  617. .shopRightImg {
  618. width: 44rpx;
  619. height: 45rpx;
  620. }
  621. .shopsx {
  622. width: 1px;
  623. height: 50rpx;
  624. background: #EEEEEE;
  625. margin-top: 30rpx;
  626. margin-left: 28rpx;
  627. }
  628. .shopBox {
  629. display: flex;
  630. padding: 30rpx 20rpx;
  631. margin: 0rpx 24rpx;
  632. margin-top: -60rpx;
  633. background-color: #FFFFFF;
  634. border-radius: 10rpx;
  635. }
  636. .shopCont {
  637. width: 405rpx;
  638. padding-left: 20rpx;
  639. }
  640. .shopName {
  641. font-size: 30rpx;
  642. font-weight: bold;
  643. color: #3C3C3C;
  644. line-height: 42rpx;
  645. }
  646. .Address {
  647. color: #999999;
  648. font-size: 24rpx;
  649. margin-top: 10rpx;
  650. }
  651. .shopRihgtTxt {
  652. color: #999999;
  653. font-size: 24rpx;
  654. }
  655. .shopRightBox {
  656. padding-left: 28rpx;
  657. }
  658. .detailedTitle {
  659. padding: 23rpx 20rpx;
  660. display: flex;
  661. text-align: center;
  662. align-content: flex-start;
  663. border-bottom: 1rpx solid #EEEEEE;
  664. font-size: 30rpx;
  665. font-weight: bold;
  666. color: #3C3C3C;
  667. }
  668. .detailedLine {
  669. display: flex;
  670. padding: 16rpx 20rpx;
  671. justify-content: space-between;
  672. align-items: center;
  673. }
  674. .detailedImg {
  675. width: 120rpx;
  676. height: 120rpx;
  677. border-radius: 10rpx;
  678. }
  679. .detailedName {
  680. display: flex;
  681. align-items: center;
  682. }
  683. .code {
  684. font-size: 26rpx;
  685. color: #333333;
  686. font-weight: bold;
  687. width: 180rpx
  688. }
  689. .old {
  690. color: #999999;
  691. font-weight: 400;
  692. text-decoration: line-through;
  693. }
  694. .redPoint {
  695. width: 10rpx;
  696. height: 10rpx;
  697. background: #FF0000;
  698. border-radius: 10rpx;
  699. margin-right: 10rpx;
  700. }
  701. .quanState {
  702. font-size: 22rpx;
  703. color: #F19D01;
  704. padding: 0 10rpx;
  705. border: 1rpx solid #F19D01;
  706. border-radius: 4rpx;
  707. margin-left: 20rpx;
  708. }
  709. .quanState2 {
  710. font-size: 22rpx;
  711. color: #999999;
  712. padding: 0 10rpx;
  713. border: 1rpx solid #DDDDDD;
  714. border-radius: 4rpx;
  715. margin-left: 20rpx;
  716. }
  717. .information {
  718. background: #FFFFFF;
  719. border-radius: 10rpx;
  720. margin: 20rpx 24rpx;
  721. padding-bottom: 15rpx;
  722. }
  723. .informationLine {
  724. display: flex;
  725. padding: 15rpx 20rpx;
  726. }
  727. .informationLine2 {
  728. display: flex;
  729. justify-content: space-between;
  730. font-size: 26rpx;
  731. padding: 0 20rpx;
  732. }
  733. .salePrice {
  734. font-size: 26rpx;
  735. font-weight: 500;
  736. color: #333333;
  737. line-height: 45rpx;
  738. }
  739. .money {
  740. background: #FFFFFF;
  741. border-radius: 10rpx;
  742. margin: 20rpx 24rpx;
  743. display: flex;
  744. justify-content: space-between;
  745. font-size: 26rpx;
  746. padding: 30rpx 20rpx;
  747. }
  748. .informationTxt {
  749. width: 190rpx;
  750. font-size: 26rpx;
  751. color: #999999;
  752. }
  753. .line {
  754. height: 20rpx;
  755. background-color: #FFFFFF;
  756. border-bottom: 1rpx solid #EEEEEE;
  757. }
  758. .goodsName {
  759. padding: 20rpx 20rpx 15rpx;
  760. color: #333333;
  761. font-size: 26rpx;
  762. }
  763. .informationNum {
  764. color: #333333;
  765. font-size: 26rpx;
  766. }
  767. .codeCopy {
  768. width: 77rpx;
  769. height: 36rpx;
  770. background: #F4F5F7;
  771. border-radius: 22rpx;
  772. font-size: 24rpx;
  773. color: #333333;
  774. text-align: center;
  775. line-height: 33rpx;
  776. padding: 0 15rpx;
  777. margin-left: 20rpx;
  778. }
  779. .bottom {
  780. display: flex;
  781. justify-content: flex-end;
  782. padding: 20rpx;
  783. background-color: #FFFFFF;
  784. align-items: center;
  785. height: 98rpx;
  786. width: 100vw;
  787. position: fixed;
  788. bottom: 0rpx;
  789. padding-bottom: constant(safe-area-inset-bottom);
  790. padding-bottom: env(safe-area-inset-bottom);
  791. }
  792. .cancel {
  793. color: #3C3C3C;
  794. font-size: 28rpx;
  795. width: 150rpx;
  796. height: 56rpx;
  797. border-radius: 36rpx;
  798. border: 1rpx solid #DDDDDD;
  799. text-align: center;
  800. line-height: 56rpx;
  801. margin-right: 40rpx;
  802. }
  803. .defer {
  804. color: #D53533;
  805. font-size: 28rpx;
  806. width: 150rpx;
  807. height: 56rpx;
  808. border-radius: 36rpx;
  809. border: 1rpx solid #D53533;
  810. text-align: center;
  811. line-height: 56rpx;
  812. margin-right: 40rpx;
  813. }
  814. .itemBox {
  815. margin: 20rpx;
  816. border-radius: 10rpx;
  817. border: 2rpx solid #EEEEEE;
  818. }
  819. .itemTop {
  820. padding: 18rpx 20rpx;
  821. padding-right: 0;
  822. background-color: #FFEFD5;
  823. display: flex;
  824. justify-content: space-between;
  825. align-content: center;
  826. }
  827. .topTitle {
  828. width: 104rpx;
  829. font-size: 26rpx;
  830. color: #333333;
  831. margin-right: 20rpx;
  832. text-align: right;
  833. }
  834. .leftItem {
  835. font-size: 26rpx;
  836. color: #333333;
  837. margin-right: 20rpx;
  838. flex-grow: 1;
  839. /* 隐藏文字显示 ...不换行 */
  840. overflow: hidden;
  841. text-overflow: ellipsis;
  842. white-space: nowrap;
  843. }
  844. .itemContent {
  845. padding: 20rpx;
  846. padding-right: 0;
  847. background-color: #FFFFFF;
  848. display: flex;
  849. justify-content: space-between;
  850. align-content: center;
  851. }
  852. .maBox {
  853. width: 100%;
  854. height: 100vh;
  855. background: rgba(0, 0, 0, 0.4);
  856. position: fixed;
  857. left: 0;
  858. top: 0;
  859. z-index: 9999;
  860. }
  861. .querenMa {
  862. width: 578rpx;
  863. height: 640rpx;
  864. background: #ffffff;
  865. margin: 0 86rpx;
  866. margin-top: 50%;
  867. border-radius: 24rpx;
  868. }
  869. .maTop {
  870. display: flex;
  871. justify-content: space-between;
  872. align-items: center;
  873. padding: 30rpx 20rpx 15rpx;
  874. }
  875. .maTitle {
  876. color: #666666;
  877. font-size: 26rpx;
  878. text-align: center;
  879. padding-left: 100rpx;
  880. }
  881. .swiper {
  882. width: 100%;
  883. height: 85%;
  884. background: #FFFFFF;
  885. }
  886. .swiper-item {
  887. width: 100%;
  888. height: 100%;
  889. }
  890. .maCode {
  891. font-size: 30rpx;
  892. font-weight: 500;
  893. color: #333333;
  894. line-height: 42rpx;
  895. margin-bottom: 40rpx;
  896. text-align: center;
  897. }
  898. .maBoximg {
  899. width: 400rpx;
  900. height: 400rpx;
  901. margin-left: 86rpx;
  902. }
  903. .tuikuanBox {
  904. width: 100%;
  905. height: 100vh;
  906. background: rgba(0, 0, 0, 0.4);
  907. position: fixed;
  908. left: 0;
  909. top: 0;
  910. z-index: 999;
  911. }
  912. .tuikuan {
  913. width: 638rpx;
  914. height: 664rpx;
  915. background: #ffffff;
  916. margin: 0 36rpx;
  917. margin-top: 50%;
  918. border-radius: 24rpx;
  919. padding: 30rpx 20rpx;
  920. }
  921. .tuiTop {
  922. display: flex;
  923. justify-content: space-between;
  924. margin-bottom: 36rpx;
  925. }
  926. .tuiTitle {
  927. width: 56rpx;
  928. height: 40rpx;
  929. font-size: 28rpx;
  930. font-weight: 500;
  931. color: #3C3C3C;
  932. line-height: 40rpx;
  933. }
  934. .contLine {
  935. display: flex;
  936. justify-content: space-between;
  937. font-size: 28rpx;
  938. padding: 30rpx 0;
  939. border-bottom: 1px solid #EEEEEE;
  940. }
  941. .contlineLeft {
  942. color: #666666;
  943. line-height: 40rpx;
  944. align-items: center;
  945. }
  946. .star {
  947. width: 14rpx;
  948. height: 14rpx;
  949. padding-bottom: 5rpx;
  950. }
  951. .carModel {
  952. width: 350rpx;
  953. text-align: left;
  954. }
  955. .noColor {
  956. color: #CCCCCC;
  957. }
  958. .carModelRight {
  959. display: flex;
  960. justify-content: flex-start;
  961. align-items: center;
  962. }
  963. .contlineRight {
  964. color: #333333;
  965. line-height: 40rpx;
  966. width: 400rpx;
  967. text-align: right;
  968. }
  969. .contlineRightInput {
  970. color: #333333;
  971. text-align: left;
  972. font-size: 28rpx;
  973. min-height: 182rpx;
  974. width: 400rpx;
  975. }
  976. .contlineRightJt {
  977. width: 30rpx;
  978. height: 30rpx;
  979. }
  980. .tuiBtns {
  981. display: flex;
  982. padding: 40rpx 20rpx 10rpx;
  983. }
  984. .btn {
  985. width: 288rpx;
  986. height: 98rpx;
  987. background: #F4F5F7;
  988. border-radius: 10rpx;
  989. margin-right: 22rpx;
  990. font-size: 30rpx;
  991. font-weight: 500;
  992. color: #3C3C3C;
  993. line-height: 98rpx;
  994. text-align: center;
  995. }
  996. .btn2 {
  997. width: 288rpx;
  998. height: 98rpx;
  999. background: #3F90F7;
  1000. border-radius: 10rpx;
  1001. font-size: 30rpx;
  1002. font-weight: 500;
  1003. color: #FFFFFF;
  1004. line-height: 98rpx;
  1005. text-align: center;
  1006. }
  1007. </style>