index.vue 22 KB

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