detail.vue 28 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274
  1. <template>
  2. <view>
  3. <!-- #ifdef MP || APP-PLUS -->
  4. <NavBar titleText="订单详情" :iconColor="iconColor" :textColor="iconColor" :isScrolling="isScrolling" showBack>
  5. </NavBar>
  6. <!-- #endif -->
  7. <view class="headerBg">
  8. <view :style="{ height: `${getHeight.barTop}px` }"></view>
  9. <view :style="{ height: `${getHeight.barHeight}px` }"></view>
  10. <view class="inner"></view>
  11. </view>
  12. <view class="order-detail pos-order-details">
  13. <view class="header">
  14. <view class="state">{{ info.refundStatus != 3?orderStatus[info.status]:'已退款' }}</view>
  15. <view v-if="[1,2].includes(info.status)&&info.refundStatus != 3" class="data">用户已下单,请及时发货哦~</view>
  16. <view v-if="info.refundStatus != 3&&info.status == 4" class="data">货物正在运输中,等待用户确认收货!</view>
  17. <view v-if="info.refundStatus != 3&&info.status == 3" class="data">用户已下单,您可以联系用户到店自提!</view>
  18. <view v-if="info.refundStatus != 3&&info.status == 5" class="data">用户已经确认收货啦,您可以联系用户索要好评呦!</view>
  19. <view v-if="info.refundStatus != 3&&info.status == 6" class="data">订单已经完成,您可以提现啦~</view>
  20. <view v-if="info.refundStatus == 3" class="data">此订单退款已原路返回!</view>
  21. </view>
  22. <!--view class="remarks acea-row row-middle">
  23. <text class="iconfont icon-ic_notes"></text>
  24. <view class="line1 mark-box" style="text-align: left;">
  25. {{info.merchantRemark ? info.merchantRemark : '订单未备注'}}
  26. </view>
  27. </view-->
  28. <view class="address" v-if="info.shippingType==1&&info.secondType!=2">
  29. <view class="name">
  30. <text class="iconfont icon-ic_location4"></text>
  31. {{ info.realName}}
  32. <text class="phone">{{ info.userPhone }}</text>
  33. </view>
  34. <view v-if="info.shippingType == 1">地址:{{ info.userAddress }}</view>
  35. </view>
  36. <view class="acea-row row-middle user-box">
  37. <!--image :src="info.avatar" class="image"></image-->
  38. <view class="text">
  39. <view class="iconfont icon-ic_location4 acea-row row-middle name">
  40. {{orderInfo.merName}}
  41. </view>
  42. <view v-if="orderInfo.merPhone" class="">{{orderInfo.merPhone}}</view>
  43. <view v-if="info.shippingType == 1">地址:{{ orderInfo.merAddress }}</view>
  44. </view>
  45. </view>
  46. <!-- 未拆单时,正常单 -->
  47. <view class="pos-order-goods split">
  48. <navigator :url="`/pages/goods_details/index?id=${item.product_id}`" hover-class="none"
  49. class="goods acea-row" v-for="(item, index) in info.orderDetailList" :key="index">
  50. <view class="picTxt acea-row">
  51. <view class="pictrue">
  52. <image :src="item.image" />
  53. </view>
  54. <view class="text info-text">
  55. <view class="info line1">{{ item.productName }}</view>
  56. <view class="attr line1">{{ item.sku }}</view>
  57. </view>
  58. </view>
  59. <view class="money">
  60. <BaseMoney :money="item.price" symbolSize="20" integerSize="32" decimalSize="20"></BaseMoney>
  61. <view class="num">共{{ item.payNum }}件</view>
  62. <view class="acea-row row-right">
  63. <view class="writeOff" v-if="item.refundNum">
  64. {{item.refundNum}}件已退款
  65. </view>
  66. </view>
  67. </view>
  68. </navigator>
  69. <view class="mark acea-row" v-if="info.userRemark">
  70. <view class="name">买家留言:</view>
  71. <view class="value line1">{{info.userRemark}}</view>
  72. </view>
  73. </view>
  74. <!-- 结束 -->
  75. <view class="wrapper">
  76. <view class="item acea-row row-between">
  77. <view>订单编号:</view>
  78. <view class="conter acea-row row-middle row-right">
  79. {{ info.orderNo}}
  80. <!-- #ifdef H5 -->
  81. <text class="copy copy-data" :data-clipboard-text="info.orderNo">复制</text>
  82. <!-- #endif -->
  83. <!-- #ifdef MP -->
  84. <text class="copy copy-data" @click="copyNum(info.orderNo)">复制</text>
  85. <!-- #endif -->
  86. </view>
  87. </view>
  88. <view class="item acea-row row-between">
  89. <view>下单时间:</view>
  90. <view class="conter">{{ info.payTime }}</view>
  91. </view>
  92. <!--view class="item acea-row row-between">
  93. <view>支付方式:</view>
  94. <view class="conter">
  95. {{payType[info.payChannel]}}
  96. </view>
  97. </view>
  98. <view class="item acea-row row-between">
  99. <view>支付时间:</view>
  100. <view class="conter">
  101. {{info.payTime}}
  102. </view>
  103. </view>
  104. <view class="item acea-row row-between">
  105. <view>下单时间:</view>
  106. <view class="conter">
  107. {{info.createTime}}
  108. </view>
  109. </view-->
  110. </view>
  111. <view class="wrapper" v-if="info.deliveryType != 'fictitious'">
  112. <view class="item acea-row row-between">
  113. <view>配送方式:</view>
  114. <view v-if="Number(info.secondType) > 4" class='conter'>自动发货</view>
  115. <view v-else-if="Number(info.secondType) == 2" class='conter'>虚拟发货</view>
  116. <view class="conter" v-else>
  117. {{info.shippingType==1?'骑手配送':info.shippingType==2?'到店自提':'虚拟发货'}}
  118. </view>
  119. </view>
  120. </view>
  121. <view class="wrapper" v-if="info.orderExtend&&JSON.parse(info.orderExtend).length">
  122. <systemFromInfo :orderExtend="JSON.parse(info.orderExtend)"></systemFromInfo>
  123. </view>
  124. <view class="wrapper">
  125. <view class='item acea-row row-between'>
  126. <view>商品总价(共{{info.totalNum}}件)</view>
  127. <view class='conter'>¥{{info.proTotalPrice}}</view>
  128. </view>
  129. <view class="item acea-row row-between">
  130. <view>配送费</view>
  131. <view class="conter">¥{{ orderInfo.deliveCharge}}</view>
  132. </view>
  133. <!--view class='item acea-row row-between'>
  134. <view>会员优惠</view>
  135. <view class='conter'>-¥{{info.svipDiscountPrice}}</view>
  136. </view>
  137. <view class="item acea-row row-between">
  138. <view>商家优惠</view>
  139. <view class="conter">-¥{{ info.merCouponPrice }}</view>
  140. </view>
  141. <view class='item acea-row row-between'>
  142. <view>平台优惠</view>
  143. <view class='conter'>-¥{{info.platCouponPrice}}</view>
  144. </view>
  145. <view class='item acea-row row-between'>
  146. <view>积分抵扣(使用{{info.useIntegral}}积分)</view>
  147. <view class='conter'>-¥{{info.integralPrice}}</view>
  148. </view>
  149. <view class="actualPay acea-row row-right">
  150. 实付款:
  151. <BaseMoney :money="info.payPrice" symbolSize="24" integerSize="40" decimalSize="24" color="#E93323">
  152. </BaseMoney>
  153. </view-->
  154. </view>
  155. <view class="height-add"></view>
  156. <!--view class="footer acea-row row-right row-middle">
  157. <view class="tomore" v-if="info.status==2&&!info.userRefundSign">
  158. <span @click="toMore">更多</span>
  159. <view class="more-operate" v-if="moreShow">
  160. <view class="sjx"></view>
  161. <view class="more-operate-item" @click="print">
  162. 小票打印
  163. </view>
  164. <view class="more-operate-item" @click="modify('1')">
  165. 订单备注
  166. </view>
  167. </view>
  168. </view>
  169. <view class="bnt cancel" @click="print" v-if="info.status!=2||(info.status==2&&info.userRefundSign)">
  170. 小票打印</view>
  171. <view class="bnt cancel" @click="modify('1')"
  172. v-if="info.status!=2||(info.status==2&&info.userRefundSign)">订单备注</view>
  173. <view class="bnt cancel" v-if="!info.userRefundSign&&info.totalNum!=refundSum" @click="modify('2',1)">
  174. 直接退款</view>
  175. <view class="bnt delivery" v-if="[1,2].includes(info.status)&&info.refundStatus != 3"
  176. @click="goDelivery(info)">立即发货</view>
  177. <view class="bnt delivery" v-if="[2,4,5,6].includes(info.status)&&info.shippingType=='1'"
  178. @click="goLogistics(info)">发货记录
  179. </view>
  180. <view class="bnt delivery" v-if="info.status==3&&info.refundStatus!=3" @click="verify">立即核销</view>
  181. </view>
  182. <PriceChange :change="change" :orderInfo="info" :isRefund="isRefund"
  183. v-on:statusChange="statusChange($event)" v-on:closechange="changeclose($event)"
  184. v-on:savePrice="savePrice" :status="status"></PriceChange-->
  185. </view>
  186. <uni-popup ref="hs_popup" background-color="#fff" borderRadius="10px">
  187. <view class="sh_popup-content"
  188. :class="{ 'popup-height': popup_center === 'left' || popup_center === 'right' }">
  189. <view class="sh_popup_title">
  190. 打印小票
  191. </view>
  192. <view class="sh_popup_text">
  193. 你确定要打印此订单小票吗?
  194. </view>
  195. <view class="sh_popup_btn">
  196. <view class="no_btn btn" @click="hsPopupClose">取消</view>
  197. <view class="yes_btn btn" @click="toRecycle">确认</view>
  198. </view>
  199. </view>
  200. </uni-popup>
  201. </view>
  202. </template>
  203. <script>
  204. import PriceChange from "../components/PriceChange/index.vue";
  205. import countDown from '@/components/countDown/index.vue'
  206. import BaseMoney from "../components/BaseMoney.vue";
  207. import systemFromInfo from '@/components/systemFromInfo';
  208. // #ifdef MP || APP-PLUS
  209. import NavBar from "../components/NavBar.vue";
  210. // #endif
  211. // #ifdef H5
  212. import ClipboardJS from "@/plugin/clipboard/clipboard.js";
  213. // #endif
  214. import {
  215. employeeOrderInfo,
  216. employeeOrderMark,
  217. orderInvoiceListInfo,
  218. orderGetVerfication,
  219. printReceipt
  220. } from '@/api/work.js';
  221. import {
  222. riderOrderInfo
  223. } from '@/api/rider.js';
  224. import {
  225. isMoney
  226. } from '@/utils/validate.js'
  227. export default {
  228. name: "AdminOrder",
  229. components: {
  230. PriceChange,
  231. countDown,
  232. BaseMoney,
  233. systemFromInfo,
  234. // #ifdef MP || APP-PLUS
  235. NavBar,
  236. // #endif
  237. },
  238. props: {},
  239. data: function() {
  240. return {
  241. popup_center: 'center',
  242. moreShow: false,
  243. payType: {
  244. 'public': '公众号支付',
  245. 'mini': '小程序支付',
  246. 'h5': '网页支付支付',
  247. 'yue': '余额支付',
  248. 'wechatIos': '微信Ios支付',
  249. 'wechatAndroid': '微信Android支付',
  250. 'alipay': '支付宝支付',
  251. 'alipayApp': '支付宝App支付'
  252. },
  253. orderStatus: ['待支付', '待发货', '部分发货', '待核销', '待收货', '已收货', '已完成', '已取消'],
  254. openErp: false,
  255. giveData: {
  256. give_integral: 0,
  257. give_coupon: []
  258. },
  259. giveCartInfo: [],
  260. totalNmu: 0,
  261. order: false,
  262. change: false,
  263. order_id: "",
  264. status: "",
  265. title: "标题",
  266. types: "",
  267. statusType: '',
  268. clickNum: 1,
  269. isRefund: 0, //1是仅退款;0是同意退货退款
  270. iconColor: '#FFFFFF',
  271. isScrolling: false,
  272. getHeight: this.$util.getWXStatusHeight(),
  273. confirmShow: false,
  274. info: {},
  275. refundSum: '',
  276. orderNo: '',
  277. orderInfo: {}
  278. };
  279. },
  280. onShow() {
  281. let self = this
  282. // #ifdef H5
  283. this.$nextTick(function() {
  284. var clipboard = new ClipboardJS('.copy-data');
  285. // var copybtn = document.getElementsByClassName("copy-data");
  286. // var clipboard = new Clipboard(copybtn);
  287. clipboard.on('success', function(e) {
  288. self.$util.Tips({
  289. title: '复制成功'
  290. })
  291. });
  292. clipboard.on('error', function(e) {
  293. self.$util.Tips({
  294. title: '复制失败'
  295. })
  296. });
  297. });
  298. // #endif
  299. this.initOrderInfo(this.orderNo)
  300. },
  301. onLoad(options) {
  302. this.orderInfo=JSON.parse(options.orderInfo);
  303. //this.orderNo = options.orderNo
  304. //this.deliveCharge=options.deliveCharge
  305. this.initOrderInfo(this.orderInfo.orderNo)
  306. },
  307. onPageScroll(e) {
  308. // #ifdef MP || APP-PLUS
  309. if (e.scrollTop > 50) {
  310. this.iconColor = '#333333';
  311. this.isScrolling = true;
  312. } else {
  313. this.iconColor = '#FFFFFF';
  314. this.isScrolling = false;
  315. }
  316. // #endif
  317. },
  318. methods: {
  319. hsPopupClose() {
  320. this.$refs.hs_popup.close()
  321. },
  322. toRecycle() {
  323. printReceipt(this.info.orderNo).then(res => {
  324. if (res.code == 200) {
  325. this.$util.Tips({
  326. title: '操作成功'
  327. })
  328. this.$refs.hs_popup.close()
  329. }
  330. })
  331. },
  332. hsPopupClose() {
  333. this.$refs.hs_popup.close()
  334. },
  335. print() {
  336. this.$refs.hs_popup.open('center')
  337. },
  338. //更多
  339. toMore() {
  340. this.moreShow = !this.moreShow
  341. },
  342. initOrderInfo(orderNo) {
  343. riderOrderInfo(orderNo).then(res => {
  344. this.info = res.data
  345. let refundSum = 0
  346. let detailList = this.info.orderDetailList
  347. detailList.forEach(item => {
  348. refundSum += item.refundNum
  349. })
  350. this.refundSum = refundSum
  351. })
  352. },
  353. //核销
  354. verify() {
  355. orderGetVerfication({
  356. verifyCode: this.info.verifyCode
  357. }).then(res => {
  358. if (res.code == 200) {
  359. uni.navigateTo({
  360. url: `/pages/admin/cancel/list?info=${JSON.stringify(res.data)}&verifyCode=${this.info.verifyCode}`
  361. })
  362. } else {
  363. this.$util.Tips({
  364. title: res.message
  365. });
  366. }
  367. })
  368. },
  369. //发货
  370. goDelivery(info) {
  371. if (info.refundStatus == 1) return this.$util.Tips({
  372. title: '请处理售后,再操作',
  373. });
  374. uni.navigateTo({
  375. url: `/pages/admin/order/send?orderNo=${this.info.orderNo}`
  376. })
  377. },
  378. //发货记录
  379. goLogistics(info) {
  380. if (info.secondType == 2) {
  381. uni.navigateTo({
  382. url: `/pages/admin/logistics/record?orderNo=${this.orderNo}&index=0&secodeType=2`
  383. })
  384. } else {
  385. orderInvoiceListInfo(info.orderNo).then(res => {
  386. uni.navigateTo({
  387. url: `/pages/admin/logistics/index?orderNo=${info.orderNo}`
  388. })
  389. })
  390. }
  391. },
  392. modify: function(status, type) {
  393. if (status == 2) {
  394. this.isRefund = type
  395. uni.navigateTo({
  396. url: `/pages/admin/refund/index?orderNo=${this.info.orderNo}&type=${this.info.type}`
  397. })
  398. } else {
  399. this.change = true;
  400. this.status = status;
  401. }
  402. },
  403. async savePrice(opt) {
  404. if (!opt.remark) {
  405. return this.$util.Tips({
  406. title: '请输入备注'
  407. })
  408. } else {
  409. this.toMark(this.info.orderNo, opt.remark)
  410. }
  411. },
  412. //备注
  413. toMark(orderNo, remark) {
  414. employeeOrderMark({
  415. orderNo,
  416. remark
  417. }).then(res => {
  418. res.code == 200 && (this.change = false);
  419. this.initOrderInfo(this.info.orderNo)
  420. return this.$util.Tips({
  421. title: '备注成功'
  422. })
  423. })
  424. },
  425. changeclose: function(msg) {
  426. this.change = msg;
  427. },
  428. //复制
  429. // #ifdef MP
  430. copyNum(id) {
  431. uni.setClipboardData({
  432. data: id,
  433. success: function() {}
  434. });
  435. },
  436. // #endif
  437. // #ifdef H5
  438. webCopy(item, index) {
  439. let items = item
  440. let indexs = index
  441. let self = this
  442. if (self.clickNum == 1) {
  443. self.clickNum += 1
  444. self.webCopy(items, indexs)
  445. }
  446. },
  447. // #endif
  448. }
  449. };
  450. </script>
  451. <style lang="scss" scoped>
  452. .headerBg {
  453. position: absolute;
  454. top: 0;
  455. left: 0;
  456. width: 100%;
  457. background-image: linear-gradient(360deg, #F5F5F5 0%, rgba(245, 245, 245, 0) 100%),
  458. linear-gradient(270deg, #01ABF8 0%, #2A7EFB 100%);
  459. background-position: left bottom, left top;
  460. background-repeat: no-repeat;
  461. background-size: 100% 120rpx, 100% 100%;
  462. .inner {
  463. height: 356rpx;
  464. }
  465. }
  466. .order-detail {
  467. position: absolute;
  468. width: 100%;
  469. padding: 0 20rpx;
  470. }
  471. .height-add {
  472. height: calc(120rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
  473. height: calc(120rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
  474. }
  475. .giveGoods {
  476. .item {
  477. padding: 14rpx 30rpx 14rpx 0;
  478. margin-left: 30rpx;
  479. border-top: 1px solid #eee;
  480. .picTxt {
  481. .pictrue {
  482. width: 76rpx;
  483. height: 76rpx;
  484. border-radius: 6rpx;
  485. background-color: #F5F5F5;
  486. color: #2a7efb;
  487. .iconfont {
  488. font-size: 34rpx;
  489. }
  490. image {
  491. width: 100%;
  492. height: 100%;
  493. border-radius: 6rpx;
  494. }
  495. margin-right: 16rpx;
  496. }
  497. .texts {
  498. width: 360rpx;
  499. color: #999999;
  500. font-size: 20rpx;
  501. .name {
  502. color: #333;
  503. }
  504. .limit {
  505. font-size: 20rpx;
  506. margin-top: 4rpx;
  507. }
  508. }
  509. }
  510. .num {
  511. color: #999999;
  512. font-size: 20rpx;
  513. }
  514. }
  515. }
  516. .splitTitle {
  517. width: 100%;
  518. height: 80rpx;
  519. background-color: #fff;
  520. margin-top: 17rpx;
  521. border-bottom: 1px solid #e5e5e5;
  522. padding: 0 30rpx;
  523. }
  524. .splitTitle .title {
  525. color: #2291f8;
  526. }
  527. /*商户管理订单详情*/
  528. .pos-order-details .header {
  529. // background: linear-gradient(270deg, #1cd1dc 0%, #2291f8 100%);
  530. }
  531. .pos-order-details .header .state {}
  532. .pos-order-details .header .data {}
  533. .pos-order-details .header .data .order-num {
  534. font-size: 26upx;
  535. margin-bottom: 8upx;
  536. }
  537. .pos-order-details .remarks {
  538. width: 710rpx;
  539. height: 100rpx;
  540. background: #FFFFFF;
  541. border-radius: 14rpx;
  542. display: flex;
  543. padding-left: 32rpx;
  544. border-radius: 24rpx;
  545. background: #FFFFFF;
  546. }
  547. .pos-order-details .remarks .iconfont {
  548. font-size: 32rpx;
  549. color: #000000;
  550. }
  551. .pos-order-details .remarks input {
  552. flex: 1;
  553. height: 100rpx;
  554. padding-left: 20rpx;
  555. font-size: 28rpx;
  556. }
  557. .pos-order-details .remarks input::placeholder {
  558. color: #CCCCCC;
  559. }
  560. .pos-order-details .orderingUser {
  561. font-size: 26upx;
  562. color: #282828;
  563. padding: 0 30upx;
  564. height: 67upx;
  565. background-color: #fff;
  566. margin-top: 16upx;
  567. border-bottom: 1px solid #f5f5f5;
  568. }
  569. .pos-order-details .orderingUser .iconfont {
  570. font-size: 40upx;
  571. color: #2a7efb;
  572. margin-right: 15upx;
  573. }
  574. .pos-order-details .address {
  575. margin-top: 0;
  576. }
  577. .pos-order-details .footer .more {
  578. font-size: 27upx;
  579. color: #aaa;
  580. width: 100upx;
  581. height: 64upx;
  582. text-align: center;
  583. line-height: 64upx;
  584. margin-right: 25upx;
  585. position: relative;
  586. }
  587. .pos-order-details .footer .delivery {
  588. border-color: #2A7EFB !important;
  589. background: #2A7EFB;
  590. color: #FFFFFF !important;
  591. }
  592. .pos-order-details .footer .more .order .arrow {
  593. width: 0;
  594. height: 0;
  595. border-left: 11upx solid transparent;
  596. border-right: 11upx solid transparent;
  597. border-top: 20upx solid #e5e5e5;
  598. position: absolute;
  599. left: 15upx;
  600. bottom: -18upx;
  601. }
  602. .pos-order-details .footer .more .order .arrow:before {
  603. content: '';
  604. width: 0;
  605. height: 0;
  606. border-left: 9upx solid transparent;
  607. border-right: 9upx solid transparent;
  608. border-top: 19upx solid #fff;
  609. position: absolute;
  610. left: -10upx;
  611. bottom: 0;
  612. }
  613. .pos-order-details .footer .more .order {
  614. width: 200upx;
  615. background-color: #fff;
  616. border: 1px solid #eee;
  617. border-radius: 10upx;
  618. position: absolute;
  619. top: -200upx;
  620. z-index: 9;
  621. }
  622. .pos-order-details .footer .more .order .item {
  623. height: 77upx;
  624. line-height: 77upx;
  625. }
  626. .pos-order-details .footer .more .order .item~.item {
  627. border-top: 1px solid #f5f5f5;
  628. }
  629. .pos-order-details .footer .more .moreName {
  630. width: 100%;
  631. height: 100%;
  632. }
  633. /*订单详情*/
  634. .order-detail .header {
  635. padding: 48rpx 0 30rpx 12rpx;
  636. }
  637. .order-detail .header.on {
  638. background-color: #666 !important;
  639. }
  640. .order-detail .header .pictrue {
  641. width: 110upx;
  642. height: 110upx;
  643. }
  644. .order-detail .header .pictrue image {
  645. width: 100%;
  646. height: 100%;
  647. }
  648. .order-detail .header .state {
  649. font-weight: 500;
  650. font-size: 36rpx;
  651. line-height: 50rpx;
  652. color: #FFFFFF;
  653. }
  654. .order-detail .header .data {
  655. margin-top: 8rpx;
  656. font-size: 26rpx;
  657. line-height: 36rpx;
  658. color: #FFFFFF;
  659. }
  660. .order-detail .header.on .data {
  661. margin-left: 0;
  662. }
  663. .order-detail .header .data .time {
  664. margin-left: 20rpx;
  665. }
  666. .order-detail .header .data .state {
  667. font-size: 30upx;
  668. font-weight: bold;
  669. color: #fff;
  670. margin-bottom: 7upx;
  671. }
  672. /* .order-details .header .data .time{margin-left:20upx;} */
  673. .order-detail .nav {
  674. background-color: #fff;
  675. font-size: 26upx;
  676. color: #282828;
  677. padding: 25upx 0;
  678. }
  679. .order-detail .nav .navCon {
  680. padding: 0 40upx;
  681. }
  682. .order-detail .nav .navCon .on {
  683. font-weight: bold;
  684. color: #e93323;
  685. }
  686. .order-detail .nav .progress {
  687. padding: 0 65upx;
  688. margin-top: 10upx;
  689. }
  690. .order-detail .nav .progress .line {
  691. width: 100upx;
  692. height: 2upx;
  693. background-color: #939390;
  694. }
  695. .order-detail .nav .progress .iconfont {
  696. font-size: 25upx;
  697. color: #939390;
  698. margin-top: -2upx;
  699. width: 30upx;
  700. height: 30upx;
  701. line-height: 33upx;
  702. text-align: center;
  703. margin-right: 0 !important;
  704. }
  705. .order-detail .address {
  706. position: relative;
  707. padding: 32rpx 32rpx 40rpx;
  708. border-radius: 24rpx;
  709. margin-top: 20rpx;
  710. background: #FFFFFF;
  711. overflow: hidden;
  712. font-size: 24rpx;
  713. line-height: 34rpx;
  714. color: #999999;
  715. }
  716. .order-detail .address .name {
  717. margin-bottom: 12rpx;
  718. font-weight: 500;
  719. font-size: 30rpx;
  720. line-height: 42rpx;
  721. color: #333333;
  722. }
  723. .order-detail .address .name .iconfont {
  724. margin-right: 8rpx;
  725. font-size: 32rpx;
  726. }
  727. .order-detail .address .name .phone {
  728. margin-left: 40upx;
  729. }
  730. .order-detail .line {
  731. position: absolute;
  732. bottom: 0;
  733. left: 0;
  734. width: 100%;
  735. height: 4rpx;
  736. }
  737. .order-detail .line image {
  738. width: 100%;
  739. height: 100%;
  740. display: block;
  741. }
  742. .order-detail .wrapper {
  743. padding: 32rpx 24rpx;
  744. border-radius: 24rpx;
  745. margin-top: 20rpx;
  746. background: #FFFFFF;
  747. }
  748. .order-detail .wrapper .item {
  749. font-size: 28rpx;
  750. line-height: 40rpx;
  751. color: #333333;
  752. }
  753. .order-detail .wrapper .item~.item {
  754. margin-top: 24rpx;
  755. }
  756. .order-detail .wrapper .item .conter {
  757. // color: #868686;
  758. // width: 468rpx;
  759. // display: flex;
  760. // flex-wrap: nowrap;
  761. // justify-content: flex-end;
  762. // text-align: right;
  763. .pictrue {
  764. width: 80rpx;
  765. height: 80rpx;
  766. margin-left: 6rpx;
  767. image {
  768. width: 100%;
  769. height: 100%;
  770. border-radius: 6rpx;
  771. }
  772. }
  773. }
  774. .order-detail .wrapper .item .conter .copy {
  775. height: 36rpx;
  776. padding: 0 12rpx;
  777. border: 0;
  778. border-radius: 18rpx;
  779. margin-left: 8rpx;
  780. background: #F5F5F5;
  781. font-size: 22rpx;
  782. line-height: 36rpx;
  783. color: #333333;
  784. }
  785. .order-detail .wrapper .actualPay {
  786. margin-top: 26rpx;
  787. align-items: center;
  788. }
  789. .order-detail .wrapper .actualPay .money {
  790. font-weight: bold;
  791. font-size: 30upx;
  792. color: #e93323;
  793. }
  794. .order-detail .footer {
  795. width: 100%;
  796. height: 100upx;
  797. position: fixed;
  798. bottom: 0;
  799. left: 0;
  800. background-color: #fff;
  801. padding: 0 30upx;
  802. border-top: 1px solid #eee;
  803. height: calc(100rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
  804. height: calc(100rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
  805. padding-bottom: calc(0rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
  806. padding-bottom: calc(0rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
  807. }
  808. .order-detail .footer .wait {
  809. color: #2a7efb;
  810. margin-right: 30rpx;
  811. }
  812. .order-detail .footer .bnt {
  813. width: 144rpx;
  814. height: 56rpx;
  815. border: 1rpx solid #CCCCCC;
  816. line-height: 54rpx;
  817. text-align: center;
  818. border-radius: 28rpx;
  819. font-size: 24rpx;
  820. color: #333333;
  821. transform: rotateZ(360deg);
  822. &.on {
  823. color: #c5c8ce !important;
  824. background: #f7f7f7 !important;
  825. border: 1px solid #dcdee2 !important;
  826. }
  827. }
  828. .order-detail .footer .bnt.cancel {
  829. // color: #333333;
  830. // border: 1px solid #CCCCCC;
  831. }
  832. .order-detail .footer .bnt.default {
  833. color: #444;
  834. border: 1px solid #444;
  835. }
  836. .order-detail .footer .bnt~.bnt {
  837. margin-left: 16rpx;
  838. }
  839. .pos-order-goods {
  840. padding: 32rpx 24rpx;
  841. border-radius: 24rpx;
  842. background: #FFFFFF;
  843. }
  844. .pos-order-goods.split {
  845. margin-top: 20rpx;
  846. }
  847. .pos-order-goods .title {
  848. height: 40rpx;
  849. margin-bottom: 32rpx;
  850. font-size: 28rpx;
  851. color: #333333;
  852. }
  853. .pos-order-goods .title .btn {
  854. font-size: 26rpx;
  855. color: #999999;
  856. }
  857. .pos-order-goods .title .btn .iconfont {
  858. font-size: 24rpx;
  859. }
  860. .pos-order-goods.split .goods {}
  861. .pos-order-goods .goods~.goods {
  862. margin-top: 32rpx;
  863. }
  864. .pos-order-goods .goods .picTxt {
  865. flex: 1;
  866. min-width: 0;
  867. }
  868. .pos-order-goods .goods .picTxt .pictrue {
  869. width: 136rpx;
  870. height: 136rpx;
  871. }
  872. .pos-order-goods .goods .picTxt .pictrue image {
  873. width: 100%;
  874. height: 100%;
  875. border-radius: 16rpx;
  876. }
  877. .pos-order-goods .goods .picTxt .text {
  878. flex: 1;
  879. min-width: 0;
  880. padding-left: 20rpx;
  881. }
  882. .pos-order-goods .goods .picTxt .text .info {
  883. font-size: 28rpx;
  884. line-height: 40rpx;
  885. color: #333333;
  886. }
  887. .pos-order-goods .goods .picTxt .text .info .label {
  888. color: #ff4c3c;
  889. }
  890. .pos-order-goods .goods .picTxt .text .attr {
  891. margin-top: 8rpx;
  892. font-size: 24rpx;
  893. line-height: 34rpx;
  894. color: #999999;
  895. }
  896. .pos-order-goods .goods .money {
  897. width: 144rpx;
  898. text-align: right;
  899. }
  900. .pos-order-goods .goods .money .writeOff {
  901. font-size: 24upx;
  902. margin-top: 17upx;
  903. color: #1890FF;
  904. }
  905. .pos-order-goods .goods .money .writeOff .on {
  906. color: #FF7E00;
  907. }
  908. .pos-order-goods .goods .money .x-money {
  909. color: #282828;
  910. }
  911. .pos-order-goods .goods .money .num {
  912. margin-top: 10rpx;
  913. font-size: 24rpx;
  914. line-height: 34rpx;
  915. color: #999999;
  916. }
  917. .pos-order-goods .goods .money .y-money {
  918. color: #999;
  919. text-decoration: line-through;
  920. }
  921. .public-total {
  922. font-size: 28upx;
  923. color: #282828;
  924. border-top: 1px solid #eee;
  925. height: 92upx;
  926. line-height: 92upx;
  927. text-align: right;
  928. padding: 0 30upx;
  929. background-color: #fff;
  930. }
  931. .public-total .money {
  932. color: #ff4c3c;
  933. }
  934. .copy-data {
  935. font-size: 10px;
  936. color: #333;
  937. -webkit-border-radius: 1px;
  938. border-radius: 1px;
  939. border: 1px solid #666;
  940. padding: 0px 7px;
  941. margin-left: 12px;
  942. height: 20px;
  943. }
  944. .pos-order-goods .mark {
  945. margin-top: 32rpx;
  946. font-size: 28rpx;
  947. line-height: 40rpx;
  948. color: #333333;
  949. .value {
  950. flex: 1;
  951. }
  952. }
  953. .mask {
  954. z-index: 21;
  955. }
  956. .confirm-popup {
  957. position: fixed;
  958. top: 50%;
  959. right: 75rpx;
  960. left: 75rpx;
  961. z-index: 21;
  962. transform: translateY(-50%);
  963. border-radius: 32rpx;
  964. background: #FFFFFF;
  965. text-align: center;
  966. .title {
  967. padding: 40rpx 32rpx 0;
  968. font-weight: 500;
  969. font-size: 32rpx;
  970. line-height: 52rpx;
  971. color: #333333;
  972. }
  973. .info {
  974. padding: 24rpx 40rpx 0;
  975. font-size: 30rpx;
  976. line-height: 42rpx;
  977. color: #666666;
  978. }
  979. .btn-box {
  980. padding: 40rpx;
  981. }
  982. .btn {
  983. flex: 1;
  984. height: 72rpx;
  985. border: 1rpx solid #2A7EFB;
  986. border-radius: 36rpx;
  987. margin-left: 32rpx;
  988. font-weight: 500;
  989. font-size: 26rpx;
  990. line-height: 70rpx;
  991. color: #2A7EFB;
  992. transform: rotateZ(360deg);
  993. &.primary {
  994. background: #2A7EFB;
  995. color: #FFFFFF;
  996. }
  997. }
  998. }
  999. .user-box {
  1000. padding: 24rpx;
  1001. border-radius: 24rpx;
  1002. margin-top: 20rpx;
  1003. background: #FFFFFF;
  1004. .image {
  1005. width: 80rpx;
  1006. height: 80rpx;
  1007. border-radius: 50%;
  1008. }
  1009. .text {
  1010. flex: 1;
  1011. padding-left: 20rpx;
  1012. font-size: 24rpx;
  1013. line-height: 34rpx;
  1014. color: #999999;
  1015. }
  1016. .name {
  1017. margin-bottom: 4rpx;
  1018. font-weight: 500;
  1019. font-size: 28rpx;
  1020. line-height: 40rpx;
  1021. color: #333333;
  1022. }
  1023. .svip {
  1024. width: 56rpx;
  1025. height: 26rpx;
  1026. border-radius: 14rpx;
  1027. margin-left: 12rpx;
  1028. background: linear-gradient(90deg, #484643 0%, #1F1B17 100%);
  1029. text-align: center;
  1030. font-weight: 600;
  1031. font-size: 18rpx;
  1032. line-height: 26rpx;
  1033. color: #FDDAA4;
  1034. }
  1035. .grade {
  1036. height: 26rpx;
  1037. padding: 0 10rpx;
  1038. border: 1rpx solid #FACC7D;
  1039. border-radius: 14rpx;
  1040. margin-left: 10rpx;
  1041. background: #FEF0D9;
  1042. font-weight: 500;
  1043. font-size: 18rpx;
  1044. line-height: 24rpx;
  1045. color: #DFA541;
  1046. transform: rotateZ(360deg);
  1047. .iconfont {
  1048. margin-right: 6rpx;
  1049. font-size: 18rpx;
  1050. }
  1051. }
  1052. }
  1053. .tomore {
  1054. font-weight: 400;
  1055. font-size: 24rpx;
  1056. color: #333333;
  1057. margin-right: 20rpx;
  1058. position: relative;
  1059. }
  1060. .more-operate {
  1061. position: absolute;
  1062. top: -120rpx;
  1063. left: -50rpx;
  1064. width: 150rpx;
  1065. height: 100rpx;
  1066. background: #fff;
  1067. border: 1px solid #eee;
  1068. border-radius: 10rpx;
  1069. .sjx {
  1070. width: 16rpx;
  1071. height: 16rpx;
  1072. background: #fff;
  1073. border: 1px solid #eee;
  1074. position: absolute;
  1075. top: 92rpx;
  1076. left: 68rpx;
  1077. transform: rotateZ(45deg);
  1078. }
  1079. .more-operate-item {
  1080. font-size: 24rpx;
  1081. color: #333333;
  1082. text-align: center;
  1083. height: 50rpx;
  1084. line-height: 50rpx;
  1085. }
  1086. }
  1087. /deep/ .uni-popup__wrapper {
  1088. width: 600rpx;
  1089. height: 310rpx;
  1090. background: #FFFFFF;
  1091. border-radius: 14rpx;
  1092. }
  1093. .sh_popup-content {
  1094. // border-radius: 14rpx;
  1095. // padding-bottom: 20rpx;
  1096. .sh_popup_title {
  1097. font-weight: 500;
  1098. font-size: 32rpx;
  1099. color: #333333;
  1100. text-align: center;
  1101. margin-top: 40rpx;
  1102. }
  1103. .sh_popup_text {
  1104. font-weight: 400;
  1105. font-size: 30rpx;
  1106. color: #666666;
  1107. text-align: center;
  1108. margin-top: 30rpx;
  1109. }
  1110. .sh_popup_btn {
  1111. display: flex;
  1112. justify-content: space-between;
  1113. margin-top: 40rpx;
  1114. padding: 0 47rpx;
  1115. .btn {
  1116. width: 244rpx;
  1117. height: 72rpx;
  1118. border-radius: 50rpx;
  1119. text-align: center;
  1120. line-height: 72rpx;
  1121. }
  1122. .no_btn {
  1123. border: 1px solid #2A7EFB;
  1124. color: #2A7EFB;
  1125. }
  1126. .yes_btn {
  1127. background: #2A7EFB;
  1128. color: #FFFFFF;
  1129. }
  1130. }
  1131. }
  1132. .info-text {
  1133. display: flex;
  1134. flex-direction: column;
  1135. justify-content: space-between;
  1136. }
  1137. .line1 {
  1138. width: 90%;
  1139. }
  1140. .order-details .wrapper {
  1141. padding: 0;
  1142. }
  1143. </style>