index.vue 21 KB

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