index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949
  1. <!-- 货源 -->
  2. <template>
  3. <view class="content">
  4. <view class="fixed1"></view>
  5. <!-- <view v-if="!isSearch"> -->
  6. <!-- <view class="fixed">
  7. <view class='title flex flex-center'>
  8. <view>订单</view>
  9. <u-icon class="search" name="search" color="" size="28" @click="search"></u-icon>
  10. </view>
  11. <u-tabs :list="tabList" @click="clickTab" lineColor='#2772FB' :current='tabIndex' :activeStyle="{
  12. color: '#2772FB',
  13. fontWeight: 'bold',
  14. transform: 'scale(1.05)'
  15. }"></u-tabs>
  16. </view> -->
  17. <view class="top-content">
  18. <u-search placeholder="搜索订单" v-model="searchKeyWord" bgColor='white' :actionStyle='searchStyle'
  19. @search="getSearch" :clearabled="true"></u-search>
  20. <view class="tab-content">
  21. <u-tabs :list="tabList" @click="clickTab" lineColor='transparent' :current='tabIndex'
  22. :inactiveStyle="{color:'white'}" :activeStyle="{
  23. color: '#2772FB',
  24. fontWeight: 'bold',
  25. transform: 'scale(1.05)',
  26. background:'white',
  27. padding:'10rpx 20rpx',
  28. 'border-radius':'40rpx'
  29. }" class="tabs"></u-tabs>
  30. <view class="right-btn" @click="showMenu=true">
  31. <u-icon name="grid-fill" color="white" size="28"></u-icon>
  32. <view class="">
  33. 全部
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="all-menu">
  39. <u-transition :show="showMenu" mode="fade">
  40. <view class="transition">
  41. <view v-for="(item,index) in tabList" :key='index' class="transition-item-style"
  42. :class="tabIndex==index?'menu-active':''" @click="clickTab({index:index})">
  43. {{item.name}}
  44. </view>
  45. </view>
  46. </u-transition>
  47. <view class="modal-black" v-show="showMenu" @click="closeMenu"></view>
  48. </view>
  49. <mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" class="mescroll">
  50. <view :id="'good'+good.id" class="good-list" v-for="good in goods" :key="good.id"
  51. @click="toDetail(good.id)">
  52. <view style="padding: 0 35rpx 20rpx 35rpx;">
  53. <view class="flex flex-space-between row1">
  54. <view class="item1">
  55. {{good.orderNo}}
  56. <!-- {{good.goodsName}} -->
  57. </view>
  58. <view class="item2">
  59. {{good.cargoOwnerStatus}}
  60. </view>
  61. </view>
  62. <view class="flex row2">
  63. <view class="left">
  64. <view class="top">
  65. <view class="ssx">{{$helper.getProvinceAbbreviation(good.sendPrivate)}}</view>
  66. <view class="level2-title">{{$helper.filterUrban(good.sendCity)}}</view>
  67. </view>
  68. <view class="bottom">{{$helper.filterArea(good.sendArea)}}</view>
  69. </view>
  70. <view class="jt-image">
  71. <image class="jt-icon" src="@/static/images/order/jt.png" mode='widthFix'>
  72. </image>
  73. </view>
  74. <view class="right">
  75. <view class="top">
  76. <view class="ssx">
  77. {{$helper.getProvinceAbbreviation(good.unloadPrivate)}}
  78. </view>
  79. <view class="level2-title">{{$helper.filterUrban(good.unloadCity)}}</view>
  80. </view>
  81. <view class="bottom">
  82. {{$helper.filterArea(good.unloadArea)}}
  83. </view>
  84. </view>
  85. </view>
  86. <view class="flex row3 s-row">
  87. <view class="flex align-center">
  88. <image class="hz" src="@/static/images/news/sj.png"></image>
  89. <view style="margin-right: 20rpx;">{{good.driverName}}</view>
  90. <!-- <view style="margin-right: 20rpx;">{{good.driverCall}}</view> -->
  91. <image class="hz-good" src="@/static/images/order/good-img.png"></image>
  92. <view>{{good.goodsName}}</view>
  93. </view>
  94. <view class="flex align-center">
  95. <view style="margin-right: 20rpx;">运距 {{good.distance}}km</view>
  96. <view class="car">{{good.freight}}{{good.illingMethod==0?'元/吨':'元/车'}}</view>
  97. </view>
  98. <!-- <view class="right">
  99. <view class="flex fontsize-26 row">
  100. <view>{{good.compName}}</view>
  101. <view class="sline"></view>
  102. <view>{{good.cargoOwner}}</view>
  103. </view>
  104. <view class="flex align-center">
  105. <view class="fontsize-26 ">运距 {{good.distance}}km</view>
  106. </view>
  107. </view> -->
  108. </view>
  109. <view class="row4 flex align-center">
  110. <view class="time">{{good.updateDate}}</view>
  111. </view>
  112. <view class="row5 flex flex-end">
  113. <!-- <image class="jt-icon" src="@/static/images/order/position.png" mode='widthFix'
  114. @click.stop="toMap(good)">
  115. </image> -->
  116. <view class="start normal look-map" @click.stop="toMap(good)">
  117. 查看轨迹</view>
  118. <view class="stop" @click.stop="accept(good,1)" v-if="good.cargoOwnerStatus=='待接单'">接受
  119. </view>
  120. <!-- <view class="stop active" @click.stop="accept(good,1)">接受</view> -->
  121. <view class="normal" @click.stop="accept(good,2)" v-if="good.cargoOwnerStatus=='待接单'">拒绝
  122. </view>
  123. <view class="normal" @click.stop="stop(good)" v-if="good.cargoOwnerStatus=='未装车'">终止</view>
  124. <!-- <view class="stop active" @click.stop="stop(good)">终止</view> -->
  125. <!-- confirmLoading(good,3) -->
  126. <view class="start normal" @click.stop="toDetail(good.id)"
  127. v-if="good.cargoOwnerStatus=='待确认装车'">确认装车</view>
  128. <!-- <view class="start normal" @click.stop="confirmLoading(good,1)">确认装车</view> -->
  129. <view class="start normal" v-if="good.cargoOwnerStatus!='待接单'&&good.cargoOwnerStatus!='未装车'">
  130. 联系客服</view>
  131. <view class="start normal" @click.stop="confirmLoading(good,4)"
  132. v-if="good.cargoOwnerStatus=='待收货'">确认卸车</view>
  133. <!-- <view class="start normal" @click.stop="confirmLoading(good,2)">确认卸车</view> -->
  134. <view class="normal" @click.stop="stop(good)" v-if="good.cargoOwnerStatus=='已结算'">付款</view>
  135. <view class="normal" @click.stop="stop(good)"
  136. v-if="good.cargoOwnerStatus=='待还款'||good.cargoOwnerStatus=='已还款'">还款</view>
  137. <!-- <view class="start normal" @click.stop="closed(good)" v-if="good.cargoOwnerStatus=='结算中'">完结</view> -->
  138. </view>
  139. </view>
  140. </view>
  141. </mescroll-body>
  142. <!-- </view> -->
  143. <!-- <view v-else class="search-view">
  144. <view class="flex">
  145. <u-icon name="arrow-left" color="" size="20" class="back-icon" @click="back()"></u-icon>
  146. <u-search placeholder="可按编号、货主、收发地查找" placeholderColor="#AFB3BF" :actionStyle="textColor"
  147. bgColor="#F5F6FA" v-model="searchKeyWord" actionText='取消' @custom="cancel" @search="getSearch">
  148. </u-search>
  149. </view>
  150. <view class="near-search">
  151. <view class="flex flex-space-between">
  152. <view class="near-search-text">最近搜索</view>
  153. <u-icon name="trash-fill" color="#AFB3BF" size="20" class="back-icon" @click="del"></u-icon>
  154. </view>
  155. <view class="">
  156. <view v-for="(item,index) in useSearchList" :key="index" class="item-style inline-block">
  157. {{item}}
  158. </view>
  159. </view>
  160. </view>
  161. </view> -->
  162. <u-modal :show="isShowAlert" :title="alertTitle" :content='alertContent' :confirmText='confirmText'
  163. :closeOnClickOverlay='true' :showCancelButton='true' @confirm="confirmClick" @close="cancelClick"
  164. @cancel="cancelClick" class="modal">
  165. <u-radio-group v-model="radiovalue1" placement="" v-if='isShowTerminationReason' class='row'>
  166. <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
  167. :label="item.name" :name="item.name" @change="radioChange">
  168. </u-radio>
  169. </u-radio-group>
  170. <u--textarea class="row" v-model="value2" placeholder="终止原因描述" count maxlength='50'
  171. v-if='isShowTerminationReason'>
  172. </u--textarea>
  173. </u-modal>
  174. <u-toast ref="uToast"></u-toast>
  175. </view>
  176. </template>
  177. <script>
  178. var that
  179. import {
  180. mapState
  181. } from 'vuex';
  182. import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
  183. import {
  184. apiGoods
  185. } from "@/api/mock.js"
  186. export default {
  187. mixins: [MescrollMixin], // 使用mixin
  188. data() {
  189. return {
  190. type: null,
  191. objData: {},
  192. showMenu: false,
  193. searchStyle: {
  194. background: "#317AFE",
  195. color: 'white',
  196. position: "absolute",
  197. right: "30rpx",
  198. padding: "6rpx 20rpx",
  199. "border-radius": '30rpx'
  200. },
  201. searchKeyWord: '',
  202. useSearchList: [],
  203. mescroll: null,
  204. isShowTerminationReason: false,
  205. id: '',
  206. value2: '',
  207. radiolist1: [{
  208. name: '已与货主协商',
  209. disabled: false
  210. },
  211. {
  212. name: '货主原因终止',
  213. disabled: false
  214. },
  215. {
  216. name: '司机个人原因终止',
  217. disabled: false
  218. }, {
  219. name: '其他',
  220. disabled: false
  221. }
  222. ],
  223. radiovalue1: '已与货主协商',
  224. confirmText: '终止',
  225. alertTitle: '确定终止订单?',
  226. alertContent: "",
  227. isShowAlert: false,
  228. textColor: {
  229. "color": "#AFB3BF"
  230. },
  231. isSearch: false,
  232. startPlace: '齐齐哈尔齐齐哈尔',
  233. endPlace: '全国',
  234. goods: [], // 数据列表
  235. src: 'https://cdn.uviewui.com/uview/album/1.jpg',
  236. height: "", // 需要固定swiper的高度
  237. tabList: [{
  238. name: '全部'
  239. }, {
  240. name: '待接单'
  241. }, {
  242. name: '未发运'
  243. }, {
  244. name: '运输中'
  245. }, {
  246. name: '待收货'
  247. },
  248. {
  249. name: '待结算'
  250. },
  251. {
  252. name: '已结算'
  253. },
  254. {
  255. name: '待还款'
  256. },
  257. {
  258. name: '已还款'
  259. },
  260. {
  261. name: '已完结'
  262. },
  263. // {
  264. // name: '评价'
  265. // },
  266. ],
  267. tabIndex: 0,
  268. scrollTop: 0
  269. }
  270. },
  271. computed: {
  272. ...mapState(['hasLogin', 'userInfo', 'firstAuthentication'])
  273. },
  274. onTabItemTap(e) {
  275. // tab 点击时执行,此处直接接收单击事件
  276. uni.pageScrollTo({
  277. scrollTop: 0,
  278. duration: 300
  279. });
  280. },
  281. created() {
  282. //#ifdef APP-PLUS
  283. // this.getLngLat();
  284. //#endif
  285. },
  286. onLoad() {
  287. // let _isHave = this.$utils.getRoles('aaa')
  288. // console.log(_isHave)
  289. that = this
  290. },
  291. onShow() {
  292. this.upCallback({
  293. size: 10,
  294. num: 1
  295. })
  296. that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
  297. reCommonId: this.userInfo.id,
  298. }).then(res3 => {
  299. if (res3.data) {
  300. let name = 'myTip';
  301. let value = res3.data
  302. if (value == 0) {
  303. uni.removeTabBarBadge({
  304. index: 2
  305. })
  306. }
  307. that.$store.commit('$uStore', {
  308. name,
  309. value
  310. });
  311. if (value != 0 && value) {
  312. uni.setTabBarBadge({
  313. index: 2,
  314. text: value + ""
  315. })
  316. }
  317. }
  318. })
  319. },
  320. // onPageScroll(res) {
  321. // this.scrollTop = res.scrollTop
  322. // console.log("页面滚动了", res.scrollTop)
  323. // if (this.scrollTop > 1200) {
  324. // uni.setTabBarItem({
  325. // index: 1,
  326. // text: '返回顶部',
  327. // iconPath: 'static/images/common/top@2x.png',
  328. // selectedIconPath: 'static/images/common/top@2x.png'
  329. // })
  330. // } else {
  331. // uni.setTabBarItem({
  332. // index: 1,
  333. // text: '订单',
  334. // iconPath: 'static/images/common/dingdan@2x(1).png',
  335. // selectedIconPath: 'static/images/common/dingdan@2x.png'
  336. // })
  337. // }
  338. // },
  339. methods: {
  340. toMap(val) {
  341. uni.$u.route('/pages/order/map', val);
  342. },
  343. closeMenu() {
  344. this.showMenu = false
  345. },
  346. accept(item, type) {
  347. this.objData = item
  348. this.type = type
  349. if (type == 1) {
  350. this.alertTitle = '确定接受订单?'
  351. this.confirmText = '确定'
  352. } else if (type == 2) {
  353. this.alertTitle = '确定拒绝订单?'
  354. this.confirmText = '确定'
  355. } else {
  356. this.alertTitle = '确定终止订单?'
  357. this.confirmText = '终止'
  358. }
  359. this.isShowAlert = true
  360. },
  361. // 完结
  362. closed(item) {
  363. let that = this
  364. this.$request.baseRequest('post', '/orderInfo/api/editEnd', {
  365. id: item.id,
  366. }).then(res => {
  367. if (res.code == 200) {
  368. this.$refs.uToast.show({
  369. type: 'success',
  370. message: "提交成功",
  371. complete() {
  372. that.upCallback({
  373. size: 10,
  374. num: 1
  375. })
  376. }
  377. })
  378. }
  379. })
  380. .catch(res => {
  381. uni.$u.toast(res.message);
  382. });
  383. },
  384. confirmLoading(item, type) {
  385. this.objData = item
  386. this.type = type
  387. if (type == 3) {
  388. this.alertTitle = '确认装车?'
  389. this.confirmText = '确定'
  390. } else if (type == 4) {
  391. this.alertTitle = '确认卸车?'
  392. this.confirmText = '确定'
  393. }
  394. this.isShowAlert = true
  395. // uni.$u.route('/pages/order/confirmLoading', item);
  396. },
  397. // confirmUnLoading(item) {
  398. // uni.$u.route('/pages/order/confirmUnloading', item);
  399. // },
  400. back() {
  401. uni.navigateBack(-1)
  402. },
  403. mescrollInit(mescroll) {
  404. this.mescroll = mescroll;
  405. },
  406. radioChange(n) {
  407. console.log('radioChange', n);
  408. },
  409. stop(item) {
  410. // // 货主接单
  411. // if (item.orderStatusKey == 1) {
  412. // this.isShowTerminationReason = false
  413. // } else {
  414. // this.isShowTerminationReason = true
  415. // }
  416. this.id = item.id
  417. this.isShowAlert = true
  418. },
  419. init() {
  420. },
  421. del() {
  422. this.isShowAlert = true
  423. },
  424. confirmClick() {
  425. that.isShowAlert = false
  426. if (this.type == 1 || this.type == 2) {
  427. let _title = ''
  428. this.$request.baseRequest('post', '/orderInfo/api/orderReceiving', {
  429. id: this.objData.id,
  430. flag: this.type
  431. }).then(res => {
  432. if (res.code == 200) {
  433. if (this.type == 1) {
  434. _title = '抢单成功'
  435. } else {
  436. _title = '拒绝订单成功'
  437. }
  438. this.$refs.uToast.show({
  439. type: 'success',
  440. message: _title,
  441. complete() {
  442. that.mescroll.resetUpScroll()
  443. }
  444. })
  445. } else {
  446. if (this.type == 1) {
  447. _title = '抢单失败'
  448. } else {
  449. _title = '拒绝订单失败'
  450. }
  451. this.$refs.uToast.show({
  452. type: 'success',
  453. message: _title,
  454. complete() {
  455. that.mescroll.resetUpScroll()
  456. }
  457. })
  458. }
  459. })
  460. .catch(res => {
  461. uni.$u.toast(res.message);
  462. });
  463. }else if (this.type == 3 || this.type == 4){
  464. let _flag=''
  465. if (this.type==3) _flag=1
  466. if (this.type==4) _flag=2
  467. this.$request.baseRequest('post', '/carrierInfo/cargoOwnerLoadingAdd', {
  468. id: this.objData.id,
  469. loadingFlag: _flag,
  470. flag:1
  471. }).then(res => {
  472. if (res.code == 200) {
  473. this.$refs.uToast.show({
  474. type: 'success',
  475. message: "提交成功",
  476. complete() {
  477. that.upCallback({
  478. size: 10,
  479. num: 1
  480. })
  481. }
  482. })
  483. }
  484. })
  485. .catch(res => {
  486. uni.$u.toast(res.message);
  487. });
  488. }
  489. else {
  490. this.$request.baseRequest('post', '/orderInfo/api/end', {
  491. id: this.id,
  492. terminator: 2,
  493. }).then(res => {
  494. if (res.code == 200) {
  495. this.$refs.uToast.show({
  496. type: 'success',
  497. message: '终止订单成功',
  498. })
  499. } else {
  500. this.$refs.uToast.show({
  501. type: 'success',
  502. message: '终止订单失败',
  503. })
  504. }
  505. that.mescroll.resetUpScroll()
  506. })
  507. .catch(res => {
  508. uni.$u.toast(res.message);
  509. });
  510. }
  511. },
  512. cancelClick() {
  513. this.isShowAlert = false
  514. },
  515. getSearch(e) {
  516. // = uni.getStorageSync('useSearchList')
  517. // this.useSearchList.unshift(e)
  518. // uni.setStorageSync("useSearchList", this.useSearchList)
  519. console.log("点击搜索", e)
  520. this.upCallback({
  521. size: 10,
  522. num: 1
  523. })
  524. },
  525. cancel() {
  526. this.isSearch = false
  527. },
  528. toDetail(id) {
  529. uni.$u.route('/pages/order/orderDetails', {
  530. id: id,
  531. });
  532. },
  533. upCallback(page) {
  534. if (this.searchType == 0) this.searchType = ''
  535. this.$request.baseRequest('get', '/orderInfo/selectCargoOwnerOrder', {
  536. cargoCommonId: this.userInfo.id,
  537. searchKeyWord: this.searchKeyWord,
  538. searchType: this.searchType,
  539. pageSize: page.size,
  540. currentPage: page.num
  541. }).then(res => {
  542. this.isSearch = false
  543. if (page.num == 1) this.goods = [];
  544. this.goods = this.goods.concat(res.data.records); //追加新数据
  545. this.mescroll.endBySize(res.data.records.length, res.data.total);
  546. uni.hideLoading()
  547. })
  548. .catch(res => {
  549. uni.$u.toast(res.message);
  550. });
  551. },
  552. clickTab(val) {
  553. uni.showLoading({
  554. mask: true
  555. })
  556. console.log(val)
  557. this.searchType = val.index
  558. this.tabIndex = val.index
  559. this.upCallback({
  560. size: 10,
  561. num: 1
  562. })
  563. this.showMenu = false
  564. },
  565. search() {
  566. this.isSearch = true
  567. //获取缓存搜索数据
  568. this.useSearchList = uni.getStorageSync('useSearchList')
  569. if (!this.useSearchList) this.useSearchList = [];
  570. }
  571. }
  572. }
  573. </script>
  574. <style scoped lang="scss">
  575. .top-content {
  576. background: url(../../static/images/order/bg.png) no-repeat;
  577. background-size: cover;
  578. padding: 20rpx;
  579. padding-bottom: 320rpx;
  580. }
  581. // .banner {
  582. // width: 100%;
  583. // position: relative;
  584. // }
  585. // .fixed,
  586. // .fixed1 {
  587. // background: #2772FB;
  588. // position: fixed;
  589. // top: var(--status-bar-height);
  590. // z-index: 999;
  591. // width: 100%;
  592. // }
  593. // .fixed {
  594. // .title {
  595. // background: white;
  596. // position: relative;
  597. // font-size: 36rpx;
  598. // font-weight: 500;
  599. // color: rgba(0, 0, 0, 0.85);
  600. // .search {
  601. // position: absolute;
  602. // right: 20rpx;
  603. // }
  604. // }
  605. // }
  606. .fixed1 {
  607. top: 0;
  608. height: var(--status-bar-height);
  609. background: #317AFE;
  610. }
  611. // .banner-img {
  612. // width: 100%;
  613. // }
  614. // .head {
  615. // position: absolute;
  616. // width: calc(100% - 108rpx);
  617. // bottom: 0;
  618. // background: white;
  619. // margin: 0 20rpx;
  620. // border-radius: 20rpx;
  621. // .item1,
  622. // .item3 {
  623. // width: 40%;
  624. // .text {
  625. // text-overflow: ellipsis;
  626. // overflow: hidden;
  627. // white-space: nowrap;
  628. // }
  629. // }
  630. // .item1 .text {
  631. // text-align: left;
  632. // }
  633. // .item3 .text {
  634. // text-align: right;
  635. // }
  636. // }
  637. .change-btn {
  638. width: 86rpx;
  639. height: 86rpx;
  640. }
  641. .good-list {
  642. background-color: white;
  643. margin: 20rpx;
  644. padding: 20rpx 0rpx 0 0;
  645. border-radius: 20rpx;
  646. .row1 {
  647. .item1 {
  648. color: #333333;
  649. }
  650. .item2 {
  651. color: #FE6300;
  652. }
  653. }
  654. .row2 {
  655. margin: 30rpx 0;
  656. display: flex;
  657. justify-content: center;
  658. .left {
  659. float: left;
  660. width: 40%;
  661. display: flex;
  662. flex-direction: column;
  663. align-items: center;
  664. .top {
  665. display: flex;
  666. justify-content: flex-start;
  667. }
  668. .bottom {
  669. display: flex;
  670. justify-content: flex-start;
  671. font-size: 24rpx;
  672. color: #878787;
  673. margin-top: 10rpx;
  674. }
  675. }
  676. .right {
  677. float: right;
  678. display: flex;
  679. flex-direction: column;
  680. align-items: center;
  681. width: 40%;
  682. .top {
  683. display: flex;
  684. justify-content: flex-end;
  685. }
  686. .bottom {
  687. display: flex;
  688. justify-content: flex-end;
  689. font-size: 24rpx;
  690. color: #878787;
  691. margin-top: 10rpx;
  692. }
  693. }
  694. }
  695. .row3 {
  696. background: #F5F6FA;
  697. padding: 20rpx;
  698. border-radius: 10rpx;
  699. color: #333333;
  700. .hz {
  701. width: 74rpx;
  702. height: 74rpx;
  703. margin-right: 30rpx;
  704. }
  705. .hz-good {
  706. width: 44rpx;
  707. height: 44rpx;
  708. margin: 0 30rpx;
  709. }
  710. }
  711. .row4 {
  712. margin: 20rpx 0;
  713. .time {
  714. color: #999999;
  715. margin-right: 20rpx;
  716. }
  717. .car {
  718. font-size: 28rpx;
  719. color: #000000;
  720. }
  721. }
  722. .row5 {
  723. margin: 20rpx 0;
  724. font-size: 28rpx;
  725. .stop {
  726. border-radius: 33px;
  727. border: 1px solid #FE6300;
  728. padding: 13rpx 31rpx;
  729. margin-right: 20rpx;
  730. color: #FE6300;
  731. }
  732. .normal {
  733. border-radius: 33px;
  734. border: 1px solid #CDCDCD;
  735. padding: 6px 15px;
  736. margin-right: 10px;
  737. }
  738. }
  739. }
  740. .jt-icon {
  741. position: relative;
  742. top: 6rpx;
  743. width: 60rpx;
  744. margin: 0 20rpx;
  745. }
  746. .row {
  747. margin: 10rpx 0;
  748. align-items: center;
  749. }
  750. // .item-bottom {
  751. // background: #F0F5FF;
  752. // padding: 0 30rpx;
  753. // .name {
  754. // font-size: 26rpx;
  755. // font-weight: 700;
  756. // color: #000000;
  757. // margin-left: 30rpx;
  758. // }
  759. // .hp {
  760. // margin: 30rpx;
  761. // }
  762. // .number-color {
  763. // margin: 0 10rpx;
  764. // }
  765. // .qd {
  766. // background: linear-gradient(97deg, #4FABFD 0%, #2772FB 100%);
  767. // border-radius: 13px;
  768. // font-size: 29rpx;
  769. // font-weight: 400;
  770. // color: #FFFFFF;
  771. // padding: 10rpx 35rpx;
  772. // }
  773. // }
  774. .dw {
  775. align-items: center;
  776. }
  777. .mescroll {
  778. // margin-top: calc(var(--status-bar-height) + 140rpx);
  779. top: -320rpx;
  780. }
  781. .sline {
  782. height: 28rpx;
  783. width: 1px;
  784. background: black;
  785. margin: 0 20rpx;
  786. }
  787. .search-view {
  788. margin-top: var(--status-bar-height);
  789. background: white;
  790. padding: 0 20rpx;
  791. }
  792. .back-icon {
  793. margin-right: 20rpx;
  794. }
  795. .near-search-text {
  796. margin: 20rpx 0;
  797. }
  798. .item-style {
  799. background: #F5F6FA;
  800. padding: 11rpx 24rpx;
  801. margin-right: 20rpx;
  802. border-radius: 10px;
  803. font-size: 26rpx;
  804. color: #333333;
  805. }
  806. /deep/.u-modal__content {
  807. flex-direction: column;
  808. }
  809. .tab-content {
  810. position: relative;
  811. padding-right: 100rpx;
  812. }
  813. .right-btn {
  814. position: absolute;
  815. width: 88rpx;
  816. height: 88rpx;
  817. background: #317AFE;
  818. box-shadow: -14px 0px 8px -8px rgba(0, 53, 149, 0.21);
  819. display: flex;
  820. flex-direction: column;
  821. right: 0;
  822. top: 0;
  823. bottom: 0;
  824. margin: auto;
  825. color: white;
  826. align-items: center;
  827. justify-content: center;
  828. }
  829. .tabs {
  830. // background: red;
  831. margin-top: 20rpx;
  832. overflow-x:scroll ;
  833. }
  834. /deep/.u-transition {
  835. border-radius: 0 0 50rpx 50rpx;
  836. }
  837. .transition {
  838. background: white;
  839. padding-bottom: 40rpx;
  840. .transition-item-style {
  841. display: inline-block;
  842. width: calc(25% - 40rpx);
  843. text-align: center;
  844. box-sizing: border-box;
  845. background: #F7F8FA;
  846. border-radius: 40px;
  847. margin: 20rpx 20rpx 0 20rpx;
  848. padding: 16rpx 0;
  849. }
  850. .menu-active {
  851. background: #2772FB;
  852. color: white;
  853. }
  854. }
  855. .modal-black {
  856. background: black;
  857. height: 100vh;
  858. width: 100vw;
  859. position: absolute;
  860. z-index: 999;
  861. opacity: 0.3;
  862. }
  863. .all-menu {
  864. position: absolute;
  865. z-index: 99;
  866. top: 260rpx;
  867. }
  868. .look-map{
  869. background:#2772FB;
  870. color: white;
  871. }
  872. </style>