index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002
  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. <u-tabs :list="tabList" @click="clickTab" lineColor='#2772FB' :current='tabIndex' :activeStyle="{
  12. color: '#2772FB',
  13. fontWeight: 'bold',
  14. transform: 'scale(1.05)'
  15. }"></u-tabs>
  16. </view> -->
  17. <view class="top-content">
  18. <u-search placeholder="搜索订单" v-model="searchKeyWord" bgColor='white' :actionStyle='searchStyle'
  19. @custom="getSearch" @search="getSearch" :clearabled="true"></u-search>
  20. <view class="tab-content">
  21. <u-tabs :list="tabList" @click="clickTab" lineColor='transparent' :current='tabIndex'
  22. :inactiveStyle="{color:'white'}" :activeStyle="{
  23. color: '#2772FB',
  24. fontWeight: 'bold',
  25. transform: 'scale(1.05)',
  26. background:'white',
  27. padding:'10rpx 20rpx',
  28. 'border-radius':'40rpx'
  29. }" class="tabs"></u-tabs>
  30. <view class="right-btn" @click="showMenu=true">
  31. <u-icon name="grid-fill" color="white" size="28"></u-icon>
  32. <view class="">
  33. 全部
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="all-menu">
  39. <u-transition :show="showMenu" mode="fade">
  40. <view class="transition">
  41. <view v-for="(item,index) in tabList" :key='index' class="transition-item-style"
  42. :class="tabIndex==index?'menu-active':''" @click="clickTab({index:index})">
  43. {{item.name}}
  44. </view>
  45. </view>
  46. </u-transition>
  47. <view class="modal-black" v-show="showMenu" @click="closeMenu"></view>
  48. </view>
  49. <mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" class="mescroll">
  50. <view class="evaluatePage flex flex-space-between" v-show="tabIndex == 10" @click="evaluationRecord">
  51. <view class="left flex flex-space-between">
  52. <u-icon size="20" name="edit-pen"></u-icon>
  53. <view style="margin-left: 20prx;">我的评价</view>
  54. </view>
  55. <view class="right">
  56. <u-icon size="20" name="arrow-right"></u-icon>
  57. </view>
  58. </view>
  59. <view :id="'good'+good.id" class="good-list" v-for="good in goods" :key="good.id"
  60. @click="toDetail(good.id)">
  61. <view style="padding: 0 35rpx 20rpx 35rpx;">
  62. <view class="flex flex-space-between row1">
  63. <view class="item1">
  64. {{good.orderNo}}
  65. <!-- {{good.goodsName}} -->
  66. </view>
  67. <view class="item2">
  68. {{good.cargoOwnerStatus}}
  69. </view>
  70. </view>
  71. <view class="flex row2">
  72. <view class="left">
  73. <view class="top">
  74. <view class="ssx">{{$helper.getProvinceAbbreviation(good.sendPrivate)}}</view>
  75. <view class="level2-title">{{$helper.filterUrban(good.sendCity)}}</view>
  76. </view>
  77. <view class="bottom">{{$helper.filterArea(good.sendArea)}}</view>
  78. </view>
  79. <view class="jt-image">
  80. <image class="jt-icon" src="@/static/images/order/jt.png" mode='widthFix'>
  81. </image>
  82. </view>
  83. <view class="right">
  84. <view class="top">
  85. <view class="ssx">
  86. {{$helper.getProvinceAbbreviation(good.unloadPrivate)}}
  87. </view>
  88. <view class="level2-title">{{$helper.filterUrban(good.unloadCity)}}</view>
  89. </view>
  90. <view class="bottom">
  91. {{$helper.filterArea(good.unloadArea)}}
  92. </view>
  93. </view>
  94. </view>
  95. <view class="flex row3 s-row">
  96. <view class="flex align-center">
  97. <image class="hz" src="@/static/images/news/sj.png"></image>
  98. <view style="margin-right: 20rpx;" @click.stop="goTodriverDetail(good)">{{good.driverName}}</view>
  99. <!-- <view style="margin-right: 20rpx;">{{good.driverCall}}</view> -->
  100. <image class="hz-good" src="@/static/images/order/good-img.png"></image>
  101. <view>{{good.goodsName}}</view>
  102. </view>
  103. <view class="flex align-center">
  104. <view style="margin-right: 20rpx;">运距 {{good.distance}}km</view>
  105. <view class="car">{{good.freightInfo.freight?good.freightInfo.freight:good.freight}}{{good.illingMethod==0?'元/吨':'元/车'}}</view>
  106. </view>
  107. <!-- <view class="right">
  108. <view class="flex fontsize-26 row">
  109. <view>{{good.compName}}</view>
  110. <view class="sline"></view>
  111. <view>{{good.cargoOwner}}</view>
  112. </view>
  113. <view class="flex align-center">
  114. <view class="fontsize-26 ">运距 {{good.distance}}km</view>
  115. </view>
  116. </view> -->
  117. </view>
  118. <view class="row4 flex align-center">
  119. <view class="time">{{good.updateDate}}</view>
  120. </view>
  121. <view class="row5 flex flex-end">
  122. <!-- <image class="jt-icon" src="@/static/images/order/position.png" mode='widthFix'
  123. @click.stop="toMap(good)">
  124. </image> -->
  125. <view class="start normal look-map" @click.stop="toMap(good)">
  126. 查看轨迹</view>
  127. <view class="stop" @click.stop="accept(good,1)" v-if="good.cargoOwnerStatus=='待接单'">接受
  128. </view>
  129. <!-- <view class="stop active" @click.stop="accept(good,1)">接受</view> -->
  130. <view class="normal" @click.stop="accept(good,2)" v-if="good.cargoOwnerStatus=='待接单'">拒绝
  131. </view>
  132. <view class="normal" @click.stop="stop(good)" v-if="good.cargoOwnerStatus=='未装车'">终止</view>
  133. <!-- <view class="stop active" @click.stop="stop(good)">终止</view> -->
  134. <!-- confirmLoading(good,3) -->
  135. <view class="start normal" @click.stop="toDetail(good.id)"
  136. v-if="good.cargoOwnerStatus=='待确认装车'">确认装车</view>
  137. <!-- <view class="start normal" @click.stop="confirmLoading(good,1)">确认装车</view> -->
  138. <view class="start normal" v-if="good.cargoOwnerStatus!='待接单'&&good.cargoOwnerStatus!='未装车'">
  139. 联系客服</view>
  140. <view class="start normal" @click.stop="confirmLoading(good,4)"
  141. v-if="good.cargoOwnerStatus=='待收货'">确认卸车</view>
  142. <!-- <view class="start normal" @click.stop="confirmLoading(good,2)">确认卸车</view> -->
  143. <view class="normal" @click.stop="stop(good)" v-if="good.cargoOwnerStatus=='已结算'">付款</view>
  144. <view class="normal" @click.stop="stop(good)"
  145. v-if="good.cargoOwnerStatus=='待还款'||good.cargoOwnerStatus=='已还款'">还款</view>
  146. <!-- <view class="start normal" @click.stop="addevaluation(good)" v-if="good.cargoOwnerStatus=='已完结'">评价</view> -->
  147. <view class="start normal" @click.stop="addevaluation(good)" v-if="good.cargoOwnerStatus=='待结算'" >评价</view>
  148. </view>
  149. </view>
  150. </view>
  151. </mescroll-body>
  152. <!-- </view> -->
  153. <!-- <view v-else class="search-view">
  154. <view class="flex">
  155. <u-icon name="arrow-left" color="" size="20" class="back-icon" @click="back()"></u-icon>
  156. <u-search placeholder="可按编号、货主、收发地查找" placeholderColor="#AFB3BF" :actionStyle="textColor"
  157. bgColor="#F5F6FA" v-model="searchKeyWord" actionText='取消' @custom="cancel" @search="getSearch">
  158. </u-search>
  159. </view>
  160. <view class="near-search">
  161. <view class="flex flex-space-between">
  162. <view class="near-search-text">最近搜索</view>
  163. <u-icon name="trash-fill" color="#AFB3BF" size="20" class="back-icon" @click="del"></u-icon>
  164. </view>
  165. <view class="">
  166. <view v-for="(item,index) in useSearchList" :key="index" class="item-style inline-block">
  167. {{item}}
  168. </view>
  169. </view>
  170. </view>
  171. </view> -->
  172. <u-modal :show="isShowAlert" :title="alertTitle" :content='alertContent' :confirmText='confirmText'
  173. :closeOnClickOverlay='true' :showCancelButton='showCancelButton' @confirm="confirmClick"
  174. @close="cancelClick" @cancel="cancelClick" class="modal">
  175. <u-radio-group v-model="radiovalue1" placement="" v-if='isShowTerminationReason' class='row'>
  176. <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
  177. :label="item.name" :name="item.name" @change="radioChange">
  178. </u-radio>
  179. </u-radio-group>
  180. <u--textarea class="row" v-model="value2" placeholder="终止原因描述" count maxlength='50'
  181. v-if='isShowTerminationReason'>
  182. </u--textarea>
  183. </u-modal>
  184. <u-toast ref="uToast"></u-toast>
  185. </view>
  186. </template>
  187. <script>
  188. var that
  189. import {
  190. mapState
  191. } from 'vuex';
  192. import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
  193. import {
  194. apiGoods
  195. } from "@/api/mock.js"
  196. export default {
  197. mixins: [MescrollMixin], // 使用mixin
  198. data() {
  199. return {
  200. confirmText: '',
  201. showCancelButton: true,
  202. type: null,
  203. objData: {},
  204. showMenu: false,
  205. searchStyle: {
  206. background: "#317AFE",
  207. color: 'white',
  208. position: "absolute",
  209. right: "30rpx",
  210. padding: "6rpx 20rpx",
  211. "border-radius": '30rpx'
  212. },
  213. searchKeyWord: '',
  214. useSearchList: [],
  215. mescroll: null,
  216. isShowTerminationReason: false,
  217. id: '',
  218. value2: '',
  219. radiolist1: [{
  220. name: '已与货主协商',
  221. disabled: false
  222. },
  223. {
  224. name: '货主原因终止',
  225. disabled: false
  226. },
  227. {
  228. name: '司机个人原因终止',
  229. disabled: false
  230. }, {
  231. name: '其他',
  232. disabled: false
  233. }
  234. ],
  235. radiovalue1: '已与货主协商',
  236. confirmText: '终止',
  237. alertTitle: '确定终止订单?',
  238. alertContent: "",
  239. isShowAlert: false,
  240. textColor: {
  241. "color": "#AFB3BF"
  242. },
  243. isSearch: false,
  244. startPlace: '齐齐哈尔齐齐哈尔',
  245. endPlace: '全国',
  246. goods: [], // 数据列表
  247. src: 'https://cdn.uviewui.com/uview/album/1.jpg',
  248. height: "", // 需要固定swiper的高度
  249. tabList: [{
  250. name: '全部'
  251. }, {
  252. name: '待接单'
  253. }, {
  254. name: '未发运'
  255. }, {
  256. name: '运输中'
  257. }, {
  258. name: '待收货'
  259. },
  260. {
  261. name: '待结算'
  262. },
  263. {
  264. name: '已结算'
  265. },
  266. {
  267. name: '待还款'
  268. },
  269. {
  270. name: '已还款'
  271. },
  272. {
  273. name: '已完结'
  274. },
  275. {
  276. name: '评价'
  277. },
  278. ],
  279. tabIndex: 0,
  280. scrollTop: 0
  281. }
  282. },
  283. computed: {
  284. ...mapState(['hasLogin', 'userInfo', 'firstAuthentication'])
  285. },
  286. onTabItemTap(e) {
  287. // tab 点击时执行,此处直接接收单击事件
  288. uni.pageScrollTo({
  289. scrollTop: 0,
  290. duration: 300
  291. });
  292. },
  293. created() {
  294. //#ifdef APP-PLUS
  295. // this.getLngLat();
  296. //#endif
  297. },
  298. async onLoad() {
  299. that = this
  300. // #ifdef APP-PLUS
  301. let _status = await that.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
  302. phone: this.userInfo.phone,
  303. }).then(res => {
  304. return res.data.authenticationStatus
  305. })
  306. if (_status == '已禁用') {
  307. this.isShowAlert = true
  308. this.alertTitle = '账号审核中'
  309. this.confirmText = '退出APP'
  310. this.showCancelButton = false
  311. } else {
  312. console.log(1231233212332312312213)
  313. }
  314. // #endif
  315. },
  316. onShow() {
  317. this.upCallback({
  318. size: 10,
  319. num: 1
  320. })
  321. that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
  322. reCommonId: this.userInfo.id,
  323. }).then(res3 => {
  324. if (res3.data) {
  325. let name = 'myTip';
  326. let value = res3.data
  327. if (value == 0) {
  328. uni.removeTabBarBadge({
  329. index: 2
  330. })
  331. }
  332. that.$store.commit('$uStore', {
  333. name,
  334. value
  335. });
  336. if (value != 0 && value) {
  337. uni.setTabBarBadge({
  338. index: 2,
  339. text: value + ""
  340. })
  341. }
  342. }
  343. })
  344. },
  345. // onPageScroll(res) {
  346. // this.scrollTop = res.scrollTop
  347. // console.log("页面滚动了", res.scrollTop)
  348. // if (this.scrollTop > 1200) {
  349. // uni.setTabBarItem({
  350. // index: 1,
  351. // text: '返回顶部',
  352. // iconPath: 'static/images/common/top@2x.png',
  353. // selectedIconPath: 'static/images/common/top@2x.png'
  354. // })
  355. // } else {
  356. // uni.setTabBarItem({
  357. // index: 1,
  358. // text: '订单',
  359. // iconPath: 'static/images/common/dingdan@2x(1).png',
  360. // selectedIconPath: 'static/images/common/dingdan@2x.png'
  361. // })
  362. // }
  363. // },
  364. methods: {
  365. goTodriverDetail(val){
  366. uni.$u.route('/pages/order/driverDetail',{
  367. driver:JSON.stringify(val)
  368. });
  369. },
  370. addevaluation(val){
  371. uni.$u.route('/pages/order/addEvaluation',{val:JSON.stringify(val)});
  372. },
  373. evaluationRecord(){
  374. uni.$u.route('/pages/order/evaluationRecord');
  375. },
  376. toMap(val) {
  377. uni.$u.route('/pages/order/map', val);
  378. },
  379. closeMenu() {
  380. this.showMenu = false
  381. },
  382. accept(item, type) {
  383. this.objData = item
  384. this.type = type
  385. if (type == 1) {
  386. this.alertTitle = '确定接受订单?'
  387. this.confirmText = '确定'
  388. } else if (type == 2) {
  389. this.alertTitle = '确定拒绝订单?'
  390. this.confirmText = '确定'
  391. } else {
  392. this.alertTitle = '确定终止订单?'
  393. this.confirmText = '终止'
  394. }
  395. this.isShowAlert = true
  396. },
  397. // 完结
  398. closed(item) {
  399. let that = this
  400. this.$request.baseRequest('post', '/orderInfo/api/editEnd', {
  401. id: item.id,
  402. }).then(res => {
  403. if (res.code == 200) {
  404. this.$refs.uToast.show({
  405. type: 'success',
  406. message: "提交成功",
  407. complete() {
  408. that.upCallback({
  409. size: 10,
  410. num: 1
  411. })
  412. }
  413. })
  414. }
  415. })
  416. .catch(res => {
  417. uni.$u.toast(res.message);
  418. });
  419. },
  420. confirmLoading(item, type) {
  421. this.objData = item
  422. this.type = type
  423. if (type == 3) {
  424. this.alertTitle = '确认装车?'
  425. this.confirmText = '确定'
  426. } else if (type == 4) {
  427. this.alertTitle = '确认卸车?'
  428. this.confirmText = '确定'
  429. }
  430. this.isShowAlert = true
  431. // uni.$u.route('/pages/order/confirmLoading', item);
  432. },
  433. // confirmUnLoading(item) {
  434. // uni.$u.route('/pages/order/confirmUnloading', item);
  435. // },
  436. back() {
  437. uni.navigateBack(-1)
  438. },
  439. mescrollInit(mescroll) {
  440. this.mescroll = mescroll;
  441. },
  442. radioChange(n) {
  443. console.log('radioChange', n);
  444. },
  445. stop(item) {
  446. // // 货主接单
  447. // if (item.orderStatusKey == 1) {
  448. // this.isShowTerminationReason = false
  449. // } else {
  450. // this.isShowTerminationReason = true
  451. // }
  452. this.id = item.id
  453. this.isShowAlert = true
  454. },
  455. init() {
  456. },
  457. del() {
  458. this.isShowAlert = true
  459. },
  460. confirmClick() {
  461. // #ifdef APP-PLUS
  462. if (this.alertTitle == '账号审核中') {
  463. if (uni.getSystemInfoSync().platform == 'ios') {
  464. plus.ios.import("UIApplication").sharedApplication().performSelector("exit")
  465. } else if (uni.getSystemInfoSync().platform == 'android') {
  466. plus.runtime.quit();
  467. }
  468. return
  469. }
  470. // #endif
  471. that.isShowAlert = false
  472. if (this.type == 1 || this.type == 2) {
  473. let _title = ''
  474. this.$request.baseRequest('post', '/orderInfo/api/orderReceiving', {
  475. id: this.objData.id,
  476. flag: this.type
  477. }).then(res => {
  478. if (res.code == 200) {
  479. if (this.type == 1) {
  480. _title = '接单单成功'
  481. } else {
  482. _title = '拒绝订单成功'
  483. }
  484. this.$refs.uToast.show({
  485. type: 'success',
  486. message: _title,
  487. complete() {
  488. that.mescroll.resetUpScroll()
  489. }
  490. })
  491. } else {
  492. if (this.type == 1) {
  493. _title = '接单失败'
  494. } else {
  495. _title = '拒绝订单失败'
  496. }
  497. this.$refs.uToast.show({
  498. type: 'success',
  499. message: _title,
  500. complete() {
  501. that.mescroll.resetUpScroll()
  502. }
  503. })
  504. }
  505. })
  506. .catch(res => {
  507. uni.$u.toast(res.message);
  508. });
  509. } else if (this.type == 3 || this.type == 4) {
  510. let _flag = ''
  511. if (this.type == 3) _flag = 1
  512. if (this.type == 4) _flag = 2
  513. this.$request.baseRequest('post', '/carrierInfo/cargoOwnerLoadingAdd', {
  514. id: this.objData.id,
  515. loadingFlag: _flag,
  516. flag: 1
  517. }).then(res => {
  518. if (res.code == 200) {
  519. this.$refs.uToast.show({
  520. type: 'success',
  521. message: "提交成功",
  522. complete() {
  523. that.upCallback({
  524. size: 10,
  525. num: 1
  526. })
  527. }
  528. })
  529. }
  530. })
  531. .catch(res => {
  532. uni.$u.toast(res.message);
  533. });
  534. } else {
  535. this.$request.baseRequest('post', '/orderInfo/api/end', {
  536. id: this.id,
  537. terminator: 2,
  538. }).then(res => {
  539. if (res.code == 200) {
  540. this.$refs.uToast.show({
  541. type: 'success',
  542. message: '终止订单成功',
  543. })
  544. } else {
  545. this.$refs.uToast.show({
  546. type: 'success',
  547. message: '终止订单失败',
  548. })
  549. }
  550. that.mescroll.resetUpScroll()
  551. })
  552. .catch(res => {
  553. uni.$u.toast(res.message);
  554. });
  555. }
  556. },
  557. cancelClick() {
  558. this.isShowAlert = false
  559. },
  560. getSearch(e) {
  561. // = uni.getStorageSync('useSearchList')
  562. // this.useSearchList.unshift(e)
  563. // uni.setStorageSync("useSearchList", this.useSearchList)
  564. console.log("点击搜索", e)
  565. this.upCallback({
  566. size: 10,
  567. num: 1
  568. })
  569. },
  570. cancel() {
  571. this.isSearch = false
  572. },
  573. toDetail(id) {
  574. uni.$u.route('/pages/order/orderDetails', {
  575. id: id,
  576. });
  577. },
  578. upCallback(page) {
  579. if (this.searchType == 0) this.searchType = ''
  580. this.$request.baseRequest('get', '/orderInfo/selectCargoOwnerOrder', {
  581. cargoCommonId: this.userInfo.id,
  582. searchKeyWord: this.searchKeyWord,
  583. searchType: this.searchType,
  584. pageSize: page.size,
  585. currentPage: page.num
  586. }).then(res => {
  587. this.isSearch = false
  588. if (page.num == 1) this.goods = [];
  589. this.goods = this.goods.concat(res.data.records); //追加新数据
  590. this.mescroll.endBySize(res.data.records.length, res.data.total);
  591. uni.hideLoading()
  592. })
  593. .catch(res => {
  594. uni.$u.toast(res.message);
  595. });
  596. },
  597. clickTab(val) {
  598. uni.showLoading({
  599. mask: true
  600. })
  601. console.log(val)
  602. this.searchType = val.index
  603. this.tabIndex = val.index
  604. this.upCallback({
  605. size: 10,
  606. num: 1
  607. })
  608. this.showMenu = false
  609. },
  610. search() {
  611. this.isSearch = true
  612. //获取缓存搜索数据
  613. this.useSearchList = uni.getStorageSync('useSearchList')
  614. if (!this.useSearchList) this.useSearchList = [];
  615. }
  616. }
  617. }
  618. </script>
  619. <style scoped lang="scss">
  620. .top-content {
  621. background: url(../../static/images/order/bg.png) no-repeat;
  622. background-size: cover;
  623. padding: 20rpx;
  624. padding-bottom: 320rpx;
  625. }
  626. // .banner {
  627. // width: 100%;
  628. // position: relative;
  629. // }
  630. // .fixed,
  631. // .fixed1 {
  632. // background: #2772FB;
  633. // position: fixed;
  634. // top: var(--status-bar-height);
  635. // z-index: 999;
  636. // width: 100%;
  637. // }
  638. // .fixed {
  639. // .title {
  640. // background: white;
  641. // position: relative;
  642. // font-size: 36rpx;
  643. // font-weight: 500;
  644. // color: rgba(0, 0, 0, 0.85);
  645. // .search {
  646. // position: absolute;
  647. // right: 20rpx;
  648. // }
  649. // }
  650. // }
  651. .fixed1 {
  652. top: 0;
  653. height: var(--status-bar-height);
  654. background: #317AFE;
  655. }
  656. // .banner-img {
  657. // width: 100%;
  658. // }
  659. // .head {
  660. // position: absolute;
  661. // width: calc(100% - 108rpx);
  662. // bottom: 0;
  663. // background: white;
  664. // margin: 0 20rpx;
  665. // border-radius: 20rpx;
  666. // .item1,
  667. // .item3 {
  668. // width: 40%;
  669. // .text {
  670. // text-overflow: ellipsis;
  671. // overflow: hidden;
  672. // white-space: nowrap;
  673. // }
  674. // }
  675. // .item1 .text {
  676. // text-align: left;
  677. // }
  678. // .item3 .text {
  679. // text-align: right;
  680. // }
  681. // }
  682. .change-btn {
  683. width: 86rpx;
  684. height: 86rpx;
  685. }
  686. .good-list {
  687. background-color: white;
  688. margin: 20rpx;
  689. padding: 20rpx 0rpx 0 0;
  690. border-radius: 20rpx;
  691. .row1 {
  692. .item1 {
  693. color: #333333;
  694. }
  695. .item2 {
  696. color: #FE6300;
  697. }
  698. }
  699. .row2 {
  700. margin: 30rpx 0;
  701. display: flex;
  702. justify-content: center;
  703. .left {
  704. float: left;
  705. width: 40%;
  706. display: flex;
  707. flex-direction: column;
  708. align-items: center;
  709. .top {
  710. display: flex;
  711. justify-content: flex-start;
  712. }
  713. .bottom {
  714. display: flex;
  715. justify-content: flex-start;
  716. font-size: 24rpx;
  717. color: #878787;
  718. margin-top: 10rpx;
  719. }
  720. }
  721. .right {
  722. float: right;
  723. display: flex;
  724. flex-direction: column;
  725. align-items: center;
  726. width: 40%;
  727. .top {
  728. display: flex;
  729. justify-content: flex-end;
  730. }
  731. .bottom {
  732. display: flex;
  733. justify-content: flex-end;
  734. font-size: 24rpx;
  735. color: #878787;
  736. margin-top: 10rpx;
  737. }
  738. }
  739. }
  740. .row3 {
  741. background: #F5F6FA;
  742. padding: 20rpx;
  743. border-radius: 10rpx;
  744. color: #333333;
  745. .hz {
  746. width: 74rpx;
  747. height: 74rpx;
  748. margin-right: 30rpx;
  749. }
  750. .hz-good {
  751. width: 44rpx;
  752. height: 44rpx;
  753. margin: 0 30rpx;
  754. }
  755. }
  756. .row4 {
  757. margin: 20rpx 0;
  758. .time {
  759. color: #999999;
  760. margin-right: 20rpx;
  761. }
  762. .car {
  763. font-size: 28rpx;
  764. color: #000000;
  765. }
  766. }
  767. .row5 {
  768. margin: 20rpx 0;
  769. font-size: 28rpx;
  770. .stop {
  771. border-radius: 33px;
  772. border: 1px solid #FE6300;
  773. padding: 13rpx 31rpx;
  774. margin-right: 20rpx;
  775. color: #FE6300;
  776. }
  777. .normal {
  778. border-radius: 33px;
  779. border: 1px solid #CDCDCD;
  780. padding: 6px 15px;
  781. margin-right: 10px;
  782. }
  783. }
  784. }
  785. .jt-icon {
  786. position: relative;
  787. top: 6rpx;
  788. width: 60rpx;
  789. margin: 0 20rpx;
  790. }
  791. .row {
  792. margin: 10rpx 0;
  793. align-items: center;
  794. }
  795. // .item-bottom {
  796. // background: #F0F5FF;
  797. // padding: 0 30rpx;
  798. // .name {
  799. // font-size: 26rpx;
  800. // font-weight: 700;
  801. // color: #000000;
  802. // margin-left: 30rpx;
  803. // }
  804. // .hp {
  805. // margin: 30rpx;
  806. // }
  807. // .number-color {
  808. // margin: 0 10rpx;
  809. // }
  810. // .qd {
  811. // background: linear-gradient(97deg, #4FABFD 0%, #2772FB 100%);
  812. // border-radius: 13px;
  813. // font-size: 29rpx;
  814. // font-weight: 400;
  815. // color: #FFFFFF;
  816. // padding: 10rpx 35rpx;
  817. // }
  818. // }
  819. .dw {
  820. align-items: center;
  821. }
  822. .mescroll {
  823. // margin-top: calc(var(--status-bar-height) + 140rpx);
  824. top: -320rpx;
  825. }
  826. .sline {
  827. height: 28rpx;
  828. width: 1px;
  829. background: black;
  830. margin: 0 20rpx;
  831. }
  832. .search-view {
  833. margin-top: var(--status-bar-height);
  834. background: white;
  835. padding: 0 20rpx;
  836. }
  837. .back-icon {
  838. margin-right: 20rpx;
  839. }
  840. .near-search-text {
  841. margin: 20rpx 0;
  842. }
  843. .item-style {
  844. background: #F5F6FA;
  845. padding: 11rpx 24rpx;
  846. margin-right: 20rpx;
  847. border-radius: 10px;
  848. font-size: 26rpx;
  849. color: #333333;
  850. }
  851. /deep/.u-modal__content {
  852. flex-direction: column;
  853. }
  854. .tab-content {
  855. position: relative;
  856. padding-right: 100rpx;
  857. }
  858. .right-btn {
  859. position: absolute;
  860. width: 88rpx;
  861. height: 88rpx;
  862. background: #317AFE;
  863. box-shadow: -14px 0px 8px -8px rgba(0, 53, 149, 0.21);
  864. display: flex;
  865. flex-direction: column;
  866. right: 0;
  867. top: 0;
  868. bottom: 0;
  869. margin: auto;
  870. color: white;
  871. align-items: center;
  872. justify-content: center;
  873. }
  874. .tabs {
  875. // background: red;
  876. margin-top: 20rpx;
  877. overflow-x: scroll;
  878. }
  879. /deep/.u-transition {
  880. border-radius: 0 0 50rpx 50rpx;
  881. }
  882. .transition {
  883. background: white;
  884. padding-bottom: 40rpx;
  885. .transition-item-style {
  886. display: inline-block;
  887. width: calc(25% - 40rpx);
  888. text-align: center;
  889. box-sizing: border-box;
  890. background: #F7F8FA;
  891. border-radius: 40px;
  892. margin: 20rpx 20rpx 0 20rpx;
  893. padding: 16rpx 0;
  894. }
  895. .menu-active {
  896. background: #2772FB;
  897. color: white;
  898. }
  899. }
  900. .modal-black {
  901. background: black;
  902. height: 100vh;
  903. width: 100vw;
  904. position: absolute;
  905. z-index: 999;
  906. opacity: 0.3;
  907. }
  908. .all-menu {
  909. position: absolute;
  910. z-index: 99;
  911. top: 260rpx;
  912. }
  913. .look-map {
  914. background: #2772FB;
  915. border:1px solid #2772FB;
  916. color: white;
  917. }
  918. .evaluatePage{
  919. background: white;
  920. margin: 20rpx;
  921. padding: 20rpx;
  922. border-radius: 20rpx;
  923. }
  924. </style>