mallOrderDetail.vue 19 KB

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