paintOrderDetail.vue 26 KB

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