paintOrderDetail.vue 20 KB

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