activityOrderDetail.vue 24 KB

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