paintOrderDetail.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062
  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. if(!this.userInfo){
  236. this.authorizShow=true
  237. }
  238. })
  239. }
  240. },
  241. methods: {
  242. decryptPhoneNumber: function(e) {
  243. console.log(e);
  244. this.code=e.detail.code
  245. this.wxPhoneLogin()
  246. this.authorizShow=false;
  247. },
  248. wxPhoneLogin(){
  249. var that=this;
  250. this.$http('miniApp2/sys/wxPhoneLogin', {
  251. appId:this.ext.appId,
  252. unionId:this.ext.unionId,
  253. code:this.code,
  254. openId:this.wxOpenData.openid
  255. },'POST').then(res => {
  256. var data = res.data;
  257. if(data.loginInfo){
  258. this.userInfo=data.loginInfo.openUser;
  259. this.wxOpenData=data.loginInfo;
  260. this.$store.commit('mutationswxOpenData', data)
  261. this.$store.commit('mutationsuserInfo', this.userInfo)
  262. this.getData()
  263. }
  264. })
  265. },
  266. pay(){
  267. this.$http('openMallOrder/unifiedPay', {
  268. sheetId:this.id
  269. },'POST').then(res => {
  270. if(res.code==0){
  271. this.requestPayment(res.data)
  272. }else{
  273. uni.showToast({
  274. title: res.msg,
  275. icon: 'none',
  276. duration: 3000
  277. });
  278. }
  279. })
  280. },
  281. requestPayment(res){
  282. var payInfo=res;
  283. //console.log(payInfo)
  284. //console.log(String(Date.now()))
  285. var that=this;
  286. uni.requestPayment({
  287. provider: 'wxpay',
  288. //timeStamp: String(Date.now()),
  289. timeStamp: payInfo.timeStamp,
  290. nonceStr: payInfo.nonceStr,
  291. package:payInfo.package,
  292. signType: payInfo.signType,
  293. paySign: payInfo.paySign,
  294. appid:payInfo.appId,
  295. success: function (res) {
  296. console.log('success:' + JSON.stringify(res));
  297. uni.showToast({
  298. title: '支付成功',
  299. icon:'none',
  300. duration: 2000
  301. });
  302. that.getData()
  303. },
  304. fail: function (err) {
  305. console.log(err)
  306. uni.showToast({
  307. title: '支付失败',
  308. icon:'none',
  309. duration: 2000
  310. });
  311. }
  312. });
  313. },
  314. copy(txt) {
  315. uni.setClipboardData({
  316. data: txt,
  317. success: function() {
  318. uni.showToast({
  319. title: '复制成功',
  320. icon: 'none',
  321. duration: 2000
  322. });
  323. }
  324. });
  325. },
  326. upTime() {
  327. uni.showLoading({
  328. title: '加载中'
  329. })
  330. var that = this
  331. this.$http('openreservation/carOwner/updateTimeOfAppointment', {
  332. id: this.id,
  333. shopId: this.orderData.shopInfo.id,
  334. billDate: this.billDate
  335. }, 'POST').then(res => {
  336. uni.hideLoading();
  337. // var list = res.data.Items
  338. var list = res.data
  339. console.log("result+=", res.data);
  340. uni.showToast({
  341. title: '延期成功',
  342. icon: 'none',
  343. duration: 2000
  344. });
  345. setTimeout(function() {
  346. that.getData();
  347. }, 1000);
  348. })
  349. },
  350. cancelBespeak(){
  351. var that = this
  352. uni.showModal({
  353. title: '提示',
  354. content: '是否取消该订单',
  355. cancelText:'否',
  356. confirmText:'是',
  357. success: function (res) {
  358. if (res.confirm) {
  359. uni.showLoading({
  360. title: '加载中'
  361. })
  362. that.$http('openOrderManagement/updateSheetState', {
  363. id: that.id,
  364. }, 'POST').then(res => {
  365. uni.hideLoading();
  366. // var list = res.data.Items
  367. uni.showToast({
  368. title: '取消成功',
  369. icon: 'none',
  370. duration: 2000
  371. });
  372. setTimeout(function() {
  373. that.getData();
  374. }, 1000);
  375. })
  376. } else if (res.cancel) {
  377. }
  378. }
  379. });
  380. },
  381. map() {
  382. console.log("打开地图")
  383. var that = this;
  384. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  385. uni.showToast({
  386. title: '该店铺未设置定位',
  387. icon: 'none',
  388. duration: 3000
  389. });
  390. } else {
  391. uni.openLocation({
  392. latitude: Number(that.orderData.shopInfo.lat),
  393. longitude: Number(that.orderData.shopInfo.lng),
  394. name: that.orderData.shopInfo.shopName,
  395. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  396. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  397. success: function() {
  398. console.log('success');
  399. },
  400. fail(err) {
  401. console.log(err)
  402. }
  403. });
  404. }
  405. },
  406. call() {
  407. uni.makePhoneCall({
  408. phoneNumber: this.orderData.shopInfo.mobilePhone
  409. });
  410. },
  411. getData() {
  412. uni.showLoading({
  413. title: '加载中'
  414. });
  415. this.$http('openOrderManagement/queryOpenSheet', {
  416. id: this.id,
  417. }, 'GET').then(res => {
  418. uni.hideLoading();
  419. this.orderData = res.data;
  420. if (this.quanMaList) {
  421. this.quanMaList = [];
  422. }
  423. let maList = this.orderData.OpenSheetQRCode;
  424. if (maList) {
  425. maList.forEach(item =>{
  426. if (item.writeoffState==1) {
  427. this.quanMaList.push(item.qrCode);
  428. }
  429. })
  430. }
  431. console.log('可用券码--',this.quanMaList);
  432. })
  433. },
  434. goback() {
  435. uni.navigateBack({
  436. delta: 1
  437. })
  438. },
  439. gohome(){
  440. uni.switchTab({
  441. url:'../../index/index'
  442. })
  443. },
  444. },
  445. onPullDownRefresh() {
  446. this.getData()
  447. setTimeout(function() {
  448. uni.stopPullDownRefresh();
  449. }, 1000);
  450. },
  451. }
  452. </script>
  453. <style scoped>
  454. .box {
  455. min-height: 100vh;
  456. background: #F4F5F7;
  457. padding-bottom: 135rpx;
  458. }
  459. .zdyNavBox{
  460. width: 100vw;
  461. background: #FFFFFF;
  462. position: fixed;
  463. top: 0;
  464. left: 0;
  465. z-index: 9999999;
  466. }
  467. .zdyNav{
  468. height: 44px;
  469. display: flex;
  470. justify-content: space-between;
  471. align-items: center;
  472. }
  473. .backImg{
  474. width: 44rpx;
  475. height: 44rpx;
  476. margin-left: 10rpx;
  477. margin-right: 20rpx;
  478. }
  479. .homeImg{
  480. width: 44rpx;
  481. height: 44rpx;
  482. }
  483. .zdyNavLeft{
  484. display: flex;
  485. align-items: center;
  486. }
  487. .zdyNavTitle{
  488. width: 100vw;
  489. height: 44px;
  490. background: #FFFFFF;
  491. text-align: center;
  492. font-size: 34rpx;
  493. line-height: 44px;
  494. }
  495. .top {
  496. height: 190rpx;
  497. background: #FF0000;
  498. }
  499. .orderState {
  500. display: flex;
  501. justify-content: center;
  502. align-items: center;
  503. padding-top: 40rpx;
  504. }
  505. .SheetState {
  506. display: flex;
  507. justify-content: center;
  508. font-size: 36rpx;
  509. font-weight: 500;
  510. color: #FFFFFF;
  511. margin-left: 15rpx;
  512. }
  513. .timeEditImg {
  514. width: 25rpx;
  515. height: 25rpx;
  516. padding-left: 20rpx;
  517. }
  518. .shopBoximg {
  519. width: 40rpx;
  520. height: 40rpx;
  521. }
  522. .shopRightImg {
  523. width: 44rpx;
  524. height: 45rpx;
  525. }
  526. .shopsx {
  527. width: 1px;
  528. height: 50rpx;
  529. background: #EEEEEE;
  530. margin-top: 30rpx;
  531. margin-left: 28rpx;
  532. }
  533. .shopBox {
  534. display: flex;
  535. padding: 30rpx 20rpx;
  536. margin: 0rpx 24rpx;
  537. margin-top: -60rpx;
  538. background-color: #FFFFFF;
  539. border-radius: 10rpx;
  540. }
  541. .shopCont {
  542. width: 405rpx;
  543. padding-left: 20rpx;
  544. }
  545. .shopName {
  546. font-size: 30rpx;
  547. font-weight: bold;
  548. color: #3C3C3C;
  549. line-height: 42rpx;
  550. }
  551. .Address {
  552. color: #999999;
  553. font-size: 24rpx;
  554. margin-top: 10rpx;
  555. }
  556. .shopRihgtTxt {
  557. color: #999999;
  558. font-size: 24rpx;
  559. }
  560. .shopRightBox {
  561. padding-left: 28rpx;
  562. }
  563. .detailedTitle {
  564. padding: 23rpx 20rpx;
  565. display: flex;
  566. text-align: center;
  567. align-content: flex-start;
  568. border-bottom: 1rpx solid #EEEEEE;
  569. font-size: 30rpx;
  570. font-weight: bold;
  571. color: #3C3C3C;
  572. }
  573. .detailedLine {
  574. display: flex;
  575. padding: 16rpx 20rpx;
  576. justify-content: space-between;
  577. align-items: center;
  578. }
  579. .detailedImg {
  580. width: 120rpx;
  581. height: 120rpx;
  582. border-radius: 10rpx;
  583. }
  584. .detailedName {
  585. display: flex;
  586. align-items: center;
  587. }
  588. .code {
  589. font-size: 26rpx;
  590. color: #333333;
  591. font-weight: bold;
  592. width: 180rpx
  593. }
  594. .old {
  595. color: #999999;
  596. font-weight: 400;
  597. text-decoration: line-through;
  598. }
  599. .redPoint {
  600. width: 10rpx;
  601. height: 10rpx;
  602. background: #FF0000;
  603. border-radius: 10rpx;
  604. margin-right: 10rpx;
  605. }
  606. .quanState {
  607. font-size: 22rpx;
  608. color: #F19D01;
  609. padding: 0 10rpx;
  610. border: 1rpx solid #F19D01;
  611. border-radius: 4rpx;
  612. margin-left: 20rpx;
  613. }
  614. .quanState2{
  615. font-size: 22rpx;
  616. color: #999999;
  617. padding: 0 10rpx;
  618. border: 1rpx solid #DDDDDD;
  619. border-radius: 4rpx;
  620. margin-left: 20rpx;
  621. }
  622. .information {
  623. background: #FFFFFF;
  624. border-radius: 10rpx;
  625. margin: 20rpx 24rpx;
  626. padding-bottom: 15rpx;
  627. }
  628. .informationLine {
  629. display: flex;
  630. padding: 15rpx 20rpx;
  631. }
  632. .informationLine2 {
  633. display: flex;
  634. justify-content: space-between;
  635. font-size: 26rpx;
  636. padding: 20rpx;
  637. align-items: center;
  638. padding-bottom: 0;
  639. }
  640. .salePrice {
  641. font-size: 26rpx;
  642. font-weight: 500;
  643. color: #333333;
  644. line-height: 45rpx;
  645. }
  646. .money {
  647. background: #FFFFFF;
  648. border-radius: 10rpx;
  649. margin: 20rpx 24rpx;
  650. display: flex;
  651. justify-content: space-between;
  652. font-size: 26rpx;
  653. padding: 30rpx 20rpx;
  654. }
  655. .informationTxt {
  656. width: 190rpx;
  657. font-size: 26rpx;
  658. color: #999999;
  659. }
  660. .line {
  661. height: 20rpx;
  662. background-color: #FFFFFF;
  663. border-bottom: 1rpx solid #EEEEEE;
  664. }
  665. .goodsName {
  666. width: 80%;
  667. color: #333333;
  668. font-size: 26rpx;
  669. }
  670. .goodsName2{
  671. padding: 20rpx 20rpx 15rpx;
  672. color: #333333;
  673. font-size: 26rpx;
  674. }
  675. .informationNum {
  676. color: #333333;
  677. font-size: 26rpx;
  678. }
  679. .codeCopy {
  680. width: 77rpx;
  681. height: 36rpx;
  682. background: #F4F5F7;
  683. border-radius: 22rpx;
  684. font-size: 24rpx;
  685. color: #333333;
  686. text-align: center;
  687. line-height: 33rpx;
  688. padding: 0 15rpx;
  689. margin-left: 20rpx;
  690. }
  691. .orderBottom {
  692. width: 750rpx;
  693. height: 98rpx;
  694. background: #FFFFFF;
  695. position: fixed;
  696. left: 0;
  697. bottom: 0;
  698. display: flex;
  699. justify-content: flex-end;
  700. }
  701. .bottom {
  702. display: flex;
  703. justify-content: flex-end;
  704. padding: 20rpx;
  705. background-color: #FFFFFF;
  706. align-items: center;
  707. height: 98rpx;
  708. width: 100vw;
  709. position: fixed;
  710. bottom: 0rpx;
  711. padding-bottom: constant(safe-area-inset-bottom);
  712. padding-bottom: env(safe-area-inset-bottom);
  713. }
  714. .cancel {
  715. color: #3C3C3C;
  716. font-size: 28rpx;
  717. width: 150rpx;
  718. height: 56rpx;
  719. border-radius: 36rpx;
  720. border: 1rpx solid #DDDDDD;
  721. text-align: center;
  722. line-height: 56rpx;
  723. margin-right: 40rpx;
  724. }
  725. .defer {
  726. color: #D53533;
  727. font-size: 28rpx;
  728. width: 150rpx;
  729. height: 56rpx;
  730. border-radius: 36rpx;
  731. border: 1rpx solid #D53533;
  732. text-align: center;
  733. line-height: 56rpx;
  734. margin-right: 40rpx;
  735. }
  736. .itemBox {
  737. margin: 20rpx;
  738. border-radius: 10rpx;
  739. border: 2rpx solid #EEEEEE;
  740. }
  741. .itemTop {
  742. padding: 18rpx 20rpx;
  743. padding-right: 0;
  744. background-color: #FFEFD5;
  745. display: flex;
  746. justify-content: space-between;
  747. align-content: center;
  748. }
  749. .topTitle {
  750. width: 104rpx;
  751. font-size: 26rpx;
  752. color: #333333;
  753. margin-right: 20rpx;
  754. text-align: right;
  755. }
  756. .leftItem {
  757. font-size: 26rpx;
  758. color: #333333;
  759. margin-right: 20rpx;
  760. flex-grow: 1;
  761. /* 隐藏文字显示 ...不换行 */
  762. overflow: hidden;
  763. text-overflow: ellipsis;
  764. white-space: nowrap;
  765. }
  766. .itemContent {
  767. padding: 20rpx;
  768. padding-right: 0;
  769. background-color: #FFFFFF;
  770. display: flex;
  771. justify-content: space-between;
  772. align-content: center;
  773. }
  774. .maBox {
  775. width: 100%;
  776. height: 100vh;
  777. background: rgba(0, 0, 0, 0.4);
  778. position: fixed;
  779. left: 0;
  780. top: 0;
  781. z-index: 9999;
  782. }
  783. .querenMa {
  784. width: 578;
  785. height: 640rpx;
  786. background: #ffffff;
  787. margin: 0 86rpx;
  788. margin-top: 50%;
  789. border-radius: 24rpx;
  790. }
  791. .maTop {
  792. display: flex;
  793. justify-content: space-between;
  794. align-items: center;
  795. padding: 30rpx 20rpx 15rpx;
  796. }
  797. .maTitle {
  798. color: #666666;
  799. font-size: 26rpx;
  800. text-align: center;
  801. padding-left: 100rpx;
  802. }
  803. .swiper{
  804. width: 100%;
  805. height: 85%;
  806. background: #FFFFFF;
  807. }
  808. .swiper-item{
  809. width: 100%;
  810. height: 100%;
  811. }
  812. .maCode {
  813. font-size: 30rpx;
  814. font-weight: 500;
  815. color: #333333;
  816. line-height: 42rpx;
  817. margin-bottom: 40rpx;
  818. text-align: center;
  819. }
  820. .maBoximg {
  821. width: 400rpx;
  822. height: 400rpx;
  823. margin-left: 86rpx;
  824. }
  825. .authorizBox{
  826. width: 100vw;
  827. height: 100vh;
  828. background: rgba(0, 0, 0, 0.5);
  829. position: fixed;
  830. top: 0;
  831. left: 0;
  832. }
  833. .authorizCont{
  834. margin-top: 30vh;
  835. width: 564rpx;
  836. height: 408rpx;
  837. background: #FFFFFF;
  838. border-radius: 24rpx;
  839. margin-left: 93rpx;
  840. position: relative;
  841. }
  842. .authorizCloseImg{
  843. width: 62rpx;
  844. height: 62rpx;
  845. }
  846. .sqLogoBox{
  847. width: 180rpx;
  848. height: 180rpx;
  849. background: #FFFFFF;
  850. border-radius: 90rpx;
  851. text-align: center;
  852. position: absolute;
  853. top: -50rpx;
  854. left: 192rpx;
  855. }
  856. .authorizName{
  857. color: #333333;
  858. line-height: 42rpx;
  859. font-size: 30rpx;
  860. text-align: center;
  861. padding-top: 58rpx;
  862. }
  863. .authorizMs{
  864. color: #999999;
  865. line-height: 36rpx;
  866. font-size: 26rpx;
  867. width: 452rpx;
  868. padding-top: 24rpx;
  869. text-align: center;
  870. margin-left: 56rpx;
  871. }
  872. .authorizContbutton{
  873. width: 422rpx;
  874. height: 88rpx;
  875. background: #D53533;
  876. border-radius: 44rpx;
  877. line-height: 88rpx;
  878. text-align: center;
  879. font-size:30rpx;
  880. color: #FFFFFF;
  881. margin-top: 62rpx;
  882. margin-left:71rpx;
  883. }
  884. </style>