index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. <template>
  2. <view class="pos-order-list" ref="container">
  3. <!-- #ifdef MP || APP-PLUS -->
  4. <NavBar titleText="订单管理" bagColor="#f5f5f5" :iconColor="iconColor" :textColor="iconColor"
  5. :isScrolling="isScrolling" showBack></NavBar>
  6. <!-- #endif -->
  7. <view class="searchCon acea-row">
  8. <view class="search acea-row row-middle">
  9. <text class="iconfont icon-ic_search"></text>
  10. <input class="inputs" placeholder='请输入订单号' placeholder-style="font-size:28rpx" placeholder-class='placeholder' confirm-type='search'
  11. name="search" v-model="searchListData.orderNo" @confirm="searchSubmit"></input>
  12. </view>
  13. <view class="btn" @click="filterShow = true">
  14. <text class="iconfont icon-a-icon_filter1x"></text>
  15. </view>
  16. </view>
  17. <view :style="{ height: navHeight + 'px' }" v-if="isFixed"></view>
  18. <!-- #ifdef MP -->
  19. <view class="nav acea-row row-around row-middle" :style="{
  20. top:getHeight.barTop+getHeight.barHeight+'px'
  21. }" id="nav">
  22. <!-- #endif -->
  23. <!-- #ifndef MP -->
  24. <view class="nav acea-row row-around row-middle" id="nav">
  25. <!-- #endif -->
  26. <scroll-view scroll-x="true" class="scroll_view">
  27. <view class="item" :class="state == 'await' ? 'on' : ''" @click="changeStatus('await')">
  28. 待接单
  29. <image src="../static/adorn.png" v-if="state == 'await'"></image>
  30. </view>
  31. <!--view class="item" :class="state == 'notShipped' ? 'on' : ''" @click="changeStatus('notShipped')">
  32. 待接单({{headerArr['notShipped']!=undefined?headerArr['notShipped']:0}})
  33. <image src="../static/adorn.png" v-if="state == 'notShipped'"></image>
  34. </view-->
  35. <view class="item" :class="state == 'pickUp' ? 'on' : ''" @click="changeStatus('pickUp')">
  36. 待取货({{headerArr['pickUp']!=undefined?headerArr['pickUp']:0}})
  37. <image src="../static/adorn.png" v-if="state == 'spike'"></image>
  38. </view>
  39. <view class="item" :class="state == 'delivery' ? 'on' : ''"
  40. @click="changeStatus('delivery')">
  41. 配送中({{headerArr['delivery']!=undefined?headerArr['delivery']:0}})
  42. <image src="../static/adorn.png" v-if="state == 'delivery'"></image>
  43. </view>
  44. <view class="item" :class="state == 'complete' ? 'on' : ''" @click="changeStatus('complete')">
  45. 已完成({{headerArr['complete']!=undefined?headerArr['complete']:0}})
  46. <image src="../static/adorn.png" v-if="state == 'complete'"></image>
  47. </view>
  48. <!--view class="item" :class="state == 'complete' ? 'on' : ''" @click="changeStatus('complete')">
  49. 已完成({{headerArr['complete']!=undefined?headerArr['complete']:0}})
  50. <image src="../static/adorn.png" v-if="state == 'complete'"></image>
  51. </view>
  52. <view class="item" :class="state == 'refunded' ? 'on' : ''" @click="changeStatus('refunded')">
  53. 已退款({{headerArr['refunded']!=undefined?headerArr['refunded']:0}})
  54. <image src="../static/adorn.png" v-if="state == 'refunded'"></image>
  55. </view>
  56. <view class="item" :class="state == 'deleted' ? 'on' : ''" @click="changeStatus('deleted')">
  57. 已删除({{headerArr['deleted']!=undefined?headerArr['deleted']:0}})
  58. <image src="../static/adorn.png" v-if="state == 'deleted'"></image>
  59. </view-->
  60. </scroll-view>
  61. </view>
  62. <view class="list" v-if="list.length">
  63. <view class="item" v-for="(item, index) in list" :key="index">
  64. <view class="order-num acea-row row-between-wrapper" @click="toDetail(item)">
  65. <view>
  66. <view class="title">
  67. <view class="type">{{orderType[item.orderType]}}</view>{{item.orderNo}}
  68. </view>
  69. </view>
  70. <view class="state">
  71. {{orderStatus[item.status]}}
  72. </view>
  73. </view>
  74. <view class="pos-order-goods">
  75. <view class="goods acea-row" @click="toDetail(item)">
  76. <!-- <scroll-view class="picTxt scroll-view" scroll-x="true"
  77. v-if="item.infoResponseList.length > 1">
  78. <view class="pictrue" v-for="(val, key) in item.infoResponseList" :key="key">
  79. <image :src="val.image" />
  80. </view>
  81. </scroll-view> -->
  82. <view class="picTxt">
  83. <view class="acea-row" >
  84. <view class="order-content">
  85. <view class="bold-size flex-y-center" style="padding: 10rpx 0;">
  86. <view class="icon-info"></view>
  87. <text>配送详情</text>
  88. </view>
  89. <view style="padding-bottom: 10rpx;position: relative;" id="myLineRef">
  90. <view class="line"></view>
  91. <view class="box-item">
  92. <view class="bold-size">
  93. <text class="order-icon">取</text>{{item.merName}}
  94. </view>
  95. </view>
  96. <text class="onBold-size"><text class="order-icon" style="opacity: 0">取</text>{{item.merAddress}}</text>
  97. </view>
  98. <view>
  99. <view class="box-item">
  100. <view class="bold-size">
  101. <text class="order-icon">送</text>{{item.userAddress}}
  102. </view>
  103. </view>
  104. <!--text class="onBold-size"><text class="order-icon" style="opacity: 0">送</text>{{remark}}</text-->
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. <view class="money">
  110. 配送费 <baseMoney :money="item.deliveCharge" symbolSize="20" integerSize="32" decimalSize="20">
  111. </baseMoney>
  112. <!-- <view class="num">共{{ item.totalNum }}件</view> -->
  113. <view class="num">距离{{ item.distance }}km</view>
  114. <view class="map" @click="goMap(item)">
  115. <text class="iconfont icon-chakanditu"></text>
  116. <view class="map_text">查看地图</view>
  117. </view>
  118. <!-- <view class="num">距离4.5km</view> -->
  119. </view>
  120. </view>
  121. </view>
  122. <view class="operation acea-row row-between-wrapper">
  123. <view class="more">
  124. </view>
  125. <view class="acea-row row-middle">
  126. <view v-if="item.status==1 || item.status==2" @click="cancel(item)" class="bnt on acea-row row-center-wrapper">取消订单</view>
  127. <view v-if="item.status==1" class="bnt on acea-row row-center-wrapper">联系商家</view>
  128. <view v-if="item.status==2" class="bnt on acea-row row-center-wrapper">联系客户</view>
  129. <view class="bnt primary" v-if="item.status==0"
  130. @click="receiving(item)">接单
  131. </view>
  132. <view class="bnt primary" v-if="item.status==1"
  133. @click="pickUp(item)">取货配送
  134. </view>
  135. <view class="bnt primary" v-if="item.status==2"
  136. @click="complete(item)">送达完成
  137. </view>
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. <emptyPage v-else title="暂无订单~" :imgSrc="urlDomain+'crmebimage/presets/noShopper.png'"></emptyPage>
  143. <Loading :loaded="loaded" :loading="loading"></Loading>
  144. <PriceChange :change="change" :orderInfo="orderInfo" :isRefund="isRefund"
  145. v-on:statusChange="statusChange($event)" v-on:closechange="changeclose($event)"
  146. v-on:savePrice="savePrice" :status="status"></PriceChange>
  147. <view class="mask" v-if="filterShow" @click="filterShow=!filterShow"></view>
  148. <!-- #ifdef H5 -->
  149. <view class="filter-popup" :class="{ on: filterShow }">
  150. <!-- #endif -->
  151. <!-- #ifndef H5 -->
  152. <view class="filter-popup" :class="{ on: filterShow }" :style="{
  153. top:getHeight.barTop+getHeight.barHeight+'px'}">
  154. <!-- #endif -->
  155. <view class="search-box">
  156. <view class="search acea-row row-middle">
  157. <text class="iconfont icon-ic_search"></text>
  158. <input class="input" placeholder='请输入要查询的订单' placeholder-style="font-size:28rpx" placeholder-class='placeholder'
  159. confirm-type='search' name="search" v-model="searchListData.orderNo"
  160. @confirm="searchSubmit"></input>
  161. </view>
  162. </view>
  163. <view class="content">
  164. <view class="item">
  165. <view class="title">按下单时间</view>
  166. <view class="acea-row list">
  167. <view class="cell" v-for="(item, index) in dateList" :key="index"
  168. :class="{ on: item.val == dateSelected }" @click="dateChange(item.val)">{{ item.label }}
  169. </view>
  170. </view>
  171. </view>
  172. <view class="item">
  173. <view class="title">按订单类型</view>
  174. <view class="acea-row list">
  175. <view class="cell" v-for="(item, index) in payList" :key="index"
  176. :class="{ on: item.val === searchListData.type }" @click="payChange(item.val)">
  177. {{ item.label }}
  178. </view>
  179. </view>
  180. </view>
  181. <view class="bottom">
  182. <view class="no_view" @click="resetBtn">重置</view>
  183. <view class="yes_view" @click="submitBtn">确定</view>
  184. </view>
  185. </view>
  186. </view>
  187. <view v-if="confirmShow" class="mask"></view>
  188. <view v-if="confirmShow" class="confirm-popup">
  189. <view class="title">确认付款</view>
  190. <view class="info">确认该订单用户已付款</view>
  191. <view class="acea-row btn-box">
  192. <view class="btn" @click="confirmShow = false">取消</view>
  193. <view class="btn primary" @click="offlinePay">确认</view>
  194. </view>
  195. </view>
  196. <view class="footerH"></view>
  197. <footerPage></footerPage>
  198. </view>
  199. </template>
  200. <script>
  201. // import UniDatetime from '../components/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue'
  202. import Loading from '../components/Loading/index'
  203. import PriceChange from '../components/PriceChange/index.vue'
  204. import footerPage from '../components/footerPage/index.vue'
  205. import countDown from '@/components/countDown/index.vue'
  206. import emptyPage from '@/components/emptyPage.vue'
  207. import baseMoney from '../components/BaseMoney.vue'
  208. // #ifdef MP || APP-PLUS
  209. import NavBar from '../components/NavBar.vue';
  210. // #endif
  211. import {
  212. isMoney
  213. } from '@/utils/validate.js';
  214. import {
  215. HTTP_REQUEST_URL
  216. } from '@/config/app';
  217. import {
  218. employeeOrderList,
  219. employeeOrderMark,
  220. employeeOrderInfo,
  221. orderGetVerfication
  222. } from '@/api/work.js';
  223. import {
  224. riderOrderList,riderOrderReceiving,orderStatusNum,orderPickUp,orderComplete,orderCancel
  225. } from '@/api/rider.js';
  226. export default {
  227. name: "AdminOrderList",
  228. components: {
  229. Loading,
  230. PriceChange,
  231. footerPage,
  232. countDown,
  233. emptyPage,
  234. baseMoney,
  235. // #ifdef MP || APP-PLUS
  236. NavBar,
  237. // #endif
  238. },
  239. data() {
  240. return {
  241. urlDomain: this.$Cache.get("imgHost"),
  242. datetimerange: [],
  243. orderType: ['外卖','快递'],
  244. orderStatus: ['待接单', '待取货', '配送中', '已完成'],
  245. getHeight: this.$util.getWXStatusHeight(),
  246. iconColor: '#333333',
  247. isScrolling: false,
  248. top: 0,
  249. navHeight: 0,
  250. isFixed: false,
  251. filterShow: false,
  252. current: "",
  253. change: false,
  254. types: 0,
  255. list: [],
  256. loaded: false,
  257. loading: false,
  258. orderInfo: {},
  259. status: "",
  260. state: 'all',
  261. isRefund: 0, //1是仅退款;0是退货退款
  262. imgHost: HTTP_REQUEST_URL,
  263. dateSelected: '1',
  264. dateList: [{
  265. label: '全部',
  266. val: '1',
  267. },
  268. {
  269. label: '今天',
  270. val: '2',
  271. },
  272. {
  273. label: '最近7天',
  274. val: '3',
  275. },
  276. {
  277. label: '本周',
  278. val: '4',
  279. },
  280. ],
  281. payList: [
  282. {
  283. label: '全部订单',
  284. val: '',
  285. },
  286. {
  287. label: '外卖订单',
  288. val: 0,
  289. },
  290. {
  291. label: '待取快递订单',
  292. val: 1,
  293. }
  294. // {
  295. // label: '拼团订单',
  296. // val: 2,
  297. // }
  298. ],
  299. confirmOrder: {},
  300. confirmShow: false,
  301. searchListData: {
  302. dateLimit: '',
  303. limit: 10,
  304. merId: '',
  305. orderNo: '',
  306. page: 1,
  307. status: 'await',
  308. type: 0,
  309. latitude: uni.getStorageSync('user_latitude'),
  310. longitude: uni.getStorageSync('user_longitude'),
  311. },
  312. headerArr: {},
  313. totalPage: '',
  314. };
  315. },
  316. onLoad(options) {
  317. this.state = options.type ? options.type : 'await';
  318. this.searchListData.status = options.type ? options.type : 'await';
  319. },
  320. // created() {
  321. // this.getInitList()
  322. // this.statusHeader()
  323. // },
  324. onShow() {
  325. this.searchListData.page=1
  326. this.getInitList()
  327. this.statusHeader()
  328. },
  329. methods: {
  330. //订单表头数量
  331. statusHeader() {
  332. orderStatusNum(this.searchListData).then(res => {
  333. this.headerArr = res.data
  334. })
  335. },
  336. // 订单搜索
  337. searchSubmit() {
  338. this.searchListData.page=1
  339. this.getInitList()
  340. this.statusHeader()
  341. },
  342. //订单列表
  343. getInitList(type) {
  344. this.loading=true;
  345. riderOrderList(this.searchListData).then(res => {
  346. //下拉触底
  347. if (type == 'bottom') {
  348. this.list = this.list.concat(res.data.list)
  349. } else {
  350. this.list = res.data.list
  351. }
  352. this.totalPage = res.data.totalPage
  353. }).catch(err=>{
  354. this.$util.Tips({
  355. title: err
  356. })
  357. })
  358. this.loading=false;
  359. },
  360. toDetail(item) {
  361. uni.navigateTo({
  362. //url: `/pages/rider_index/order/detail?orderNo=${item.orderNo}&deliveCharge=${item.deliveCharge}`
  363. url: `/pages/rider_index/order/detail?orderInfo=${JSON.stringify(item)}`
  364. })
  365. },
  366. //查看内置地图
  367. goMap(item) {
  368. let that = this;
  369. let latitude=item.status==1 || item.status==0?item.merLatitude:item.userLatitude;
  370. let longitude=item.status==1 || item.status==0?item.merLongitude:item.userLongitude;
  371. let merName=item.status==1 || item.status==0?item.merName:item.userName;
  372. let address=item.status==1 || item.status==0?item.merAddress:item.userAddress;
  373. //#ifdef H5
  374. if (that.$wechat.isWeixin() === true) {
  375. that.$wechat.seeLocation({
  376. latitude: parseFloat(latitude),
  377. longitude: parseFloat(longitude),
  378. name: merName,
  379. address: address,
  380. }).then(res => {
  381. console.log('success');
  382. })
  383. } else {
  384. //#endif
  385. uni.openLocation({
  386. latitude: parseFloat(latitude),
  387. longitude: parseFloat(longitude),
  388. scale: 8,
  389. name: merName,
  390. address: address,
  391. success: function(res) {
  392. that.go_map = true
  393. },
  394. });
  395. // #ifdef H5
  396. }
  397. //#endif
  398. },
  399. //发送货
  400. goDelivery(item) {
  401. if (item.refundStatus == 1) return this.$util.Tips({
  402. title: '请处理售后,再操作',
  403. });
  404. uni.navigateTo({
  405. url: `/pages/admin/order/send?orderNo=${item.orderNo}`
  406. })
  407. },
  408. // 商品操作
  409. modify: function(item, status, type) {
  410. this.change = true;
  411. this.status = status.toString();
  412. this.orderInfo = item;
  413. if (status == 2) {
  414. this.isRefund = type
  415. }
  416. },
  417. //接单
  418. receiving(item) {
  419. riderOrderReceiving(item).then(res => {
  420. if (res.code == 200) {
  421. setTimeout(() => {
  422. this.statusHeader();
  423. this.getInitList();
  424. }, 50)
  425. return this.$util.Tips({
  426. title: '接单成功'
  427. })
  428. } else {
  429. self.$util.Tips({
  430. title: res.message
  431. });
  432. }
  433. })
  434. },
  435. //取消
  436. cancel(item) {
  437. orderCancel(item.orderNo).then(res => {
  438. if (res.code == 200) {
  439. setTimeout(() => {
  440. this.statusHeader();
  441. this.getInitList();
  442. }, 50)
  443. return this.$util.Tips({
  444. title: '取消成功'
  445. })
  446. } else {
  447. self.$util.Tips({
  448. title: res.message
  449. });
  450. }
  451. })
  452. },
  453. //取货
  454. pickUp(item) {
  455. orderPickUp(item.orderNo).then(res => {
  456. if (res.code == 200) {
  457. setTimeout(() => {
  458. this.statusHeader();
  459. this.getInitList();
  460. }, 50)
  461. return this.$util.Tips({
  462. title: '取货完成,请尽快安排配送'
  463. })
  464. } else {
  465. self.$util.Tips({
  466. title: res.message
  467. });
  468. }
  469. })
  470. },
  471. //收货完成
  472. complete(item) {
  473. orderComplete(item.orderNo).then(res => {
  474. if (res.code == 200) {
  475. setTimeout(() => {
  476. this.statusHeader();
  477. this.getInitList();
  478. }, 50)
  479. return this.$util.Tips({
  480. title: '配送完成'
  481. })
  482. } else {
  483. self.$util.Tips({
  484. title: res.message
  485. });
  486. }
  487. })
  488. },
  489. changeclose: function(msg) {
  490. this.change = msg;
  491. },
  492. async savePrice(opt) {
  493. if (!opt.remark) {
  494. return this.$util.Tips({
  495. title: '请输入备注'
  496. })
  497. } else {
  498. this.toMark(this.orderInfo.orderNo, opt.remark)
  499. }
  500. },
  501. //备注
  502. toMark(orderNo, remark) {
  503. employeeOrderMark({
  504. orderNo,
  505. remark
  506. }).then(res => {
  507. res.code == 200 && (this.change = false);
  508. return this.$util.Tips({
  509. title: '备注成功'
  510. })
  511. })
  512. },
  513. // 导航切换
  514. changeStatus(val) {
  515. if (this.state != val) {
  516. this.state = val;
  517. // this.where.status = val == -1 ? '' : val;
  518. this.searchListData.status = val
  519. this.searchListData.page = 1
  520. this.searchListData={...this.searchListData}
  521. this.getInitList()
  522. }
  523. },
  524. dateChange(value) {
  525. if (value == 1) {
  526. this.searchListData.dateLimit = ''
  527. this.dateSelected = value;
  528. return
  529. } else if (value == 2) {
  530. this.searchListData.dateLimit = 'today'
  531. } else if (value == 3) {
  532. this.searchListData.dateLimit = 'lately7'
  533. } else if (value == 4) {
  534. this.searchListData.dateLimit = 'week'
  535. }
  536. this.dateSelected = value;
  537. },
  538. payChange(val) {
  539. this.searchListData.type = val;
  540. },
  541. // 点击确认按钮
  542. submitBtn() {
  543. this.filterShow = false;
  544. this.searchListData.page=1
  545. this.getInitList()
  546. this.statusHeader()
  547. },
  548. //点击重置按钮
  549. resetBtn() {
  550. this.searchListData.orderNo=''
  551. this.searchListData.dateLimit = ''
  552. this.searchListData.type = '';
  553. this.dateSelected = '1'
  554. }
  555. },
  556. onReachBottom() {
  557. this.searchListData.page += 1
  558. this.totalPage >= this.searchListData.page && this.getInitList('bottom')
  559. }
  560. }
  561. </script>
  562. <style lang="scss" scoped>
  563. @import '../style/admin_order.scss';
  564. </style>
  565. <style scoped lang="scss">
  566. .map {
  567. text-align: center;
  568. padding-left: 36rpx;
  569. position: relative;
  570. @include main_color(theme);
  571. &::before {
  572. content: '';
  573. display: inline-block;
  574. width: 2rpx;
  575. height: 42rpx;
  576. background-color: #DDDDDD;
  577. position: absolute;
  578. left: 0;
  579. top: 18rpx;
  580. }
  581. .iconfont {
  582. color: var(--view-theme);
  583. }
  584. .map_text {
  585. color: var(--view-theme);
  586. }
  587. }
  588. .order-item {
  589. background-color: #fff;
  590. border-radius: 23rpx;
  591. padding: 19rpx 38rpx;
  592. }
  593. .order-top {
  594. display: flex;
  595. align-items: center;
  596. justify-content: space-between;
  597. padding: 17rpx;
  598. border-bottom: 2rpx dashed #D6D7DC;
  599. }
  600. .bold-size {
  601. white-space: nowrap;
  602. overflow: hidden;
  603. text-overflow: ellipsis;
  604. font-weight: 500;
  605. font-size: 27rpx;
  606. color: #141414;
  607. z-index: 9999;
  608. }
  609. .onBold-size {
  610. font-weight: 400;
  611. font-size: 23rpx;
  612. color: #999999;
  613. }
  614. .order-content {
  615. padding: 10rpx 0 15rpx 0;
  616. .box-item {
  617. display: flex;
  618. align-items: center;
  619. justify-content: space-between;
  620. margin-bottom: 10rpx;
  621. }
  622. .order-info {
  623. width: 100%;
  624. background: #F8F9FB;
  625. padding: 19rpx 38rpx 45rpx 19rpx;
  626. .store-name {
  627. font-weight: 600;
  628. font-size: 27rpx;
  629. color: #141414;
  630. }
  631. .scroll-container {
  632. display: flex;
  633. flex-wrap: nowrap;
  634. margin: 20rpx 0;
  635. overflow-x: auto;
  636. /* 允许水平滚动 */
  637. white-space: nowrap;
  638. /* 防止项目换行 */
  639. -webkit-overflow-scrolling: touch;
  640. /* 在iOS上平滑滚动 */
  641. .item {
  642. display: flex;
  643. flex-direction: column;
  644. align-items: center;
  645. justify-content: center;
  646. margin-right: 19rpx;
  647. image {
  648. width: 115rpx;
  649. height: 115rpx;
  650. }
  651. text {
  652. font-weight: 400;
  653. font-size: 21rpx;
  654. color: #141414;
  655. margin-top: 9rpx;
  656. }
  657. }
  658. }
  659. .container2 {
  660. display: flex;
  661. justify-content: space-between;
  662. align-items: center;
  663. font-weight: 500;
  664. font-size: 21rpx;
  665. color: #141414;
  666. view {
  667. display: flex;
  668. align-items: center;
  669. }
  670. .image2 {
  671. width: 42rpx;
  672. height: 42rpx;
  673. }
  674. }
  675. }
  676. }
  677. .order-dis {
  678. font-weight: 400;
  679. font-size: 23rpx;
  680. color: #141414;
  681. }
  682. .order-icon {
  683. display: inline-block;
  684. margin-left: 10rpx;
  685. margin-right: 20rpx;
  686. padding: 5rpx 10rpx;
  687. font-weight: 400;
  688. font-size: 23rpx;
  689. color: #FFFFFF;
  690. border-radius: 50%;
  691. background-color: $bg-color-primary;
  692. }
  693. .order-bottom {
  694. border-top: 2rpx dashed #D6D7DC;
  695. .bottom-but {
  696. padding: 39rpx 67rpx;
  697. .sub {
  698. width: 100%;
  699. background-color: $bg-color-primary;
  700. font-weight: 500;
  701. font-size: 31rpx;
  702. color: #FFFFFF;
  703. padding: 17rpx 0;
  704. }
  705. }
  706. }
  707. .icon-info {
  708. width: 8rpx;
  709. height: 31rpx;
  710. background: $bg-color-primary;
  711. margin-right: 15rpx;
  712. }
  713. .line {
  714. z-index: 1;
  715. position: absolute;
  716. left: 28rpx;
  717. width: 1rpx;
  718. height: 100%;
  719. border-left: 1rpx dashed $bg-color-primary;
  720. }
  721. </style>