mallOrderDetail.vue 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247
  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. }else if(qxnum==2){
  292. window.getAndroid=this.getAndroid;
  293. }
  294. },
  295. methods: {
  296. getAndroid(e){
  297. this.iOSInfo=e
  298. },
  299. goTui() {
  300. let yuanyin = this.tuicauseList[this.index].contents
  301. if (!yuanyin) {
  302. uni.showToast({
  303. title: '请选择退款原因',
  304. icon: 'none',
  305. duration: 3000
  306. });
  307. return false;
  308. }
  309. uni.showLoading({
  310. title: '加载中'
  311. })
  312. var that = this
  313. this.$http('openH5Indent/reimburse', {
  314. id: this.id,
  315. refundReason: yuanyin,
  316. refundComment: this.tuikuanContent,
  317. realMoney: this.orderData.data.realMoney
  318. }, 'GET').then(res => {
  319. uni.hideLoading();
  320. // var list = res.data.Items
  321. // var list = res.data
  322. console.log("result+=", res);
  323. if (res.code == 0) {
  324. that.isShowTui = false
  325. uni.showToast({
  326. title: '退款成功',
  327. icon: 'none',
  328. duration: 2000
  329. });
  330. setTimeout(function() {
  331. that.getData();
  332. }, 1000);
  333. }
  334. })
  335. },
  336. bindChange(e) {
  337. console.log(e);
  338. this.index = e.detail.value
  339. },
  340. feedDone(e) {
  341. this.tuikuanContent = e.target.value
  342. },
  343. // 核销
  344. goHeXiao() {
  345. //app交互
  346. var standalone = window.navigator.standalone
  347. var userAgent = window.navigator.userAgent.toLowerCase()
  348. var safari = /safari/.test(userAgent)
  349. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  350. var android = /android/.test(userAgent)
  351. if (ios) {
  352. if (true) { //!standalone&& !safari
  353. window.webkit.messageHandlers.goHeXiao.postMessage({
  354. "id": this.id ? this.id : ''
  355. })
  356. }
  357. } else if (android) {
  358. window.android.postMessage()
  359. }
  360. },
  361. getTuiKuanData() {
  362. uni.showLoading({
  363. title: '加载中'
  364. });
  365. this.$http('openH5Indent/getOpenReason', {
  366. // id: this.id,
  367. }, 'GET').then(res => {
  368. uni.hideLoading();
  369. this.tuicauseList = res.data;
  370. })
  371. },
  372. pay() {
  373. this.$http('openMallOrder/unifiedPay', {
  374. sheetId: this.id
  375. }, 'POST').then(res => {
  376. if (res.code == 0) {
  377. this.requestPayment(res.data)
  378. } else {
  379. uni.showToast({
  380. title: res.msg,
  381. icon: 'none',
  382. duration: 3000
  383. });
  384. }
  385. })
  386. },
  387. requestPayment(res) {
  388. var payInfo = res;
  389. //console.log(payInfo)
  390. //console.log(String(Date.now()))
  391. var that = this;
  392. uni.requestPayment({
  393. provider: 'wxpay',
  394. //timeStamp: String(Date.now()),
  395. timeStamp: payInfo.timeStamp,
  396. nonceStr: payInfo.nonceStr,
  397. package: payInfo.package,
  398. signType: payInfo.signType,
  399. paySign: payInfo.paySign,
  400. appid: payInfo.appId,
  401. success: function(res) {
  402. console.log('success:' + JSON.stringify(res));
  403. uni.showToast({
  404. title: '支付成功',
  405. icon: 'none',
  406. duration: 2000
  407. });
  408. that.getData()
  409. },
  410. fail: function(err) {
  411. console.log(err)
  412. uni.showToast({
  413. title: '支付失败',
  414. icon: 'none',
  415. duration: 2000
  416. });
  417. }
  418. });
  419. },
  420. copy(txt) {
  421. uni.setClipboardData({
  422. data: txt,
  423. success: function() {
  424. uni.showToast({
  425. title: '复制成功',
  426. icon: 'none',
  427. duration: 2000
  428. });
  429. }
  430. });
  431. },
  432. upTime() {
  433. uni.showLoading({
  434. title: '加载中'
  435. })
  436. var that = this
  437. this.$http('openH5Indent/carOwner/updateTimeOfAppointment', {
  438. id: this.id,
  439. shopId: this.orderData.shopInfo.id,
  440. billDate: this.billDate
  441. }, 'POST').then(res => {
  442. uni.hideLoading();
  443. // var list = res.data.Items
  444. var list = res.data
  445. console.log("result+=", res.data);
  446. uni.showToast({
  447. title: '延期成功',
  448. icon: 'none',
  449. duration: 2000
  450. });
  451. setTimeout(function() {
  452. that.getData();
  453. }, 1000);
  454. })
  455. },
  456. cancelBespeak() {
  457. var that = this
  458. uni.showModal({
  459. title: '提示',
  460. content: '是否取消该订单',
  461. cancelText: '否',
  462. confirmText: '是',
  463. success: function(res) {
  464. if (res.confirm) {
  465. uni.showLoading({
  466. title: '加载中'
  467. })
  468. that.$http('openH5Indent/updateSheetState', {
  469. id: that.id,
  470. }, 'POST').then(res => {
  471. uni.hideLoading();
  472. // var list = res.data.Items
  473. uni.showToast({
  474. title: '取消成功',
  475. icon: 'none',
  476. duration: 2000
  477. });
  478. setTimeout(function() {
  479. that.getData();
  480. }, 1000);
  481. })
  482. } else if (res.cancel) {
  483. }
  484. }
  485. });
  486. },
  487. map() {
  488. console.log("打开地图")
  489. var that = this;
  490. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  491. uni.showToast({
  492. title: '该店铺未设置定位',
  493. icon: 'none',
  494. duration: 3000
  495. });
  496. } else {
  497. uni.openLocation({
  498. latitude: Number(that.orderData.shopInfo.lat),
  499. longitude: Number(that.orderData.shopInfo.lng),
  500. name: that.orderData.shopInfo.shopName,
  501. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  502. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  503. success: function() {
  504. console.log('success');
  505. },
  506. fail(err) {
  507. console.log(err)
  508. }
  509. });
  510. }
  511. },
  512. call() {
  513. uni.makePhoneCall({
  514. phoneNumber: this.orderData.shopInfo.mobilePhone
  515. });
  516. },
  517. getData() {
  518. uni.showLoading({
  519. title: '加载中'
  520. });
  521. this.$http('openH5Indent/queryOpenSheet', {
  522. id: this.id,
  523. }, 'GET').then(res => {
  524. uni.hideLoading();
  525. this.orderData = res.data;
  526. if (this.quanMaList) {
  527. this.quanMaList = [];
  528. }
  529. let maList = this.orderData.OpenSheetQRCode;
  530. if (maList) {
  531. maList.forEach(item => {
  532. if (item.writeoffState == 1) {
  533. this.quanMaList.push(item.qrCode);
  534. }
  535. })
  536. }
  537. console.log('可用券码--', this.quanMaList);
  538. })
  539. },
  540. goback() {
  541. uni.navigateBack({
  542. delta: 1
  543. })
  544. },
  545. },
  546. onPullDownRefresh() {
  547. this.getData()
  548. setTimeout(function() {
  549. uni.stopPullDownRefresh();
  550. }, 1000);
  551. },
  552. }
  553. </script>
  554. <style scoped>
  555. .box {
  556. min-height: 100vh;
  557. background: #F4F5F7;
  558. padding-bottom: 135rpx;
  559. }
  560. .zdyNavBox {
  561. width: 100vw;
  562. background: #FFFFFF;
  563. position: fixed;
  564. top: 0;
  565. left: 0;
  566. z-index: 9999999;
  567. }
  568. .zdyNav {
  569. height: 44px;
  570. display: flex;
  571. justify-content: space-between;
  572. align-items: center;
  573. }
  574. .backImg {
  575. width: 44rpx;
  576. height: 44rpx;
  577. margin-left: 10rpx;
  578. margin-right: 20rpx;
  579. }
  580. .homeImg {
  581. width: 44rpx;
  582. height: 44rpx;
  583. }
  584. .zdyNavLeft {
  585. display: flex;
  586. align-items: center;
  587. }
  588. .zdyNavTitle {
  589. height: 44px;
  590. background: #FFFFFF;
  591. text-align: center;
  592. font-size: 34rpx;
  593. line-height: 44px;
  594. }
  595. .top {
  596. height: 190rpx;
  597. background-color: #FF0000;
  598. }
  599. .orderState {
  600. display: flex;
  601. justify-content: center;
  602. align-items: center;
  603. padding-top: 40rpx;
  604. }
  605. .SheetState {
  606. display: flex;
  607. justify-content: center;
  608. font-size: 36rpx;
  609. font-weight: 500;
  610. color: #FFFFFF;
  611. margin-left: 15rpx;
  612. }
  613. .timeEditImg {
  614. width: 25rpx;
  615. height: 25rpx;
  616. padding-left: 20rpx;
  617. }
  618. .shopBoximg {
  619. width: 40rpx;
  620. height: 40rpx;
  621. }
  622. .shopRightImg {
  623. width: 44rpx;
  624. height: 45rpx;
  625. }
  626. .shopsx {
  627. width: 1px;
  628. height: 50rpx;
  629. background: #EEEEEE;
  630. margin-top: 30rpx;
  631. margin-left: 28rpx;
  632. }
  633. .shopBox {
  634. display: flex;
  635. padding: 30rpx 20rpx;
  636. margin: 0rpx 24rpx;
  637. margin-top: -60rpx;
  638. background-color: #FFFFFF;
  639. border-radius: 10rpx;
  640. }
  641. .shopCont {
  642. width: 405rpx;
  643. padding-left: 20rpx;
  644. }
  645. .shopName {
  646. font-size: 30rpx;
  647. font-weight: bold;
  648. color: #3C3C3C;
  649. line-height: 42rpx;
  650. }
  651. .Address {
  652. color: #999999;
  653. font-size: 24rpx;
  654. margin-top: 10rpx;
  655. }
  656. .shopRihgtTxt {
  657. color: #999999;
  658. font-size: 24rpx;
  659. }
  660. .shopRightBox {
  661. padding-left: 28rpx;
  662. }
  663. .detailedTitle {
  664. padding: 23rpx 20rpx;
  665. display: flex;
  666. text-align: center;
  667. align-content: flex-start;
  668. border-bottom: 1rpx solid #EEEEEE;
  669. font-size: 30rpx;
  670. font-weight: bold;
  671. color: #3C3C3C;
  672. }
  673. .detailedLine {
  674. display: flex;
  675. padding: 16rpx 20rpx;
  676. justify-content: space-between;
  677. align-items: center;
  678. }
  679. .detailedImg {
  680. width: 120rpx;
  681. height: 120rpx;
  682. border-radius: 10rpx;
  683. }
  684. .detailedName {
  685. display: flex;
  686. align-items: center;
  687. }
  688. .code {
  689. font-size: 26rpx;
  690. color: #333333;
  691. font-weight: bold;
  692. width: 180rpx
  693. }
  694. .old {
  695. color: #999999;
  696. font-weight: 400;
  697. text-decoration: line-through;
  698. }
  699. .redPoint {
  700. width: 10rpx;
  701. height: 10rpx;
  702. background: #FF0000;
  703. border-radius: 10rpx;
  704. margin-right: 10rpx;
  705. }
  706. .quanState {
  707. font-size: 22rpx;
  708. color: #F19D01;
  709. padding: 0 10rpx;
  710. border: 1rpx solid #F19D01;
  711. border-radius: 4rpx;
  712. margin-left: 20rpx;
  713. }
  714. .quanState2 {
  715. font-size: 22rpx;
  716. color: #999999;
  717. padding: 0 10rpx;
  718. border: 1rpx solid #DDDDDD;
  719. border-radius: 4rpx;
  720. margin-left: 20rpx;
  721. }
  722. .information {
  723. background: #FFFFFF;
  724. border-radius: 10rpx;
  725. margin: 20rpx 24rpx;
  726. padding-bottom: 15rpx;
  727. }
  728. .informationLine {
  729. display: flex;
  730. padding: 15rpx 20rpx;
  731. }
  732. .informationLine2 {
  733. display: flex;
  734. justify-content: space-between;
  735. font-size: 26rpx;
  736. padding: 0 20rpx;
  737. }
  738. .salePrice {
  739. font-size: 26rpx;
  740. font-weight: 500;
  741. color: #333333;
  742. line-height: 45rpx;
  743. }
  744. .money {
  745. background: #FFFFFF;
  746. border-radius: 10rpx;
  747. margin: 20rpx 24rpx;
  748. display: flex;
  749. justify-content: space-between;
  750. font-size: 26rpx;
  751. padding: 30rpx 20rpx;
  752. }
  753. .informationTxt {
  754. width: 190rpx;
  755. font-size: 26rpx;
  756. color: #999999;
  757. }
  758. .line {
  759. height: 20rpx;
  760. background-color: #FFFFFF;
  761. border-bottom: 1rpx solid #EEEEEE;
  762. }
  763. .goodsName {
  764. padding: 20rpx 20rpx 15rpx;
  765. color: #333333;
  766. font-size: 26rpx;
  767. }
  768. .informationNum {
  769. color: #333333;
  770. font-size: 26rpx;
  771. }
  772. .codeCopy {
  773. width: 77rpx;
  774. height: 36rpx;
  775. background: #F4F5F7;
  776. border-radius: 22rpx;
  777. font-size: 24rpx;
  778. color: #333333;
  779. text-align: center;
  780. line-height: 33rpx;
  781. padding: 0 15rpx;
  782. margin-left: 20rpx;
  783. }
  784. .bottom {
  785. display: flex;
  786. justify-content: flex-end;
  787. padding: 20rpx;
  788. background-color: #FFFFFF;
  789. align-items: center;
  790. height: 98rpx;
  791. width: 100vw;
  792. position: fixed;
  793. bottom: 0rpx;
  794. padding-bottom: constant(safe-area-inset-bottom);
  795. padding-bottom: env(safe-area-inset-bottom);
  796. }
  797. .cancel {
  798. color: #3C3C3C;
  799. font-size: 28rpx;
  800. width: 150rpx;
  801. height: 56rpx;
  802. border-radius: 36rpx;
  803. border: 1rpx solid #DDDDDD;
  804. text-align: center;
  805. line-height: 56rpx;
  806. margin-right: 40rpx;
  807. }
  808. .defer {
  809. color: #D53533;
  810. font-size: 28rpx;
  811. width: 150rpx;
  812. height: 56rpx;
  813. border-radius: 36rpx;
  814. border: 1rpx solid #D53533;
  815. text-align: center;
  816. line-height: 56rpx;
  817. margin-right: 40rpx;
  818. }
  819. .itemBox {
  820. margin: 20rpx;
  821. border-radius: 10rpx;
  822. border: 2rpx solid #EEEEEE;
  823. }
  824. .itemTop {
  825. padding: 18rpx 20rpx;
  826. padding-right: 0;
  827. background-color: #FFEFD5;
  828. display: flex;
  829. justify-content: space-between;
  830. align-content: center;
  831. }
  832. .topTitle {
  833. width: 104rpx;
  834. font-size: 26rpx;
  835. color: #333333;
  836. margin-right: 20rpx;
  837. text-align: right;
  838. }
  839. .leftItem {
  840. font-size: 26rpx;
  841. color: #333333;
  842. margin-right: 20rpx;
  843. flex-grow: 1;
  844. /* 隐藏文字显示 ...不换行 */
  845. overflow: hidden;
  846. text-overflow: ellipsis;
  847. white-space: nowrap;
  848. }
  849. .itemContent {
  850. padding: 20rpx;
  851. padding-right: 0;
  852. background-color: #FFFFFF;
  853. display: flex;
  854. justify-content: space-between;
  855. align-content: center;
  856. }
  857. .maBox {
  858. width: 100%;
  859. height: 100vh;
  860. background: rgba(0, 0, 0, 0.4);
  861. position: fixed;
  862. left: 0;
  863. top: 0;
  864. z-index: 9999;
  865. }
  866. .querenMa {
  867. width: 578rpx;
  868. height: 640rpx;
  869. background: #ffffff;
  870. margin: 0 86rpx;
  871. margin-top: 50%;
  872. border-radius: 24rpx;
  873. }
  874. .maTop {
  875. display: flex;
  876. justify-content: space-between;
  877. align-items: center;
  878. padding: 30rpx 20rpx 15rpx;
  879. }
  880. .maTitle {
  881. color: #666666;
  882. font-size: 26rpx;
  883. text-align: center;
  884. padding-left: 100rpx;
  885. }
  886. .swiper {
  887. width: 100%;
  888. height: 85%;
  889. background: #FFFFFF;
  890. }
  891. .swiper-item {
  892. width: 100%;
  893. height: 100%;
  894. }
  895. .maCode {
  896. font-size: 30rpx;
  897. font-weight: 500;
  898. color: #333333;
  899. line-height: 42rpx;
  900. margin-bottom: 40rpx;
  901. text-align: center;
  902. }
  903. .maBoximg {
  904. width: 400rpx;
  905. height: 400rpx;
  906. margin-left: 86rpx;
  907. }
  908. .tuikuanBox {
  909. width: 100%;
  910. height: 100vh;
  911. background: rgba(0, 0, 0, 0.4);
  912. position: fixed;
  913. left: 0;
  914. top: 0;
  915. z-index: 999;
  916. }
  917. .tuikuan {
  918. width: 638rpx;
  919. height: 664rpx;
  920. background: #ffffff;
  921. margin: 0 36rpx;
  922. margin-top: 50%;
  923. border-radius: 24rpx;
  924. padding: 30rpx 20rpx;
  925. }
  926. .tuiTop {
  927. display: flex;
  928. justify-content: space-between;
  929. margin-bottom: 36rpx;
  930. }
  931. .tuiTitle {
  932. width: 56rpx;
  933. height: 40rpx;
  934. font-size: 28rpx;
  935. font-weight: 500;
  936. color: #3C3C3C;
  937. line-height: 40rpx;
  938. }
  939. .contLine {
  940. display: flex;
  941. justify-content: space-between;
  942. font-size: 28rpx;
  943. padding: 30rpx 0;
  944. border-bottom: 1px solid #EEEEEE;
  945. }
  946. .contlineLeft {
  947. color: #666666;
  948. line-height: 40rpx;
  949. align-items: center;
  950. }
  951. .star {
  952. width: 14rpx;
  953. height: 14rpx;
  954. padding-bottom: 5rpx;
  955. }
  956. .carModel {
  957. width: 350rpx;
  958. text-align: left;
  959. }
  960. .noColor {
  961. color: #CCCCCC;
  962. }
  963. .carModelRight {
  964. display: flex;
  965. justify-content: flex-start;
  966. align-items: center;
  967. }
  968. .contlineRight {
  969. color: #333333;
  970. line-height: 40rpx;
  971. width: 400rpx;
  972. text-align: right;
  973. }
  974. .contlineRightInput {
  975. color: #333333;
  976. text-align: left;
  977. font-size: 28rpx;
  978. min-height: 182rpx;
  979. width: 400rpx;
  980. }
  981. .contlineRightJt {
  982. width: 30rpx;
  983. height: 30rpx;
  984. }
  985. .tuiBtns {
  986. display: flex;
  987. padding: 40rpx 20rpx 10rpx;
  988. }
  989. .btn {
  990. width: 288rpx;
  991. height: 98rpx;
  992. background: #F4F5F7;
  993. border-radius: 10rpx;
  994. margin-right: 22rpx;
  995. font-size: 30rpx;
  996. font-weight: 500;
  997. color: #3C3C3C;
  998. line-height: 98rpx;
  999. text-align: center;
  1000. }
  1001. .btn2 {
  1002. width: 288rpx;
  1003. height: 98rpx;
  1004. background: #3F90F7;
  1005. border-radius: 10rpx;
  1006. font-size: 30rpx;
  1007. font-weight: 500;
  1008. color: #FFFFFF;
  1009. line-height: 98rpx;
  1010. text-align: center;
  1011. }
  1012. </style>