mallOrderDetail.vue 24 KB

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