index.vue 21 KB

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