activityOrderDetail.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. <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="informationLine2">
  50. <view class="goodsName">{{item.itemName}}</view>
  51. <view class="goodsName3">活动详情
  52. <image src="../../../static/img/little_rightArrow.png" mode="" style="width: 30rpx;height: 30rpx;"></image>
  53. </view>
  54. </view>
  55. <view class="salePrice"><span class="informationNum">¥</span>{{item.salePrice}}</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="goodsName2">
  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="money">
  80. <view class="informationNum">实付款:</view>
  81. <view class="informationNum" style="color: #FF0000;font-weight: bold;">¥{{orderData.data.realMoney}}</view>
  82. </view>
  83. <!-- 订单信息 -->
  84. <view class="information">
  85. <view class="detailedTitle">订单信息</view>
  86. <view class="informationLine">
  87. <view class="informationTxt">车牌号:</view>
  88. <view class="informationNum">{{orderData.data.plateNumber}}</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.unit}}</view>
  101. </view>
  102. <view class="informationLine">
  103. <view class="informationTxt">报名时间:</view>
  104. <view class="informationNum">{{orderData.data.createTime}}</view>
  105. </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>
  112. <!-- 支付信息 -->
  113. <view class="information">
  114. <view class="detailedTitle">支付信息</view>
  115. <view class="informationLine">
  116. <view class="informationTxt">支付状态:</view>
  117. <view class="informationNum" v-if="orderData.data.payState==1">未支付</view>
  118. <view class="informationNum" v-if="orderData.data.payState==2">已支付</view>
  119. </view>
  120. <view class="informationLine">
  121. <view class="informationTxt">支付方式:</view>
  122. <view class="informationNum" v-if="orderData.data.payType==1">在线支付</view>
  123. <view class="informationNum" v-if="orderData.data.payType==2">线下支付</view>
  124. </view>
  125. <view class="informationLine">
  126. <view class="informationTxt">支付时间:</view>
  127. <view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
  128. </view>
  129. </view>
  130. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  131. <view class="bottom" v-if="orderData.data.sheetState == 1">
  132. <view class="cancel" @click="cancelBespeak">取消订单</view>
  133. <view class="defer" @click="pay">立即支付</view>
  134. </view>
  135. <!-- 券码 -->
  136. <view class="maBox" v-if="isShowMa==true" @click="isShowMa=false">
  137. <view class="querenMa">
  138. <view class="maTop">
  139. <view class="maTitle">请到店出示券码即可开始服务</view>
  140. <image @click="isShowMa=false" src="../../../static/img/icon_delete.png" mode=""
  141. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;"></image>
  142. </view>
  143. <swiper class="swiper" circular :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#D53533">
  144. <swiper-item v-for="(item,index) in quanMaList">
  145. <view class="swiper-item">
  146. <view class="maCode">{{item}}</view>
  147. <view class="maBoximg">
  148. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="400" :unit="unit"
  149. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  150. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  151. </view>
  152. </view>
  153. </swiper-item>
  154. </swiper>
  155. </view>
  156. </view>
  157. </view>
  158. </template>
  159. <script>
  160. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  161. export default {
  162. components: {
  163. tkiQrcode
  164. },
  165. data() {
  166. return {
  167. id: '',
  168. iStatusBarHeight:'',
  169. orderData: '',
  170. onval: true, // val值变化时自动重新生成二维码
  171. loadMake: true, // 组件加载完成后自动生成二维码
  172. size: 500,
  173. qrcodeShow: false,
  174. qrcodeTop: '-100vh',
  175. qrcodeTopVal: '',
  176. ifShow: false,
  177. val: '二维码', // 要生成的二维码值
  178. unit: 'upx', // 单位
  179. background: '#b4e9e2', // 背景色
  180. foreground: '#309286', // 前景色
  181. pdground: '#262637', // 角标色
  182. icon: '', // 二维码图标
  183. iconsize: 40, // 二维码图标大小
  184. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  185. src: '', // 二维码生成后的图片地址或base64
  186. isShowMa: false,
  187. quanMaList:[],
  188. }
  189. },
  190. onLoad(opt) {
  191. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  192. this.id = opt.id
  193. if (this.id) {
  194. this.getData()
  195. }
  196. },
  197. methods: {
  198. pay(){
  199. this.$http('openMallOrder/unifiedPay', {
  200. sheetId:this.id
  201. },'POST').then(res => {
  202. if(res.code==0){
  203. this.requestPayment(res.data)
  204. }else{
  205. uni.showToast({
  206. title: res.msg,
  207. icon: 'none',
  208. duration: 3000
  209. });
  210. }
  211. })
  212. },
  213. requestPayment(res){
  214. var payInfo=res;
  215. //console.log(payInfo)
  216. //console.log(String(Date.now()))
  217. var that=this;
  218. uni.requestPayment({
  219. provider: 'wxpay',
  220. //timeStamp: String(Date.now()),
  221. timeStamp: payInfo.timeStamp,
  222. nonceStr: payInfo.nonceStr,
  223. package:payInfo.package,
  224. signType: payInfo.signType,
  225. paySign: payInfo.paySign,
  226. appid:payInfo.appId,
  227. success: function (res) {
  228. console.log('success:' + JSON.stringify(res));
  229. uni.showToast({
  230. title: '支付成功',
  231. icon:'none',
  232. duration: 2000
  233. });
  234. that.getData()
  235. },
  236. fail: function (err) {
  237. console.log(err)
  238. uni.showToast({
  239. title: '支付失败',
  240. icon:'none',
  241. duration: 2000
  242. });
  243. }
  244. });
  245. },
  246. copy(txt) {
  247. uni.setClipboardData({
  248. data: txt,
  249. success: function() {
  250. uni.showToast({
  251. title: '复制成功',
  252. icon: 'none',
  253. duration: 2000
  254. });
  255. }
  256. });
  257. },
  258. upTime() {
  259. uni.showLoading({
  260. title: '加载中'
  261. })
  262. var that = this
  263. this.$http('openreservation/carOwner/updateTimeOfAppointment', {
  264. id: this.id,
  265. shopId: this.orderData.shopInfo.id,
  266. billDate: this.billDate
  267. }, 'POST').then(res => {
  268. uni.hideLoading();
  269. // var list = res.data.Items
  270. var list = res.data
  271. console.log("result+=", res.data);
  272. uni.showToast({
  273. title: '延期成功',
  274. icon: 'none',
  275. duration: 2000
  276. });
  277. setTimeout(function() {
  278. that.getData();
  279. }, 1000);
  280. })
  281. },
  282. cancelBespeak(){
  283. var that = this
  284. uni.showModal({
  285. title: '提示',
  286. content: '是否取消该订单',
  287. cancelText:'否',
  288. confirmText:'是',
  289. success: function (res) {
  290. if (res.confirm) {
  291. uni.showLoading({
  292. title: '加载中'
  293. })
  294. that.$http('openOrderManagement/updateSheetState', {
  295. id: that.id,
  296. }, 'POST').then(res => {
  297. uni.hideLoading();
  298. // var list = res.data.Items
  299. uni.showToast({
  300. title: '取消成功',
  301. icon: 'none',
  302. duration: 2000
  303. });
  304. setTimeout(function() {
  305. that.getData();
  306. }, 1000);
  307. })
  308. } else if (res.cancel) {
  309. }
  310. }
  311. });
  312. },
  313. map() {
  314. console.log("打开地图")
  315. var that = this;
  316. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  317. uni.showToast({
  318. title: '该店铺未设置定位',
  319. icon: 'none',
  320. duration: 3000
  321. });
  322. } else {
  323. uni.openLocation({
  324. latitude: Number(that.orderData.shopInfo.lat),
  325. longitude: Number(that.orderData.shopInfo.lng),
  326. name: that.orderData.shopInfo.shopName,
  327. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  328. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  329. success: function() {
  330. console.log('success');
  331. },
  332. fail(err) {
  333. console.log(err)
  334. }
  335. });
  336. }
  337. },
  338. call() {
  339. uni.makePhoneCall({
  340. phoneNumber: this.orderData.shopInfo.mobilePhone
  341. });
  342. },
  343. getData() {
  344. uni.showLoading({
  345. title: '加载中'
  346. });
  347. this.$http('openOrderManagement/queryOpenSheet', {
  348. id: this.id,
  349. }, 'GET').then(res => {
  350. uni.hideLoading();
  351. this.orderData = res.data;
  352. if (this.quanMaList) {
  353. this.quanMaList = [];
  354. }
  355. let maList = this.orderData.OpenSheetQRCode;
  356. if (maList) {
  357. maList.forEach(item =>{
  358. if (item.writeoffState==1) {
  359. this.quanMaList.push(item.qrCode);
  360. }
  361. })
  362. }
  363. console.log('可用券码--',this.quanMaList);
  364. })
  365. },
  366. goback() {
  367. uni.navigateBack({
  368. delta: 1
  369. })
  370. },
  371. gohome(){
  372. uni.switchTab({
  373. url:'../../index/index'
  374. })
  375. },
  376. },
  377. onPullDownRefresh() {
  378. this.getData()
  379. setTimeout(function() {
  380. uni.stopPullDownRefresh();
  381. }, 1000);
  382. },
  383. }
  384. </script>
  385. <style scoped>
  386. .box {
  387. min-height: 100vh;
  388. background: #F4F5F7;
  389. padding-bottom: 135rpx;
  390. }
  391. .zdyNavBox{
  392. width: 100vw;
  393. background: #FFFFFF;
  394. position: fixed;
  395. top: 0;
  396. left: 0;
  397. z-index: 9999999;
  398. }
  399. .zdyNav{
  400. height: 44px;
  401. display: flex;
  402. justify-content: space-between;
  403. align-items: center;
  404. }
  405. .backImg{
  406. width: 44rpx;
  407. height: 44rpx;
  408. margin-left: 10rpx;
  409. margin-right: 20rpx;
  410. }
  411. .homeImg{
  412. width: 44rpx;
  413. height: 44rpx;
  414. }
  415. .zdyNavLeft{
  416. display: flex;
  417. align-items: center;
  418. }
  419. .zdyNavTitle{
  420. width: 100vw;
  421. height: 44px;
  422. background: #FFFFFF;
  423. text-align: center;
  424. font-size: 34rpx;
  425. line-height: 44px;
  426. }
  427. .top {
  428. height: 190rpx;
  429. background-color: #FF0000;
  430. }
  431. .orderState {
  432. display: flex;
  433. justify-content: center;
  434. align-items: center;
  435. padding-top: 40rpx;
  436. }
  437. .SheetState {
  438. display: flex;
  439. justify-content: center;
  440. font-size: 36rpx;
  441. font-weight: 500;
  442. color: #FFFFFF;
  443. margin-left: 15rpx;
  444. }
  445. .timeEditImg {
  446. width: 25rpx;
  447. height: 25rpx;
  448. padding-left: 20rpx;
  449. }
  450. .shopBoximg {
  451. width: 40rpx;
  452. height: 40rpx;
  453. }
  454. .shopRightImg {
  455. width: 44rpx;
  456. height: 45rpx;
  457. }
  458. .shopsx {
  459. width: 1px;
  460. height: 50rpx;
  461. background: #EEEEEE;
  462. margin-top: 30rpx;
  463. margin-left: 28rpx;
  464. }
  465. .shopBox {
  466. display: flex;
  467. padding: 30rpx 20rpx;
  468. margin: 0rpx 24rpx;
  469. margin-top: -60rpx;
  470. background-color: #FFFFFF;
  471. border-radius: 10rpx;
  472. }
  473. .shopCont {
  474. width: 405rpx;
  475. padding-left: 20rpx;
  476. }
  477. .shopName {
  478. font-size: 30rpx;
  479. font-weight: bold;
  480. color: #3C3C3C;
  481. line-height: 42rpx;
  482. }
  483. .Address {
  484. color: #999999;
  485. font-size: 24rpx;
  486. margin-top: 10rpx;
  487. }
  488. .shopRihgtTxt {
  489. color: #999999;
  490. font-size: 24rpx;
  491. }
  492. .shopRightBox {
  493. padding-left: 28rpx;
  494. }
  495. .detailedTitle {
  496. padding: 23rpx 20rpx;
  497. display: flex;
  498. text-align: center;
  499. align-content: flex-start;
  500. border-bottom: 1rpx solid #EEEEEE;
  501. font-size: 30rpx;
  502. font-weight: bold;
  503. color: #3C3C3C;
  504. }
  505. .detailedLine {
  506. display: flex;
  507. padding: 16rpx 20rpx;
  508. justify-content: space-between;
  509. align-items: center;
  510. }
  511. .detailedImg {
  512. width: 120rpx;
  513. height: 120rpx;
  514. border-radius: 10rpx;
  515. }
  516. .detailedName {
  517. display: flex;
  518. align-items: center;
  519. }
  520. .code {
  521. font-size: 26rpx;
  522. color: #333333;
  523. font-weight: bold;
  524. width: 180rpx
  525. }
  526. .old {
  527. color: #999999;
  528. font-weight: 400;
  529. text-decoration: line-through;
  530. }
  531. .redPoint {
  532. width: 10rpx;
  533. height: 10rpx;
  534. background: #FF0000;
  535. border-radius: 10rpx;
  536. margin-right: 10rpx;
  537. }
  538. .quanState {
  539. font-size: 22rpx;
  540. color: #F19D01;
  541. padding: 0 10rpx;
  542. border: 1rpx solid #F19D01;
  543. border-radius: 4rpx;
  544. margin-left: 20rpx;
  545. }
  546. .quanState2{
  547. font-size: 22rpx;
  548. color: #999999;
  549. padding: 0 10rpx;
  550. border: 1rpx solid #DDDDDD;
  551. border-radius: 4rpx;
  552. margin-left: 20rpx;
  553. }
  554. .information {
  555. background: #FFFFFF;
  556. border-radius: 10rpx;
  557. margin: 20rpx 24rpx;
  558. padding-bottom: 15rpx;
  559. }
  560. .informationLine {
  561. display: flex;
  562. padding: 15rpx 20rpx;
  563. }
  564. .informationLine2 {
  565. display: flex;
  566. justify-content: space-between;
  567. font-size: 26rpx;
  568. padding: 20rpx;
  569. align-items: center;
  570. padding-bottom: 0;
  571. }
  572. .salePrice {
  573. padding-left: 20rpx;
  574. padding-top: 15rpx;
  575. font-size: 26rpx;
  576. font-weight: 500;
  577. color: #333333;
  578. line-height: 45rpx;
  579. }
  580. .money {
  581. background: #FFFFFF;
  582. border-radius: 10rpx;
  583. margin: 20rpx 24rpx;
  584. display: flex;
  585. justify-content: space-between;
  586. font-size: 26rpx;
  587. padding: 30rpx 20rpx;
  588. }
  589. .informationTxt {
  590. width: 190rpx;
  591. font-size: 26rpx;
  592. color: #999999;
  593. }
  594. .line {
  595. height: 20rpx;
  596. background-color: #FFFFFF;
  597. border-bottom: 1rpx solid #EEEEEE;
  598. }
  599. .goodsName {
  600. width: 70%;
  601. color: #333333;
  602. font-size: 26rpx;
  603. }
  604. .goodsName3{
  605. color: #333333;
  606. font-size: 26rpx;
  607. text-align: center;
  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>