paintOrderDetail.vue 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058
  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" :style="{background:'#'+themeColor}">
  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" :style="{border:'1rpx solid #'+themeColor,color:'#'+themeColor}" @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. <!-- 手机号授权 -->
  167. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  168. <view class="authorizCont" @click.stop="">
  169. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  170. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  171. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  172. </view>
  173. <view style="text-align: center;padding-top: 56rpx;">
  174. <image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  175. </view>
  176. </view>
  177. </view>
  178. </template>
  179. <script>
  180. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  181. export default {
  182. components: {
  183. tkiQrcode
  184. },
  185. data() {
  186. return {
  187. id: '',
  188. iStatusBarHeight:'',
  189. orderData: '',
  190. onval: true, // val值变化时自动重新生成二维码
  191. loadMake: true, // 组件加载完成后自动生成二维码
  192. size: 500,
  193. qrcodeShow: false,
  194. qrcodeTop: '-100vh',
  195. qrcodeTopVal: '',
  196. ifShow: false,
  197. val: '二维码', // 要生成的二维码值
  198. unit: 'upx', // 单位
  199. background: '#b4e9e2', // 背景色
  200. foreground: '#309286', // 前景色
  201. pdground: '#262637', // 角标色
  202. icon: '', // 二维码图标
  203. iconsize: 40, // 二维码图标大小
  204. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  205. src: '', // 二维码生成后的图片地址或base64
  206. isShowMa: false,
  207. quanMaList:[],
  208. themeColor:'',
  209. authorizShow:false,
  210. userInfo:'',
  211. ext:'',
  212. wxOpenData:'',
  213. }
  214. },
  215. onLoad(opt) {
  216. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  217. this.id = opt.id
  218. this.themeColor = uni.getStorageSync("themeColor");
  219. this.userInfo=this.$store.state.userInfo;
  220. this.ext=this.$common.getExtStoreId();
  221. if(this.userInfo){
  222. if (this.id) {
  223. this.getData()
  224. }
  225. }else{
  226. this.$common.automaticlogin().then(val => {
  227. this.userInfo=this.$store.state.userInfo;
  228. this.wxOpenData=this.$store.state.wxOpenData;
  229. this.themeColor = uni.getStorageSync("themeColor");
  230. if (this.id) {
  231. this.getData()
  232. }
  233. })
  234. }
  235. },
  236. methods: {
  237. decryptPhoneNumber: function(e) {
  238. console.log(e);
  239. this.code=e.detail.code
  240. this.wxPhoneLogin()
  241. this.authorizShow=false;
  242. },
  243. wxPhoneLogin(){
  244. var that=this;
  245. this.$http('miniApp2/sys/wxPhoneLogin', {
  246. appId:this.ext.appId,
  247. unionId:this.ext.unionId,
  248. code:this.code,
  249. openId:this.wxOpenData.openid
  250. },'POST').then(res => {
  251. var data = res.data;
  252. if(data.loginInfo){
  253. this.userInfo=data.loginInfo.openUser;
  254. this.wxOpenData=data.loginInfo;
  255. this.$store.commit('mutationswxOpenData', data.loginInfo)
  256. this.$store.commit('mutationsuserInfo', this.userInfo)
  257. this.getData()
  258. }
  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. font-size: 26rpx;
  637. font-weight: 500;
  638. color: #333333;
  639. line-height: 45rpx;
  640. }
  641. .money {
  642. background: #FFFFFF;
  643. border-radius: 10rpx;
  644. margin: 20rpx 24rpx;
  645. display: flex;
  646. justify-content: space-between;
  647. font-size: 26rpx;
  648. padding: 30rpx 20rpx;
  649. }
  650. .informationTxt {
  651. width: 190rpx;
  652. font-size: 26rpx;
  653. color: #999999;
  654. }
  655. .line {
  656. height: 20rpx;
  657. background-color: #FFFFFF;
  658. border-bottom: 1rpx solid #EEEEEE;
  659. }
  660. .goodsName {
  661. width: 80%;
  662. color: #333333;
  663. font-size: 26rpx;
  664. }
  665. .goodsName2{
  666. padding: 20rpx 20rpx 15rpx;
  667. color: #333333;
  668. font-size: 26rpx;
  669. }
  670. .informationNum {
  671. color: #333333;
  672. font-size: 26rpx;
  673. }
  674. .codeCopy {
  675. width: 77rpx;
  676. height: 36rpx;
  677. background: #F4F5F7;
  678. border-radius: 22rpx;
  679. font-size: 24rpx;
  680. color: #333333;
  681. text-align: center;
  682. line-height: 33rpx;
  683. padding: 0 15rpx;
  684. margin-left: 20rpx;
  685. }
  686. .orderBottom {
  687. width: 750rpx;
  688. height: 98rpx;
  689. background: #FFFFFF;
  690. position: fixed;
  691. left: 0;
  692. bottom: 0;
  693. display: flex;
  694. justify-content: flex-end;
  695. }
  696. .bottom {
  697. display: flex;
  698. justify-content: flex-end;
  699. padding: 20rpx;
  700. background-color: #FFFFFF;
  701. align-items: center;
  702. height: 98rpx;
  703. width: 100vw;
  704. position: fixed;
  705. bottom: 0rpx;
  706. padding-bottom: constant(safe-area-inset-bottom);
  707. padding-bottom: env(safe-area-inset-bottom);
  708. }
  709. .cancel {
  710. color: #3C3C3C;
  711. font-size: 28rpx;
  712. width: 150rpx;
  713. height: 56rpx;
  714. border-radius: 36rpx;
  715. border: 1rpx solid #DDDDDD;
  716. text-align: center;
  717. line-height: 56rpx;
  718. margin-right: 40rpx;
  719. }
  720. .defer {
  721. color: #D53533;
  722. font-size: 28rpx;
  723. width: 150rpx;
  724. height: 56rpx;
  725. border-radius: 36rpx;
  726. border: 1rpx solid #D53533;
  727. text-align: center;
  728. line-height: 56rpx;
  729. margin-right: 40rpx;
  730. }
  731. .itemBox {
  732. margin: 20rpx;
  733. border-radius: 10rpx;
  734. border: 2rpx solid #EEEEEE;
  735. }
  736. .itemTop {
  737. padding: 18rpx 20rpx;
  738. padding-right: 0;
  739. background-color: #FFEFD5;
  740. display: flex;
  741. justify-content: space-between;
  742. align-content: center;
  743. }
  744. .topTitle {
  745. width: 104rpx;
  746. font-size: 26rpx;
  747. color: #333333;
  748. margin-right: 20rpx;
  749. text-align: right;
  750. }
  751. .leftItem {
  752. font-size: 26rpx;
  753. color: #333333;
  754. margin-right: 20rpx;
  755. flex-grow: 1;
  756. /* 隐藏文字显示 ...不换行 */
  757. overflow: hidden;
  758. text-overflow: ellipsis;
  759. white-space: nowrap;
  760. }
  761. .itemContent {
  762. padding: 20rpx;
  763. padding-right: 0;
  764. background-color: #FFFFFF;
  765. display: flex;
  766. justify-content: space-between;
  767. align-content: center;
  768. }
  769. .maBox {
  770. width: 100%;
  771. height: 100vh;
  772. background: rgba(0, 0, 0, 0.4);
  773. position: fixed;
  774. left: 0;
  775. top: 0;
  776. z-index: 9999;
  777. }
  778. .querenMa {
  779. width: 578;
  780. height: 640rpx;
  781. background: #ffffff;
  782. margin: 0 86rpx;
  783. margin-top: 50%;
  784. border-radius: 24rpx;
  785. }
  786. .maTop {
  787. display: flex;
  788. justify-content: space-between;
  789. align-items: center;
  790. padding: 30rpx 20rpx 15rpx;
  791. }
  792. .maTitle {
  793. color: #666666;
  794. font-size: 26rpx;
  795. text-align: center;
  796. padding-left: 100rpx;
  797. }
  798. .swiper{
  799. width: 100%;
  800. height: 85%;
  801. background: #FFFFFF;
  802. }
  803. .swiper-item{
  804. width: 100%;
  805. height: 100%;
  806. }
  807. .maCode {
  808. font-size: 30rpx;
  809. font-weight: 500;
  810. color: #333333;
  811. line-height: 42rpx;
  812. margin-bottom: 40rpx;
  813. text-align: center;
  814. }
  815. .maBoximg {
  816. width: 400rpx;
  817. height: 400rpx;
  818. margin-left: 86rpx;
  819. }
  820. .authorizBox{
  821. width: 100vw;
  822. height: 100vh;
  823. background: rgba(0, 0, 0, 0.5);
  824. position: fixed;
  825. top: 0;
  826. left: 0;
  827. }
  828. .authorizCont{
  829. margin-top: 30vh;
  830. width: 564rpx;
  831. height: 408rpx;
  832. background: #FFFFFF;
  833. border-radius: 24rpx;
  834. margin-left: 93rpx;
  835. position: relative;
  836. }
  837. .authorizCloseImg{
  838. width: 62rpx;
  839. height: 62rpx;
  840. }
  841. .sqLogoBox{
  842. width: 180rpx;
  843. height: 180rpx;
  844. background: #FFFFFF;
  845. border-radius: 90rpx;
  846. text-align: center;
  847. position: absolute;
  848. top: -50rpx;
  849. left: 192rpx;
  850. }
  851. .authorizName{
  852. color: #333333;
  853. line-height: 42rpx;
  854. font-size: 30rpx;
  855. text-align: center;
  856. padding-top: 58rpx;
  857. }
  858. .authorizMs{
  859. color: #999999;
  860. line-height: 36rpx;
  861. font-size: 26rpx;
  862. width: 452rpx;
  863. padding-top: 24rpx;
  864. text-align: center;
  865. margin-left: 56rpx;
  866. }
  867. .authorizContbutton{
  868. width: 422rpx;
  869. height: 88rpx;
  870. background: #D53533;
  871. border-radius: 44rpx;
  872. line-height: 88rpx;
  873. text-align: center;
  874. font-size:30rpx;
  875. color: #FFFFFF;
  876. margin-top: 62rpx;
  877. margin-left:71rpx;
  878. }
  879. </style>