index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. <template>
  2. <view class="center">
  3. <view class="flex row1">
  4. <view class="flex center_top">
  5. <view class="center_top_btn" :class="indexbtn == 1? '':'center_top_btn1'" @click="changebtn(1)">司机
  6. </view>
  7. <view class="center_top_btn" :class="indexbtn == 2? '':'center_top_btn1'" @click="changebtn(2)">车队
  8. </view>
  9. </view>
  10. </view>
  11. <view class="driver" v-show="indexbtn == 1">
  12. <view class="flex screen">
  13. <view @click="selectAddress(1)" class="screen_item">
  14. <view class="screen_sign sign1">装</view>
  15. {{title1 ? title1 : "请选择地址"}}
  16. </view>
  17. <itmister-address-picker ref="addressElone" @confirmChange="confirmChangeOne"></itmister-address-picker>
  18. <u--image :showLoading="true" class="exchange" src="../../static/images/carSource/exchange.png"
  19. width="43px" height="43px" @click="replace"></u--image>
  20. <view @click="selectAddress(2)" class="screen_item">
  21. <view class="screen_sign sign2">卸</view>
  22. {{title2 ? title2 : "请选择地址"}}
  23. </view>
  24. <!-- :wholeCountry="true" -->
  25. <itmisterAddressPickerOther ref="addressEltwo" @confirmChange="confirmChangeTwo">
  26. </itmisterAddressPickerOther>
  27. </view>
  28. <view class="route">
  29. <view v-for="(item,index) in routeData">
  30. <view class="flex route_item">
  31. <view style="width: 20%;">
  32. <u-avatar :src="item.driverPortrait" size="60"></u-avatar>
  33. </view>
  34. <view style="width: 80%;">
  35. <view class="flex">
  36. <view class="driver_name">
  37. {{item.driverNickname}}
  38. </view>
  39. <!-- <view class="driver_invite">
  40. <view class="route_invite" style="margin-left: 30px;" @click="invitation(item)">
  41. <image src="../../static/images/carSource/yaoqing.png" mode=""
  42. style="width: 26rpx;height: 26rpx;margin-rigth:10rpx;"></image>邀请
  43. </view>
  44. </view> -->
  45. <u-picker :show="fleetShow" :columns="columns" @cancel="fleetClose"
  46. @confirm="invitationCheng">
  47. </u-picker>
  48. </view>
  49. <view class="address" v-for="(items,index) in item.startAdress">
  50. <span class="spots spot1"></span>
  51. {{item.startAdress[index]}}
  52. <!-- {{item.sendCity ? item.sendCity: item.sendProvince }}{{item.sendArea}} -->
  53. <image class="jt-icon" src="@/static/images/goodSource/jt.png" mode='widthFix'></image>
  54. <span class="spots spot2"></span>
  55. {{item.endAdress[index]}}
  56. <!-- {{item.unloadCity ? item.unloadCity: item.unloadProvince }}{{item.unloadArea}} -->
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. <view v-if='status=="nomore"' style='text-align:center;'>
  62. <image style='width:140px;height:140px;' src="../../static/images/carSource/mescroll-empty.png"
  63. mode=""></image>
  64. <u-loadmore :status="status" :nomore-text="nomoreText" />
  65. </view>
  66. </view>
  67. <!-- <view v-if="routeData.length == 0" style="background: #FFFFFF;text-align: center;">
  68. 暂无数据
  69. </view> -->
  70. </view>
  71. <view class="riders" v-show="indexbtn == 2">
  72. <view class="flex riders_top">
  73. <view @click="selectChange" class="riders_city">{{city ? city : province}}</view>
  74. <itmister-address-picker ref="addressElthree" :showCheck="false" @confirmChange="confirmChangethree">
  75. </itmister-address-picker>
  76. <u-search placeholder="输入车队信息关键字" bgColor="#ffffff" v-model="searchKeyWord" @search="getList"
  77. maxlength="15"></u-search>
  78. </view>
  79. <view class="fleet">
  80. <view v-for="(item,index) in formData" class="flex">
  81. <view class="fleet_item">
  82. <view class="flex">
  83. <u-avatar :src="item.coverUrl" size="45"></u-avatar>
  84. <view class="fleet_name">
  85. {{item.fleetName}}
  86. <view class="fleet_member flex">
  87. <u-avatar-group :urls="item.fleetMemberUrl.split(',')" size="24" gap="0.4">
  88. </u-avatar-group>
  89. <text class="fleet_number">{{item.fleetMemberNum}}人</text>
  90. <!-- <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image> -->
  91. <image src="../../static/images/myimg/gengduo1.png" mode=""
  92. style="width: 18rpx;height: 20rpx;margin-top:14rpx;"></image>
  93. </view>
  94. </view>
  95. <view class="fleet_invite" @click="driverLook(item)">队长</view>
  96. <!-- <view class="fleet_invite" v-else>{{item.fleetMemberStatus}}</view> -->
  97. </view>
  98. <view class="fleet_introduce">
  99. <u-read-more ref="uReadMore" :toggle="true" :shadowStyle="shadowStyle" closeText="查看全部"
  100. :showHeight="70">
  101. <rich-text :nodes="item.fleetProfile"></rich-text>
  102. </u-read-more>
  103. <!-- <view class="fleet_text" v-if="item.textShow">{{item.fleetProfile}}</view>
  104. <view class="" v-else>{{item.fleetProfile}}</view>
  105. <span class="btn_change" @click="textChange(index)">{{switchtext}}</span> -->
  106. </view>
  107. <view class="" v-if="item.img">
  108. <u-upload class="uview-upload" :fileList="item.img" :deletable="false" name="1" multiple
  109. :maxCount="1">
  110. </u-upload>
  111. </view>
  112. </view>
  113. </view>
  114. <view v-if='status=="nomore"' style='text-align:center;'>
  115. <image style='width:140px;height:140px;' src="../../static/images/carSource/mescroll-empty.png"
  116. mode=""></image>
  117. <u-loadmore :status="status" :nomore-text="nomoreText" />
  118. </view>
  119. </view>
  120. <!-- <view v-if="formData.length == 0" style="background: #FFFFFF;text-align: center;">
  121. 暂无数据
  122. </view> -->
  123. </view>
  124. <u-toast ref="uToast"></u-toast>
  125. <u-modal :show="isShowAlert" :title="alertTitle" :closeOnClickOverlay='true' :showCancelButton='true'
  126. confirmColor='#2772FB' @confirm="confirmClick" @close="cancelClick" @cancel="cancelClick"></u-modal>
  127. <u-modal :show="tipsShow" :content='tipsText' :confirmText="btnTips" @confirm="authentication"></u-modal>
  128. </view>
  129. </template>
  130. <script>
  131. import itmisterAddressPicker from '@/components/itmister-address-picker/itmister-address-picker.nvue'
  132. import itmisterAddressPickerOther from '@/components/itmister-address-picker/itmister-address-picker-other.nvue'
  133. export default {
  134. components: {
  135. itmisterAddressPicker,
  136. itmisterAddressPickerOther
  137. },
  138. data() {
  139. return {
  140. indexbtn: 1,
  141. routeData: [], //列表
  142. // show1: false,
  143. // show2: false,
  144. title1: "",
  145. title2: "",
  146. sendInfo: {
  147. sendProvince: "",
  148. sendCity: "",
  149. sendArea: ""
  150. },
  151. unloadInfo: {
  152. unloadProvince: "",
  153. unloadCity: "",
  154. unloadArea: ""
  155. },
  156. fleetLocation: {},
  157. formData: [],
  158. searchKeyWord: "",
  159. province: "", //省
  160. city: "", //市
  161. alertTitle: "",
  162. isShowAlert: false,
  163. commonId: "",
  164. addMember: {},
  165. tipsShow: false,
  166. tipsText: "",
  167. btnTips: '去认证',
  168. fleetShow: false,
  169. columns: [],
  170. fleetInviteList: [],
  171. //文本折叠
  172. shadowStyle: {
  173. backgroundImage: "none",
  174. paddingTop: "0",
  175. },
  176. status: 'loadmore',
  177. nomoreText: '~ 空空如也 ~'
  178. }
  179. },
  180. created() {},
  181. onShow() {
  182. if (uni.getStorageSync("sendInfo")) { //从缓存中获取 上一次的装车地 卸车地
  183. this.sendInfo = uni.getStorageSync("sendInfo")
  184. this.title1 = this.sendInfo.sendProvince + this.sendInfo.sendCity + this.sendInfo.sendArea
  185. } else {
  186. this.sendInfo.sendProvince = "北京"
  187. this.title1 = "北京"
  188. }
  189. if (uni.getStorageSync("unloadInfo")) {
  190. this.unloadInfo = uni.getStorageSync("unloadInfo")
  191. this.title2 = this.unloadInfo.unloadProvince + this.unloadInfo.unloadCity + this.unloadInfo.unloadArea
  192. } else {
  193. this.title2 = '全国'
  194. this.unloadInfo.unloadProvince = '全国'
  195. }
  196. if (uni.getStorageSync("fleetLocation")) {
  197. this.province = uni.getStorageSync("fleetLocation").province
  198. this.city = uni.getStorageSync("fleetLocation").city
  199. } else {
  200. this.province = ''
  201. this.city = '北京'
  202. }
  203. this.commonId = uni.getStorageSync("firstAuthentication").commonId
  204. // this.checking()
  205. this.getList()
  206. },
  207. onLoad() {},
  208. methods: {
  209. driverLook(item) {
  210. this.$u.route("/pages/carSource/driverSee", {
  211. commonId: item.commonId
  212. })
  213. },
  214. checking() {
  215. this.statusVal = uni.getStorageSync("firstAuthentication").authenticationStatus
  216. // if (uni.getStorageSync("firstAuthentication")) {
  217. // if(this.statusVal != "已认证" && this.statusVal != "已过期"){
  218. // uni.setTabBarItem({
  219. // index: 1,
  220. // text: '车友',
  221. // pagePath: "/pages/riders/checkPage",
  222. // iconPath: 'static/images/common/huoyuan@2x(1).png',
  223. // selectedIconPath: 'static/images/common/huoyuan@2x.png'
  224. // })
  225. // uni.switchTab({
  226. // url: '/pages/riders/checkPage'
  227. // });
  228. // }else{
  229. // uni.setTabBarItem({
  230. // index: 1,
  231. // text: '车友',
  232. // pagePath: "/pages/riders/index",
  233. // iconPath: 'static/images/common/huoyuan@2x(1).png',
  234. // selectedIconPath: 'static/images/common/huoyuan@2x.png'
  235. // })
  236. // uni.switchTab({
  237. // url: '/pages/riders/index'
  238. // });
  239. // }
  240. // } else if(!uni.getStorageSync("firstAuthentication")&&!uni.getStorageSync("userInfo")) { //判断有没有登录
  241. // this.tipsShow = true
  242. // this.tipsText = "您尚未登录,请前去登录!"
  243. // this.btnTips = "去登录"
  244. // }else if (!uni.getStorageSync("firstAuthentication")){ //注册登录后并没有认证司机
  245. // uni.setTabBarItem({
  246. // index: 1,
  247. // text: '车友',
  248. // pagePath: "/pages/riders/checkPage",
  249. // iconPath: 'static/images/common/huoyuan@2x(1).png',
  250. // selectedIconPath: 'static/images/common/huoyuan@2x.png'
  251. // })
  252. // uni.switchTab({
  253. // url: '/pages/riders/checkPage'
  254. // });
  255. // }
  256. },
  257. fleetClose() {
  258. this.fleetShow = false
  259. },
  260. invitation(item) {
  261. this.addMember = {}
  262. this.columns = []
  263. this.addMember.commonId = item.commonId
  264. this.addMember.driverNickname = item.driverNickname
  265. this.addMember.driverPortrait = item.driverPortrait
  266. this.$request.baseRequest('get', '/fleetInfo/fleetInfos', {
  267. commonId: this.commonId,
  268. }).then(res => {
  269. this.fleetInviteList = res.data
  270. let flrrtArray = []
  271. for (let i = 0; i < res.data.length; i++) {
  272. flrrtArray.push(res.data[i].fleetName)
  273. }
  274. this.columns.push(flrrtArray)
  275. if (this.columns.length == 0) {
  276. uni.$u.toast("无可邀请的车队");
  277. } else {
  278. this.fleetShow = true
  279. }
  280. })
  281. .catch(res => {
  282. uni.$u.toast(res.message);
  283. });
  284. },
  285. invitationCheng(e) { //邀请
  286. this.addMember.fleetId = this.fleetInviteList[e.indexs[0]].id
  287. this.fleetShow = false
  288. this.addMember.joinFlag = 2
  289. this.$request.baseRequest('post', '/fleetMemberInfo/api/addFleetMemberInfo', this.addMember).then(res => {
  290. if (res.code == 200) {
  291. this.$refs.uToast.show({
  292. type: 'success',
  293. message: "邀请已发出",
  294. })
  295. } else {
  296. uni.$u.toast(res.message);
  297. }
  298. })
  299. .catch(res => {
  300. uni.$u.toast(res.message);
  301. });
  302. },
  303. authentication() {
  304. this.tipsShow = false
  305. if (this.statusVal == '未认证') {
  306. this.$u.route("/pages/mine/driverCertification")
  307. } else if (this.statusVal == '未通过') {
  308. this.$u.route("/pages/mine/editDriverCertification")
  309. } else if (this.statusVal == '审核中') {
  310. // this.$u.route("")
  311. uni.switchTab({
  312. url: '/pages/mine/index'
  313. });
  314. } else {
  315. uni.$u.route('/pages/public/login');
  316. }
  317. },
  318. selectAddress(num) {
  319. if (num == 1) {
  320. this.$refs.addressElone.show();
  321. } else if (num == 2) {
  322. this.$refs.addressEltwo.show();
  323. }
  324. },
  325. selectChange() {
  326. this.$refs.addressElthree.show();
  327. },
  328. // 确认选中
  329. confirmChangeOne(address) {
  330. if (address.province == '全国') {
  331. uni.$u.toast("发货地不可以是全国")
  332. // this.$refs.addressElone.show();
  333. return
  334. }
  335. this.sendInfo.sendProvince = address.province ? address.province : ''
  336. this.sendInfo.sendCity = address.city ? address.city : ''
  337. this.sendInfo.sendArea = address.area ? address.area : ''
  338. if (address.city == '全省') {
  339. this.title1 = address.province
  340. this.sendInfo.sendCity = ""
  341. this.sendInfo.sendArea = ""
  342. } else if (address.area == '全市') {
  343. this.title1 = address.province + address.city
  344. this.sendInfo.sendArea = ""
  345. } else {
  346. this.title1 = address.province + address.city + address.area;
  347. }
  348. uni.setStorageSync("sendInfo", this.sendInfo)
  349. this.getList()
  350. },
  351. confirmChangeTwo(address) {
  352. this.unloadInfo.unloadProvince = address.province ? address.province : ''
  353. this.unloadInfo.unloadCity = address.city ? address.city : ''
  354. this.unloadInfo.unloadArea = address.area ? address.area : ''
  355. if (address.city == '全省') {
  356. this.title2 = address.province
  357. this.unloadInfo.unloadCity = ""
  358. this.unloadInfo.unloadArea = ""
  359. } else if (address.area == '全市') {
  360. this.title2 = address.province + address.city
  361. this.unloadInfo.unloadArea = ""
  362. } else {
  363. if (address.province == '全国') {
  364. this.title2 = address.province
  365. } else {
  366. this.title2 = address.province + address.city + address.area;
  367. }
  368. }
  369. uni.setStorageSync("unloadInfo", this.unloadInfo)
  370. this.getList()
  371. },
  372. confirmChangethree(address) {
  373. this.province = address.province
  374. this.city = address.city
  375. if (address.city == "全省") {
  376. this.city = ""
  377. }
  378. this.fleetLocation.province = address.province
  379. this.fleetLocation.city = address.city == "全省" ? "" : address.city
  380. uni.setStorageSync("fleetLocation", this.fleetLocation)
  381. this.getList()
  382. },
  383. joinFleet(item) {
  384. this.addMember.commonId = this.commonId
  385. this.addMember.driverNickname = uni.getStorageSync("firstAuthentication").driverCall
  386. this.addMember.driverPortrait = uni.getStorageSync("userInfo").avatarUrl
  387. this.addMember.fleetId = item.id
  388. this.alertTitle = "确定申请加入该车队?"
  389. this.isShowAlert = true
  390. },
  391. // addressChange(num) {
  392. // if (num == 1) {
  393. // this.show1 = true
  394. // this.show2 = false
  395. // } else {
  396. // this.show1 = false
  397. // this.show2 = true
  398. // }
  399. // },
  400. cancelClick() {
  401. this.isShowAlert = false
  402. },
  403. confirmClick() {
  404. this.isShowAlert = false
  405. this.addMember.joinFlag = 1
  406. this.$request.baseRequest('post', '/fleetMemberInfo/api/addFleetMemberInfo', this.addMember).then(res => {
  407. if (res.code == '200') {
  408. this.$refs.uToast.show({
  409. type: 'success',
  410. message: "申请成功,等待队长审核",
  411. })
  412. this.getList()
  413. } else {
  414. this.$refs.uToast.show({
  415. type: 'success',
  416. message: "申请失败,请稍后重试",
  417. })
  418. }
  419. })
  420. .catch(res => {
  421. uni.$u.toast(res.message);
  422. });
  423. },
  424. getList() {
  425. this.status = 'loading';
  426. if (this.indexbtn == 1) {
  427. this.$request.baseRequest('get', '/commonRoute/driverList', {
  428. pageSize: 10,
  429. currentPage: 1,
  430. sendProvince: this.sendInfo.sendProvince,
  431. sendCity: this.sendInfo.sendCity,
  432. sendArea: this.sendInfo.sendArea,
  433. unloadProvince: this.unloadInfo.unloadProvince,
  434. unloadCity: this.unloadInfo.unloadCity,
  435. unloadArea: this.unloadInfo.unloadArea
  436. }).then(res => {
  437. if (res.code == 200) {
  438. this.routeData = res.data.records
  439. for (let i = 0; i < this.routeData.length; i++) {
  440. if (this.routeData[i].startAdress) {
  441. this.routeData[i].startAdress = this.routeData[i].startAdress.split(",")
  442. }
  443. if (this.routeData[i].endAdress) {
  444. this.routeData[i].endAdress = this.routeData[i].endAdress.split(",")
  445. }
  446. }
  447. if (res.data.total == 0) {
  448. this.status = 'nomore'
  449. } else {
  450. this.status = 'loadmore'
  451. }
  452. }
  453. })
  454. .catch(res => {
  455. uni.$u.toast(res.message);
  456. });
  457. } else {
  458. let that = this
  459. this.$request.baseRequest('get', '/fleetInfo/selectFleetInfo', {
  460. commonId: this.commonId,
  461. province: this.province, //省
  462. city: this.city, //市
  463. searchKeyWord: this.searchKeyWord,
  464. pageSize: 10,
  465. currentPage: 1
  466. }).then(res => {
  467. that.formData = res.data.records
  468. for (let i = 0; i < that.formData.length; i++) {
  469. that.formData[i].textShow = false
  470. if (that.formData[i].fleetUrl) {
  471. that.formData[i].img = []
  472. let imgList = that.formData[i].fleetUrl.split(",")
  473. for (let j = 0; j < imgList.length; j++) {
  474. that.formData[i].img.push({
  475. url: imgList[j]
  476. })
  477. }
  478. }
  479. }
  480. if (res.data.total == 0) {
  481. this.status = 'nomore'
  482. } else {
  483. this.status = 'loadmore'
  484. }
  485. })
  486. .catch(res => {
  487. uni.$u.toast(res.message);
  488. });
  489. }
  490. },
  491. changebtn(num) {
  492. this.indexbtn = num
  493. this.getList()
  494. },
  495. // 回调参数为包含columnIndex、value、values
  496. confirm(e) {
  497. console.log('confirm', e)
  498. this.show = false
  499. },
  500. replace() {
  501. if (this.unloadInfo.unloadProvince == "全国") {
  502. uni.$u.toast("发货地不可以是全国")
  503. return
  504. }
  505. let _obj = {}
  506. _obj = JSON.parse(JSON.stringify(this.sendInfo))
  507. this.sendInfo.sendProvince = this.unloadInfo.unloadProvince
  508. this.sendInfo.sendCity = this.unloadInfo.unloadCity
  509. this.sendInfo.sendArea = this.unloadInfo.unloadArea
  510. this.unloadInfo.unloadProvince = _obj.sendProvince
  511. this.unloadInfo.unloadCity = _obj.sendCity
  512. this.unloadInfo.unloadArea = _obj.sendArea
  513. let text = ""
  514. text = this.title1
  515. this.title1 = this.title2
  516. this.title2 = text
  517. this.getList()
  518. },
  519. myPage() {
  520. uni.$u.route("/pages/riders/myTeam")
  521. }
  522. }
  523. }
  524. </script>
  525. <style lang="scss" scoped>
  526. .center {
  527. background: #F2F4F7;
  528. .row1 {
  529. display: flex;
  530. justify-content: flex-end;
  531. .flex-end {
  532. margin-top: 50rpx;
  533. }
  534. .center_top {
  535. width: 40%;
  536. margin: 60rpx auto 0;
  537. .center_top_btn {
  538. width: 50%;
  539. text-align: center;
  540. color: #000000;
  541. font-size: 42rpx;
  542. font-weight: 600;
  543. }
  544. .center_top_btn1 {
  545. color: #BBBBBB;
  546. }
  547. }
  548. }
  549. .top_img {
  550. width: 70rpx;
  551. height: 70rpx;
  552. }
  553. }
  554. .route {
  555. padding: 40rpx;
  556. margin-top: 40rpx;
  557. background: #FFFFFF;
  558. .route_item {
  559. margin-bottom: 40rpx;
  560. width: 100%;
  561. .route_invite {
  562. width: 146rpx;
  563. height: 54rpx;
  564. border-radius: 35px;
  565. text-align: center;
  566. color: #FFFFFF;
  567. line-height: 54rpx;
  568. background: #2772FB;
  569. }
  570. .driver_name {
  571. width: 50%;
  572. margin: 20rpx 0 0 30rpx;
  573. color: #333333;
  574. font-size: 30rpx;
  575. }
  576. .driver_invite {
  577. display: flex;
  578. width: 50%;
  579. justify-content: flex-end;
  580. }
  581. }
  582. .address {
  583. margin-left: 30rpx;
  584. // line-height: 34rpx;
  585. .spots {
  586. width: 20rpx;
  587. height: 20rpx;
  588. display: inline-block;
  589. border-radius: 10rpx;
  590. margin-right: 10rpx;
  591. margin-bottom: 4rpx
  592. }
  593. .spot1 {
  594. background: #2772FB;
  595. }
  596. .spot2 {
  597. background: #FE6300;
  598. }
  599. }
  600. }
  601. .driver {
  602. .screen {
  603. background-color: #FFFFFF;
  604. width: 92%;
  605. border-radius: 20rpx;
  606. height: 200rpx;
  607. margin: 0 auto;
  608. margin-top: 60rpx;
  609. .screen_item {
  610. padding: 60rpx 30rpx;
  611. width: 40%;
  612. text-align: center;
  613. .screen_sign {
  614. width: 40rpx;
  615. height: 40rpx;
  616. text-align: center;
  617. margin: 0 auto;
  618. border-radius: 6px;
  619. color: #FFFFFF;
  620. font-size: 22rpx;
  621. line-height: 40rpx;
  622. }
  623. .sign1 {
  624. background: #2772FB;
  625. }
  626. .sign2 {
  627. background: #FE6300;
  628. }
  629. }
  630. .exchange {
  631. line-height: 200rpx;
  632. margin-top: 60rpx;
  633. }
  634. }
  635. }
  636. .riders {
  637. .riders_top {
  638. margin-top: 40rpx;
  639. .riders_city {
  640. margin-top: 10rpx;
  641. margin: 10rpx 30rpx;
  642. }
  643. }
  644. .fleet {
  645. padding: 30rpx;
  646. // margin: 40rpx 0;
  647. margin-top: 40rpx;
  648. background: #FFFFFF;
  649. border-top-right-radius: 40rpx;
  650. border-top-left-radius: 40rpx;
  651. .fleet_item {
  652. // margin-top: 10rpx;
  653. width: 100%;
  654. margin-bottom: 20rpx;
  655. .fleet_name {
  656. margin-left: 20rpx;
  657. width: 70%;
  658. }
  659. .fleet_invite {
  660. text-align: center;
  661. background-color: #2772FB;
  662. width: 128rpx;
  663. height: 66rpx;
  664. line-height: 66rpx;
  665. border-radius: 35rpx;
  666. color: #fff;
  667. }
  668. .fleet_introduce {
  669. margin: 40rpx 0;
  670. position: relative;
  671. // .fleet_text{
  672. // overflow: hidden;
  673. // word-break: break-all; /* break-all(允许在单词内换行。) */
  674. // text-overflow: ellipsis; /* 超出部分省略号 */
  675. // display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
  676. // -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  677. // -webkit-line-clamp: 3; /** 显示的行数 **/
  678. // }
  679. .btn_change {
  680. position: absolute;
  681. right: 0rpx;
  682. bottom: 0rpx;
  683. color: #2772fb;
  684. }
  685. }
  686. .fleet_member {
  687. margin-top: 20rpx;
  688. }
  689. .fleet_number {
  690. margin: 6rpx 10rpx;
  691. color: #ABABAB;
  692. font-size: 24rpx;
  693. }
  694. }
  695. }
  696. }
  697. .jt-icon {
  698. position: relative;
  699. top: 16rpx;
  700. width: 60rpx;
  701. margin: 0 20rpx;
  702. // margin-top: 10rpx;
  703. }
  704. </style>