index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  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">
  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" @click="toDetail(item)">
  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 && item.merPhone !=null" @click="makePhoneCall(item.merPhone )" class="bnt on acea-row row-center-wrapper">联系驿站</view>
  130. <view v-if="item.status==2 && item.userPhone!=null" @click="makePhoneCall(item.userPhone )" 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. //await
  319. this.state = options.type ? options.type : 'all';
  320. this.searchListData.status = options.type ? options.type : 'all';
  321. this.searchListData.type = options.orderType ? options.orderType : -1;
  322. },
  323. // created() {
  324. // this.getInitList()
  325. // this.statusHeader()
  326. // },
  327. onShow() {
  328. if (this.isLogin) {
  329. this.searchListData.page=1
  330. this.getInitList()
  331. this.statusHeader()
  332. } else {
  333. toLogin();
  334. }
  335. },
  336. methods: {
  337. // 拨打电话
  338. makePhoneCall(phone) {
  339. const phoneNumber = phone; // 替换为的电话号码
  340. uni.makePhoneCall({
  341. phoneNumber: phoneNumber,
  342. success() {
  343. console.log('拨打电话成功');
  344. },
  345. fail() {
  346. console.log('拨打电话失败');
  347. }
  348. });
  349. },
  350. //订单表头数量
  351. statusHeader() {
  352. orderStatusNum(this.searchListData).then(res => {
  353. this.headerArr = res.data
  354. })
  355. },
  356. // 订单搜索
  357. searchSubmit() {
  358. this.searchListData.page=1
  359. this.getInitList()
  360. this.statusHeader()
  361. },
  362. //订单列表
  363. getInitList(type) {
  364. this.loading=true;
  365. //let api=riderOrderList;
  366. let api=this.searchListData.type==0?riderOrderList:(this.searchListData.type==1?riderExpressOrderList:riderOrderAllList);
  367. api(this.searchListData).then(res => {
  368. //下拉触底
  369. if (type == 'bottom') {
  370. this.list = this.list.concat(res.data.list)
  371. } else {
  372. this.list = res.data.list
  373. }
  374. this.totalPage = res.data.totalPage
  375. }).catch(err=>{
  376. this.$util.Tips({
  377. title: err
  378. })
  379. })
  380. this.loading=false;
  381. },
  382. toDetail(item) {
  383. uni.navigateTo({
  384. url: (this.searchListData.type==1 || item.orderType==1)?`/pages/rider_index/express/detail?orderInfo=${JSON.stringify(item)}`:`/pages/rider_index/order/detail?orderInfo=${JSON.stringify(item)}`
  385. })
  386. },
  387. //查看内置地图
  388. goMap(item) {
  389. let that = this;
  390. let latitude=item.status==1 || item.status==0?item.merLatitude:item.userLatitude;
  391. let longitude=item.status==1 || item.status==0?item.merLongitude:item.userLongitude;
  392. let merName=item.status==1 || item.status==0?item.merName:item.userName;
  393. let address=item.status==1 || item.status==0?item.merAddress:item.userAddress;
  394. //#ifdef H5
  395. if (that.$wechat.isWeixin() === true) {
  396. that.$wechat.seeLocation({
  397. latitude: parseFloat(latitude),
  398. longitude: parseFloat(longitude),
  399. name: merName,
  400. address: address,
  401. }).then(res => {
  402. console.log('success');
  403. })
  404. } else {
  405. //#endif
  406. uni.openLocation({
  407. latitude: parseFloat(latitude),
  408. longitude: parseFloat(longitude),
  409. scale: 8,
  410. name: merName,
  411. address: address,
  412. success: function(res) {
  413. that.go_map = true
  414. },
  415. });
  416. // #ifdef H5
  417. }
  418. //#endif
  419. },
  420. //发送货
  421. goDelivery(item) {
  422. if (item.refundStatus == 1) return this.$util.Tips({
  423. title: '请处理售后,再操作',
  424. });
  425. uni.navigateTo({
  426. url: `/pages/admin/order/send?orderNo=${item.orderNo}`
  427. })
  428. },
  429. // 商品操作
  430. modify: function(item, status, type) {
  431. this.change = true;
  432. this.status = status.toString();
  433. this.orderInfo = item;
  434. if (status == 2) {
  435. this.isRefund = type
  436. }
  437. },
  438. //接单
  439. receiving(item) {
  440. riderOrderReceiving(item).then(res => {
  441. if (res.code == 200) {
  442. setTimeout(() => {
  443. this.statusHeader();
  444. this.getInitList();
  445. }, 50)
  446. return this.$util.Tips({
  447. title: '接单成功'
  448. })
  449. } else {
  450. self.$util.Tips({
  451. title: res.message
  452. });
  453. }
  454. })
  455. },
  456. //取消
  457. cancel(item) {
  458. orderCancel(item.orderNo).then(res => {
  459. if (res.code == 200) {
  460. setTimeout(() => {
  461. this.statusHeader();
  462. this.getInitList();
  463. }, 50)
  464. return this.$util.Tips({
  465. title: '取消成功'
  466. })
  467. } else {
  468. self.$util.Tips({
  469. title: res.message
  470. });
  471. }
  472. })
  473. },
  474. //取货
  475. pickUp(item) {
  476. orderPickUp(item.orderNo).then(res => {
  477. if (res.code == 200) {
  478. setTimeout(() => {
  479. this.statusHeader();
  480. this.getInitList();
  481. }, 50)
  482. return this.$util.Tips({
  483. title: '取件完成,请尽快安排配送'
  484. })
  485. } else {
  486. self.$util.Tips({
  487. title: res.message
  488. });
  489. }
  490. })
  491. },
  492. //收货完成
  493. complete(item) {
  494. orderComplete(item.orderNo).then(res => {
  495. if (res.code == 200) {
  496. setTimeout(() => {
  497. this.statusHeader();
  498. this.getInitList();
  499. }, 50)
  500. return this.$util.Tips({
  501. title: '配送完成'
  502. })
  503. } else {
  504. self.$util.Tips({
  505. title: res.message
  506. });
  507. }
  508. })
  509. },
  510. changeclose: function(msg) {
  511. this.change = msg;
  512. },
  513. async savePrice(opt) {
  514. if (!opt.remark) {
  515. return this.$util.Tips({
  516. title: '请输入备注'
  517. })
  518. } else {
  519. this.toMark(this.orderInfo.orderNo, opt.remark)
  520. }
  521. },
  522. //备注
  523. toMark(orderNo, remark) {
  524. employeeOrderMark({
  525. orderNo,
  526. remark
  527. }).then(res => {
  528. res.code == 200 && (this.change = false);
  529. return this.$util.Tips({
  530. title: '备注成功'
  531. })
  532. })
  533. },
  534. // 导航切换
  535. changeStatus(val) {
  536. if (this.state != val) {
  537. this.state = val;
  538. // this.where.status = val == -1 ? '' : val;
  539. this.searchListData.status = val
  540. this.searchListData.page = 1
  541. this.searchListData={...this.searchListData}
  542. this.getInitList()
  543. }
  544. },
  545. dateChange(value) {
  546. if (value == 1) {
  547. this.searchListData.dateLimit = ''
  548. this.dateSelected = value;
  549. return
  550. } else if (value == 2) {
  551. this.searchListData.dateLimit = 'today'
  552. } else if (value == 3) {
  553. this.searchListData.dateLimit = 'lately7'
  554. } else if (value == 4) {
  555. this.searchListData.dateLimit = 'week'
  556. }
  557. this.dateSelected = value;
  558. },
  559. payChange(val) {
  560. this.searchListData.type = val;
  561. },
  562. // 点击确认按钮
  563. submitBtn() {
  564. this.filterShow = false;
  565. this.searchListData.page=1
  566. this.getInitList()
  567. this.statusHeader()
  568. },
  569. //点击重置按钮
  570. resetBtn() {
  571. this.searchListData.orderNo=''
  572. this.searchListData.dateLimit = ''
  573. this.searchListData.type = '';
  574. this.dateSelected = '1'
  575. }
  576. },
  577. onReachBottom() {
  578. this.searchListData.page += 1
  579. this.totalPage >= this.searchListData.page && this.getInitList('bottom')
  580. }
  581. }
  582. </script>
  583. <style lang="scss" scoped>
  584. @import '../style/admin_order.scss';
  585. </style>
  586. <style scoped lang="scss">
  587. // .map {
  588. // text-align: center;
  589. // padding-left: 36rpx;
  590. // position: relative;
  591. // @include main_color(theme);
  592. // &::before {
  593. // content: '';
  594. // display: inline-block;
  595. // width: 2rpx;
  596. // height: 42rpx;
  597. // background-color: #DDDDDD;
  598. // position: absolute;
  599. // left: 0;
  600. // top: 18rpx;
  601. // }
  602. // .iconfont {
  603. // color: var(--view-theme);
  604. // }
  605. // .map_text {
  606. // color: var(--view-theme);
  607. // }
  608. // }
  609. // .order-item {
  610. // background-color: #fff;
  611. // border-radius: 23rpx;
  612. // padding: 19rpx 38rpx;
  613. // }
  614. // .order-top {
  615. // display: flex;
  616. // align-items: center;
  617. // justify-content: space-between;
  618. // padding: 17rpx;
  619. // border-bottom: 2rpx dashed #D6D7DC;
  620. // }
  621. // .bold-size {
  622. // white-space: nowrap;
  623. // overflow: hidden;
  624. // text-overflow: ellipsis;
  625. // font-weight: 500;
  626. // font-size: 27rpx;
  627. // color: #141414;
  628. // z-index: 9999;
  629. // }
  630. // .onBold-size {
  631. // font-weight: 400;
  632. // font-size: 23rpx;
  633. // color: #999999;
  634. // }
  635. // .order-content {
  636. // padding: 10rpx 0 15rpx 0;
  637. // .box-item {
  638. // display: flex;
  639. // align-items: center;
  640. // justify-content: space-between;
  641. // margin-bottom: 10rpx;
  642. // }
  643. // .order-info {
  644. // width: 100%;
  645. // background: #F8F9FB;
  646. // padding: 19rpx 38rpx 45rpx 19rpx;
  647. // .store-name {
  648. // font-weight: 600;
  649. // font-size: 27rpx;
  650. // color: #141414;
  651. // }
  652. // .scroll-container {
  653. // display: flex;
  654. // flex-wrap: nowrap;
  655. // margin: 20rpx 0;
  656. // overflow-x: auto;
  657. // /* 允许水平滚动 */
  658. // white-space: nowrap;
  659. // /* 防止项目换行 */
  660. // -webkit-overflow-scrolling: touch;
  661. // /* 在iOS上平滑滚动 */
  662. // .item {
  663. // display: flex;
  664. // flex-direction: column;
  665. // align-items: center;
  666. // justify-content: center;
  667. // margin-right: 19rpx;
  668. // image {
  669. // width: 115rpx;
  670. // height: 115rpx;
  671. // }
  672. // text {
  673. // font-weight: 400;
  674. // font-size: 21rpx;
  675. // color: #141414;
  676. // margin-top: 9rpx;
  677. // }
  678. // }
  679. // }
  680. // .container2 {
  681. // display: flex;
  682. // justify-content: space-between;
  683. // align-items: center;
  684. // font-weight: 500;
  685. // font-size: 21rpx;
  686. // color: #141414;
  687. // view {
  688. // display: flex;
  689. // align-items: center;
  690. // }
  691. // .image2 {
  692. // width: 42rpx;
  693. // height: 42rpx;
  694. // }
  695. // }
  696. // }
  697. // }
  698. // .order-dis {
  699. // font-weight: 400;
  700. // font-size: 23rpx;
  701. // color: #141414;
  702. // }
  703. // .order-icon {
  704. // display: inline-block;
  705. // margin-left: 10rpx;
  706. // margin-right: 20rpx;
  707. // padding: 5rpx 10rpx;
  708. // font-weight: 400;
  709. // font-size: 23rpx;
  710. // color: #FFFFFF;
  711. // border-radius: 50%;
  712. // background-color: $bg-color-primary;
  713. // }
  714. // .order-bottom {
  715. // border-top: 2rpx dashed #D6D7DC;
  716. // .bottom-but {
  717. // padding: 39rpx 67rpx;
  718. // .sub {
  719. // width: 100%;
  720. // background-color: $bg-color-primary;
  721. // font-weight: 500;
  722. // font-size: 31rpx;
  723. // color: #FFFFFF;
  724. // padding: 17rpx 0;
  725. // }
  726. // }
  727. // }
  728. // .icon-info {
  729. // width: 8rpx;
  730. // height: 31rpx;
  731. // background: $bg-color-primary;
  732. // margin-right: 15rpx;
  733. // }
  734. // .line {
  735. // z-index: 1;
  736. // position: absolute;
  737. // left: 28rpx;
  738. // width: 1rpx;
  739. // height: 100%;
  740. // border-left: 1rpx dashed $bg-color-primary;
  741. // }
  742. </style>