mallOrderDetail.vue 26 KB

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