mallOrderDetail.vue 24 KB

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