paintOrderDetail.vue 23 KB

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