index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  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" @click="getSearch(item)">
  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. if(!e){
  479. this.$refs.uToast.show({
  480. type: 'error',
  481. message: "搜索内容不能为空!",
  482. })
  483. return
  484. }
  485. this.useSearchList.unshift(e)
  486. this.useSearchList = [...new Set(this.useSearchList)]
  487. uni.setStorageSync("useSearchList", this.useSearchList)
  488. if (this.useSearchList.length > 9) {
  489. this.carList.splice(this.useSearchList.length, 1)
  490. }
  491. console.log("点击搜索", e)
  492. this.upCallback({
  493. size: 10,
  494. num: 1
  495. })
  496. },
  497. cancel() {
  498. this.isSearch = false
  499. },
  500. toDetail(id) {
  501. uni.$u.route('/pages/order/orderDetails', {
  502. id: id,
  503. });
  504. },
  505. /*上拉加载的回调: 其中page.num:当前页 从1开始, page.size:每页数据条数,默认10 */
  506. upCallback(page) {
  507. // uni.$u.sleep(300).then(() => {
  508. uni.showLoading({
  509. mask: true,
  510. title: '加载中'
  511. })
  512. // })
  513. // 此处可以继续请求其他接口
  514. // if(page.num == 1){
  515. // // 请求其他接口...
  516. // }
  517. // 如果希望先请求其他接口,再触发upCallback,可参考以下写法
  518. // if(!this.isInitxx){
  519. // apiGetxx().then(res=>{
  520. // this.isInitxx = true
  521. // this.mescroll.resetUpScroll() // 重新触发upCallback
  522. // }).catch(()=>{
  523. // this.mescroll.endErr()
  524. // })
  525. // return // 此处return,先获取xx
  526. // }
  527. // 订单状态12345
  528. this.$request.baseRequest('get', '/orderInfo/selectOrderInfo', {
  529. commonId: this.userInfo.id,
  530. searchKeyWord: this.searchKeyWord,
  531. searchType: this.searchType,
  532. pageSize: page.size,
  533. currentPage: page.num
  534. }).then(res => {
  535. this.isSearch = false
  536. if (page.num == 1) this.goods = []; //如果是第一页需手动制空列表
  537. this.goods = this.goods.concat(res.data.records); //追加新数据
  538. this.mescroll.endBySize(res.data.records.length, res.data.total);
  539. this.searchKeyWord = ""//搜索完成之后清空筛选内容
  540. })
  541. .catch(res => {
  542. uni.$u.toast(res.message);
  543. });
  544. uni.$u.sleep(500).then(() => {
  545. uni.hideLoading()
  546. })
  547. },
  548. clickTab(val) {
  549. uni.showLoading({
  550. mask: true
  551. })
  552. console.log(val)
  553. this.searchType = val.index
  554. this.tabIndex = val.index
  555. this.upCallback({
  556. size: 10,
  557. num: 1
  558. })
  559. this.showMenu = false
  560. },
  561. search() {
  562. this.isSearch = true
  563. //获取缓存搜索数据
  564. this.useSearchList = uni.getStorageSync('useSearchList')
  565. if (!this.useSearchList) this.useSearchList = [];
  566. }
  567. }
  568. }
  569. </script>
  570. <style scoped lang="scss">
  571. .banner {
  572. width: 100%;
  573. position: relative;
  574. }
  575. .fixed,
  576. .fixed1 {
  577. background: white;
  578. position: fixed;
  579. top: var(--status-bar-height);
  580. z-index: 999;
  581. width: 100%;
  582. }
  583. .fixed {
  584. .title {
  585. background: white;
  586. position: relative;
  587. font-size: 36rpx;
  588. font-weight: 500;
  589. color: rgba(0, 0, 0, 0.85);
  590. .search {
  591. position: absolute;
  592. right: 20rpx;
  593. }
  594. }
  595. }
  596. .fixed1 {
  597. top: 0;
  598. height: var(--status-bar-height);
  599. background: white;
  600. }
  601. .banner-img {
  602. width: 100%;
  603. }
  604. .head {
  605. position: absolute;
  606. width: calc(100% - 108rpx);
  607. bottom: 0;
  608. background: white;
  609. margin: 0 20rpx;
  610. border-radius: 20rpx;
  611. .item1,
  612. .item3 {
  613. width: 40%;
  614. .text {
  615. text-overflow: ellipsis;
  616. overflow: hidden;
  617. white-space: nowrap;
  618. }
  619. }
  620. .item1 .text {
  621. text-align: left;
  622. }
  623. .item3 .text {
  624. text-align: right;
  625. }
  626. }
  627. .change-btn {
  628. width: 86rpx;
  629. height: 86rpx;
  630. }
  631. .good-list {
  632. background-color: white;
  633. margin: 20rpx;
  634. padding: 20rpx 0rpx 0 0;
  635. border-radius: 20rpx;
  636. .row1 {
  637. font-size: 26rpx;
  638. .item1 {
  639. color: #333333;
  640. }
  641. .item2 {
  642. color: #FE6300;
  643. }
  644. }
  645. .row2 {
  646. margin: 30rpx 0;
  647. }
  648. .row3 {
  649. background: #F5F6FA;
  650. padding: 20rpx;
  651. border-radius: 10rpx;
  652. color: #333333;
  653. .hz {
  654. width: 74rpx;
  655. height: 74rpx;
  656. margin-right: 30rpx;
  657. }
  658. }
  659. .row4 {
  660. margin: 20rpx 0;
  661. .time {
  662. color: #999999;
  663. margin-right: 20rpx;
  664. }
  665. .car {
  666. color: #000000;
  667. }
  668. .pay {
  669. margin-left: 20rpx;
  670. .number {
  671. color: #FE6300;
  672. margin-left: 20rpx;
  673. }
  674. }
  675. }
  676. .row5 {
  677. margin: 20rpx 0;
  678. font-size: 28rpx;
  679. .stop {
  680. border-radius: 33px;
  681. border: 1px solid #FE6300;
  682. padding: 13rpx 31rpx;
  683. margin-right: 20rpx;
  684. color: #FE6300;
  685. }
  686. .normal {
  687. border: 1px solid #CDCDCD;
  688. border-radius: 33px;
  689. padding: 13rpx 31rpx;
  690. }
  691. }
  692. }
  693. .jt-icon {
  694. position: relative;
  695. top: 6rpx;
  696. width: 60rpx;
  697. margin: 0 20rpx;
  698. }
  699. .row {
  700. margin: 10rpx 0;
  701. align-items: center;
  702. }
  703. // .item-bottom {
  704. // background: #F0F5FF;
  705. // padding: 0 30rpx;
  706. // .name {
  707. // font-size: 26rpx;
  708. // font-weight: 700;
  709. // color: #000000;
  710. // margin-left: 30rpx;
  711. // }
  712. // .hp {
  713. // margin: 30rpx;
  714. // }
  715. // .number-color {
  716. // margin: 0 10rpx;
  717. // }
  718. // .qd {
  719. // background: linear-gradient(97deg, #4FABFD 0%, #2772FB 100%);
  720. // border-radius: 13px;
  721. // font-size: 29rpx;
  722. // font-weight: 400;
  723. // color: #FFFFFF;
  724. // padding: 10rpx 35rpx;
  725. // }
  726. // }
  727. .dw {
  728. align-items: center;
  729. }
  730. .mescroll {
  731. margin-top: calc(var(--status-bar-height) + 140rpx);
  732. }
  733. .sline {
  734. height: 28rpx;
  735. width: 1px;
  736. background: black;
  737. margin: 0 20rpx;
  738. }
  739. .search-view {
  740. margin-top: var(--status-bar-height);
  741. background: white;
  742. padding: 0 20rpx;
  743. }
  744. .back-icon {
  745. margin-right: 20rpx;
  746. }
  747. .near-search-text {
  748. margin: 20rpx 0;
  749. }
  750. .item-style {
  751. margin-top: 20rpx;
  752. background: #F5F6FA;
  753. padding: 11rpx 24rpx;
  754. margin-right: 20rpx;
  755. border-radius: 10px;
  756. font-size: 26rpx;
  757. color: #333333;
  758. }
  759. /deep/.u-modal__content {
  760. flex-direction: column;
  761. }
  762. .tab-content {
  763. position: relative;
  764. padding-right: 200rpx;
  765. }
  766. .right-btn {
  767. position: absolute;
  768. background: #F3F3F3;
  769. // box-shadow: -14px 0px 8px -8px rgba(0, 53, 149, 0.21);
  770. display: flex;
  771. right: 20rpx;
  772. height: 60rpx;
  773. top: 0;
  774. bottom: 0;
  775. margin: auto;
  776. color: #333333;
  777. align-items: center;
  778. justify-content: center;
  779. padding: 0rpx 20rpx;
  780. box-sizing: border-box;
  781. border-radius: 6rpx;
  782. }
  783. .all-menu {
  784. position: absolute;
  785. z-index: 99;
  786. top: 136rrpx;
  787. }
  788. /deep/.u-transition {
  789. border-radius: 0 0 50rpx 50rpx;
  790. }
  791. .transition {
  792. background: white;
  793. padding-bottom: 40rpx;
  794. .transition-item-style {
  795. display: inline-block;
  796. width: calc(25% - 40rpx);
  797. text-align: center;
  798. box-sizing: border-box;
  799. background: #F7F8FA;
  800. border-radius: 6px;
  801. margin: 20rpx 20rpx 0 20rpx;
  802. padding: 16rpx 0;
  803. }
  804. .menu-active {
  805. background: #2772FB;
  806. color: white;
  807. }
  808. }
  809. .modal-black {
  810. background: black;
  811. height: 100vh;
  812. width: 100vw;
  813. position: absolute;
  814. z-index: 999;
  815. opacity: 0.3;
  816. }
  817. .menu-active {
  818. background: #2772FB;
  819. color: white;
  820. }
  821. .evaluatePage {
  822. background: white;
  823. margin: 20rpx;
  824. padding: 20rpx;
  825. border-radius: 20rpx;
  826. }
  827. </style>