mallOrderDetail.vue 21 KB

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