index.vue 21 KB

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