index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  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="tipsShow" :content='tipsText' :confirmText="btnTips" @confirm="$u.throttle(authentication(), 1000)"></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. uni.setTabBarItem({
  183. index: 0,
  184. text: '订单',
  185. iconPath: 'static/images/common/dingdan@2x(1).png',
  186. selectedIconPath: 'static/images/common/dingdan@2x.png'
  187. })
  188. if (uni.getStorageSync("sendInfo")) { //从缓存中获取 上一次的装车地 卸车地
  189. this.sendInfo = uni.getStorageSync("sendInfo")
  190. this.title1 = this.sendInfo.sendProvince + this.sendInfo.sendCity + this.sendInfo.sendArea
  191. } else {
  192. this.sendInfo.sendProvince = "北京"
  193. this.title1 = "北京"
  194. }
  195. if (uni.getStorageSync("unloadInfo")) {
  196. this.unloadInfo = uni.getStorageSync("unloadInfo")
  197. this.title2 = this.unloadInfo.unloadProvince + this.unloadInfo.unloadCity + this.unloadInfo.unloadArea
  198. } else {
  199. this.title2 = '全国'
  200. this.unloadInfo.unloadProvince = '全国'
  201. }
  202. if (uni.getStorageSync("fleetLocation")) {
  203. this.province = uni.getStorageSync("fleetLocation").province
  204. this.city = uni.getStorageSync("fleetLocation").city
  205. } else {
  206. this.province = ''
  207. this.city = '北京'
  208. }
  209. this.commonId = uni.getStorageSync("firstAuthentication").commonId
  210. this.checking()
  211. this.getList()
  212. },
  213. onLoad() {},
  214. methods: {
  215. driverLook(item) {
  216. this.$u.route("/pages/carSource/driverSee", {
  217. commonId: item.commonId
  218. })
  219. },
  220. checking() {
  221. this.statusVal = uni.getStorageSync("firstAuthentication").passOnce
  222. if(!uni.getStorageSync("firstAuthentication")&&!uni.getStorageSync("userInfo")) { //判断有没有登录
  223. this.tipsShow = true
  224. this.tipsText = "您尚未登录,请前去登录!"
  225. this.btnTips = "去登录"
  226. }
  227. },
  228. fleetClose() {
  229. this.fleetShow = false
  230. },
  231. invitation(item) {
  232. this.addMember = {}
  233. this.columns = []
  234. this.addMember.commonId = item.commonId
  235. this.addMember.driverNickname = item.driverNickname
  236. this.addMember.driverPortrait = item.driverPortrait
  237. this.$request.baseRequest('get', '/fleetInfo/fleetInfos', {
  238. commonId: this.commonId,
  239. }).then(res => {
  240. this.fleetInviteList = res.data
  241. let flrrtArray = []
  242. for (let i = 0; i < res.data.length; i++) {
  243. flrrtArray.push(res.data[i].fleetName)
  244. }
  245. this.columns.push(flrrtArray)
  246. if (this.columns.length == 0) {
  247. uni.$u.toast("无可邀请的车队");
  248. } else {
  249. this.fleetShow = true
  250. }
  251. })
  252. .catch(res => {
  253. uni.$u.toast(res.message);
  254. });
  255. },
  256. invitationCheng(e) { //邀请
  257. this.addMember.fleetId = this.fleetInviteList[e.indexs[0]].id
  258. this.fleetShow = false
  259. this.addMember.joinFlag = 2
  260. this.$request.baseRequest('post', '/fleetMemberInfo/api/addFleetMemberInfo', this.addMember).then(res => {
  261. if (res.code == 200) {
  262. this.$refs.uToast.show({
  263. type: 'success',
  264. message: "邀请已发出",
  265. })
  266. } else {
  267. uni.$u.toast(res.message);
  268. }
  269. })
  270. .catch(res => {
  271. uni.$u.toast(res.message);
  272. });
  273. },
  274. authentication() {
  275. this.tipsShow = false
  276. if (this.statusVal == 0) {
  277. // this.$u.route("")
  278. uni.switchTab({
  279. url: '/pages/mine/index'
  280. });
  281. } else if (!this.hasLogin) {
  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. // addressChange(num) {
  370. // if (num == 1) {
  371. // this.show1 = true
  372. // this.show2 = false
  373. // } else {
  374. // this.show1 = false
  375. // this.show2 = true
  376. // }
  377. // },
  378. getList() {
  379. this.status = 'loading';
  380. if (this.indexbtn == 1) {
  381. if(this.unloadInfo.unloadProvince =="全国"){
  382. this.unloadInfo.unloadProvince= ""
  383. }
  384. this.$request.baseRequest('get', '/commonRoute/driverList', {
  385. pageSize: 10,
  386. currentPage: 1,
  387. sendProvince: this.sendInfo.sendProvince,
  388. sendCity: this.sendInfo.sendCity,
  389. sendArea: this.sendInfo.sendArea,
  390. unloadProvince: this.unloadInfo.unloadProvince,
  391. unloadCity: this.unloadInfo.unloadCity,
  392. unloadArea: this.unloadInfo.unloadArea
  393. }).then(res => {
  394. if (res.code == 200) {
  395. this.routeData = res.data.records
  396. for (let i = 0; i < this.routeData.length; i++) {
  397. if (this.routeData[i].startAdress) {
  398. this.routeData[i].startAdress = this.routeData[i].startAdress.split(",")
  399. }
  400. if (this.routeData[i].endAdress) {
  401. this.routeData[i].endAdress = this.routeData[i].endAdress.split(",")
  402. }
  403. }
  404. if (res.data.total == 0) {
  405. this.status = 'nomore'
  406. } else {
  407. this.status = 'loadmore'
  408. }
  409. }
  410. })
  411. .catch(res => {
  412. uni.$u.toast(res.message);
  413. });
  414. } else {
  415. let that = this
  416. this.$request.baseRequest('get', '/fleetInfo/selectFleetInfo', {
  417. commonId: this.commonId,
  418. province: this.province, //省
  419. city: this.city, //市
  420. searchKeyWord: this.searchKeyWord,
  421. pageSize: 10,
  422. currentPage: 1
  423. }).then(res => {
  424. that.formData = res.data.records
  425. for (let i = 0; i < that.formData.length; i++) {
  426. that.formData[i].textShow = false
  427. if (that.formData[i].fleetUrl) {
  428. that.formData[i].img = []
  429. let imgList = that.formData[i].fleetUrl.split(",")
  430. for (let j = 0; j < imgList.length; j++) {
  431. that.formData[i].img.push({
  432. url: imgList[j]
  433. })
  434. }
  435. }
  436. }
  437. if (res.data.total == 0) {
  438. this.status = 'nomore'
  439. } else {
  440. this.status = 'loadmore'
  441. }
  442. })
  443. .catch(res => {
  444. uni.$u.toast(res.message);
  445. });
  446. }
  447. },
  448. changebtn(num) {
  449. this.indexbtn = num
  450. this.getList()
  451. },
  452. // 回调参数为包含columnIndex、value、values
  453. confirm(e) {
  454. console.log('confirm', e)
  455. this.show = false
  456. },
  457. replace() {
  458. // this.unloadInfo.unloadProvince == "全国"
  459. if (this.title2 == "全国") {
  460. uni.$u.toast("发货地不可以是全国")
  461. return
  462. }
  463. let _obj = {}
  464. _obj = JSON.parse(JSON.stringify(this.sendInfo))
  465. this.sendInfo.sendProvince = this.unloadInfo.unloadProvince
  466. this.sendInfo.sendCity = this.unloadInfo.unloadCity
  467. this.sendInfo.sendArea = this.unloadInfo.unloadArea
  468. this.unloadInfo.unloadProvince = _obj.sendProvince
  469. this.unloadInfo.unloadCity = _obj.sendCity
  470. this.unloadInfo.unloadArea = _obj.sendArea
  471. let text = ""
  472. text = this.title1
  473. this.title1 = this.title2
  474. this.title2 = text
  475. this.getList()
  476. },
  477. myPage() {
  478. uni.$u.route("/pages/riders/myTeam")
  479. }
  480. }
  481. }
  482. </script>
  483. <style lang="scss" scoped>
  484. .center {
  485. background: #F2F4F7;
  486. .row1 {
  487. display: flex;
  488. justify-content: flex-end;
  489. .flex-end {
  490. margin-top: 50rpx;
  491. }
  492. .center_top {
  493. width: 40%;
  494. margin: 70rpx auto 0;
  495. .center_top_btn {
  496. width: 50%;
  497. text-align: center;
  498. color: #000000;
  499. font-size: 42rpx;
  500. font-weight: 600;
  501. }
  502. .center_top_btn1 {
  503. color: #BBBBBB;
  504. }
  505. }
  506. }
  507. .top_img {
  508. width: 70rpx;
  509. height: 70rpx;
  510. }
  511. }
  512. .route {
  513. padding: 40rpx;
  514. margin-top: 40rpx;
  515. background: #FFFFFF;
  516. .route_item {
  517. margin-bottom: 40rpx;
  518. width: 100%;
  519. .route_invite {
  520. width: 146rpx;
  521. height: 54rpx;
  522. border-radius: 35px;
  523. text-align: center;
  524. color: #FFFFFF;
  525. line-height: 54rpx;
  526. background: #2772FB;
  527. }
  528. .driver_name {
  529. width: 50%;
  530. margin: 20rpx 0 0 30rpx;
  531. color: #333333;
  532. font-size: 30rpx;
  533. }
  534. .driver_invite {
  535. display: flex;
  536. width: 50%;
  537. justify-content: flex-end;
  538. }
  539. }
  540. .address {
  541. margin-left: 30rpx;
  542. // line-height: 34rpx;
  543. .spots {
  544. width: 20rpx;
  545. height: 20rpx;
  546. display: inline-block;
  547. border-radius: 10rpx;
  548. margin-right: 10rpx;
  549. margin-bottom: 4rpx
  550. }
  551. .spot1 {
  552. background: #2772FB;
  553. }
  554. .spot2 {
  555. background: #FE6300;
  556. }
  557. }
  558. }
  559. .driver {
  560. .screen {
  561. background-color: #FFFFFF;
  562. width: 92%;
  563. border-radius: 20rpx;
  564. height: 200rpx;
  565. margin: 0 auto;
  566. margin-top: 60rpx;
  567. .screen_item {
  568. padding: 60rpx 30rpx;
  569. width: 40%;
  570. text-align: center;
  571. .screen_sign {
  572. width: 40rpx;
  573. height: 40rpx;
  574. text-align: center;
  575. margin: 0 auto;
  576. border-radius: 6px;
  577. color: #FFFFFF;
  578. font-size: 22rpx;
  579. line-height: 40rpx;
  580. }
  581. .sign1 {
  582. background: #2772FB;
  583. }
  584. .sign2 {
  585. background: #FE6300;
  586. }
  587. }
  588. .exchange {
  589. // line-height: 200rpx;
  590. margin-top: 72rpx;
  591. transform: rotate(90deg);
  592. }
  593. }
  594. }
  595. .riders {
  596. .riders_top {
  597. margin-top: 40rpx;
  598. .riders_city {
  599. margin-top: 10rpx;
  600. margin: 10rpx 30rpx;
  601. }
  602. }
  603. .fleet {
  604. padding: 30rpx;
  605. // margin: 40rpx 0;
  606. margin-top: 40rpx;
  607. background: #FFFFFF;
  608. border-top-right-radius: 40rpx;
  609. border-top-left-radius: 40rpx;
  610. .fleet_item {
  611. // margin-top: 10rpx;
  612. width: 100%;
  613. margin-bottom: 20rpx;
  614. .fleet_name {
  615. margin-left: 20rpx;
  616. width: 70%;
  617. }
  618. .fleet_invite {
  619. text-align: center;
  620. background-color: #2772FB;
  621. width: 128rpx;
  622. height: 66rpx;
  623. line-height: 66rpx;
  624. border-radius: 35rpx;
  625. color: #fff;
  626. }
  627. .fleet_introduce {
  628. margin: 40rpx 0;
  629. position: relative;
  630. // .fleet_text{
  631. // overflow: hidden;
  632. // word-break: break-all; /* break-all(允许在单词内换行。) */
  633. // text-overflow: ellipsis; /* 超出部分省略号 */
  634. // display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
  635. // -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  636. // -webkit-line-clamp: 3; /** 显示的行数 **/
  637. // }
  638. .btn_change {
  639. position: absolute;
  640. right: 0rpx;
  641. bottom: 0rpx;
  642. color: #2772fb;
  643. }
  644. }
  645. .fleet_member {
  646. margin-top: 20rpx;
  647. }
  648. .fleet_number {
  649. margin: 6rpx 10rpx;
  650. color: #ABABAB;
  651. font-size: 24rpx;
  652. }
  653. }
  654. }
  655. }
  656. .jt-icon {
  657. position: relative;
  658. top: 16rpx;
  659. width: 60rpx;
  660. margin: 0 20rpx;
  661. // margin-top: 10rpx;
  662. }
  663. </style>