index.vue 22 KB

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