paintOrderDetail.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098
  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 class="cancel" @click="cancelBespeak">取消订单</view>
  143. </view>
  144. <!-- 待服务 -->
  145. <view class="bottom" v-if="orderData.data.sheetState == 2">
  146. <view class="defer" @click="isShowTui=true">退款</view>
  147. <view class="defer" @click="goHeXiao">核销</view>
  148. <!-- <view class="defer" @click="">开单</view> -->
  149. <!-- <view 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. <!-- <view class="uni-input noColor" v-else>请选择</view> -->
  189. </picker>
  190. <image src="../../static/img/little_rightArrow.png" mode="" class="contlineRightJt"></image>
  191. </view>
  192. </view>
  193. <view class="contLine">
  194. <view class="contlineLeft">
  195. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  196. 退款金额
  197. </view>
  198. <view class="contlineRight carModelRight" @click="cktime">
  199. <span class="carModel">{{orderData.data.realMoney}}</span>
  200. </view>
  201. </view>
  202. <view class="contLine">
  203. <view class="contlineLeft">
  204. <image src="" mode="" class="star"></image>
  205. 补充描述
  206. </view>
  207. <view class="contlineRight">
  208. <textarea placeholder-style="color:#999999" placeholder="请输入" v-model="tuikuanContent"
  209. class="contlineRightInput" maxlength="-1" auto-height="true" @confirm="feedDone" />
  210. </view>
  211. </view>
  212. <view class="tuiBtns">
  213. <view class="btn" @click="isShowTui=false">取消</view>
  214. <view class="btn2" @click="goTui">确认退款</view>
  215. </view>
  216. </view>
  217. </view>
  218. </view>
  219. </template>
  220. <script>
  221. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  222. export default {
  223. components: {
  224. tkiQrcode
  225. },
  226. data() {
  227. return {
  228. id: '',
  229. iStatusBarHeight:'',
  230. orderData: '',
  231. onval: true, // val值变化时自动重新生成二维码
  232. loadMake: true, // 组件加载完成后自动生成二维码
  233. size: 500,
  234. qrcodeShow: false,
  235. qrcodeTop: '-100vh',
  236. qrcodeTopVal: '',
  237. ifShow: false,
  238. val: '二维码', // 要生成的二维码值
  239. unit: 'upx', // 单位
  240. background: '#b4e9e2', // 背景色
  241. foreground: '#309286', // 前景色
  242. pdground: '#262637', // 角标色
  243. icon: '', // 二维码图标
  244. iconsize: 40, // 二维码图标大小
  245. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  246. src: '', // 二维码生成后的图片地址或base64
  247. isShowMa: false,
  248. quanMaList:[],
  249. isShowTui: false,
  250. tuicauseList:[],
  251. tuikuanContent:'',
  252. index: 0,
  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. },
  263. methods: {
  264. goTui(){
  265. let yuanyin = this.tuicauseList[this.index].contents
  266. if (!yuanyin) {
  267. uni.showToast({
  268. title: '请选择退款原因',
  269. icon: 'none',
  270. duration: 3000
  271. });
  272. return false;
  273. }
  274. uni.showLoading({
  275. title: '加载中'
  276. })
  277. var that = this
  278. this.$http('openH5Indent/reimburse', {
  279. id: this.id,
  280. refundReason: yuanyin,
  281. refundComment: this.tuikuanContent,
  282. realMoney:this.orderData.data.realMoney
  283. }, 'GET').then(res => {
  284. uni.hideLoading();
  285. // var list = res.data.Items
  286. var list = res.data
  287. console.log("result+=", res.data);
  288. if (res.data) {
  289. that.isShowTui = false
  290. uni.showToast({
  291. title: '退款成功',
  292. icon: 'none',
  293. duration: 2000
  294. });
  295. setTimeout(function() {
  296. that.getData();
  297. }, 1000);
  298. }
  299. })
  300. },
  301. bindChange(e) {
  302. console.log(e);
  303. this.index = e.detail.value
  304. },
  305. feedDone(e) {
  306. this.tuikuanContent = e.target.value
  307. },
  308. // 核销
  309. goHeXiao(){
  310. //app交互
  311. var standalone = window.navigator.standalone
  312. var userAgent = window.navigator.userAgent.toLowerCase()
  313. var safari = /safari/.test(userAgent)
  314. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  315. var android = /android/.test(userAgent)
  316. if (ios) {
  317. if ( true) {//!standalone&& !safari
  318. window.webkit.messageHandlers.goHeXiao.postMessage({"id":this.id?this.id:''})
  319. }
  320. } else if (android) {
  321. window.android.postMessage()
  322. }
  323. },
  324. getTuiKuanData() {
  325. uni.showLoading({
  326. title: '加载中'
  327. });
  328. this.$http('openH5Indent/getOpenReason', {
  329. // id: this.id,
  330. }, 'GET').then(res => {
  331. uni.hideLoading();
  332. this.tuicauseList = res.data;
  333. })
  334. },
  335. pay(){
  336. this.$http('openMallOrder/unifiedPay', {
  337. sheetId:this.id
  338. },'POST').then(res => {
  339. if(res.code==0){
  340. this.requestPayment(res.data)
  341. }else{
  342. uni.showToast({
  343. title: res.msg,
  344. icon: 'none',
  345. duration: 3000
  346. });
  347. }
  348. })
  349. },
  350. requestPayment(res){
  351. var payInfo=res;
  352. //console.log(payInfo)
  353. //console.log(String(Date.now()))
  354. var that=this;
  355. uni.requestPayment({
  356. provider: 'wxpay',
  357. //timeStamp: String(Date.now()),
  358. timeStamp: payInfo.timeStamp,
  359. nonceStr: payInfo.nonceStr,
  360. package:payInfo.package,
  361. signType: payInfo.signType,
  362. paySign: payInfo.paySign,
  363. appid:payInfo.appId,
  364. success: function (res) {
  365. console.log('success:' + JSON.stringify(res));
  366. uni.showToast({
  367. title: '支付成功',
  368. icon:'none',
  369. duration: 2000
  370. });
  371. that.getData()
  372. },
  373. fail: function (err) {
  374. console.log(err)
  375. uni.showToast({
  376. title: '支付失败',
  377. icon:'none',
  378. duration: 2000
  379. });
  380. }
  381. });
  382. },
  383. copy(txt) {
  384. uni.setClipboardData({
  385. data: txt,
  386. success: function() {
  387. uni.showToast({
  388. title: '复制成功',
  389. icon: 'none',
  390. duration: 2000
  391. });
  392. }
  393. });
  394. },
  395. upTime() {
  396. uni.showLoading({
  397. title: '加载中'
  398. })
  399. var that = this
  400. this.$http('openH5Indent/carOwner/updateTimeOfAppointment', {
  401. id: this.id,
  402. shopId: this.orderData.shopInfo.id,
  403. billDate: this.billDate
  404. }, 'POST').then(res => {
  405. uni.hideLoading();
  406. // var list = res.data.Items
  407. var list = res.data
  408. console.log("result+=", res.data);
  409. uni.showToast({
  410. title: '延期成功',
  411. icon: 'none',
  412. duration: 2000
  413. });
  414. setTimeout(function() {
  415. that.getData();
  416. }, 1000);
  417. })
  418. },
  419. cancelBespeak(){
  420. var that = this
  421. uni.showModal({
  422. title: '提示',
  423. content: '是否取消该订单',
  424. cancelText:'否',
  425. confirmText:'是',
  426. success: function (res) {
  427. if (res.confirm) {
  428. uni.showLoading({
  429. title: '加载中'
  430. })
  431. that.$http('openH5Indent/updateSheetState', {
  432. id: that.id,
  433. }, 'POST').then(res => {
  434. uni.hideLoading();
  435. // var list = res.data.Items
  436. uni.showToast({
  437. title: '取消成功',
  438. icon: 'none',
  439. duration: 2000
  440. });
  441. setTimeout(function() {
  442. that.getData();
  443. }, 1000);
  444. })
  445. } else if (res.cancel) {
  446. }
  447. }
  448. });
  449. },
  450. map() {
  451. console.log("打开地图")
  452. var that = this;
  453. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  454. uni.showToast({
  455. title: '该店铺未设置定位',
  456. icon: 'none',
  457. duration: 3000
  458. });
  459. } else {
  460. uni.openLocation({
  461. latitude: Number(that.orderData.shopInfo.lat),
  462. longitude: Number(that.orderData.shopInfo.lng),
  463. name: that.orderData.shopInfo.shopName,
  464. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  465. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  466. success: function() {
  467. console.log('success');
  468. },
  469. fail(err) {
  470. console.log(err)
  471. }
  472. });
  473. }
  474. },
  475. call() {
  476. uni.makePhoneCall({
  477. phoneNumber: this.orderData.shopInfo.mobilePhone
  478. });
  479. },
  480. getData() {
  481. uni.showLoading({
  482. title: '加载中'
  483. });
  484. this.$http('openH5Indent/queryOpenSheet', {
  485. id: this.id,
  486. }, 'GET').then(res => {
  487. uni.hideLoading();
  488. this.orderData = res.data;
  489. if (this.quanMaList) {
  490. this.quanMaList = [];
  491. }
  492. let maList = this.orderData.OpenSheetQRCode;
  493. if (maList) {
  494. maList.forEach(item =>{
  495. if (item.writeoffState==1) {
  496. this.quanMaList.push(item.qrCode);
  497. }
  498. })
  499. }
  500. console.log('可用券码--',this.quanMaList);
  501. })
  502. },
  503. goback() {
  504. uni.navigateBack({
  505. delta: 1
  506. })
  507. },
  508. gohome(){
  509. uni.switchTab({
  510. url:'../../index/index'
  511. })
  512. },
  513. },
  514. onPullDownRefresh() {
  515. this.getData()
  516. setTimeout(function() {
  517. uni.stopPullDownRefresh();
  518. }, 1000);
  519. },
  520. }
  521. </script>
  522. <style scoped>
  523. .box {
  524. min-height: 100vh;
  525. background: #F4F5F7;
  526. padding-bottom: 135rpx;
  527. }
  528. .zdyNavBox{
  529. width: 100vw;
  530. background: #FFFFFF;
  531. position: fixed;
  532. top: 0;
  533. left: 0;
  534. z-index: 9999999;
  535. }
  536. .zdyNav{
  537. height: 44px;
  538. display: flex;
  539. justify-content: space-between;
  540. align-items: center;
  541. }
  542. .backImg{
  543. width: 44rpx;
  544. height: 44rpx;
  545. margin-left: 10rpx;
  546. margin-right: 20rpx;
  547. }
  548. .homeImg{
  549. width: 44rpx;
  550. height: 44rpx;
  551. }
  552. .zdyNavLeft{
  553. display: flex;
  554. align-items: center;
  555. }
  556. .zdyNavTitle{
  557. height: 44px;
  558. background: #FFFFFF;
  559. text-align: center;
  560. font-size: 34rpx;
  561. line-height: 44px;
  562. }
  563. .top {
  564. height: 190rpx;
  565. background-color: #FF0000;
  566. }
  567. .orderState {
  568. display: flex;
  569. justify-content: center;
  570. align-items: center;
  571. padding-top: 40rpx;
  572. }
  573. .SheetState {
  574. display: flex;
  575. justify-content: center;
  576. font-size: 36rpx;
  577. font-weight: 500;
  578. color: #FFFFFF;
  579. margin-left: 15rpx;
  580. }
  581. .timeEditImg {
  582. width: 25rpx;
  583. height: 25rpx;
  584. padding-left: 20rpx;
  585. }
  586. .shopBoximg {
  587. width: 40rpx;
  588. height: 40rpx;
  589. }
  590. .shopRightImg {
  591. width: 44rpx;
  592. height: 45rpx;
  593. }
  594. .shopsx {
  595. width: 1px;
  596. height: 50rpx;
  597. background: #EEEEEE;
  598. margin-top: 30rpx;
  599. margin-left: 28rpx;
  600. }
  601. .shopBox {
  602. display: flex;
  603. padding: 30rpx 20rpx;
  604. margin: 0rpx 24rpx;
  605. margin-top: -60rpx;
  606. background-color: #FFFFFF;
  607. border-radius: 10rpx;
  608. }
  609. .shopCont {
  610. width: 405rpx;
  611. padding-left: 20rpx;
  612. }
  613. .shopName {
  614. font-size: 30rpx;
  615. font-weight: bold;
  616. color: #3C3C3C;
  617. line-height: 42rpx;
  618. }
  619. .Address {
  620. color: #999999;
  621. font-size: 24rpx;
  622. margin-top: 10rpx;
  623. }
  624. .shopRihgtTxt {
  625. color: #999999;
  626. font-size: 24rpx;
  627. }
  628. .shopRightBox {
  629. padding-left: 28rpx;
  630. }
  631. .detailedTitle {
  632. padding: 23rpx 20rpx;
  633. display: flex;
  634. text-align: center;
  635. align-content: flex-start;
  636. border-bottom: 1rpx solid #EEEEEE;
  637. font-size: 30rpx;
  638. font-weight: bold;
  639. color: #3C3C3C;
  640. }
  641. .detailedLine {
  642. display: flex;
  643. padding: 16rpx 20rpx;
  644. justify-content: space-between;
  645. align-items: center;
  646. }
  647. .detailedImg {
  648. width: 120rpx;
  649. height: 120rpx;
  650. border-radius: 10rpx;
  651. }
  652. .detailedName {
  653. display: flex;
  654. align-items: center;
  655. }
  656. .code {
  657. font-size: 26rpx;
  658. color: #333333;
  659. font-weight: bold;
  660. width: 180rpx
  661. }
  662. .old {
  663. color: #999999;
  664. font-weight: 400;
  665. text-decoration: line-through;
  666. }
  667. .redPoint {
  668. width: 10rpx;
  669. height: 10rpx;
  670. background: #FF0000;
  671. border-radius: 10rpx;
  672. margin-right: 10rpx;
  673. }
  674. .quanState {
  675. font-size: 22rpx;
  676. color: #F19D01;
  677. padding: 0 10rpx;
  678. border: 1rpx solid #F19D01;
  679. border-radius: 4rpx;
  680. margin-left: 20rpx;
  681. }
  682. .quanState2{
  683. font-size: 22rpx;
  684. color: #999999;
  685. padding: 0 10rpx;
  686. border: 1rpx solid #DDDDDD;
  687. border-radius: 4rpx;
  688. margin-left: 20rpx;
  689. }
  690. .information {
  691. background: #FFFFFF;
  692. border-radius: 10rpx;
  693. margin: 20rpx 24rpx;
  694. padding-bottom: 15rpx;
  695. }
  696. .informationLine {
  697. display: flex;
  698. padding: 15rpx 20rpx;
  699. }
  700. .informationLine2 {
  701. display: flex;
  702. justify-content: space-between;
  703. font-size: 26rpx;
  704. padding: 20rpx;
  705. align-items: center;
  706. padding-bottom: 0;
  707. }
  708. .salePrice {
  709. font-size: 26rpx;
  710. font-weight: 500;
  711. color: #333333;
  712. line-height: 45rpx;
  713. }
  714. .money {
  715. background: #FFFFFF;
  716. border-radius: 10rpx;
  717. margin: 20rpx 24rpx;
  718. display: flex;
  719. justify-content: space-between;
  720. font-size: 26rpx;
  721. padding: 30rpx 20rpx;
  722. }
  723. .informationTxt {
  724. width: 190rpx;
  725. font-size: 26rpx;
  726. color: #999999;
  727. }
  728. .line {
  729. height: 20rpx;
  730. background-color: #FFFFFF;
  731. border-bottom: 1rpx solid #EEEEEE;
  732. }
  733. .goodsName {
  734. width: 80%;
  735. color: #333333;
  736. font-size: 26rpx;
  737. }
  738. .goodsName2{
  739. padding: 20rpx 20rpx 15rpx;
  740. color: #333333;
  741. font-size: 26rpx;
  742. }
  743. .informationNum {
  744. color: #333333;
  745. font-size: 26rpx;
  746. }
  747. .codeCopy {
  748. width: 77rpx;
  749. height: 36rpx;
  750. background: #F4F5F7;
  751. border-radius: 22rpx;
  752. font-size: 24rpx;
  753. color: #333333;
  754. text-align: center;
  755. line-height: 33rpx;
  756. padding: 0 15rpx;
  757. margin-left: 20rpx;
  758. }
  759. .orderBottom {
  760. width: 750rpx;
  761. height: 98rpx;
  762. background: #FFFFFF;
  763. position: fixed;
  764. left: 0;
  765. bottom: 0;
  766. display: flex;
  767. justify-content: flex-end;
  768. }
  769. .bottom {
  770. display: flex;
  771. justify-content: flex-end;
  772. padding: 20rpx;
  773. background-color: #FFFFFF;
  774. align-items: center;
  775. height: 98rpx;
  776. width: 100vw;
  777. position: fixed;
  778. bottom: 0rpx;
  779. padding-bottom: constant(safe-area-inset-bottom);
  780. padding-bottom: env(safe-area-inset-bottom);
  781. }
  782. .cancel {
  783. color: #3C3C3C;
  784. font-size: 28rpx;
  785. width: 150rpx;
  786. height: 56rpx;
  787. border-radius: 36rpx;
  788. border: 1rpx solid #DDDDDD;
  789. text-align: center;
  790. line-height: 56rpx;
  791. margin-right: 40rpx;
  792. }
  793. .defer {
  794. color: #D53533;
  795. font-size: 28rpx;
  796. width: 150rpx;
  797. height: 56rpx;
  798. border-radius: 36rpx;
  799. border: 1rpx solid #D53533;
  800. text-align: center;
  801. line-height: 56rpx;
  802. margin-right: 40rpx;
  803. }
  804. .itemBox {
  805. margin: 20rpx;
  806. border-radius: 10rpx;
  807. border: 2rpx solid #EEEEEE;
  808. }
  809. .itemTop {
  810. padding: 18rpx 20rpx;
  811. padding-right: 0;
  812. background-color: #FFEFD5;
  813. display: flex;
  814. justify-content: space-between;
  815. align-content: center;
  816. }
  817. .topTitle {
  818. width: 104rpx;
  819. font-size: 26rpx;
  820. color: #333333;
  821. margin-right: 20rpx;
  822. text-align: right;
  823. }
  824. .leftItem {
  825. font-size: 26rpx;
  826. color: #333333;
  827. margin-right: 20rpx;
  828. flex-grow: 1;
  829. /* 隐藏文字显示 ...不换行 */
  830. overflow: hidden;
  831. text-overflow: ellipsis;
  832. white-space: nowrap;
  833. }
  834. .itemContent {
  835. padding: 20rpx;
  836. padding-right: 0;
  837. background-color: #FFFFFF;
  838. display: flex;
  839. justify-content: space-between;
  840. align-content: center;
  841. }
  842. .maBox {
  843. width: 100%;
  844. height: 100vh;
  845. background: rgba(0, 0, 0, 0.4);
  846. position: fixed;
  847. left: 0;
  848. top: 0;
  849. z-index: 9999;
  850. }
  851. .querenMa {
  852. width: 578;
  853. height: 640rpx;
  854. background: #ffffff;
  855. margin: 0 86rpx;
  856. margin-top: 50%;
  857. border-radius: 24rpx;
  858. }
  859. .maTop {
  860. display: flex;
  861. justify-content: space-between;
  862. align-items: center;
  863. padding: 30rpx 20rpx 15rpx;
  864. }
  865. .maTitle {
  866. color: #666666;
  867. font-size: 26rpx;
  868. text-align: center;
  869. padding-left: 100rpx;
  870. }
  871. .swiper{
  872. width: 100%;
  873. height: 85%;
  874. background: #FFFFFF;
  875. }
  876. .swiper-item{
  877. width: 100%;
  878. height: 100%;
  879. }
  880. .maCode {
  881. font-size: 30rpx;
  882. font-weight: 500;
  883. color: #333333;
  884. line-height: 42rpx;
  885. margin-bottom: 40rpx;
  886. text-align: center;
  887. }
  888. .maBoximg {
  889. width: 400rpx;
  890. height: 400rpx;
  891. margin-left: 86rpx;
  892. }
  893. </style>