paintOrderDetail.vue 20 KB

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