activityOrderDetail.vue 23 KB

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