index.vue 21 KB

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