index.vue 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001
  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.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)">评价</view>
  147. </view>
  148. </view>
  149. </view>
  150. </mescroll-body>
  151. <!-- </view> -->
  152. <!-- <view v-else class="search-view">
  153. <view class="flex">
  154. <u-icon name="arrow-left" color="" size="20" class="back-icon" @click="back()"></u-icon>
  155. <u-search placeholder="可按编号、货主、收发地查找" placeholderColor="#AFB3BF" :actionStyle="textColor"
  156. bgColor="#F5F6FA" v-model="searchKeyWord" actionText='取消' @custom="cancel" @search="getSearch">
  157. </u-search>
  158. </view>
  159. <view class="near-search">
  160. <view class="flex flex-space-between">
  161. <view class="near-search-text">最近搜索</view>
  162. <u-icon name="trash-fill" color="#AFB3BF" size="20" class="back-icon" @click="del"></u-icon>
  163. </view>
  164. <view class="">
  165. <view v-for="(item,index) in useSearchList" :key="index" class="item-style inline-block">
  166. {{item}}
  167. </view>
  168. </view>
  169. </view>
  170. </view> -->
  171. <u-modal :show="isShowAlert" :title="alertTitle" :content='alertContent' :confirmText='confirmText'
  172. :closeOnClickOverlay='true' :showCancelButton='showCancelButton' @confirm="confirmClick"
  173. @close="cancelClick" @cancel="cancelClick" class="modal">
  174. <u-radio-group v-model="radiovalue1" placement="" v-if='isShowTerminationReason' class='row'>
  175. <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
  176. :label="item.name" :name="item.name" @change="radioChange">
  177. </u-radio>
  178. </u-radio-group>
  179. <u--textarea class="row" v-model="value2" placeholder="终止原因描述" count maxlength='50'
  180. v-if='isShowTerminationReason'>
  181. </u--textarea>
  182. </u-modal>
  183. <u-toast ref="uToast"></u-toast>
  184. </view>
  185. </template>
  186. <script>
  187. var that
  188. import {
  189. mapState
  190. } from 'vuex';
  191. import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
  192. import {
  193. apiGoods
  194. } from "@/api/mock.js"
  195. export default {
  196. mixins: [MescrollMixin], // 使用mixin
  197. data() {
  198. return {
  199. confirmText: '',
  200. showCancelButton: true,
  201. type: null,
  202. objData: {},
  203. showMenu: false,
  204. searchStyle: {
  205. background: "#317AFE",
  206. color: 'white',
  207. position: "absolute",
  208. right: "30rpx",
  209. padding: "6rpx 20rpx",
  210. "border-radius": '30rpx'
  211. },
  212. searchKeyWord: '',
  213. useSearchList: [],
  214. mescroll: null,
  215. isShowTerminationReason: false,
  216. id: '',
  217. value2: '',
  218. radiolist1: [{
  219. name: '已与货主协商',
  220. disabled: false
  221. },
  222. {
  223. name: '货主原因终止',
  224. disabled: false
  225. },
  226. {
  227. name: '司机个人原因终止',
  228. disabled: false
  229. }, {
  230. name: '其他',
  231. disabled: false
  232. }
  233. ],
  234. radiovalue1: '已与货主协商',
  235. confirmText: '终止',
  236. alertTitle: '确定终止订单?',
  237. alertContent: "",
  238. isShowAlert: false,
  239. textColor: {
  240. "color": "#AFB3BF"
  241. },
  242. isSearch: false,
  243. startPlace: '齐齐哈尔齐齐哈尔',
  244. endPlace: '全国',
  245. goods: [], // 数据列表
  246. src: 'https://cdn.uviewui.com/uview/album/1.jpg',
  247. height: "", // 需要固定swiper的高度
  248. tabList: [{
  249. name: '全部'
  250. }, {
  251. name: '待接单'
  252. }, {
  253. name: '未发运'
  254. }, {
  255. name: '运输中'
  256. }, {
  257. name: '待收货'
  258. },
  259. {
  260. name: '待结算'
  261. },
  262. {
  263. name: '已结算'
  264. },
  265. {
  266. name: '待还款'
  267. },
  268. {
  269. name: '已还款'
  270. },
  271. {
  272. name: '已完结'
  273. },
  274. {
  275. name: '评价'
  276. },
  277. ],
  278. tabIndex: 0,
  279. scrollTop: 0
  280. }
  281. },
  282. computed: {
  283. ...mapState(['hasLogin', 'userInfo', 'firstAuthentication'])
  284. },
  285. onTabItemTap(e) {
  286. // tab 点击时执行,此处直接接收单击事件
  287. uni.pageScrollTo({
  288. scrollTop: 0,
  289. duration: 300
  290. });
  291. },
  292. created() {
  293. //#ifdef APP-PLUS
  294. // this.getLngLat();
  295. //#endif
  296. },
  297. async onLoad() {
  298. that = this
  299. // #ifdef APP-PLUS
  300. let _status = await that.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
  301. phone: this.userInfo.phone,
  302. }).then(res => {
  303. return res.data.authenticationStatus
  304. })
  305. if (_status == '已禁用') {
  306. this.isShowAlert = true
  307. this.alertTitle = '账号审核中'
  308. this.confirmText = '退出APP'
  309. this.showCancelButton = false
  310. } else {
  311. console.log(1231233212332312312213)
  312. }
  313. // #endif
  314. },
  315. onShow() {
  316. this.upCallback({
  317. size: 10,
  318. num: 1
  319. })
  320. that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
  321. reCommonId: this.userInfo.id,
  322. }).then(res3 => {
  323. if (res3.data) {
  324. let name = 'myTip';
  325. let value = res3.data
  326. if (value == 0) {
  327. uni.removeTabBarBadge({
  328. index: 2
  329. })
  330. }
  331. that.$store.commit('$uStore', {
  332. name,
  333. value
  334. });
  335. if (value != 0 && value) {
  336. uni.setTabBarBadge({
  337. index: 2,
  338. text: value + ""
  339. })
  340. }
  341. }
  342. })
  343. },
  344. // onPageScroll(res) {
  345. // this.scrollTop = res.scrollTop
  346. // console.log("页面滚动了", res.scrollTop)
  347. // if (this.scrollTop > 1200) {
  348. // uni.setTabBarItem({
  349. // index: 1,
  350. // text: '返回顶部',
  351. // iconPath: 'static/images/common/top@2x.png',
  352. // selectedIconPath: 'static/images/common/top@2x.png'
  353. // })
  354. // } else {
  355. // uni.setTabBarItem({
  356. // index: 1,
  357. // text: '订单',
  358. // iconPath: 'static/images/common/dingdan@2x(1).png',
  359. // selectedIconPath: 'static/images/common/dingdan@2x.png'
  360. // })
  361. // }
  362. // },
  363. methods: {
  364. goTodriverDetail(val){
  365. debugger
  366. uni.$u.route('/pages/order/driverDetail',{
  367. val: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. color: white;
  916. }
  917. .evaluatePage{
  918. background: white;
  919. margin: 20rpx;
  920. padding: 20rpx;
  921. border-radius: 20rpx;
  922. }
  923. </style>