mallOrderDetail.vue 21 KB

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