index.vue 22 KB

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