index.vue 22 KB

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