index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  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 Loading from '../components/Loading/index'
  205. import PriceChange from '../components/PriceChange/index.vue'
  206. import footerPage from '../components/footerPage/index.vue'
  207. import countDown from '@/components/countDown/index.vue'
  208. import emptyPage from '@/components/emptyPage.vue'
  209. import baseMoney from '../components/BaseMoney.vue'
  210. // #ifdef MP || APP-PLUS
  211. import NavBar from '../components/NavBar.vue';
  212. // #endif
  213. import {
  214. isMoney
  215. } from '@/utils/validate.js';
  216. import {
  217. HTTP_REQUEST_URL
  218. } from '@/config/app';
  219. import {
  220. employeeOrderList,
  221. employeeOrderMark,
  222. employeeOrderInfo,
  223. orderGetVerfication
  224. } from '@/api/work.js';
  225. import {
  226. riderOrderAllList,riderOrderList,riderExpressOrderList,riderOrderReceiving,orderStatusNum,orderPickUp,orderComplete,orderCancel
  227. } from '@/api/rider.js';
  228. export default {
  229. name: "AdminOrderList",
  230. components: {
  231. Loading,
  232. PriceChange,
  233. footerPage,
  234. countDown,
  235. emptyPage,
  236. baseMoney,
  237. // #ifdef MP || APP-PLUS
  238. NavBar,
  239. // #endif
  240. },
  241. data() {
  242. return {
  243. urlDomain: this.$Cache.get("imgHost"),
  244. datetimerange: [],
  245. orderType: ['外卖','快递'],
  246. orderStatus: ['待接单', '待取货', '配送中', '已完成'],
  247. getHeight: this.$util.getWXStatusHeight(),
  248. iconColor: '#333333',
  249. isScrolling: false,
  250. top: 0,
  251. navHeight: 0,
  252. isFixed: false,
  253. filterShow: false,
  254. current: "",
  255. change: false,
  256. types: 0,
  257. list: [],
  258. loaded: false,
  259. loading: false,
  260. orderInfo: {},
  261. status: "",
  262. state: 'all',
  263. isRefund: 0, //1是仅退款;0是退货退款
  264. imgHost: HTTP_REQUEST_URL,
  265. dateSelected: '1',
  266. dateList: [{
  267. label: '全部',
  268. val: '1',
  269. },
  270. {
  271. label: '今天',
  272. val: '2',
  273. },
  274. {
  275. label: '最近7天',
  276. val: '3',
  277. },
  278. {
  279. label: '本周',
  280. val: '4',
  281. },
  282. ],
  283. payList: [
  284. {
  285. label: '全部订单',
  286. val: '',
  287. },
  288. {
  289. label: '外卖订单',
  290. val: 0,
  291. },
  292. {
  293. label: '待取快递订单',
  294. val: 1,
  295. }
  296. // {
  297. // label: '拼团订单',
  298. // val: 2,
  299. // }
  300. ],
  301. confirmOrder: {},
  302. confirmShow: false,
  303. searchListData: {
  304. dateLimit: '',
  305. limit: 10,
  306. merId: '',
  307. orderNo: '',
  308. page: 1,
  309. status: 'await',
  310. type: 1,
  311. latitude: uni.getStorageSync('user_latitude'),
  312. longitude: uni.getStorageSync('user_longitude'),
  313. },
  314. headerArr: {},
  315. totalPage: '',
  316. };
  317. },
  318. onLoad(options) {
  319. this.state = options.type ? options.type : 'await';
  320. this.searchListData.status = options.type ? options.type : 'await';
  321. this.searchListData.type = options.orderType ? options.orderType : -1;
  322. },
  323. // created() {
  324. // this.getInitList()
  325. // this.statusHeader()
  326. // },
  327. onShow() {
  328. this.searchListData.page=1
  329. this.getInitList()
  330. this.statusHeader()
  331. },
  332. methods: {
  333. //订单表头数量
  334. statusHeader() {
  335. orderStatusNum(this.searchListData).then(res => {
  336. this.headerArr = res.data
  337. })
  338. },
  339. // 订单搜索
  340. searchSubmit() {
  341. this.searchListData.page=1
  342. this.getInitList()
  343. this.statusHeader()
  344. },
  345. //订单列表
  346. getInitList(type) {
  347. this.loading=true;
  348. //let api=riderOrderList;
  349. let api=this.searchListData.type==0?riderOrderList:(this.searchListData.type==1?riderExpressOrderList:riderOrderAllList);
  350. api(this.searchListData).then(res => {
  351. //下拉触底
  352. if (type == 'bottom') {
  353. this.list = this.list.concat(res.data.list)
  354. } else {
  355. this.list = res.data.list
  356. }
  357. this.totalPage = res.data.totalPage
  358. }).catch(err=>{
  359. this.$util.Tips({
  360. title: err
  361. })
  362. })
  363. this.loading=false;
  364. },
  365. toDetail(item) {
  366. uni.navigateTo({
  367. //url: `/pages/rider_index/order/detail?orderNo=${item.orderNo}&deliveCharge=${item.deliveCharge}`
  368. url: this.searchListData.type==1?`/pages/rider_index/express/detail?orderInfo=${JSON.stringify(item)}`:`/pages/rider_index/order/detail?orderInfo=${JSON.stringify(item)}`
  369. })
  370. },
  371. //查看内置地图
  372. goMap(item) {
  373. let that = this;
  374. let latitude=item.status==1 || item.status==0?item.merLatitude:item.userLatitude;
  375. let longitude=item.status==1 || item.status==0?item.merLongitude:item.userLongitude;
  376. let merName=item.status==1 || item.status==0?item.merName:item.userName;
  377. let address=item.status==1 || item.status==0?item.merAddress:item.userAddress;
  378. //#ifdef H5
  379. if (that.$wechat.isWeixin() === true) {
  380. that.$wechat.seeLocation({
  381. latitude: parseFloat(latitude),
  382. longitude: parseFloat(longitude),
  383. name: merName,
  384. address: address,
  385. }).then(res => {
  386. console.log('success');
  387. })
  388. } else {
  389. //#endif
  390. uni.openLocation({
  391. latitude: parseFloat(latitude),
  392. longitude: parseFloat(longitude),
  393. scale: 8,
  394. name: merName,
  395. address: address,
  396. success: function(res) {
  397. that.go_map = true
  398. },
  399. });
  400. // #ifdef H5
  401. }
  402. //#endif
  403. },
  404. //发送货
  405. goDelivery(item) {
  406. if (item.refundStatus == 1) return this.$util.Tips({
  407. title: '请处理售后,再操作',
  408. });
  409. uni.navigateTo({
  410. url: `/pages/admin/order/send?orderNo=${item.orderNo}`
  411. })
  412. },
  413. // 商品操作
  414. modify: function(item, status, type) {
  415. this.change = true;
  416. this.status = status.toString();
  417. this.orderInfo = item;
  418. if (status == 2) {
  419. this.isRefund = type
  420. }
  421. },
  422. //接单
  423. receiving(item) {
  424. riderOrderReceiving(item).then(res => {
  425. if (res.code == 200) {
  426. setTimeout(() => {
  427. this.statusHeader();
  428. this.getInitList();
  429. }, 50)
  430. return this.$util.Tips({
  431. title: '接单成功'
  432. })
  433. } else {
  434. self.$util.Tips({
  435. title: res.message
  436. });
  437. }
  438. })
  439. },
  440. //取消
  441. cancel(item) {
  442. orderCancel(item.orderNo).then(res => {
  443. if (res.code == 200) {
  444. setTimeout(() => {
  445. this.statusHeader();
  446. this.getInitList();
  447. }, 50)
  448. return this.$util.Tips({
  449. title: '取消成功'
  450. })
  451. } else {
  452. self.$util.Tips({
  453. title: res.message
  454. });
  455. }
  456. })
  457. },
  458. //取货
  459. pickUp(item) {
  460. orderPickUp(item.orderNo).then(res => {
  461. if (res.code == 200) {
  462. setTimeout(() => {
  463. this.statusHeader();
  464. this.getInitList();
  465. }, 50)
  466. return this.$util.Tips({
  467. title: '取货完成,请尽快安排配送'
  468. })
  469. } else {
  470. self.$util.Tips({
  471. title: res.message
  472. });
  473. }
  474. })
  475. },
  476. //收货完成
  477. complete(item) {
  478. orderComplete(item.orderNo).then(res => {
  479. if (res.code == 200) {
  480. setTimeout(() => {
  481. this.statusHeader();
  482. this.getInitList();
  483. }, 50)
  484. return this.$util.Tips({
  485. title: '配送完成'
  486. })
  487. } else {
  488. self.$util.Tips({
  489. title: res.message
  490. });
  491. }
  492. })
  493. },
  494. changeclose: function(msg) {
  495. this.change = msg;
  496. },
  497. async savePrice(opt) {
  498. if (!opt.remark) {
  499. return this.$util.Tips({
  500. title: '请输入备注'
  501. })
  502. } else {
  503. this.toMark(this.orderInfo.orderNo, opt.remark)
  504. }
  505. },
  506. //备注
  507. toMark(orderNo, remark) {
  508. employeeOrderMark({
  509. orderNo,
  510. remark
  511. }).then(res => {
  512. res.code == 200 && (this.change = false);
  513. return this.$util.Tips({
  514. title: '备注成功'
  515. })
  516. })
  517. },
  518. // 导航切换
  519. changeStatus(val) {
  520. if (this.state != val) {
  521. this.state = val;
  522. // this.where.status = val == -1 ? '' : val;
  523. this.searchListData.status = val
  524. this.searchListData.page = 1
  525. this.searchListData={...this.searchListData}
  526. this.getInitList()
  527. }
  528. },
  529. dateChange(value) {
  530. if (value == 1) {
  531. this.searchListData.dateLimit = ''
  532. this.dateSelected = value;
  533. return
  534. } else if (value == 2) {
  535. this.searchListData.dateLimit = 'today'
  536. } else if (value == 3) {
  537. this.searchListData.dateLimit = 'lately7'
  538. } else if (value == 4) {
  539. this.searchListData.dateLimit = 'week'
  540. }
  541. this.dateSelected = value;
  542. },
  543. payChange(val) {
  544. this.searchListData.type = val;
  545. },
  546. // 点击确认按钮
  547. submitBtn() {
  548. this.filterShow = false;
  549. this.searchListData.page=1
  550. this.getInitList()
  551. this.statusHeader()
  552. },
  553. //点击重置按钮
  554. resetBtn() {
  555. this.searchListData.orderNo=''
  556. this.searchListData.dateLimit = ''
  557. this.searchListData.type = '';
  558. this.dateSelected = '1'
  559. }
  560. },
  561. onReachBottom() {
  562. this.searchListData.page += 1
  563. this.totalPage >= this.searchListData.page && this.getInitList('bottom')
  564. }
  565. }
  566. </script>
  567. <style lang="scss" scoped>
  568. @import '../style/admin_order.scss';
  569. </style>
  570. <style scoped lang="scss">
  571. .map {
  572. text-align: center;
  573. padding-left: 36rpx;
  574. position: relative;
  575. @include main_color(theme);
  576. &::before {
  577. content: '';
  578. display: inline-block;
  579. width: 2rpx;
  580. height: 42rpx;
  581. background-color: #DDDDDD;
  582. position: absolute;
  583. left: 0;
  584. top: 18rpx;
  585. }
  586. .iconfont {
  587. color: var(--view-theme);
  588. }
  589. .map_text {
  590. color: var(--view-theme);
  591. }
  592. }
  593. .order-item {
  594. background-color: #fff;
  595. border-radius: 23rpx;
  596. padding: 19rpx 38rpx;
  597. }
  598. .order-top {
  599. display: flex;
  600. align-items: center;
  601. justify-content: space-between;
  602. padding: 17rpx;
  603. border-bottom: 2rpx dashed #D6D7DC;
  604. }
  605. .bold-size {
  606. white-space: nowrap;
  607. overflow: hidden;
  608. text-overflow: ellipsis;
  609. font-weight: 500;
  610. font-size: 27rpx;
  611. color: #141414;
  612. z-index: 9999;
  613. }
  614. .onBold-size {
  615. font-weight: 400;
  616. font-size: 23rpx;
  617. color: #999999;
  618. }
  619. .order-content {
  620. padding: 10rpx 0 15rpx 0;
  621. .box-item {
  622. display: flex;
  623. align-items: center;
  624. justify-content: space-between;
  625. margin-bottom: 10rpx;
  626. }
  627. .order-info {
  628. width: 100%;
  629. background: #F8F9FB;
  630. padding: 19rpx 38rpx 45rpx 19rpx;
  631. .store-name {
  632. font-weight: 600;
  633. font-size: 27rpx;
  634. color: #141414;
  635. }
  636. .scroll-container {
  637. display: flex;
  638. flex-wrap: nowrap;
  639. margin: 20rpx 0;
  640. overflow-x: auto;
  641. /* 允许水平滚动 */
  642. white-space: nowrap;
  643. /* 防止项目换行 */
  644. -webkit-overflow-scrolling: touch;
  645. /* 在iOS上平滑滚动 */
  646. .item {
  647. display: flex;
  648. flex-direction: column;
  649. align-items: center;
  650. justify-content: center;
  651. margin-right: 19rpx;
  652. image {
  653. width: 115rpx;
  654. height: 115rpx;
  655. }
  656. text {
  657. font-weight: 400;
  658. font-size: 21rpx;
  659. color: #141414;
  660. margin-top: 9rpx;
  661. }
  662. }
  663. }
  664. .container2 {
  665. display: flex;
  666. justify-content: space-between;
  667. align-items: center;
  668. font-weight: 500;
  669. font-size: 21rpx;
  670. color: #141414;
  671. view {
  672. display: flex;
  673. align-items: center;
  674. }
  675. .image2 {
  676. width: 42rpx;
  677. height: 42rpx;
  678. }
  679. }
  680. }
  681. }
  682. .order-dis {
  683. font-weight: 400;
  684. font-size: 23rpx;
  685. color: #141414;
  686. }
  687. .order-icon {
  688. display: inline-block;
  689. margin-left: 10rpx;
  690. margin-right: 20rpx;
  691. padding: 5rpx 10rpx;
  692. font-weight: 400;
  693. font-size: 23rpx;
  694. color: #FFFFFF;
  695. border-radius: 50%;
  696. background-color: $bg-color-primary;
  697. }
  698. .order-bottom {
  699. border-top: 2rpx dashed #D6D7DC;
  700. .bottom-but {
  701. padding: 39rpx 67rpx;
  702. .sub {
  703. width: 100%;
  704. background-color: $bg-color-primary;
  705. font-weight: 500;
  706. font-size: 31rpx;
  707. color: #FFFFFF;
  708. padding: 17rpx 0;
  709. }
  710. }
  711. }
  712. .icon-info {
  713. width: 8rpx;
  714. height: 31rpx;
  715. background: $bg-color-primary;
  716. margin-right: 15rpx;
  717. }
  718. .line {
  719. z-index: 1;
  720. position: absolute;
  721. left: 28rpx;
  722. width: 1rpx;
  723. height: 100%;
  724. border-left: 1rpx dashed $bg-color-primary;
  725. }
  726. </style>