mallOrderDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877
  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.length>0">
  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.length>0">
  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. }
  200. },
  201. onLoad(opt) {
  202. this.id = opt.id
  203. this.SheetType = opt.SheetType
  204. if (this.id) {
  205. this.getData()
  206. }
  207. },
  208. methods: {
  209. pay(){
  210. this.$http('openMallOrder/unifiedPay', {
  211. sheetId:this.id
  212. },'POST').then(res => {
  213. if(res.code==0){
  214. this.requestPayment(res.data)
  215. }else{
  216. uni.showToast({
  217. title: res.msg,
  218. icon: 'none',
  219. duration: 3000
  220. });
  221. }
  222. })
  223. },
  224. requestPayment(res){
  225. var payInfo=res;
  226. //console.log(payInfo)
  227. //console.log(String(Date.now()))
  228. var that=this;
  229. uni.requestPayment({
  230. provider: 'wxpay',
  231. //timeStamp: String(Date.now()),
  232. timeStamp: payInfo.timeStamp,
  233. nonceStr: payInfo.nonceStr,
  234. package:payInfo.package,
  235. signType: payInfo.signType,
  236. paySign: payInfo.paySign,
  237. appid:payInfo.appId,
  238. success: function (res) {
  239. console.log('success:' + JSON.stringify(res));
  240. uni.showToast({
  241. title: '支付成功',
  242. icon:'none',
  243. duration: 2000
  244. });
  245. that.getData()
  246. },
  247. fail: function (err) {
  248. console.log(err)
  249. uni.showToast({
  250. title: '支付失败',
  251. icon:'none',
  252. duration: 2000
  253. });
  254. }
  255. });
  256. },
  257. copy(txt) {
  258. uni.setClipboardData({
  259. data: txt,
  260. success: function() {
  261. uni.showToast({
  262. title: '复制成功',
  263. icon: 'none',
  264. duration: 2000
  265. });
  266. }
  267. });
  268. },
  269. upTime() {
  270. uni.showLoading({
  271. title: '加载中'
  272. })
  273. var that = this
  274. this.$http('openreservation/carOwner/updateTimeOfAppointment', {
  275. id: this.id,
  276. shopId: this.orderData.shopInfo.id,
  277. billDate: this.billDate
  278. }, 'POST').then(res => {
  279. uni.hideLoading();
  280. // var list = res.data.Items
  281. var list = res.data
  282. console.log("result+=", res.data);
  283. uni.showToast({
  284. title: '延期成功',
  285. icon: 'none',
  286. duration: 2000
  287. });
  288. setTimeout(function() {
  289. that.getData();
  290. }, 1000);
  291. })
  292. },
  293. cancelBespeak(){
  294. var that = this
  295. uni.showModal({
  296. title: '提示',
  297. content: '是否取消该订单',
  298. cancelText:'否',
  299. confirmText:'是',
  300. success: function (res) {
  301. if (res.confirm) {
  302. uni.showLoading({
  303. title: '加载中'
  304. })
  305. that.$http('openOrderManagement/updateSheetState', {
  306. id: that.id,
  307. }, 'POST').then(res => {
  308. uni.hideLoading();
  309. // var list = res.data.Items
  310. uni.showToast({
  311. title: '取消成功',
  312. icon: 'none',
  313. duration: 2000
  314. });
  315. setTimeout(function() {
  316. that.getData();
  317. }, 1000);
  318. })
  319. } else if (res.cancel) {
  320. }
  321. }
  322. });
  323. },
  324. map() {
  325. console.log("打开地图")
  326. var that = this;
  327. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  328. uni.showToast({
  329. title: '该店铺未设置定位',
  330. icon: 'none',
  331. duration: 3000
  332. });
  333. } else {
  334. uni.openLocation({
  335. latitude: Number(that.orderData.shopInfo.lat),
  336. longitude: Number(that.orderData.shopInfo.lng),
  337. name: that.orderData.shopInfo.shopName,
  338. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  339. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  340. success: function() {
  341. console.log('success');
  342. },
  343. fail(err) {
  344. console.log(err)
  345. }
  346. });
  347. }
  348. },
  349. call() {
  350. uni.makePhoneCall({
  351. phoneNumber: this.orderData.shopInfo.mobilePhone
  352. });
  353. },
  354. getData() {
  355. uni.showLoading({
  356. title: '加载中'
  357. });
  358. this.$http('openOrderManagement/queryOpenSheet', {
  359. id: this.id,
  360. }, 'GET').then(res => {
  361. uni.hideLoading();
  362. this.orderData = res.data;
  363. })
  364. },
  365. goback() {
  366. uni.navigateBack({})
  367. },
  368. },
  369. onPullDownRefresh() {
  370. this.getData()
  371. setTimeout(function() {
  372. uni.stopPullDownRefresh();
  373. }, 1000);
  374. },
  375. }
  376. </script>
  377. <style scoped>
  378. .box {
  379. min-height: 100vh;
  380. background: #F4F5F7;
  381. padding-bottom: 135rpx;
  382. }
  383. .top {
  384. height: 190rpx;
  385. background-color: #FF0000;
  386. }
  387. .orderState {
  388. display: flex;
  389. justify-content: center;
  390. align-items: center;
  391. padding-top: 40rpx;
  392. }
  393. .SheetState {
  394. display: flex;
  395. justify-content: center;
  396. font-size: 36rpx;
  397. font-weight: 500;
  398. color: #FFFFFF;
  399. margin-left: 15rpx;
  400. }
  401. .timeEditImg {
  402. width: 25rpx;
  403. height: 25rpx;
  404. padding-left: 20rpx;
  405. }
  406. .shopBoximg {
  407. width: 40rpx;
  408. height: 40rpx;
  409. }
  410. .shopRightImg {
  411. width: 44rpx;
  412. height: 45rpx;
  413. }
  414. .shopsx {
  415. width: 1px;
  416. height: 50rpx;
  417. background: #EEEEEE;
  418. margin-top: 30rpx;
  419. margin-left: 28rpx;
  420. }
  421. .shopBox {
  422. display: flex;
  423. padding: 30rpx 20rpx;
  424. margin: 0rpx 24rpx;
  425. margin-top: -60rpx;
  426. background-color: #FFFFFF;
  427. border-radius: 10rpx;
  428. }
  429. .shopCont {
  430. width: 405rpx;
  431. padding-left: 20rpx;
  432. }
  433. .shopName {
  434. font-size: 30rpx;
  435. font-weight: bold;
  436. color: #3C3C3C;
  437. line-height: 42rpx;
  438. }
  439. .Address {
  440. color: #999999;
  441. font-size: 24rpx;
  442. margin-top: 10rpx;
  443. }
  444. .shopRihgtTxt {
  445. color: #999999;
  446. font-size: 24rpx;
  447. }
  448. .shopRightBox {
  449. padding-left: 28rpx;
  450. }
  451. .detailedTitle {
  452. padding: 23rpx 20rpx;
  453. display: flex;
  454. text-align: center;
  455. align-content: flex-start;
  456. border-bottom: 1rpx solid #EEEEEE;
  457. font-size: 30rpx;
  458. font-weight: bold;
  459. color: #3C3C3C;
  460. }
  461. .detailedLine {
  462. display: flex;
  463. padding: 16rpx 20rpx;
  464. justify-content: space-between;
  465. align-items: center;
  466. }
  467. .detailedImg {
  468. width: 120rpx;
  469. height: 120rpx;
  470. border-radius: 10rpx;
  471. }
  472. .detailedName {
  473. display: flex;
  474. align-items: center;
  475. }
  476. .code {
  477. font-size: 26rpx;
  478. color: #333333;
  479. font-weight: bold;
  480. width: 180rpx
  481. }
  482. .old {
  483. color: #999999;
  484. font-weight: 400;
  485. text-decoration: line-through;
  486. }
  487. .redPoint {
  488. width: 10rpx;
  489. height: 10rpx;
  490. background: #FF0000;
  491. border-radius: 10rpx;
  492. margin-right: 10rpx;
  493. }
  494. .quanState {
  495. font-size: 22rpx;
  496. color: #F19D01;
  497. padding: 0 10rpx;
  498. border: 1rpx solid #F19D01;
  499. border-radius: 4rpx;
  500. margin-left: 20rpx;
  501. }
  502. .quanState2{
  503. font-size: 22rpx;
  504. color: #999999;
  505. padding: 0 10rpx;
  506. border: 1rpx solid #DDDDDD;
  507. border-radius: 4rpx;
  508. margin-left: 20rpx;
  509. }
  510. .information {
  511. background: #FFFFFF;
  512. border-radius: 10rpx;
  513. margin: 20rpx 24rpx;
  514. padding-bottom: 15rpx;
  515. }
  516. .informationLine {
  517. display: flex;
  518. padding: 15rpx 20rpx;
  519. }
  520. .informationLine2 {
  521. display: flex;
  522. justify-content: space-between;
  523. font-size: 26rpx;
  524. padding: 0 20rpx;
  525. }
  526. .salePrice {
  527. font-size: 26rpx;
  528. font-weight: 500;
  529. color: #333333;
  530. line-height: 45rpx;
  531. }
  532. .money {
  533. background: #FFFFFF;
  534. border-radius: 10rpx;
  535. margin: 20rpx 24rpx;
  536. display: flex;
  537. justify-content: space-between;
  538. font-size: 26rpx;
  539. padding: 30rpx 20rpx;
  540. }
  541. .informationTxt {
  542. width: 190rpx;
  543. font-size: 26rpx;
  544. color: #999999;
  545. }
  546. .line {
  547. height: 20rpx;
  548. background-color: #FFFFFF;
  549. border-bottom: 1rpx solid #EEEEEE;
  550. }
  551. .goodsName {
  552. padding: 20rpx 20rpx 15rpx;
  553. color: #333333;
  554. font-size: 26rpx;
  555. }
  556. .informationNum {
  557. color: #333333;
  558. font-size: 26rpx;
  559. }
  560. .codeCopy {
  561. width: 77rpx;
  562. height: 36rpx;
  563. background: #F4F5F7;
  564. border-radius: 22rpx;
  565. font-size: 24rpx;
  566. color: #333333;
  567. text-align: center;
  568. line-height: 33rpx;
  569. padding: 0 15rpx;
  570. margin-left: 20rpx;
  571. }
  572. .orderBottom {
  573. width: 750rpx;
  574. height: 98rpx;
  575. background: #FFFFFF;
  576. position: fixed;
  577. left: 0;
  578. bottom: 0;
  579. display: flex;
  580. justify-content: flex-end;
  581. }
  582. .bottom {
  583. display: flex;
  584. justify-content: flex-end;
  585. padding: 20rpx;
  586. background-color: #FFFFFF;
  587. align-items: center;
  588. height: 98rpx;
  589. width: 100vw;
  590. position: fixed;
  591. bottom: 0rpx;
  592. padding-bottom: constant(safe-area-inset-bottom);
  593. padding-bottom: env(safe-area-inset-bottom);
  594. }
  595. .cancel {
  596. color: #3C3C3C;
  597. font-size: 28rpx;
  598. width: 150rpx;
  599. height: 56rpx;
  600. border-radius: 36rpx;
  601. border: 1rpx solid #DDDDDD;
  602. text-align: center;
  603. line-height: 56rpx;
  604. margin-right: 40rpx;
  605. }
  606. .defer {
  607. color: #D53533;
  608. font-size: 28rpx;
  609. width: 150rpx;
  610. height: 56rpx;
  611. border-radius: 36rpx;
  612. border: 1rpx solid #D53533;
  613. text-align: center;
  614. line-height: 56rpx;
  615. margin-right: 40rpx;
  616. }
  617. .itemBox {
  618. margin: 20rpx;
  619. border-radius: 10rpx;
  620. border: 2rpx solid #EEEEEE;
  621. }
  622. .itemTop {
  623. padding: 18rpx 20rpx;
  624. background-color: #FFEFD5;
  625. display: flex;
  626. justify-content: space-between;
  627. align-content: center;
  628. }
  629. .topTitle {
  630. font-size: 26rpx;
  631. color: #333333;
  632. margin-right: 10rpx;
  633. }
  634. .topTitle2{
  635. font-size: 26rpx;
  636. color: #333333;
  637. margin-right: 40rpx;
  638. }
  639. .leftItem {
  640. flex-grow: 1;
  641. }
  642. .itemContent {
  643. padding: 20rpx;
  644. background-color: #FFFFFF;
  645. display: flex;
  646. justify-content: space-between;
  647. align-content: center;
  648. }
  649. .maBox {
  650. width: 100%;
  651. height: 100vh;
  652. background: rgba(0, 0, 0, 0.4);
  653. position: fixed;
  654. left: 0;
  655. top: 0;
  656. z-index: 9999;
  657. }
  658. .querenMa {
  659. width: 578;
  660. height: 640rpx;
  661. background: #ffffff;
  662. margin: 0 86rpx;
  663. margin-top: 50%;
  664. border-radius: 24rpx;
  665. }
  666. .maTop {
  667. display: flex;
  668. justify-content: space-between;
  669. align-items: center;
  670. padding: 30rpx 20rpx 15rpx;
  671. }
  672. .maTitle {
  673. color: #666666;
  674. font-size: 26rpx;
  675. text-align: center;
  676. padding-left: 100rpx;
  677. }
  678. .swiper{
  679. width: 100%;
  680. height: 85%;
  681. background: #FFFFFF;
  682. }
  683. .swiper-item{
  684. width: 100%;
  685. height: 100%;
  686. }
  687. .maCode {
  688. font-size: 30rpx;
  689. font-weight: 500;
  690. color: #333333;
  691. line-height: 42rpx;
  692. margin-bottom: 40rpx;
  693. text-align: center;
  694. }
  695. .maBoximg {
  696. width: 400rpx;
  697. height: 400rpx;
  698. margin-left: 86rpx;
  699. }
  700. </style>