activityOrderDetail.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254
  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">
  9. </image>
  10. </view>
  11. <view class="zdyNavTitle">订单详情</view>
  12. <view style="width: 50px;"></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">
  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. <view class="shopRightBox">
  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"
  50. :key="index">
  51. <view class="informationLine2">
  52. <view class="goodsName">{{item.itemName}}</view>
  53. <view class="huodong" @click="goDetail(item.itemId)">
  54. <view class="goodsName3">活动详情</view>
  55. <image src="../../static/img/little_rightArrow.png" mode="" style="width: 30rpx;height: 30rpx;">
  56. </image>
  57. </view>
  58. </view>
  59. <view class="salePrice"><span class="informationNum">¥</span>{{item.salePrice}}</view>
  60. </view>
  61. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4" class="line"></view>
  62. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4">
  63. <view class="goodsName2">
  64. 券码信息({{quanMaList.length?quanMaList.length:0}}张可用)
  65. </view>
  66. <view class="detailedLine" v-for="(v,index) in orderData.OpenSheetQRCode">
  67. <view v-if="v.writeoffState==1" class="detailedName">
  68. <view class="redPoint"></view>
  69. <view class="code">{{v.qrCode}}</view>
  70. <view class="quanState">待使用</view>
  71. </view>
  72. <view v-if="v.writeoffState==3" class="detailedName">
  73. <view class="redPoint"></view>
  74. <view class="code old">{{v.qrCode}}</view>
  75. <view class="quanState2">已使用</view>
  76. </view>
  77. <image src="../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
  78. v-if="v.writeoffState==1" @click="isShowMa=true"></image>
  79. </view>
  80. </view>
  81. </view>
  82. <!-- 实付款 -->
  83. <view class="money">
  84. <view class="informationNum">实付款:</view>
  85. <view class="informationNum" style="color: #FF0000;font-weight: bold;">¥{{orderData.data.realMoney}}</view>
  86. </view>
  87. <!-- 订单信息 -->
  88. <view class="information">
  89. <view class="detailedTitle">订单信息</view>
  90. <view class="informationLine" v-if="orderData.data.plateNumber">
  91. <view class="informationTxt">车牌号:</view>
  92. <view class="informationNum">{{orderData.data.plateNumber}}</view>
  93. </view>
  94. <view class="informationLine" v-if="orderData.data.customerName">
  95. <view class="informationTxt">联系人:</view>
  96. <view class="informationNum">{{orderData.data.customerName}}</view>
  97. </view>
  98. <view class="informationLine" v-if="orderData.data.mobilePhone">
  99. <view class="informationTxt">手机号:</view>
  100. <view class="informationNum">{{orderData.data.mobilePhone}}</view>
  101. </view>
  102. <view class="informationLine" v-if="orderData.data.unit">
  103. <view class="informationTxt">单位:</view>
  104. <view class="informationNum">{{orderData.data.unit}}</view>
  105. </view>
  106. <view class="informationLine">
  107. <view class="informationTxt">报名时间:</view>
  108. <view class="informationNum">{{orderData.data.createTime}}</view>
  109. </view>
  110. <view class="informationLine">
  111. <view class="informationTxt">订单单号:</view>
  112. <view class="informationNum">{{orderData.data.code}}<span class="codeCopy"
  113. @click="copy(orderData.data.code)">复制</span></view>
  114. </view>
  115. </view>
  116. <!-- 支付信息 -->
  117. <view class="information">
  118. <view class="detailedTitle">支付信息</view>
  119. <view class="informationLine">
  120. <view class="informationTxt">支付状态:</view>
  121. <view class="informationNum" v-if="orderData.data.payState==1">未支付</view>
  122. <view class="informationNum" v-if="orderData.data.payState==2">已支付</view>
  123. </view>
  124. <view class="informationLine">
  125. <view class="informationTxt">支付方式:</view>
  126. <view class="informationNum" v-if="orderData.data.payType==1">在线支付</view>
  127. <view class="informationNum" v-if="orderData.data.payType==2">-</view>
  128. </view>
  129. <view class="informationLine">
  130. <view class="informationTxt">支付时间:</view>
  131. <view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
  132. </view>
  133. </view>
  134. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  135. <!-- 待付款 -->
  136. <view class="bottom" v-if="orderData.data.sheetState == 1">
  137. <view v-if="iOSInfo.indexOf('Q030')!=-1||!iOSInfo" class="cancel" @click="cancelBespeak">取消订单</view>
  138. </view>
  139. <!-- 待服务 -->
  140. <view class="bottom" v-if="orderData.data.sheetState == 2">
  141. <view v-if="(iOSInfo.indexOf('Q030')!=-1||!iOSInfo) && (orderData.data.payType==2) && (orderData.data.writeoffState==1)" class="cancel" @click="cancelBespeak">取消订单</view>
  142. <view v-if="(iOSInfo.indexOf('Q031')!=-1||!iOSInfo) && (orderData.data.payType==1) && (orderData.data.payState==2)" class="defer" @click="isShowTui=true">退款</view>
  143. <view v-if="iOSInfo.indexOf('Q032')!=-1||!iOSInfo" class="defer" @click="goHeXiao">核销</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"
  154. indicator-active-color="#D53533">
  155. <swiper-item v-for="(item,index) in quanMaList">
  156. <view class="swiper-item">
  157. <view class="maCode">{{item}}</view>
  158. <view class="maBoximg">
  159. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="400" :unit="unit"
  160. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  161. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  162. </view>
  163. </view>
  164. </swiper-item>
  165. </swiper>
  166. </view>
  167. </view>
  168. <!-- 退款原因 -->
  169. <view class="tuikuanBox" v-if="isShowTui==true">
  170. <view class="tuikuan">
  171. <view class="tuiTop">
  172. <view class="tuiTitle">退款</view>
  173. <image @click="isShowTui=false" src="../../static/img/icon_close.png" mode=""
  174. style="width: 26rpx; height: 26rpx;"></image>
  175. </view>
  176. <view class="contLine">
  177. <view class="contlineLeft">
  178. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  179. 退款原因
  180. </view>
  181. <view class="contlineRight carModelRight" @click="">
  182. <picker class="carModel" @change="bindChange" mode="selector" :value="index"
  183. :range="tuicauseList" range-key="contents">
  184. <view class="uni-input">{{tuicauseList[index].contents}}</view>
  185. <!-- <view class="uni-input noColor" v-else>请选择</view> -->
  186. </picker>
  187. <image src="../../static/img/little_rightArrow.png" mode="" class="contlineRightJt"></image>
  188. </view>
  189. </view>
  190. <view class="contLine">
  191. <view class="contlineLeft">
  192. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  193. 退款金额
  194. </view>
  195. <view class="contlineRight carModelRight" @click="cktime">
  196. <span class="carModel">{{orderData.data.realMoney}}</span>
  197. </view>
  198. </view>
  199. <view class="contLine">
  200. <view class="contlineLeft">
  201. <image src="" mode="" class="star"></image>
  202. 补充描述
  203. </view>
  204. <view class="contlineRight">
  205. <textarea placeholder-style="color:#999999" placeholder="请输入" v-model="tuikuanContent"
  206. class="contlineRightInput" maxlength="-1" auto-height="true" @confirm="feedDone" />
  207. </view>
  208. </view>
  209. <view class="tuiBtns">
  210. <view class="btn" @click="isShowTui=false">取消</view>
  211. <view class="btn2" @click="goTui">确认退款</view>
  212. </view>
  213. </view>
  214. </view>
  215. </view>
  216. </template>
  217. <script>
  218. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  219. export default {
  220. components: {
  221. tkiQrcode
  222. },
  223. data() {
  224. return {
  225. id: '',
  226. iStatusBarHeight: '',
  227. orderData: '',
  228. onval: true, // val值变化时自动重新生成二维码
  229. loadMake: true, // 组件加载完成后自动生成二维码
  230. size: 500,
  231. qrcodeShow: false,
  232. qrcodeTop: '-100vh',
  233. qrcodeTopVal: '',
  234. ifShow: false,
  235. val: '二维码', // 要生成的二维码值
  236. unit: 'upx', // 单位
  237. background: '#b4e9e2', // 背景色
  238. foreground: '#309286', // 前景色
  239. pdground: '#262637', // 角标色
  240. icon: '', // 二维码图标
  241. iconsize: 40, // 二维码图标大小
  242. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  243. src: '', // 二维码生成后的图片地址或base64
  244. isShowMa: false,
  245. quanMaList: [],
  246. isShowTui: false,
  247. tuicauseList: [],
  248. tuikuanContent: '',
  249. index: 0,
  250. iOSInfo:'',
  251. }
  252. },
  253. onLoad(opt) {
  254. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  255. this.id = opt.id
  256. if (this.id) {
  257. this.getData()
  258. }
  259. this.getTuiKuanData()
  260. var qxnum = uni.getStorageSync("quanxian");
  261. if (qxnum == 1) {
  262. this.iOSInfo = JSON.parse(JSON.stringify(window.iOSInfo));
  263. }else if(qxnum==2){
  264. window.getAndroid=this.getAndroid;
  265. }
  266. },
  267. methods: {
  268. getAndroid(e){
  269. this.iOSInfo=e
  270. },
  271. goTui() {
  272. let yuanyin = this.tuicauseList[this.index].contents
  273. if (!yuanyin) {
  274. uni.showToast({
  275. title: '请选择退款原因',
  276. icon: 'none',
  277. duration: 3000
  278. });
  279. return false;
  280. }
  281. uni.showLoading({
  282. title: '加载中'
  283. })
  284. var that = this
  285. this.$http('openH5Indent/reimburse', {
  286. id: this.id,
  287. refundReason: yuanyin,
  288. refundComment: this.tuikuanContent,
  289. realMoney: this.orderData.data.realMoney
  290. }, 'GET').then(res => {
  291. uni.hideLoading();
  292. // var list = res.data.Items
  293. // var list = res.data
  294. console.log("result+=", res);
  295. if (res.code == 0) {
  296. that.isShowTui = false
  297. uni.showToast({
  298. title: '退款成功',
  299. icon: 'none',
  300. duration: 2000
  301. });
  302. setTimeout(function() {
  303. that.getData();
  304. }, 1000);
  305. }
  306. })
  307. },
  308. bindChange(e) {
  309. console.log(e);
  310. this.index = e.detail.value
  311. },
  312. feedDone(e) {
  313. this.tuikuanContent = e.target.value
  314. },
  315. // 核销
  316. goHeXiao() {
  317. //app交互
  318. var standalone = window.navigator.standalone
  319. var userAgent = window.navigator.userAgent.toLowerCase()
  320. var safari = /safari/.test(userAgent)
  321. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  322. var android = /android/.test(userAgent)
  323. if (ios) {
  324. if (true) { //!standalone&& !safari
  325. window.webkit.messageHandlers.goHeXiao.postMessage({
  326. "id": this.id ? this.id : ''
  327. })
  328. }
  329. } else if (android) {
  330. window.android.writeoff(this.id)
  331. }
  332. },
  333. getTuiKuanData() {
  334. uni.showLoading({
  335. title: '加载中'
  336. });
  337. this.$http('openH5Indent/getOpenReason', {
  338. // id: this.id,
  339. }, 'GET').then(res => {
  340. uni.hideLoading();
  341. this.tuicauseList = res.data;
  342. })
  343. },
  344. goDetail(id) {
  345. console.log('id--', id);
  346. uni.navigateTo({
  347. url: '../addjk/activityDetail?id=' + id
  348. })
  349. },
  350. pay() {
  351. this.$http('openMallOrder/unifiedPay', {
  352. sheetId: this.id
  353. }, 'POST').then(res => {
  354. if (res.code == 0) {
  355. this.requestPayment(res.data)
  356. } else {
  357. uni.showToast({
  358. title: res.msg,
  359. icon: 'none',
  360. duration: 3000
  361. });
  362. }
  363. })
  364. },
  365. requestPayment(res) {
  366. var payInfo = res;
  367. //console.log(payInfo)
  368. //console.log(String(Date.now()))
  369. var that = this;
  370. uni.requestPayment({
  371. provider: 'wxpay',
  372. //timeStamp: String(Date.now()),
  373. timeStamp: payInfo.timeStamp,
  374. nonceStr: payInfo.nonceStr,
  375. package: payInfo.package,
  376. signType: payInfo.signType,
  377. paySign: payInfo.paySign,
  378. appid: payInfo.appId,
  379. success: function(res) {
  380. console.log('success:' + JSON.stringify(res));
  381. uni.showToast({
  382. title: '支付成功',
  383. icon: 'none',
  384. duration: 2000
  385. });
  386. that.getData()
  387. },
  388. fail: function(err) {
  389. console.log(err)
  390. uni.showToast({
  391. title: '支付失败',
  392. icon: 'none',
  393. duration: 2000
  394. });
  395. }
  396. });
  397. },
  398. copy(txt) {
  399. uni.setClipboardData({
  400. data: txt,
  401. success: function() {
  402. uni.showToast({
  403. title: '复制成功',
  404. icon: 'none',
  405. duration: 2000
  406. });
  407. }
  408. });
  409. },
  410. upTime() {
  411. uni.showLoading({
  412. title: '加载中'
  413. })
  414. var that = this
  415. this.$http('openH5Indent/carOwner/updateTimeOfAppointment', {
  416. id: this.id,
  417. shopId: this.orderData.shopInfo.id,
  418. billDate: this.billDate
  419. }, 'POST').then(res => {
  420. uni.hideLoading();
  421. // var list = res.data.Items
  422. var list = res.data
  423. console.log("result+=", res.data);
  424. uni.showToast({
  425. title: '延期成功',
  426. icon: 'none',
  427. duration: 2000
  428. });
  429. setTimeout(function() {
  430. that.getData();
  431. }, 1000);
  432. })
  433. },
  434. cancelBespeak() {
  435. var that = this
  436. uni.showModal({
  437. title: '提示',
  438. content: '是否取消该订单',
  439. cancelText: '否',
  440. confirmText: '是',
  441. success: function(res) {
  442. if (res.confirm) {
  443. uni.showLoading({
  444. title: '加载中'
  445. })
  446. that.$http('openH5Indent/updateSheetState', {
  447. id: that.id,
  448. }, 'POST').then(res => {
  449. uni.hideLoading();
  450. // var list = res.data.Items
  451. uni.showToast({
  452. title: '取消成功',
  453. icon: 'none',
  454. duration: 2000
  455. });
  456. setTimeout(function() {
  457. that.getData();
  458. }, 1000);
  459. })
  460. } else if (res.cancel) {
  461. }
  462. }
  463. });
  464. },
  465. map() {
  466. console.log("打开地图")
  467. var that = this;
  468. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  469. uni.showToast({
  470. title: '该店铺未设置定位',
  471. icon: 'none',
  472. duration: 3000
  473. });
  474. } else {
  475. uni.openLocation({
  476. latitude: Number(that.orderData.shopInfo.lat),
  477. longitude: Number(that.orderData.shopInfo.lng),
  478. name: that.orderData.shopInfo.shopName,
  479. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  480. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  481. success: function() {
  482. console.log('success');
  483. },
  484. fail(err) {
  485. console.log(err)
  486. }
  487. });
  488. }
  489. },
  490. call() {
  491. uni.makePhoneCall({
  492. phoneNumber: this.orderData.shopInfo.mobilePhone
  493. });
  494. },
  495. getData() {
  496. uni.showLoading({
  497. title: '加载中'
  498. });
  499. this.$http('openH5Indent/queryOpenSheet', {
  500. id: this.id,
  501. }, 'GET').then(res => {
  502. uni.hideLoading();
  503. this.orderData = res.data;
  504. if (this.quanMaList) {
  505. this.quanMaList = [];
  506. }
  507. let maList = this.orderData.OpenSheetQRCode;
  508. if (maList) {
  509. maList.forEach(item => {
  510. if (item.writeoffState == 1) {
  511. this.quanMaList.push(item.qrCode);
  512. }
  513. })
  514. }
  515. console.log('可用券码--', this.quanMaList);
  516. })
  517. },
  518. goback() {
  519. uni.navigateBack({
  520. delta: 1
  521. })
  522. },
  523. gohome() {
  524. uni.switchTab({
  525. url: '../../index/index'
  526. })
  527. },
  528. },
  529. onPullDownRefresh() {
  530. this.getData()
  531. setTimeout(function() {
  532. uni.stopPullDownRefresh();
  533. }, 1000);
  534. },
  535. }
  536. </script>
  537. <style scoped>
  538. .box {
  539. min-height: 100vh;
  540. background: #F4F5F7;
  541. padding-bottom: 135rpx;
  542. }
  543. .zdyNavBox {
  544. width: 100vw;
  545. background: #FFFFFF;
  546. position: fixed;
  547. top: 0;
  548. left: 0;
  549. z-index: 9999999;
  550. }
  551. .zdyNav {
  552. height: 44px;
  553. display: flex;
  554. justify-content: space-between;
  555. align-items: center;
  556. }
  557. .backImg {
  558. width: 44rpx;
  559. height: 44rpx;
  560. margin-left: 10rpx;
  561. margin-right: 20rpx;
  562. }
  563. .homeImg {
  564. width: 44rpx;
  565. height: 44rpx;
  566. }
  567. .zdyNavLeft {
  568. display: flex;
  569. align-items: center;
  570. }
  571. .zdyNavTitle {
  572. height: 44px;
  573. background: #FFFFFF;
  574. text-align: center;
  575. font-size: 34rpx;
  576. line-height: 44px;
  577. }
  578. .top {
  579. height: 190rpx;
  580. background-color: #FF0000;
  581. }
  582. .orderState {
  583. display: flex;
  584. justify-content: center;
  585. align-items: center;
  586. padding-top: 40rpx;
  587. }
  588. .SheetState {
  589. display: flex;
  590. justify-content: center;
  591. font-size: 36rpx;
  592. font-weight: 500;
  593. color: #FFFFFF;
  594. margin-left: 15rpx;
  595. }
  596. .timeEditImg {
  597. width: 25rpx;
  598. height: 25rpx;
  599. padding-left: 20rpx;
  600. }
  601. .shopBoximg {
  602. width: 40rpx;
  603. height: 40rpx;
  604. }
  605. .shopRightImg {
  606. width: 44rpx;
  607. height: 45rpx;
  608. }
  609. .shopsx {
  610. width: 1px;
  611. height: 50rpx;
  612. background: #EEEEEE;
  613. margin-top: 30rpx;
  614. margin-left: 28rpx;
  615. }
  616. .shopBox {
  617. display: flex;
  618. padding: 30rpx 20rpx;
  619. margin: 0rpx 24rpx;
  620. margin-top: -60rpx;
  621. background-color: #FFFFFF;
  622. border-radius: 10rpx;
  623. }
  624. .shopCont {
  625. width: 405rpx;
  626. padding-left: 20rpx;
  627. }
  628. .shopName {
  629. font-size: 30rpx;
  630. font-weight: bold;
  631. color: #3C3C3C;
  632. line-height: 42rpx;
  633. }
  634. .Address {
  635. color: #999999;
  636. font-size: 24rpx;
  637. margin-top: 10rpx;
  638. }
  639. .shopRihgtTxt {
  640. color: #999999;
  641. font-size: 24rpx;
  642. }
  643. .shopRightBox {
  644. padding-left: 28rpx;
  645. }
  646. .detailedTitle {
  647. padding: 23rpx 20rpx;
  648. display: flex;
  649. text-align: center;
  650. align-content: flex-start;
  651. border-bottom: 1rpx solid #EEEEEE;
  652. font-size: 30rpx;
  653. font-weight: bold;
  654. color: #3C3C3C;
  655. }
  656. .detailedLine {
  657. display: flex;
  658. padding: 16rpx 20rpx;
  659. justify-content: space-between;
  660. align-items: center;
  661. }
  662. .detailedImg {
  663. width: 120rpx;
  664. height: 120rpx;
  665. border-radius: 10rpx;
  666. }
  667. .detailedName {
  668. display: flex;
  669. align-items: center;
  670. }
  671. .code {
  672. font-size: 26rpx;
  673. color: #333333;
  674. font-weight: bold;
  675. width: 180rpx
  676. }
  677. .old {
  678. color: #999999;
  679. font-weight: 400;
  680. text-decoration: line-through;
  681. }
  682. .redPoint {
  683. width: 10rpx;
  684. height: 10rpx;
  685. background: #FF0000;
  686. border-radius: 10rpx;
  687. margin-right: 10rpx;
  688. }
  689. .quanState {
  690. font-size: 22rpx;
  691. color: #F19D01;
  692. padding: 0 10rpx;
  693. border: 1rpx solid #F19D01;
  694. border-radius: 4rpx;
  695. margin-left: 20rpx;
  696. }
  697. .quanState2 {
  698. font-size: 22rpx;
  699. color: #999999;
  700. padding: 0 10rpx;
  701. border: 1rpx solid #DDDDDD;
  702. border-radius: 4rpx;
  703. margin-left: 20rpx;
  704. }
  705. .information {
  706. background: #FFFFFF;
  707. border-radius: 10rpx;
  708. margin: 20rpx 24rpx;
  709. padding-bottom: 15rpx;
  710. }
  711. .informationLine {
  712. display: flex;
  713. padding: 15rpx 20rpx;
  714. }
  715. .informationLine2 {
  716. display: flex;
  717. justify-content: space-between;
  718. font-size: 26rpx;
  719. padding: 20rpx;
  720. align-items: center;
  721. padding-bottom: 0;
  722. }
  723. .salePrice {
  724. padding-left: 20rpx;
  725. padding-top: 15rpx;
  726. font-size: 26rpx;
  727. font-weight: 500;
  728. color: #333333;
  729. line-height: 45rpx;
  730. }
  731. .money {
  732. background: #FFFFFF;
  733. border-radius: 10rpx;
  734. margin: 20rpx 24rpx;
  735. display: flex;
  736. justify-content: space-between;
  737. font-size: 26rpx;
  738. padding: 30rpx 20rpx;
  739. }
  740. .informationTxt {
  741. width: 190rpx;
  742. font-size: 26rpx;
  743. color: #999999;
  744. }
  745. .line {
  746. height: 20rpx;
  747. background-color: #FFFFFF;
  748. border-bottom: 1rpx solid #EEEEEE;
  749. }
  750. .goodsName {
  751. width: 70%;
  752. color: #333333;
  753. font-size: 26rpx;
  754. }
  755. .huodong {
  756. display: flex;
  757. align-items: center;
  758. }
  759. .goodsName3 {
  760. color: #333333;
  761. font-size: 26rpx;
  762. }
  763. .goodsName2 {
  764. padding: 20rpx 20rpx 15rpx;
  765. color: #333333;
  766. font-size: 26rpx;
  767. }
  768. .informationNum {
  769. color: #333333;
  770. font-size: 26rpx;
  771. }
  772. .codeCopy {
  773. width: 77rpx;
  774. height: 36rpx;
  775. background: #F4F5F7;
  776. border-radius: 22rpx;
  777. font-size: 24rpx;
  778. color: #333333;
  779. text-align: center;
  780. line-height: 33rpx;
  781. padding: 0 15rpx;
  782. margin-left: 20rpx;
  783. }
  784. .bottom {
  785. display: flex;
  786. justify-content: flex-end;
  787. padding: 20rpx;
  788. background-color: #FFFFFF;
  789. align-items: center;
  790. height: 98rpx;
  791. width: 100vw;
  792. position: fixed;
  793. bottom: 0rpx;
  794. padding-bottom: constant(safe-area-inset-bottom);
  795. padding-bottom: env(safe-area-inset-bottom);
  796. }
  797. .cancel {
  798. color: #3C3C3C;
  799. font-size: 28rpx;
  800. width: 150rpx;
  801. height: 56rpx;
  802. border-radius: 36rpx;
  803. border: 1rpx solid #DDDDDD;
  804. text-align: center;
  805. line-height: 56rpx;
  806. margin-right: 40rpx;
  807. }
  808. .defer {
  809. color: #D53533;
  810. font-size: 28rpx;
  811. width: 150rpx;
  812. height: 56rpx;
  813. border-radius: 36rpx;
  814. border: 1rpx solid #D53533;
  815. text-align: center;
  816. line-height: 56rpx;
  817. margin-right: 40rpx;
  818. }
  819. .itemBox {
  820. margin: 20rpx;
  821. border-radius: 10rpx;
  822. border: 2rpx solid #EEEEEE;
  823. }
  824. .itemTop {
  825. padding: 18rpx 20rpx;
  826. padding-right: 0;
  827. background-color: #FFEFD5;
  828. display: flex;
  829. justify-content: space-between;
  830. align-content: center;
  831. }
  832. .topTitle {
  833. width: 104rpx;
  834. font-size: 26rpx;
  835. color: #333333;
  836. margin-right: 20rpx;
  837. text-align: right;
  838. }
  839. .leftItem {
  840. font-size: 26rpx;
  841. color: #333333;
  842. margin-right: 20rpx;
  843. flex-grow: 1;
  844. /* 隐藏文字显示 ...不换行 */
  845. overflow: hidden;
  846. text-overflow: ellipsis;
  847. white-space: nowrap;
  848. }
  849. .itemContent {
  850. padding: 20rpx;
  851. padding-right: 0;
  852. background-color: #FFFFFF;
  853. display: flex;
  854. justify-content: space-between;
  855. align-content: center;
  856. }
  857. .maBox {
  858. width: 100%;
  859. height: 100vh;
  860. background: rgba(0, 0, 0, 0.4);
  861. position: fixed;
  862. left: 0;
  863. top: 0;
  864. z-index: 9999;
  865. }
  866. .querenMa {
  867. width: 578;
  868. height: 640rpx;
  869. background: #ffffff;
  870. margin: 0 86rpx;
  871. margin-top: 50%;
  872. border-radius: 24rpx;
  873. }
  874. .maTop {
  875. display: flex;
  876. justify-content: space-between;
  877. align-items: center;
  878. padding: 30rpx 20rpx 15rpx;
  879. }
  880. .maTitle {
  881. color: #666666;
  882. font-size: 26rpx;
  883. text-align: center;
  884. padding-left: 100rpx;
  885. }
  886. .swiper {
  887. width: 100%;
  888. height: 85%;
  889. background: #FFFFFF;
  890. }
  891. .swiper-item {
  892. width: 100%;
  893. height: 100%;
  894. }
  895. .maCode {
  896. font-size: 30rpx;
  897. font-weight: 500;
  898. color: #333333;
  899. line-height: 42rpx;
  900. margin-bottom: 40rpx;
  901. text-align: center;
  902. }
  903. .maBoximg {
  904. width: 400rpx;
  905. height: 400rpx;
  906. margin-left: 86rpx;
  907. }
  908. .tuikuanBox {
  909. width: 100%;
  910. height: 100vh;
  911. background: rgba(0, 0, 0, 0.4);
  912. position: fixed;
  913. left: 0;
  914. top: 0;
  915. z-index: 999;
  916. }
  917. .tuikuan {
  918. width: 638rpx;
  919. height: 664rpx;
  920. background: #ffffff;
  921. margin: 0 36rpx;
  922. margin-top: 50%;
  923. border-radius: 24rpx;
  924. padding: 30rpx 20rpx;
  925. }
  926. .tuiTop {
  927. display: flex;
  928. justify-content: space-between;
  929. margin-bottom: 36rpx;
  930. }
  931. .tuiTitle {
  932. width: 56rpx;
  933. height: 40rpx;
  934. font-size: 28rpx;
  935. font-weight: 500;
  936. color: #3C3C3C;
  937. line-height: 40rpx;
  938. }
  939. .contLine {
  940. display: flex;
  941. justify-content: space-between;
  942. font-size: 28rpx;
  943. padding: 30rpx 0;
  944. border-bottom: 1px solid #EEEEEE;
  945. }
  946. .contlineLeft {
  947. color: #666666;
  948. line-height: 40rpx;
  949. align-items: center;
  950. }
  951. .star {
  952. width: 14rpx;
  953. height: 14rpx;
  954. padding-bottom: 5rpx;
  955. }
  956. .carModel {
  957. width: 350rpx;
  958. text-align: left;
  959. }
  960. .noColor {
  961. color: #CCCCCC;
  962. }
  963. .carModelRight {
  964. display: flex;
  965. justify-content: flex-start;
  966. align-items: center;
  967. }
  968. .contlineRight {
  969. color: #333333;
  970. line-height: 40rpx;
  971. width: 400rpx;
  972. text-align: right;
  973. }
  974. .contlineRightInput {
  975. color: #333333;
  976. text-align: left;
  977. font-size: 28rpx;
  978. min-height: 182rpx;
  979. width: 400rpx;
  980. }
  981. .contlineRightJt {
  982. width: 30rpx;
  983. height: 30rpx;
  984. }
  985. .tuiBtns {
  986. display: flex;
  987. padding: 40rpx 20rpx 10rpx;
  988. }
  989. .btn {
  990. width: 288rpx;
  991. height: 98rpx;
  992. background: #F4F5F7;
  993. border-radius: 10rpx;
  994. margin-right: 22rpx;
  995. font-size: 30rpx;
  996. font-weight: 500;
  997. color: #3C3C3C;
  998. line-height: 98rpx;
  999. text-align: center;
  1000. }
  1001. .btn2 {
  1002. width: 288rpx;
  1003. height: 98rpx;
  1004. background: #3F90F7;
  1005. border-radius: 10rpx;
  1006. font-size: 30rpx;
  1007. font-weight: 500;
  1008. color: #FFFFFF;
  1009. line-height: 98rpx;
  1010. text-align: center;
  1011. }
  1012. </style>