activityOrderDetail.vue 21 KB

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