activityOrderDetail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957
  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="huodong" @click="goDetail(item.itemId)">
  51. <view class="goodsName3">活动详情</view>
  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" v-if="orderData.data.plateNumber">
  87. <view class="informationTxt">车牌号:</view>
  88. <view class="informationNum">{{orderData.data.plateNumber}}</view>
  89. </view>
  90. <view class="informationLine" v-if="orderData.data.customerName">
  91. <view class="informationTxt">联系人:</view>
  92. <view class="informationNum">{{orderData.data.customerName}}</view>
  93. </view>
  94. <view class="informationLine" v-if="orderData.data.mobilePhone">
  95. <view class="informationTxt">手机号:</view>
  96. <view class="informationNum">{{orderData.data.mobilePhone}}</view>
  97. </view>
  98. <view class="informationLine" v-if="orderData.data.unit">
  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. goDetail(id) {
  199. console.log('id--',id);
  200. uni.navigateTo({
  201. url: '../../activity/jkDetail?id=' + id
  202. })
  203. },
  204. pay(){
  205. this.$http('openMallOrder/unifiedPay', {
  206. sheetId:this.id
  207. },'POST').then(res => {
  208. if(res.code==0){
  209. this.requestPayment(res.data)
  210. }else{
  211. uni.showToast({
  212. title: res.msg,
  213. icon: 'none',
  214. duration: 3000
  215. });
  216. }
  217. })
  218. },
  219. requestPayment(res){
  220. var payInfo=res;
  221. //console.log(payInfo)
  222. //console.log(String(Date.now()))
  223. var that=this;
  224. uni.requestPayment({
  225. provider: 'wxpay',
  226. //timeStamp: String(Date.now()),
  227. timeStamp: payInfo.timeStamp,
  228. nonceStr: payInfo.nonceStr,
  229. package:payInfo.package,
  230. signType: payInfo.signType,
  231. paySign: payInfo.paySign,
  232. appid:payInfo.appId,
  233. success: function (res) {
  234. console.log('success:' + JSON.stringify(res));
  235. uni.showToast({
  236. title: '支付成功',
  237. icon:'none',
  238. duration: 2000
  239. });
  240. that.getData()
  241. },
  242. fail: function (err) {
  243. console.log(err)
  244. uni.showToast({
  245. title: '支付失败',
  246. icon:'none',
  247. duration: 2000
  248. });
  249. }
  250. });
  251. },
  252. copy(txt) {
  253. uni.setClipboardData({
  254. data: txt,
  255. success: function() {
  256. uni.showToast({
  257. title: '复制成功',
  258. icon: 'none',
  259. duration: 2000
  260. });
  261. }
  262. });
  263. },
  264. upTime() {
  265. uni.showLoading({
  266. title: '加载中'
  267. })
  268. var that = this
  269. this.$http('openH5Indent/carOwner/updateTimeOfAppointment', {
  270. id: this.id,
  271. shopId: this.orderData.shopInfo.id,
  272. billDate: this.billDate
  273. }, 'POST').then(res => {
  274. uni.hideLoading();
  275. // var list = res.data.Items
  276. var list = res.data
  277. console.log("result+=", res.data);
  278. uni.showToast({
  279. title: '延期成功',
  280. icon: 'none',
  281. duration: 2000
  282. });
  283. setTimeout(function() {
  284. that.getData();
  285. }, 1000);
  286. })
  287. },
  288. cancelBespeak(){
  289. var that = this
  290. uni.showModal({
  291. title: '提示',
  292. content: '是否取消该订单',
  293. cancelText:'否',
  294. confirmText:'是',
  295. success: function (res) {
  296. if (res.confirm) {
  297. uni.showLoading({
  298. title: '加载中'
  299. })
  300. that.$http('openH5Indent/updateSheetState', {
  301. id: that.id,
  302. }, 'POST').then(res => {
  303. uni.hideLoading();
  304. // var list = res.data.Items
  305. uni.showToast({
  306. title: '取消成功',
  307. icon: 'none',
  308. duration: 2000
  309. });
  310. setTimeout(function() {
  311. that.getData();
  312. }, 1000);
  313. })
  314. } else if (res.cancel) {
  315. }
  316. }
  317. });
  318. },
  319. map() {
  320. console.log("打开地图")
  321. var that = this;
  322. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  323. uni.showToast({
  324. title: '该店铺未设置定位',
  325. icon: 'none',
  326. duration: 3000
  327. });
  328. } else {
  329. uni.openLocation({
  330. latitude: Number(that.orderData.shopInfo.lat),
  331. longitude: Number(that.orderData.shopInfo.lng),
  332. name: that.orderData.shopInfo.shopName,
  333. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  334. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  335. success: function() {
  336. console.log('success');
  337. },
  338. fail(err) {
  339. console.log(err)
  340. }
  341. });
  342. }
  343. },
  344. call() {
  345. uni.makePhoneCall({
  346. phoneNumber: this.orderData.shopInfo.mobilePhone
  347. });
  348. },
  349. getData() {
  350. uni.showLoading({
  351. title: '加载中'
  352. });
  353. this.$http('openH5Indent/queryOpenSheet', {
  354. id: this.id,
  355. }, 'GET').then(res => {
  356. uni.hideLoading();
  357. this.orderData = res.data;
  358. if (this.quanMaList) {
  359. this.quanMaList = [];
  360. }
  361. let maList = this.orderData.OpenSheetQRCode;
  362. if (maList) {
  363. maList.forEach(item =>{
  364. if (item.writeoffState==1) {
  365. this.quanMaList.push(item.qrCode);
  366. }
  367. })
  368. }
  369. console.log('可用券码--',this.quanMaList);
  370. })
  371. },
  372. goback() {
  373. uni.navigateBack({
  374. delta: 1
  375. })
  376. },
  377. gohome(){
  378. uni.switchTab({
  379. url:'../../index/index'
  380. })
  381. },
  382. },
  383. onPullDownRefresh() {
  384. this.getData()
  385. setTimeout(function() {
  386. uni.stopPullDownRefresh();
  387. }, 1000);
  388. },
  389. }
  390. </script>
  391. <style scoped>
  392. .box {
  393. min-height: 100vh;
  394. background: #F4F5F7;
  395. padding-bottom: 135rpx;
  396. }
  397. .zdyNavBox{
  398. width: 100vw;
  399. background: #FFFFFF;
  400. position: fixed;
  401. top: 0;
  402. left: 0;
  403. z-index: 9999999;
  404. }
  405. .zdyNav{
  406. height: 44px;
  407. display: flex;
  408. justify-content: space-between;
  409. align-items: center;
  410. }
  411. .backImg{
  412. width: 44rpx;
  413. height: 44rpx;
  414. margin-left: 10rpx;
  415. margin-right: 20rpx;
  416. }
  417. .homeImg{
  418. width: 44rpx;
  419. height: 44rpx;
  420. }
  421. .zdyNavLeft{
  422. display: flex;
  423. align-items: center;
  424. }
  425. .zdyNavTitle{
  426. height: 44px;
  427. background: #FFFFFF;
  428. text-align: center;
  429. font-size: 34rpx;
  430. line-height: 44px;
  431. }
  432. .top {
  433. height: 190rpx;
  434. background-color: #FF0000;
  435. }
  436. .orderState {
  437. display: flex;
  438. justify-content: center;
  439. align-items: center;
  440. padding-top: 40rpx;
  441. }
  442. .SheetState {
  443. display: flex;
  444. justify-content: center;
  445. font-size: 36rpx;
  446. font-weight: 500;
  447. color: #FFFFFF;
  448. margin-left: 15rpx;
  449. }
  450. .timeEditImg {
  451. width: 25rpx;
  452. height: 25rpx;
  453. padding-left: 20rpx;
  454. }
  455. .shopBoximg {
  456. width: 40rpx;
  457. height: 40rpx;
  458. }
  459. .shopRightImg {
  460. width: 44rpx;
  461. height: 45rpx;
  462. }
  463. .shopsx {
  464. width: 1px;
  465. height: 50rpx;
  466. background: #EEEEEE;
  467. margin-top: 30rpx;
  468. margin-left: 28rpx;
  469. }
  470. .shopBox {
  471. display: flex;
  472. padding: 30rpx 20rpx;
  473. margin: 0rpx 24rpx;
  474. margin-top: -60rpx;
  475. background-color: #FFFFFF;
  476. border-radius: 10rpx;
  477. }
  478. .shopCont {
  479. width: 405rpx;
  480. padding-left: 20rpx;
  481. }
  482. .shopName {
  483. font-size: 30rpx;
  484. font-weight: bold;
  485. color: #3C3C3C;
  486. line-height: 42rpx;
  487. }
  488. .Address {
  489. color: #999999;
  490. font-size: 24rpx;
  491. margin-top: 10rpx;
  492. }
  493. .shopRihgtTxt {
  494. color: #999999;
  495. font-size: 24rpx;
  496. }
  497. .shopRightBox {
  498. padding-left: 28rpx;
  499. }
  500. .detailedTitle {
  501. padding: 23rpx 20rpx;
  502. display: flex;
  503. text-align: center;
  504. align-content: flex-start;
  505. border-bottom: 1rpx solid #EEEEEE;
  506. font-size: 30rpx;
  507. font-weight: bold;
  508. color: #3C3C3C;
  509. }
  510. .detailedLine {
  511. display: flex;
  512. padding: 16rpx 20rpx;
  513. justify-content: space-between;
  514. align-items: center;
  515. }
  516. .detailedImg {
  517. width: 120rpx;
  518. height: 120rpx;
  519. border-radius: 10rpx;
  520. }
  521. .detailedName {
  522. display: flex;
  523. align-items: center;
  524. }
  525. .code {
  526. font-size: 26rpx;
  527. color: #333333;
  528. font-weight: bold;
  529. width: 180rpx
  530. }
  531. .old {
  532. color: #999999;
  533. font-weight: 400;
  534. text-decoration: line-through;
  535. }
  536. .redPoint {
  537. width: 10rpx;
  538. height: 10rpx;
  539. background: #FF0000;
  540. border-radius: 10rpx;
  541. margin-right: 10rpx;
  542. }
  543. .quanState {
  544. font-size: 22rpx;
  545. color: #F19D01;
  546. padding: 0 10rpx;
  547. border: 1rpx solid #F19D01;
  548. border-radius: 4rpx;
  549. margin-left: 20rpx;
  550. }
  551. .quanState2{
  552. font-size: 22rpx;
  553. color: #999999;
  554. padding: 0 10rpx;
  555. border: 1rpx solid #DDDDDD;
  556. border-radius: 4rpx;
  557. margin-left: 20rpx;
  558. }
  559. .information {
  560. background: #FFFFFF;
  561. border-radius: 10rpx;
  562. margin: 20rpx 24rpx;
  563. padding-bottom: 15rpx;
  564. }
  565. .informationLine {
  566. display: flex;
  567. padding: 15rpx 20rpx;
  568. }
  569. .informationLine2 {
  570. display: flex;
  571. justify-content: space-between;
  572. font-size: 26rpx;
  573. padding: 20rpx;
  574. align-items: center;
  575. padding-bottom: 0;
  576. }
  577. .salePrice {
  578. padding-left: 20rpx;
  579. padding-top: 15rpx;
  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: 70%;
  606. color: #333333;
  607. font-size: 26rpx;
  608. }
  609. .huodong{
  610. display: flex;
  611. align-items: center;
  612. }
  613. .goodsName3{
  614. color: #333333;
  615. font-size: 26rpx;
  616. }
  617. .goodsName2{
  618. padding: 20rpx 20rpx 15rpx;
  619. color: #333333;
  620. font-size: 26rpx;
  621. }
  622. .informationNum {
  623. color: #333333;
  624. font-size: 26rpx;
  625. }
  626. .codeCopy {
  627. width: 77rpx;
  628. height: 36rpx;
  629. background: #F4F5F7;
  630. border-radius: 22rpx;
  631. font-size: 24rpx;
  632. color: #333333;
  633. text-align: center;
  634. line-height: 33rpx;
  635. padding: 0 15rpx;
  636. margin-left: 20rpx;
  637. }
  638. .orderBottom {
  639. width: 750rpx;
  640. height: 98rpx;
  641. background: #FFFFFF;
  642. position: fixed;
  643. left: 0;
  644. bottom: 0;
  645. display: flex;
  646. justify-content: flex-end;
  647. }
  648. .bottom {
  649. display: flex;
  650. justify-content: flex-end;
  651. padding: 20rpx;
  652. background-color: #FFFFFF;
  653. align-items: center;
  654. height: 98rpx;
  655. width: 100vw;
  656. position: fixed;
  657. bottom: 0rpx;
  658. padding-bottom: constant(safe-area-inset-bottom);
  659. padding-bottom: env(safe-area-inset-bottom);
  660. }
  661. .cancel {
  662. color: #3C3C3C;
  663. font-size: 28rpx;
  664. width: 150rpx;
  665. height: 56rpx;
  666. border-radius: 36rpx;
  667. border: 1rpx solid #DDDDDD;
  668. text-align: center;
  669. line-height: 56rpx;
  670. margin-right: 40rpx;
  671. }
  672. .defer {
  673. color: #D53533;
  674. font-size: 28rpx;
  675. width: 150rpx;
  676. height: 56rpx;
  677. border-radius: 36rpx;
  678. border: 1rpx solid #D53533;
  679. text-align: center;
  680. line-height: 56rpx;
  681. margin-right: 40rpx;
  682. }
  683. .itemBox {
  684. margin: 20rpx;
  685. border-radius: 10rpx;
  686. border: 2rpx solid #EEEEEE;
  687. }
  688. .itemTop {
  689. padding: 18rpx 20rpx;
  690. padding-right: 0;
  691. background-color: #FFEFD5;
  692. display: flex;
  693. justify-content: space-between;
  694. align-content: center;
  695. }
  696. .topTitle {
  697. width: 104rpx;
  698. font-size: 26rpx;
  699. color: #333333;
  700. margin-right: 20rpx;
  701. text-align: right;
  702. }
  703. .leftItem {
  704. font-size: 26rpx;
  705. color: #333333;
  706. margin-right: 20rpx;
  707. flex-grow: 1;
  708. /* 隐藏文字显示 ...不换行 */
  709. overflow: hidden;
  710. text-overflow: ellipsis;
  711. white-space: nowrap;
  712. }
  713. .itemContent {
  714. padding: 20rpx;
  715. padding-right: 0;
  716. background-color: #FFFFFF;
  717. display: flex;
  718. justify-content: space-between;
  719. align-content: center;
  720. }
  721. .maBox {
  722. width: 100%;
  723. height: 100vh;
  724. background: rgba(0, 0, 0, 0.4);
  725. position: fixed;
  726. left: 0;
  727. top: 0;
  728. z-index: 9999;
  729. }
  730. .querenMa {
  731. width: 578;
  732. height: 640rpx;
  733. background: #ffffff;
  734. margin: 0 86rpx;
  735. margin-top: 50%;
  736. border-radius: 24rpx;
  737. }
  738. .maTop {
  739. display: flex;
  740. justify-content: space-between;
  741. align-items: center;
  742. padding: 30rpx 20rpx 15rpx;
  743. }
  744. .maTitle {
  745. color: #666666;
  746. font-size: 26rpx;
  747. text-align: center;
  748. padding-left: 100rpx;
  749. }
  750. .swiper{
  751. width: 100%;
  752. height: 85%;
  753. background: #FFFFFF;
  754. }
  755. .swiper-item{
  756. width: 100%;
  757. height: 100%;
  758. }
  759. .maCode {
  760. font-size: 30rpx;
  761. font-weight: 500;
  762. color: #333333;
  763. line-height: 42rpx;
  764. margin-bottom: 40rpx;
  765. text-align: center;
  766. }
  767. .maBoximg {
  768. width: 400rpx;
  769. height: 400rpx;
  770. margin-left: 86rpx;
  771. }
  772. </style>