index.vue 21 KB

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