index.vue 21 KB

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