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. <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="huodong" @click="goDetail(item)">
  52. <view class="goodsName3">活动详情</view>
  53. <image src="../../../static/img/little_rightArrow.png" mode="" style="width: 30rpx;height: 30rpx;"></image>
  54. </view>
  55. </view>
  56. <view class="salePrice"><span class="informationNum">¥</span>{{item.salePrice}}</view>
  57. </view>
  58. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4" class="line"></view>
  59. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4">
  60. <view class="goodsName2">
  61. 券码信息({{quanMaList.length?quanMaList.length:0}}张可用)
  62. </view>
  63. <view class="detailedLine" v-for="(v,index) in orderData.OpenSheetQRCode">
  64. <view v-if="v.writeoffState==1" class="detailedName">
  65. <view class="redPoint"></view>
  66. <view class="code">{{v.qrCode}}</view>
  67. <view class="quanState">待使用</view>
  68. </view>
  69. <view v-if="v.writeoffState==3" class="detailedName">
  70. <view class="redPoint"></view>
  71. <view class="code old" >{{v.qrCode}}</view>
  72. <view class="quanState2">已使用</view>
  73. </view>
  74. <image src="../../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
  75. v-if="v.writeoffState==1" @click="isShowMa=true"></image>
  76. </view>
  77. </view>
  78. </view>
  79. <!-- 实付款 -->
  80. <view class="money">
  81. <view class="informationNum">实付款:</view>
  82. <view class="informationNum" style="color: #FF0000;font-weight: bold;">¥{{orderData.data.realMoney}}</view>
  83. </view>
  84. <!-- 订单信息 -->
  85. <view class="information">
  86. <view class="detailedTitle">订单信息</view>
  87. <view class="informationLine">
  88. <view class="informationTxt">车牌号:</view>
  89. <view class="informationNum">{{orderData.data.plateNumber}}</view>
  90. </view>
  91. <view class="informationLine">
  92. <view class="informationTxt">联系人:</view>
  93. <view class="informationNum">{{orderData.data.customerName}}</view>
  94. </view>
  95. <view class="informationLine">
  96. <view class="informationTxt">手机号:</view>
  97. <view class="informationNum">{{orderData.data.mobilePhone}}</view>
  98. </view>
  99. <view class="informationLine">
  100. <view class="informationTxt">单位:</view>
  101. <view class="informationNum">{{orderData.data.unit}}</view>
  102. </view>
  103. <view class="informationLine">
  104. <view class="informationTxt">报名时间:</view>
  105. <view class="informationNum">{{orderData.data.createTime}}</view>
  106. </view>
  107. <view class="informationLine">
  108. <view class="informationTxt">订单单号:</view>
  109. <view class="informationNum">{{orderData.data.code}}<span class="codeCopy"
  110. @click="copy(orderData.data.code)">复制</span></view>
  111. </view>
  112. </view>
  113. <!-- 支付信息 -->
  114. <view class="information">
  115. <view class="detailedTitle">支付信息</view>
  116. <view class="informationLine">
  117. <view class="informationTxt">支付状态:</view>
  118. <view class="informationNum" v-if="orderData.data.payState==1">未支付</view>
  119. <view class="informationNum" v-if="orderData.data.payState==2">已支付</view>
  120. </view>
  121. <view class="informationLine">
  122. <view class="informationTxt">支付方式:</view>
  123. <view class="informationNum" v-if="orderData.data.payType==1">在线支付</view>
  124. <view class="informationNum" v-if="orderData.data.payType==2">线下支付</view>
  125. </view>
  126. <view class="informationLine">
  127. <view class="informationTxt">支付时间:</view>
  128. <view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
  129. </view>
  130. </view>
  131. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  132. <view class="bottom" v-if="orderData.data.sheetState == 1">
  133. <view class="cancel" @click="cancelBespeak">取消订单</view>
  134. <view class="defer" @click="pay">立即支付</view>
  135. </view>
  136. <!-- 券码 -->
  137. <view class="maBox" v-if="isShowMa==true" @click="isShowMa=false">
  138. <view class="querenMa">
  139. <view class="maTop">
  140. <view class="maTitle">请到店出示券码即可开始服务</view>
  141. <image @click="isShowMa=false" src="../../../static/img/icon_delete.png" mode=""
  142. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;"></image>
  143. </view>
  144. <swiper class="swiper" circular :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#D53533">
  145. <swiper-item v-for="(item,index) in quanMaList">
  146. <view class="swiper-item">
  147. <view class="maCode">{{item}}</view>
  148. <view class="maBoximg">
  149. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="400" :unit="unit"
  150. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  151. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  152. </view>
  153. </view>
  154. </swiper-item>
  155. </swiper>
  156. </view>
  157. </view>
  158. </view>
  159. </template>
  160. <script>
  161. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  162. export default {
  163. components: {
  164. tkiQrcode
  165. },
  166. data() {
  167. return {
  168. id: '',
  169. iStatusBarHeight:'',
  170. orderData: '',
  171. onval: true, // val值变化时自动重新生成二维码
  172. loadMake: true, // 组件加载完成后自动生成二维码
  173. size: 500,
  174. qrcodeShow: false,
  175. qrcodeTop: '-100vh',
  176. qrcodeTopVal: '',
  177. ifShow: false,
  178. val: '二维码', // 要生成的二维码值
  179. unit: 'upx', // 单位
  180. background: '#b4e9e2', // 背景色
  181. foreground: '#309286', // 前景色
  182. pdground: '#262637', // 角标色
  183. icon: '', // 二维码图标
  184. iconsize: 40, // 二维码图标大小
  185. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  186. src: '', // 二维码生成后的图片地址或base64
  187. isShowMa: false,
  188. quanMaList:[],
  189. }
  190. },
  191. onLoad(opt) {
  192. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  193. this.id = opt.id
  194. if (this.id) {
  195. this.getData()
  196. }
  197. },
  198. methods: {
  199. goDetail(item) {
  200. // uni.navigateTo({
  201. // url: "activityOrderDetail?id=" + item.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('openreservation/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('openOrderManagement/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('openOrderManagement/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. width: 100vw;
  427. height: 44px;
  428. background: #FFFFFF;
  429. text-align: center;
  430. font-size: 34rpx;
  431. line-height: 44px;
  432. }
  433. .top {
  434. height: 190rpx;
  435. background-color: #FF0000;
  436. }
  437. .orderState {
  438. display: flex;
  439. justify-content: center;
  440. align-items: center;
  441. padding-top: 40rpx;
  442. }
  443. .SheetState {
  444. display: flex;
  445. justify-content: center;
  446. font-size: 36rpx;
  447. font-weight: 500;
  448. color: #FFFFFF;
  449. margin-left: 15rpx;
  450. }
  451. .timeEditImg {
  452. width: 25rpx;
  453. height: 25rpx;
  454. padding-left: 20rpx;
  455. }
  456. .shopBoximg {
  457. width: 40rpx;
  458. height: 40rpx;
  459. }
  460. .shopRightImg {
  461. width: 44rpx;
  462. height: 45rpx;
  463. }
  464. .shopsx {
  465. width: 1px;
  466. height: 50rpx;
  467. background: #EEEEEE;
  468. margin-top: 30rpx;
  469. margin-left: 28rpx;
  470. }
  471. .shopBox {
  472. display: flex;
  473. padding: 30rpx 20rpx;
  474. margin: 0rpx 24rpx;
  475. margin-top: -60rpx;
  476. background-color: #FFFFFF;
  477. border-radius: 10rpx;
  478. }
  479. .shopCont {
  480. width: 405rpx;
  481. padding-left: 20rpx;
  482. }
  483. .shopName {
  484. font-size: 30rpx;
  485. font-weight: bold;
  486. color: #3C3C3C;
  487. line-height: 42rpx;
  488. }
  489. .Address {
  490. color: #999999;
  491. font-size: 24rpx;
  492. margin-top: 10rpx;
  493. }
  494. .shopRihgtTxt {
  495. color: #999999;
  496. font-size: 24rpx;
  497. }
  498. .shopRightBox {
  499. padding-left: 28rpx;
  500. }
  501. .detailedTitle {
  502. padding: 23rpx 20rpx;
  503. display: flex;
  504. text-align: center;
  505. align-content: flex-start;
  506. border-bottom: 1rpx solid #EEEEEE;
  507. font-size: 30rpx;
  508. font-weight: bold;
  509. color: #3C3C3C;
  510. }
  511. .detailedLine {
  512. display: flex;
  513. padding: 16rpx 20rpx;
  514. justify-content: space-between;
  515. align-items: center;
  516. }
  517. .detailedImg {
  518. width: 120rpx;
  519. height: 120rpx;
  520. border-radius: 10rpx;
  521. }
  522. .detailedName {
  523. display: flex;
  524. align-items: center;
  525. }
  526. .code {
  527. font-size: 26rpx;
  528. color: #333333;
  529. font-weight: bold;
  530. width: 180rpx
  531. }
  532. .old {
  533. color: #999999;
  534. font-weight: 400;
  535. text-decoration: line-through;
  536. }
  537. .redPoint {
  538. width: 10rpx;
  539. height: 10rpx;
  540. background: #FF0000;
  541. border-radius: 10rpx;
  542. margin-right: 10rpx;
  543. }
  544. .quanState {
  545. font-size: 22rpx;
  546. color: #F19D01;
  547. padding: 0 10rpx;
  548. border: 1rpx solid #F19D01;
  549. border-radius: 4rpx;
  550. margin-left: 20rpx;
  551. }
  552. .quanState2{
  553. font-size: 22rpx;
  554. color: #999999;
  555. padding: 0 10rpx;
  556. border: 1rpx solid #DDDDDD;
  557. border-radius: 4rpx;
  558. margin-left: 20rpx;
  559. }
  560. .information {
  561. background: #FFFFFF;
  562. border-radius: 10rpx;
  563. margin: 20rpx 24rpx;
  564. padding-bottom: 15rpx;
  565. }
  566. .informationLine {
  567. display: flex;
  568. padding: 15rpx 20rpx;
  569. }
  570. .informationLine2 {
  571. display: flex;
  572. justify-content: space-between;
  573. font-size: 26rpx;
  574. padding: 20rpx;
  575. align-items: center;
  576. padding-bottom: 0;
  577. }
  578. .salePrice {
  579. padding-left: 20rpx;
  580. padding-top: 15rpx;
  581. font-size: 26rpx;
  582. font-weight: 500;
  583. color: #333333;
  584. line-height: 45rpx;
  585. }
  586. .money {
  587. background: #FFFFFF;
  588. border-radius: 10rpx;
  589. margin: 20rpx 24rpx;
  590. display: flex;
  591. justify-content: space-between;
  592. font-size: 26rpx;
  593. padding: 30rpx 20rpx;
  594. }
  595. .informationTxt {
  596. width: 190rpx;
  597. font-size: 26rpx;
  598. color: #999999;
  599. }
  600. .line {
  601. height: 20rpx;
  602. background-color: #FFFFFF;
  603. border-bottom: 1rpx solid #EEEEEE;
  604. }
  605. .goodsName {
  606. width: 70%;
  607. color: #333333;
  608. font-size: 26rpx;
  609. }
  610. .huodong{
  611. display: flex;
  612. align-items: center;
  613. }
  614. .goodsName3{
  615. color: #333333;
  616. font-size: 26rpx;
  617. }
  618. .goodsName2{
  619. padding: 20rpx 20rpx 15rpx;
  620. color: #333333;
  621. font-size: 26rpx;
  622. }
  623. .informationNum {
  624. color: #333333;
  625. font-size: 26rpx;
  626. }
  627. .codeCopy {
  628. width: 77rpx;
  629. height: 36rpx;
  630. background: #F4F5F7;
  631. border-radius: 22rpx;
  632. font-size: 24rpx;
  633. color: #333333;
  634. text-align: center;
  635. line-height: 33rpx;
  636. padding: 0 15rpx;
  637. margin-left: 20rpx;
  638. }
  639. .orderBottom {
  640. width: 750rpx;
  641. height: 98rpx;
  642. background: #FFFFFF;
  643. position: fixed;
  644. left: 0;
  645. bottom: 0;
  646. display: flex;
  647. justify-content: flex-end;
  648. }
  649. .bottom {
  650. display: flex;
  651. justify-content: flex-end;
  652. padding: 20rpx;
  653. background-color: #FFFFFF;
  654. align-items: center;
  655. height: 98rpx;
  656. width: 100vw;
  657. position: fixed;
  658. bottom: 0rpx;
  659. padding-bottom: constant(safe-area-inset-bottom);
  660. padding-bottom: env(safe-area-inset-bottom);
  661. }
  662. .cancel {
  663. color: #3C3C3C;
  664. font-size: 28rpx;
  665. width: 150rpx;
  666. height: 56rpx;
  667. border-radius: 36rpx;
  668. border: 1rpx solid #DDDDDD;
  669. text-align: center;
  670. line-height: 56rpx;
  671. margin-right: 40rpx;
  672. }
  673. .defer {
  674. color: #D53533;
  675. font-size: 28rpx;
  676. width: 150rpx;
  677. height: 56rpx;
  678. border-radius: 36rpx;
  679. border: 1rpx solid #D53533;
  680. text-align: center;
  681. line-height: 56rpx;
  682. margin-right: 40rpx;
  683. }
  684. .itemBox {
  685. margin: 20rpx;
  686. border-radius: 10rpx;
  687. border: 2rpx solid #EEEEEE;
  688. }
  689. .itemTop {
  690. padding: 18rpx 20rpx;
  691. padding-right: 0;
  692. background-color: #FFEFD5;
  693. display: flex;
  694. justify-content: space-between;
  695. align-content: center;
  696. }
  697. .topTitle {
  698. width: 104rpx;
  699. font-size: 26rpx;
  700. color: #333333;
  701. margin-right: 20rpx;
  702. text-align: right;
  703. }
  704. .leftItem {
  705. font-size: 26rpx;
  706. color: #333333;
  707. margin-right: 20rpx;
  708. flex-grow: 1;
  709. /* 隐藏文字显示 ...不换行 */
  710. overflow: hidden;
  711. text-overflow: ellipsis;
  712. white-space: nowrap;
  713. }
  714. .itemContent {
  715. padding: 20rpx;
  716. padding-right: 0;
  717. background-color: #FFFFFF;
  718. display: flex;
  719. justify-content: space-between;
  720. align-content: center;
  721. }
  722. .maBox {
  723. width: 100%;
  724. height: 100vh;
  725. background: rgba(0, 0, 0, 0.4);
  726. position: fixed;
  727. left: 0;
  728. top: 0;
  729. z-index: 9999;
  730. }
  731. .querenMa {
  732. width: 578;
  733. height: 640rpx;
  734. background: #ffffff;
  735. margin: 0 86rpx;
  736. margin-top: 50%;
  737. border-radius: 24rpx;
  738. }
  739. .maTop {
  740. display: flex;
  741. justify-content: space-between;
  742. align-items: center;
  743. padding: 30rpx 20rpx 15rpx;
  744. }
  745. .maTitle {
  746. color: #666666;
  747. font-size: 26rpx;
  748. text-align: center;
  749. padding-left: 100rpx;
  750. }
  751. .swiper{
  752. width: 100%;
  753. height: 85%;
  754. background: #FFFFFF;
  755. }
  756. .swiper-item{
  757. width: 100%;
  758. height: 100%;
  759. }
  760. .maCode {
  761. font-size: 30rpx;
  762. font-weight: 500;
  763. color: #333333;
  764. line-height: 42rpx;
  765. margin-bottom: 40rpx;
  766. text-align: center;
  767. }
  768. .maBoximg {
  769. width: 400rpx;
  770. height: 400rpx;
  771. margin-left: 86rpx;
  772. }
  773. </style>