index.vue 21 KB

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