mallOrderDetail.vue 26 KB

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