index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894
  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?good.sendPrivate:good.sendCity)}}</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?good.unloadPrivate:good.unloadCity)}}
  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.billingMethod==0?good.freightInfo.freight?good.freightInfo.freight:good.freight:good.freightCar}}{{good.billingMethod==0?'元/吨':'元/车'}} -->
  97. {{good.freight}}{{good.billingMethod==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.billingMethod==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.billingMethod==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 normal" @click.stop="closed(good)" v-if="good.orderStatus=='结算中'">完结
  134. </view>
  135. <!-- <view class="start normal" @click.stop="addevaluation(good)" v-if="good.orderStatus=='已完结'">评价</view> -->
  136. <view class="start normal" @click.stop="addevaluation(good)" v-if="good.orderStatus=='已完结' && good.driverEvaluated != 1"><!-- driverEvaluated 为1是已评价过-->
  137. 评价</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: 3
  307. })
  308. }
  309. that.$store.commit('$uStore', {
  310. name,
  311. value
  312. });
  313. if (value != 0 && value) {
  314. uni.setTabBarBadge({
  315. index: 3,
  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', {
  348. val: JSON.stringify(good)
  349. });
  350. },
  351. evaluateClick() {
  352. //我的评价记录
  353. uni.$u.route('/pages/order/evaluateList');
  354. },
  355. closeMenu() {
  356. this.showMenu = false
  357. },
  358. // 完结
  359. closed(item) {
  360. this.$request.baseRequest('post', '/orderInfo/api/editEnd', {
  361. id: item.id,
  362. }).then(res => {
  363. if (res.code == 200) {
  364. this.$refs.uToast.show({
  365. type: 'success',
  366. message: "提交成功",
  367. complete() {
  368. that.upCallback({
  369. size: 10,
  370. num: 1
  371. })
  372. }
  373. })
  374. }
  375. })
  376. .catch(res => {
  377. uni.$u.toast(res.message);
  378. });
  379. },
  380. confirmLoading(item) {
  381. uni.$u.route('/pages/order/confirmLoading', item);
  382. },
  383. confirmUnLoading(item) {
  384. uni.$u.route('/pages/order/confirmUnloading', {
  385. obj: JSON.stringify(item)
  386. });
  387. },
  388. back() {
  389. uni.navigateBack(-1)
  390. },
  391. mescrollInit(mescroll) {
  392. this.mescroll = mescroll;
  393. },
  394. radioChange(n) {
  395. console.log('radioChange', n);
  396. },
  397. stop(item) {
  398. // 货主接单
  399. if (item.orderStatusKey == 1) {
  400. this.isShowTerminationReason = false
  401. } else {
  402. this.isShowTerminationReason = true
  403. }
  404. this.id = item.id
  405. this.isShowAlert = true
  406. },
  407. init() {
  408. },
  409. del() {
  410. this.isShowAlert = true
  411. this.alertTitle = '确定删除全部历史记录?'
  412. this.confirmText = '确定'
  413. },
  414. confirmClick() {
  415. // #ifdef APP-PLUS
  416. if (this.alertTitle == '账号审核中') {
  417. if (uni.getSystemInfoSync().platform == 'ios') {
  418. plus.ios.import("UIApplication").sharedApplication().performSelector("exit")
  419. } else if (uni.getSystemInfoSync().platform == 'android') {
  420. plus.runtime.quit();
  421. }
  422. return
  423. }
  424. // #endif
  425. if (this.alertTitle == '确定删除全部历史记录?') {
  426. uni.removeStorageSync('useSearchList');
  427. this.useSearchList = [];
  428. this.isShowAlert = false
  429. } else {
  430. console.log('终止', this.radiovalue1 == '其他' && !this.value2)
  431. if (this.radiovalue1 == '其他' && !this.value2) {
  432. uni.showToast({
  433. title: '请填写终止原因描述',
  434. icon: 'none',
  435. duration: 2000
  436. });
  437. return
  438. }
  439. let _terminationReason = ''
  440. if (this.radiovalue1 == '已与货主协商') {
  441. _terminationReason = 1
  442. } else if (this.radiovalue1 == '货主原因终止') {
  443. _terminationReason = 2
  444. } else if (this.radiovalue1 == '司机个人原因终止') {
  445. _terminationReason = 3
  446. } else if (this.radiovalue1 == '其他') {
  447. _terminationReason = 4
  448. }
  449. this.$request.baseRequest('post', '/orderInfo/api/end', {
  450. id: this.id,
  451. terminator: 1,
  452. terminationReason: _terminationReason,
  453. terminationReasonDescription: this.value2
  454. }).then(res => {
  455. console.log(res)
  456. if (res.code == 200) {
  457. this.$refs.uToast.show({
  458. type: 'success',
  459. message: "终止订单成功",
  460. complete() {
  461. that.mescroll.resetUpScroll()
  462. }
  463. })
  464. } else {
  465. uni.$u.toast("终止订单失败!");
  466. }
  467. this.isShowAlert = false
  468. })
  469. .catch(res => {
  470. uni.$u.toast(res.message);
  471. });
  472. }
  473. },
  474. cancelClick() {
  475. this.isShowAlert = false
  476. },
  477. getSearch(e) {
  478. // = uni.getStorageSync('useSearchList')
  479. this.useSearchList.unshift(e)
  480. this.useSearchList = [...new Set(this.useSearchList)]
  481. uni.setStorageSync("useSearchList", this.useSearchList)
  482. if (this.useSearchList.length > 9) {
  483. this.carList.splice(this.useSearchList.length, 1)
  484. }
  485. console.log("点击搜索", e)
  486. this.upCallback({
  487. size: 10,
  488. num: 1
  489. })
  490. },
  491. cancel() {
  492. this.isSearch = false
  493. },
  494. toDetail(id) {
  495. uni.$u.route('/pages/order/orderDetails', {
  496. id: id,
  497. });
  498. },
  499. /*上拉加载的回调: 其中page.num:当前页 从1开始, page.size:每页数据条数,默认10 */
  500. upCallback(page) {
  501. // uni.$u.sleep(300).then(() => {
  502. uni.showLoading({
  503. mask: true,
  504. title: '加载中'
  505. })
  506. // })
  507. // 此处可以继续请求其他接口
  508. // if(page.num == 1){
  509. // // 请求其他接口...
  510. // }
  511. // 如果希望先请求其他接口,再触发upCallback,可参考以下写法
  512. // if(!this.isInitxx){
  513. // apiGetxx().then(res=>{
  514. // this.isInitxx = true
  515. // this.mescroll.resetUpScroll() // 重新触发upCallback
  516. // }).catch(()=>{
  517. // this.mescroll.endErr()
  518. // })
  519. // return // 此处return,先获取xx
  520. // }
  521. // 订单状态12345
  522. this.$request.baseRequest('get', '/orderInfo/selectOrderInfo', {
  523. commonId: this.userInfo.id,
  524. searchKeyWord: this.searchKeyWord,
  525. searchType: this.searchType,
  526. pageSize: page.size,
  527. currentPage: page.num
  528. }).then(res => {
  529. this.isSearch = false
  530. if (page.num == 1) this.goods = []; //如果是第一页需手动制空列表
  531. this.goods = this.goods.concat(res.data.records); //追加新数据
  532. this.mescroll.endBySize(res.data.records.length, res.data.total);
  533. })
  534. .catch(res => {
  535. uni.$u.toast(res.message);
  536. });
  537. uni.$u.sleep(500).then(() => {
  538. uni.hideLoading()
  539. })
  540. },
  541. clickTab(val) {
  542. uni.showLoading({
  543. mask: true
  544. })
  545. console.log(val)
  546. this.searchType = val.index
  547. this.tabIndex = val.index
  548. this.upCallback({
  549. size: 10,
  550. num: 1
  551. })
  552. this.showMenu = false
  553. },
  554. search() {
  555. this.isSearch = true
  556. //获取缓存搜索数据
  557. this.useSearchList = uni.getStorageSync('useSearchList')
  558. if (!this.useSearchList) this.useSearchList = [];
  559. }
  560. }
  561. }
  562. </script>
  563. <style scoped lang="scss">
  564. .banner {
  565. width: 100%;
  566. position: relative;
  567. }
  568. .fixed,
  569. .fixed1 {
  570. background: white;
  571. position: fixed;
  572. top: var(--status-bar-height);
  573. z-index: 999;
  574. width: 100%;
  575. }
  576. .fixed {
  577. .title {
  578. background: white;
  579. position: relative;
  580. font-size: 36rpx;
  581. font-weight: 500;
  582. color: rgba(0, 0, 0, 0.85);
  583. .search {
  584. position: absolute;
  585. right: 20rpx;
  586. }
  587. }
  588. }
  589. .fixed1 {
  590. top: 0;
  591. height: var(--status-bar-height);
  592. background: white;
  593. }
  594. .banner-img {
  595. width: 100%;
  596. }
  597. .head {
  598. position: absolute;
  599. width: calc(100% - 108rpx);
  600. bottom: 0;
  601. background: white;
  602. margin: 0 20rpx;
  603. border-radius: 20rpx;
  604. .item1,
  605. .item3 {
  606. width: 40%;
  607. .text {
  608. text-overflow: ellipsis;
  609. overflow: hidden;
  610. white-space: nowrap;
  611. }
  612. }
  613. .item1 .text {
  614. text-align: left;
  615. }
  616. .item3 .text {
  617. text-align: right;
  618. }
  619. }
  620. .change-btn {
  621. width: 86rpx;
  622. height: 86rpx;
  623. }
  624. .good-list {
  625. background-color: white;
  626. margin: 20rpx;
  627. padding: 20rpx 0rpx 0 0;
  628. border-radius: 20rpx;
  629. .row1 {
  630. font-size: 26rpx;
  631. .item1 {
  632. color: #333333;
  633. }
  634. .item2 {
  635. color: #FE6300;
  636. }
  637. }
  638. .row2 {
  639. margin: 30rpx 0;
  640. }
  641. .row3 {
  642. background: #F5F6FA;
  643. padding: 20rpx;
  644. border-radius: 10rpx;
  645. color: #333333;
  646. .hz {
  647. width: 74rpx;
  648. height: 74rpx;
  649. margin-right: 30rpx;
  650. }
  651. }
  652. .row4 {
  653. margin: 20rpx 0;
  654. .time {
  655. color: #999999;
  656. margin-right: 20rpx;
  657. }
  658. .car {
  659. color: #000000;
  660. }
  661. .pay {
  662. margin-left: 20rpx;
  663. .number {
  664. color: #FE6300;
  665. margin-left: 20rpx;
  666. }
  667. }
  668. }
  669. .row5 {
  670. margin: 20rpx 0;
  671. font-size: 28rpx;
  672. .stop {
  673. border-radius: 33px;
  674. border: 1px solid #FE6300;
  675. padding: 13rpx 31rpx;
  676. margin-right: 20rpx;
  677. color: #FE6300;
  678. }
  679. .normal {
  680. border: 1px solid #CDCDCD;
  681. border-radius: 33px;
  682. padding: 13rpx 31rpx;
  683. }
  684. }
  685. }
  686. .jt-icon {
  687. position: relative;
  688. top: 6rpx;
  689. width: 60rpx;
  690. margin: 0 20rpx;
  691. }
  692. .row {
  693. margin: 10rpx 0;
  694. align-items: center;
  695. }
  696. // .item-bottom {
  697. // background: #F0F5FF;
  698. // padding: 0 30rpx;
  699. // .name {
  700. // font-size: 26rpx;
  701. // font-weight: 700;
  702. // color: #000000;
  703. // margin-left: 30rpx;
  704. // }
  705. // .hp {
  706. // margin: 30rpx;
  707. // }
  708. // .number-color {
  709. // margin: 0 10rpx;
  710. // }
  711. // .qd {
  712. // background: linear-gradient(97deg, #4FABFD 0%, #2772FB 100%);
  713. // border-radius: 13px;
  714. // font-size: 29rpx;
  715. // font-weight: 400;
  716. // color: #FFFFFF;
  717. // padding: 10rpx 35rpx;
  718. // }
  719. // }
  720. .dw {
  721. align-items: center;
  722. }
  723. .mescroll {
  724. margin-top: calc(var(--status-bar-height) + 140rpx);
  725. }
  726. .sline {
  727. height: 28rpx;
  728. width: 1px;
  729. background: black;
  730. margin: 0 20rpx;
  731. }
  732. .search-view {
  733. margin-top: var(--status-bar-height);
  734. background: white;
  735. padding: 0 20rpx;
  736. }
  737. .back-icon {
  738. margin-right: 20rpx;
  739. }
  740. .near-search-text {
  741. margin: 20rpx 0;
  742. }
  743. .item-style {
  744. margin-top: 20rpx;
  745. background: #F5F6FA;
  746. padding: 11rpx 24rpx;
  747. margin-right: 20rpx;
  748. border-radius: 10px;
  749. font-size: 26rpx;
  750. color: #333333;
  751. }
  752. /deep/.u-modal__content {
  753. flex-direction: column;
  754. }
  755. .tab-content {
  756. position: relative;
  757. padding-right: 200rpx;
  758. }
  759. .right-btn {
  760. position: absolute;
  761. background: #F3F3F3;
  762. // box-shadow: -14px 0px 8px -8px rgba(0, 53, 149, 0.21);
  763. display: flex;
  764. right: 20rpx;
  765. height: 60rpx;
  766. top: 0;
  767. bottom: 0;
  768. margin: auto;
  769. color: #333333;
  770. align-items: center;
  771. justify-content: center;
  772. padding: 0rpx 20rpx;
  773. box-sizing: border-box;
  774. border-radius: 6rpx;
  775. }
  776. .all-menu {
  777. position: absolute;
  778. z-index: 99;
  779. top: 136rrpx;
  780. }
  781. /deep/.u-transition {
  782. border-radius: 0 0 50rpx 50rpx;
  783. }
  784. .transition {
  785. background: white;
  786. padding-bottom: 40rpx;
  787. .transition-item-style {
  788. display: inline-block;
  789. width: calc(25% - 40rpx);
  790. text-align: center;
  791. box-sizing: border-box;
  792. background: #F7F8FA;
  793. border-radius: 6px;
  794. margin: 20rpx 20rpx 0 20rpx;
  795. padding: 16rpx 0;
  796. }
  797. .menu-active {
  798. background: #2772FB;
  799. color: white;
  800. }
  801. }
  802. .modal-black {
  803. background: black;
  804. height: 100vh;
  805. width: 100vw;
  806. position: absolute;
  807. z-index: 999;
  808. opacity: 0.3;
  809. }
  810. .menu-active {
  811. background: #2772FB;
  812. color: white;
  813. }
  814. .evaluatePage {
  815. background: white;
  816. margin: 20rpx;
  817. padding: 20rpx;
  818. border-radius: 20rpx;
  819. }
  820. </style>