index.vue 22 KB

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