index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. <template>
  2. <view class="center">
  3. <view class="flex row1">
  4. <view class="flex center_top">
  5. <view class="center_top_btn" :class="indexbtn == 1? '':'center_top_btn1'" @click="changebtn(1)">司机
  6. </view>
  7. <view class="center_top_btn" :class="indexbtn == 2? '':'center_top_btn1'" @click="changebtn(2)">车队
  8. </view>
  9. </view>
  10. </view>
  11. <view class="driver" v-show="indexbtn == 1">
  12. <view class="flex screen">
  13. <view @click="selectAddress(1)" class="screen_item">
  14. <view class="screen_sign sign1">装</view>
  15. {{title1 ? title1 : "请选择地址"}}
  16. </view>
  17. <itmister-address-picker ref="addressElone" @confirmChange="confirmChangeOne"></itmister-address-picker>
  18. <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="$u.throttle(confirmClick(), 5000)" @close="cancelClick" @cancel="cancelClick"></u-modal>
  129. <u-modal :show="tipsShow" :content='tipsText' :confirmText="btnTips" @confirm="$u.throttle(authentication(), 5000)"></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. uni.setTabBarItem({
  185. index: 0,
  186. text: '订单',
  187. iconPath: 'static/images/common/dingdan@2x(1).png',
  188. selectedIconPath: 'static/images/common/dingdan@2x.png'
  189. })
  190. if (uni.getStorageSync("sendInfo")) { //从缓存中获取 上一次的装车地 卸车地
  191. this.sendInfo = uni.getStorageSync("sendInfo")
  192. this.title1 = this.sendInfo.sendProvince + this.sendInfo.sendCity + this.sendInfo.sendArea
  193. } else {
  194. this.sendInfo.sendProvince = "北京"
  195. this.title1 = "北京"
  196. }
  197. if (uni.getStorageSync("unloadInfo")) {
  198. this.unloadInfo = uni.getStorageSync("unloadInfo")
  199. this.title2 = this.unloadInfo.unloadProvince + this.unloadInfo.unloadCity + this.unloadInfo.unloadArea
  200. } else {
  201. this.title2 = '全国'
  202. this.unloadInfo.unloadProvince = '全国'
  203. }
  204. if (uni.getStorageSync("fleetLocation")) {
  205. this.province = uni.getStorageSync("fleetLocation").province
  206. this.city = uni.getStorageSync("fleetLocation").city
  207. } else {
  208. this.province = ''
  209. this.city = '北京'
  210. }
  211. this.commonId = uni.getStorageSync("firstAuthentication").commonId
  212. this.checking()
  213. this.getList()
  214. },
  215. onLoad() {},
  216. methods: {
  217. driverLook(item) {
  218. this.$u.route("/pages/carSource/driverSee", {
  219. commonId: item.commonId
  220. })
  221. },
  222. checking() {
  223. this.statusVal = uni.getStorageSync("firstAuthentication").authenticationStatus
  224. if(!uni.getStorageSync("firstAuthentication")&&!uni.getStorageSync("userInfo")) { //判断有没有登录
  225. this.tipsShow = true
  226. this.tipsText = "您尚未登录,请前去登录!"
  227. this.btnTips = "去登录"
  228. }
  229. },
  230. fleetClose() {
  231. this.fleetShow = false
  232. },
  233. invitation(item) {
  234. this.addMember = {}
  235. this.columns = []
  236. this.addMember.commonId = item.commonId
  237. this.addMember.driverNickname = item.driverNickname
  238. this.addMember.driverPortrait = item.driverPortrait
  239. this.$request.baseRequest('get', '/fleetInfo/fleetInfos', {
  240. commonId: this.commonId,
  241. }).then(res => {
  242. this.fleetInviteList = res.data
  243. let flrrtArray = []
  244. for (let i = 0; i < res.data.length; i++) {
  245. flrrtArray.push(res.data[i].fleetName)
  246. }
  247. this.columns.push(flrrtArray)
  248. if (this.columns.length == 0) {
  249. uni.$u.toast("无可邀请的车队");
  250. } else {
  251. this.fleetShow = true
  252. }
  253. })
  254. .catch(res => {
  255. uni.$u.toast(res.message);
  256. });
  257. },
  258. invitationCheng(e) { //邀请
  259. this.addMember.fleetId = this.fleetInviteList[e.indexs[0]].id
  260. this.fleetShow = false
  261. this.addMember.joinFlag = 2
  262. this.$request.baseRequest('post', '/fleetMemberInfo/api/addFleetMemberInfo', this.addMember).then(res => {
  263. if (res.code == 200) {
  264. this.$refs.uToast.show({
  265. type: 'success',
  266. message: "邀请已发出",
  267. })
  268. } else {
  269. uni.$u.toast(res.message);
  270. }
  271. })
  272. .catch(res => {
  273. uni.$u.toast(res.message);
  274. });
  275. },
  276. authentication() {
  277. this.tipsShow = false
  278. if (this.statusVal == '未认证') {
  279. this.$u.route("/pages/mine/driverCertification")
  280. } else if (this.statusVal == '未通过') {
  281. this.$u.route("/pages/mine/editDriverCertification")
  282. } else if (this.statusVal == '审核中') {
  283. // this.$u.route("")
  284. uni.switchTab({
  285. url: '/pages/mine/index'
  286. });
  287. } else {
  288. uni.$u.route('/pages/public/login');
  289. }
  290. },
  291. selectAddress(num) {
  292. if (num == 1) {
  293. this.$refs.addressElone.show();
  294. } else if (num == 2) {
  295. this.$refs.addressEltwo.show();
  296. }
  297. },
  298. selectChange() {
  299. this.$refs.addressElthree.show();
  300. },
  301. // 确认选中
  302. confirmChangeOne(address) {
  303. if (address.province == '全国') {
  304. uni.$u.toast("发货地不可以是全国")
  305. // this.$refs.addressElone.show();
  306. return
  307. }
  308. this.sendInfo.sendProvince = address.province ? address.province : ''
  309. if(address.city=='北京'||address.city=='天津'||address.city=='上海'||address.city=='重庆'||address.city=='台湾'){
  310. this.sendInfo.sendCity = ''
  311. }else{
  312. this.sendInfo.sendCity = address.city ? address.city : ''
  313. }
  314. // this.sendInfo.sendCity = address.city ? address.city : ''
  315. this.sendInfo.sendArea = address.area ? address.area : ''
  316. if (address.city == '全省') {
  317. this.title1 = address.province
  318. this.sendInfo.sendCity = ""
  319. this.sendInfo.sendArea = ""
  320. } else if (address.area == '全市') {
  321. if(address.city=='北京'||address.city=='天津'||address.city=='上海'||address.city=='重庆'||address.city=='台湾'){
  322. this.title1 = address.province
  323. }else{
  324. this.title1 = address.province + address.city
  325. }
  326. this.sendInfo.sendArea = ""
  327. } else {
  328. this.title1 = address.province + address.city + address.area;
  329. }
  330. uni.setStorageSync("sendInfo", this.sendInfo)
  331. this.getList()
  332. },
  333. confirmChangeTwo(address) {
  334. this.unloadInfo.unloadProvince = address.province ? address.province : ''
  335. if(address.city=='北京'||address.city=='天津'||address.city=='上海'||address.city=='重庆'||address.city=='台湾'){
  336. this.sendInfo.unloadCity = ''
  337. }else{
  338. this.sendInfo.unloadCity = address.city ? address.city : ''
  339. }
  340. // this.unloadInfo.unloadCity = address.city ? address.city : ''
  341. this.unloadInfo.unloadArea = address.area ? address.area : ''
  342. if (address.city == '全省') {
  343. this.title2 = address.province
  344. this.unloadInfo.unloadCity = ""
  345. this.unloadInfo.unloadArea = ""
  346. } else if (address.area == '全市') {
  347. if(address.city=='北京'||address.city=='天津'||address.city=='上海'||address.city=='重庆'||address.city=='台湾'){
  348. this.title2 = address.province
  349. }else{
  350. this.title2 = address.province + address.city
  351. }
  352. // this.title2 = address.province + address.city
  353. this.unloadInfo.unloadArea = ""
  354. } else {
  355. if (address.province == '全国') {
  356. this.title2 = address.province
  357. } else {
  358. this.title2 = address.province + address.city + address.area;
  359. }
  360. }
  361. uni.setStorageSync("unloadInfo", this.unloadInfo)
  362. this.getList()
  363. },
  364. confirmChangethree(address) {
  365. this.province = address.province
  366. this.city = address.city
  367. if (address.city == "全省") {
  368. this.city = ""
  369. }
  370. this.fleetLocation.province = address.province
  371. this.fleetLocation.city = address.city == "全省" ? "" : address.city
  372. uni.setStorageSync("fleetLocation", this.fleetLocation)
  373. this.getList()
  374. },
  375. joinFleet(item) {
  376. this.addMember.commonId = this.commonId
  377. this.addMember.driverNickname = uni.getStorageSync("firstAuthentication").driverCall
  378. this.addMember.driverPortrait = uni.getStorageSync("userInfo").avatarUrl
  379. this.addMember.fleetId = item.id
  380. this.alertTitle = "确定申请加入该车队?"
  381. this.isShowAlert = true
  382. },
  383. // addressChange(num) {
  384. // if (num == 1) {
  385. // this.show1 = true
  386. // this.show2 = false
  387. // } else {
  388. // this.show1 = false
  389. // this.show2 = true
  390. // }
  391. // },
  392. cancelClick() {
  393. this.isShowAlert = false
  394. },
  395. confirmClick() {
  396. this.isShowAlert = false
  397. this.addMember.joinFlag = 1
  398. this.$request.baseRequest('post', '/fleetMemberInfo/api/addFleetMemberInfo', this.addMember).then(res => {
  399. if (res.code == '200') {
  400. this.$refs.uToast.show({
  401. type: 'success',
  402. message: "申请成功,等待队长审核",
  403. })
  404. this.getList()
  405. } else {
  406. this.$refs.uToast.show({
  407. type: 'success',
  408. message: "申请失败,请稍后重试",
  409. })
  410. }
  411. })
  412. .catch(res => {
  413. uni.$u.toast(res.message);
  414. });
  415. },
  416. getList() {
  417. this.status = 'loading';
  418. if (this.indexbtn == 1) {
  419. if(this.unloadInfo.unloadProvince =="全国"){
  420. this.unloadInfo.unloadProvince= ""
  421. }
  422. this.$request.baseRequest('get', '/commonRoute/driverList', {
  423. pageSize: 10,
  424. currentPage: 1,
  425. sendProvince: this.sendInfo.sendProvince,
  426. sendCity: this.sendInfo.sendCity,
  427. sendArea: this.sendInfo.sendArea,
  428. unloadProvince: this.unloadInfo.unloadProvince,
  429. unloadCity: this.unloadInfo.unloadCity,
  430. unloadArea: this.unloadInfo.unloadArea
  431. }).then(res => {
  432. if (res.code == 200) {
  433. this.routeData = res.data.records
  434. for (let i = 0; i < this.routeData.length; i++) {
  435. if (this.routeData[i].startAdress) {
  436. this.routeData[i].startAdress = this.routeData[i].startAdress.split(",")
  437. }
  438. if (this.routeData[i].endAdress) {
  439. this.routeData[i].endAdress = this.routeData[i].endAdress.split(",")
  440. }
  441. }
  442. if (res.data.total == 0) {
  443. this.status = 'nomore'
  444. } else {
  445. this.status = 'loadmore'
  446. }
  447. }
  448. })
  449. .catch(res => {
  450. uni.$u.toast(res.message);
  451. });
  452. } else {
  453. let that = this
  454. this.$request.baseRequest('get', '/fleetInfo/selectFleetInfo', {
  455. commonId: this.commonId,
  456. province: this.province, //省
  457. city: this.city, //市
  458. searchKeyWord: this.searchKeyWord,
  459. pageSize: 10,
  460. currentPage: 1
  461. }).then(res => {
  462. that.formData = res.data.records
  463. for (let i = 0; i < that.formData.length; i++) {
  464. that.formData[i].textShow = false
  465. if (that.formData[i].fleetUrl) {
  466. that.formData[i].img = []
  467. let imgList = that.formData[i].fleetUrl.split(",")
  468. for (let j = 0; j < imgList.length; j++) {
  469. that.formData[i].img.push({
  470. url: imgList[j]
  471. })
  472. }
  473. }
  474. }
  475. if (res.data.total == 0) {
  476. this.status = 'nomore'
  477. } else {
  478. this.status = 'loadmore'
  479. }
  480. })
  481. .catch(res => {
  482. uni.$u.toast(res.message);
  483. });
  484. }
  485. },
  486. changebtn(num) {
  487. this.indexbtn = num
  488. this.getList()
  489. },
  490. // 回调参数为包含columnIndex、value、values
  491. confirm(e) {
  492. console.log('confirm', e)
  493. this.show = false
  494. },
  495. replace() {
  496. // this.unloadInfo.unloadProvince == "全国"
  497. if (this.title2 == "全国") {
  498. uni.$u.toast("发货地不可以是全国")
  499. return
  500. }
  501. let _obj = {}
  502. _obj = JSON.parse(JSON.stringify(this.sendInfo))
  503. this.sendInfo.sendProvince = this.unloadInfo.unloadProvince
  504. this.sendInfo.sendCity = this.unloadInfo.unloadCity
  505. this.sendInfo.sendArea = this.unloadInfo.unloadArea
  506. this.unloadInfo.unloadProvince = _obj.sendProvince
  507. this.unloadInfo.unloadCity = _obj.sendCity
  508. this.unloadInfo.unloadArea = _obj.sendArea
  509. let text = ""
  510. text = this.title1
  511. this.title1 = this.title2
  512. this.title2 = text
  513. this.getList()
  514. },
  515. myPage() {
  516. uni.$u.route("/pages/riders/myTeam")
  517. }
  518. }
  519. }
  520. </script>
  521. <style lang="scss" scoped>
  522. .center {
  523. background: #F2F4F7;
  524. .row1 {
  525. display: flex;
  526. justify-content: flex-end;
  527. .flex-end {
  528. margin-top: 50rpx;
  529. }
  530. .center_top {
  531. width: 40%;
  532. margin: 70rpx auto 0;
  533. .center_top_btn {
  534. width: 50%;
  535. text-align: center;
  536. color: #000000;
  537. font-size: 42rpx;
  538. font-weight: 600;
  539. }
  540. .center_top_btn1 {
  541. color: #BBBBBB;
  542. }
  543. }
  544. }
  545. .top_img {
  546. width: 70rpx;
  547. height: 70rpx;
  548. }
  549. }
  550. .route {
  551. padding: 40rpx;
  552. margin-top: 40rpx;
  553. background: #FFFFFF;
  554. .route_item {
  555. margin-bottom: 40rpx;
  556. width: 100%;
  557. .route_invite {
  558. width: 146rpx;
  559. height: 54rpx;
  560. border-radius: 35px;
  561. text-align: center;
  562. color: #FFFFFF;
  563. line-height: 54rpx;
  564. background: #2772FB;
  565. }
  566. .driver_name {
  567. width: 50%;
  568. margin: 20rpx 0 0 30rpx;
  569. color: #333333;
  570. font-size: 30rpx;
  571. }
  572. .driver_invite {
  573. display: flex;
  574. width: 50%;
  575. justify-content: flex-end;
  576. }
  577. }
  578. .address {
  579. margin-left: 30rpx;
  580. // line-height: 34rpx;
  581. .spots {
  582. width: 20rpx;
  583. height: 20rpx;
  584. display: inline-block;
  585. border-radius: 10rpx;
  586. margin-right: 10rpx;
  587. margin-bottom: 4rpx
  588. }
  589. .spot1 {
  590. background: #2772FB;
  591. }
  592. .spot2 {
  593. background: #FE6300;
  594. }
  595. }
  596. }
  597. .driver {
  598. .screen {
  599. background-color: #FFFFFF;
  600. width: 92%;
  601. border-radius: 20rpx;
  602. height: 200rpx;
  603. margin: 0 auto;
  604. margin-top: 60rpx;
  605. .screen_item {
  606. padding: 60rpx 30rpx;
  607. width: 40%;
  608. text-align: center;
  609. .screen_sign {
  610. width: 40rpx;
  611. height: 40rpx;
  612. text-align: center;
  613. margin: 0 auto;
  614. border-radius: 6px;
  615. color: #FFFFFF;
  616. font-size: 22rpx;
  617. line-height: 40rpx;
  618. }
  619. .sign1 {
  620. background: #2772FB;
  621. }
  622. .sign2 {
  623. background: #FE6300;
  624. }
  625. }
  626. .exchange {
  627. // line-height: 200rpx;
  628. margin-top: 72rpx;
  629. transform: rotate(90deg);
  630. }
  631. }
  632. }
  633. .riders {
  634. .riders_top {
  635. margin-top: 40rpx;
  636. .riders_city {
  637. margin-top: 10rpx;
  638. margin: 10rpx 30rpx;
  639. }
  640. }
  641. .fleet {
  642. padding: 30rpx;
  643. // margin: 40rpx 0;
  644. margin-top: 40rpx;
  645. background: #FFFFFF;
  646. border-top-right-radius: 40rpx;
  647. border-top-left-radius: 40rpx;
  648. .fleet_item {
  649. // margin-top: 10rpx;
  650. width: 100%;
  651. margin-bottom: 20rpx;
  652. .fleet_name {
  653. margin-left: 20rpx;
  654. width: 70%;
  655. }
  656. .fleet_invite {
  657. text-align: center;
  658. background-color: #2772FB;
  659. width: 128rpx;
  660. height: 66rpx;
  661. line-height: 66rpx;
  662. border-radius: 35rpx;
  663. color: #fff;
  664. }
  665. .fleet_introduce {
  666. margin: 40rpx 0;
  667. position: relative;
  668. // .fleet_text{
  669. // overflow: hidden;
  670. // word-break: break-all; /* break-all(允许在单词内换行。) */
  671. // text-overflow: ellipsis; /* 超出部分省略号 */
  672. // display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
  673. // -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  674. // -webkit-line-clamp: 3; /** 显示的行数 **/
  675. // }
  676. .btn_change {
  677. position: absolute;
  678. right: 0rpx;
  679. bottom: 0rpx;
  680. color: #2772fb;
  681. }
  682. }
  683. .fleet_member {
  684. margin-top: 20rpx;
  685. }
  686. .fleet_number {
  687. margin: 6rpx 10rpx;
  688. color: #ABABAB;
  689. font-size: 24rpx;
  690. }
  691. }
  692. }
  693. }
  694. .jt-icon {
  695. position: relative;
  696. top: 16rpx;
  697. width: 60rpx;
  698. margin: 0 20rpx;
  699. // margin-top: 10rpx;
  700. }
  701. </style>