brokerlist.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. <template>
  2. <view>
  3. <u-sticky>
  4. <view class="cu-bar search bg-gray">
  5. <view class="search-form round text-center">
  6. <text class="cuIcon-search"></text>
  7. <input @input="bindInput" :adjust-position="false" type="text" placeholder="请输入关键字"
  8. confirm-type="search"></input>
  9. </view>
  10. <view class="action" v-if="searchval!==''">
  11. <button class="cu-btn bg-white shadow-blur round" @click="btnSearch()">搜索</button>
  12. </view>
  13. </view>
  14. <view class="page-section page-section-gap">
  15. <map style="width: 100%; height: 200px;" :latitude="latitude" :longitude="longitude" :markers="covers"
  16. @markertap="markertap">
  17. </map>
  18. </view>
  19. </u-sticky>
  20. <view class="menu" v-if="false">
  21. <view class="menu-top">
  22. <view class="menu-top-item">优秀经纪人
  23. <view class="item-icon">
  24. <u-icon name="arrow-down" color="#000000" size="25rpx"></u-icon>
  25. </view>
  26. </view>
  27. <view class="menu-top-item" :style="filterbox!==null? 'color:#CA151C' : ''" data-filterbox="area"
  28. @tap="showFilter">{{arealist.title}}
  29. <view class="item-icon" :style="{transform:filterbox!==null?transform:'', transition:transition}">
  30. <u-icon name="arrow-down" :color="filterbox!==null? '#CA151C' : '#000000'"
  31. size="25rpx"></u-icon>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="filtercon" v-if="filterbox!==null">
  36. <view class="grid margin-bottom text-left col-3 bg-white" v-if="filterbox=='area'">
  37. <view class="solids-right padding-bottom">
  38. <scroll-view scroll-y="true" style="height: 600rpx;">
  39. <view class="solid-bottom text-gray padding-lr-sm padding-tb-sm">选择省</view>
  40. <view class="solid-bottom padding-lr-sm padding-tb-sm" @click="checkArea(4,0)">全部</view>
  41. <block v-for="(item,index) in arealist.data" :key="index">
  42. <view class="solid-bottom padding-lr-sm padding-tb-sm" @click="checkArea(1,index)">
  43. {{item.title}}
  44. </view>
  45. </block>
  46. </scroll-view>
  47. </view>
  48. <view class="solids-right padding-bottom">
  49. <scroll-view scroll-y="true" style="height: 600rpx;">
  50. <view class="solid-bottom text-gray padding-lr-sm padding-tb-sm">选择市</view>
  51. <block v-for="(item,index) in arealist.cityarr" :key="index">
  52. <view class="solid-bottom padding-lr-sm padding-tb-sm" @click="checkArea(2,index)">
  53. {{item.title}}
  54. </view>
  55. </block>
  56. </scroll-view>
  57. </view>
  58. <view class="padding-bottom">
  59. <scroll-view scroll-y="true" style="height: 600rpx;">
  60. <view class="solid-bottom text-gray padding-lr-sm padding-tb-sm">选择区县</view>
  61. <block v-for="(item,index) in arealist.districtarr" :key="index">
  62. <view class="solid-bottom padding-lr-sm padding-tb-sm" @click="checkArea(3,index)">
  63. {{item.title}}
  64. </view>
  65. </block>
  66. </scroll-view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="mainArea" :style="{height:mainHeight}">
  72. <view class="areaList">
  73. <scroll-view :style="{height:mainHeight}" class="areaScroll" scroll-y="true">
  74. <view class="areaCard" :class="areaItem == '' ? 'areaCardSel' : ''" @click="selArea('全部')">全部</view>
  75. <view class="areaCard" v-for="(item,index) in mainArea" :key="index"
  76. :class="areaItem == item ? 'areaCardSel' : ''" @click="selArea(item)">{{item}}</view>
  77. </scroll-view>
  78. </view>
  79. <view class="brokerList">
  80. <scroll-view :style="{height:mainHeight}" class="brokerScroll" scroll-y="true"
  81. @scrolltolower="brokerListLower">
  82. <view class="brokerCard" v-for="(item,index) in plist" :key="index">
  83. <view class="brokerCard-avatar">
  84. <image class="brokerCard-avatar-image"
  85. :src="item.muser.avatar ? item.muser.avatar : $getImageUrl('static/images/applet/dfhead.jpg')">
  86. </image>
  87. <view class="avatar-bg"
  88. :style="'background-image:url('+$getImageUrl('static/images/applet/bg/brokerIdentity.png')+');'">
  89. <view class="avatar-bg-title">金牌经纪人 {{item.title}}</view>
  90. <!-- <view class="avatar-bg-name"></view> -->
  91. </view>
  92. </view>
  93. <view class="brokerCard-infor">
  94. <view class="infor-header">
  95. <view :data-index="index" @tap="showModal">{{item.title}}</view>
  96. <image :data-telephone="item.mobile" @tap="makeTelephone" class="infor-header-icon"
  97. :src="$getImageUrl('static/images/applet/broker/contact.png')" mode="widthFix">
  98. </image>
  99. </view>
  100. <view class="infor-item" :data-index="index" @tap="showModal">
  101. <image class="infor-item-icon"
  102. :src="$getImageUrl('static/images/applet/broker/broker.png')" mode="widthFix">
  103. </image>
  104. <view class="infor-item-text">优秀经纪人</view>
  105. </view>
  106. <view class="infor-item" :data-index="index" @tap="showModal">
  107. <image class="infor-item-icon" src="../../static/images/comJobs/icon-pageView.png"
  108. mode="widthFix">
  109. </image>
  110. <view class="infor-item-text">镇/村:{{item.town}} - {{item.village}}</view>
  111. </view>
  112. <view class="infor-item" :data-index="index" @tap="showModal">
  113. <image class="infor-item-icon"
  114. :src="$getImageUrl('static/images/applet/index/cardD.png')" mode="widthFix"></image>
  115. <view class="infor-item-text">服务区域:{{item.region}}</view>
  116. </view>
  117. </view>
  118. </view>
  119. <uni-load-more :status="pstatus"></uni-load-more>
  120. </scroll-view>
  121. </view>
  122. </view>
  123. <view class="filterbg" v-if="false">
  124. <view class="flex justify-between solids-bottom padding bg-white">
  125. <view class="text-bold">推荐</view>
  126. <view class="flex justify-end">
  127. <view class="cu-tag radius" data-filterbox="area" @tap="showFilter">{{arealist.title}}</view>
  128. </view>
  129. </view>
  130. </view>
  131. <view class="bg-white cu-list menu-avatar" v-if="false">
  132. <block v-for="(item,index) in plist" :key="index">
  133. <view class="cu-item" style="border-bottom: 0rpx !important; border-top: 0rpx !important;">
  134. <view class="cu-avatar round lg"
  135. :style="'background-image:url('+(item.muser.avatar ? item.muser.avatar : $getImageUrl('static/images/applet/dfhead.jpg'))+');'">
  136. </view>
  137. <view class="content" :data-index="index" @tap="showModal">
  138. <view class="text-cut text-bold">{{item.title}}</view>
  139. </view>
  140. <view class="action">
  141. <button class="cu-btn bg-blue cuIcon" :data-telephone="item.mobile" @tap="makeTelephone">
  142. <text class="cuIcon-dianhua"></text>
  143. </button>
  144. </view>
  145. </view>
  146. <view class="itembox" :data-index="index" @tap="showModal">
  147. <view class="itembox-til">服务区域:</view>
  148. <view class="itembox-con text-gray">{{item.province}} - {{item.city}} - {{item.district}}</view>
  149. </view>
  150. <view class="itembox" :data-index="index" @tap="showModal">
  151. <view class="itembox-til">镇/村:</view>
  152. <view class="itembox-con text-gray">{{item.town}} - {{item.village}}</view>
  153. </view>
  154. <view class="itembox solids-bottom" style="padding-bottom: 30rpx;" :data-index="index" @tap="showModal">
  155. <view class="itembox-til">区域:</view>
  156. <view class="itembox-con text-gray" style="height: 75rpx; overflow: hidden;">
  157. <text>{{item.region}}</text>
  158. </view>
  159. </view>
  160. <view class="itembox solids-bottom" style="padding-bottom: 30rpx;" :data-index="index" @tap="showModal">
  161. <view class="itembox-til">基本介绍:</view>
  162. <view class="itembox-con text-gray" style="height: 75rpx; overflow: hidden;">
  163. <text>{{item.details}}</text>
  164. </view>
  165. </view>
  166. </block>
  167. </view>
  168. <!-- <uni-load-more :status="pstatus"></uni-load-more> -->
  169. <view class="cu-modal bottom-modal" :class="modal.name=='detailsbox'?'show':''">
  170. <view class="cu-dialog">
  171. <view class="cu-bar bg-white">
  172. <view class="action text-green">确定</view>
  173. <view class="action text-blue" @tap="hideModal">取消</view>
  174. </view>
  175. <view class="padding-tb">
  176. <scroll-view scroll-y="true" style="height: 800rpx;">
  177. <view class="itembox text-left">
  178. <view class="itembox-til text-right">姓名:</view>
  179. <view class="itembox-con text-gray">{{modal.brokerinfo.title}}</view>
  180. </view>
  181. <view class="itembox text-left">
  182. <view class="itembox-til text-right">手机号:</view>
  183. <view class="itembox-con text-gray">{{modal.brokerinfo.mobile}}</view>
  184. </view>
  185. <view class="itembox text-left">
  186. <view class="itembox-til text-right">微信号:</view>
  187. <view class="itembox-con text-gray">{{modal.brokerinfo.weixin}}</view>
  188. </view>
  189. <view class="itembox text-left">
  190. <view class="itembox-til text-right">QQ号:</view>
  191. <view class="itembox-con text-gray">{{modal.brokerinfo.qq}}</view>
  192. </view>
  193. <view class="itembox text-left">
  194. <view class="itembox-til text-right">服务区域:</view>
  195. <view class="itembox-con text-gray">{{modal.brokerinfo.province}} -
  196. {{modal.brokerinfo.city}}
  197. </view>
  198. </view>
  199. <view class="itembox text-left" style="padding-bottom: 30rpx;" :data-index="index"
  200. @tap="showModal">
  201. <view class="itembox-til text-right">基本介绍:</view>
  202. <view class="itembox-con text-gray">
  203. <text>{{modal.brokerinfo.details}}</text>
  204. </view>
  205. </view>
  206. </scroll-view>
  207. </view>
  208. </view>
  209. </view>
  210. <view class="padding-sm"></view>
  211. <view class="padding-xl"></view>
  212. <view class="cu-bar tabbar bg-white foot">
  213. <view class="action text-gray" @tap="goNavPage('/pages/index/index')">
  214. <view class="cuIcon-cu-image">
  215. <image src="../../static/tabbar/index.png"></image>
  216. </view>
  217. 首页
  218. </view>
  219. <view class="action text-gray" @tap="goNavPage('/pages/comjobs/comjobs')">
  220. <view class="cuIcon-cu-image">
  221. <image src="../../static/tabbar/jobs.png"></image>
  222. </view>
  223. 招聘
  224. </view>
  225. <!-- #ifndef MP-WEIXIN -->
  226. <view class="action text-gray videoimg" @tap="goNavPage('/pages/video/videolist')">
  227. <view class="cuIcon-cu-image">
  228. <image src="../../static/tabbar/video.png"></image>
  229. </view>
  230. 微工作
  231. </view>
  232. <!-- #endif -->
  233. <view class="action text-blue" @tap="goNavPage('/pages/broker/brokerlist')">
  234. <view class="cuIcon-cu-image">
  235. <image src="../../static/tabbar/brokerSelected.png"></image>
  236. </view>
  237. 经纪人
  238. </view>
  239. <view class="action text-gray" @tap="goNavPage('/pages/my/my')">
  240. <view class="cuIcon-cu-image">
  241. <image src="../../static/tabbar/my.png"></image>
  242. </view>
  243. 我的
  244. </view>
  245. </view>
  246. </view>
  247. </template>
  248. <script>
  249. import uniLoadMore from "@/components/uni-load-more/uni-load-more.vue";
  250. var _this;
  251. export default {
  252. components: {
  253. uniLoadMore
  254. },
  255. data() {
  256. return {
  257. filterbox: null,
  258. arealist: {
  259. title: "区域",
  260. value: "",
  261. cityarr: [],
  262. districtarr: [],
  263. data: []
  264. },
  265. pstatus: 'more',
  266. ppage: 1,
  267. psize: 20,
  268. plist: [],
  269. searchval: "",
  270. modal: {
  271. name: null,
  272. brokerinfo: {}
  273. },
  274. transform: "rotate(180deg)",
  275. transition: "all .3s",
  276. mainArea: [],
  277. areaItem: "",
  278. id: 0, // 使用 marker点击事件 需要填写id
  279. title: 'map',
  280. latitude: 0.000000,
  281. longitude: 0.000000,
  282. covers: [],
  283. mainHeight: 0,
  284. bottomHeight: 0
  285. };
  286. },
  287. onLoad: function() {
  288. _this = this;
  289. _this.arealist.data = require('@/common/area.json');
  290. _this.getMore();
  291. _this.getArea();
  292. uni.getLocation({
  293. success: function(res) {
  294. console.log(res);
  295. console.log('纬度:' + res.latitude);
  296. console.log('经度:' + res.longitude);
  297. _this.latitude = res.latitude;
  298. _this.longitude = res.longitude;
  299. },
  300. });
  301. },
  302. onPullDownRefresh: function() {
  303. _this.pageRefresh();
  304. },
  305. onReachBottom: function() {
  306. // if (_this.pstatus !== 'more') {
  307. // return;
  308. // }
  309. // _this.getMore();
  310. },
  311. onShareAppMessage: function(res) {
  312. return {
  313. title: "经纪人列表",
  314. path: "/pages/broker/brokerlist"
  315. }
  316. },
  317. onReady: function() {
  318. var _this = this;
  319. uni.getSystemInfo({
  320. success: (resu) => {
  321. const query = uni.createSelectorQuery()
  322. query.select('.mainArea').boundingClientRect()
  323. query.exec(function(res) {
  324. uni.createSelectorQuery().selectAll('.tabbar').boundingClientRect(data => {
  325. _this.mainHeight = resu.windowHeight - res[0].top - data[0]
  326. .height + 'px';
  327. console.log('打印页面的剩余高度', _this.mainHeight);
  328. }).exec()
  329. })
  330. },
  331. fail: (res) => {}
  332. })
  333. },
  334. methods: {
  335. brokerListLower() {
  336. if (_this.pstatus !== 'more') {
  337. return;
  338. }
  339. _this.getMore();
  340. },
  341. markertap(e) {
  342. console.log("点击标记点", e.detail.markerId)
  343. _this.modal.name = "detailsbox";
  344. _this.modal.brokerinfo = _this.plist[e.detail.markerId];
  345. },
  346. selArea(item) {
  347. if (item == '全部') {
  348. _this.areaItem = ''
  349. } else {
  350. _this.areaItem = item;
  351. }
  352. _this.pageRefresh();
  353. },
  354. getArea() {
  355. _this.$req.ajax({
  356. path: "index/getStreet"
  357. }).then((data) => {
  358. _this.mainArea = data;
  359. console.log("列表", data, _this.mainArea)
  360. }).catch((err) => {
  361. uni.showModal({
  362. title: '信息提示',
  363. content: err,
  364. showCancel: false
  365. });
  366. });
  367. },
  368. showFilter: function(e) {
  369. var nowfilterbox = e.currentTarget.dataset.filterbox;
  370. if (_this.filterbox == nowfilterbox) {
  371. _this.filterbox = null;
  372. } else {
  373. _this.filterbox = nowfilterbox;
  374. }
  375. uni.pageScrollTo({
  376. scrollTop: 0,
  377. duration: 300
  378. });
  379. },
  380. checkArea: function(level, index) {
  381. if (level == 1) {
  382. _this.arealist.cityarr = _this.arealist.data[index].children;
  383. _this.arealist.districtarr = [];
  384. } else if (level == 2) {
  385. _this.arealist.districtarr = _this.arealist.cityarr[index].children;
  386. } else if (level == 3) {
  387. _this.arealist.title = _this.arealist.districtarr[index].title;
  388. _this.arealist.value = _this.arealist.districtarr[index].title;
  389. _this.filterbox = null;
  390. _this.pageRefresh();
  391. } else if (level == 4) {
  392. _this.arealist.cityarr = [];
  393. _this.arealist.districtarr = [];
  394. _this.arealist.title = "全部";
  395. _this.arealist.value = "";
  396. _this.filterbox = null;
  397. _this.pageRefresh();
  398. }
  399. },
  400. // 搜索
  401. bindInput: function(e) {
  402. _this.searchval = e.detail.value;
  403. },
  404. btnSearch: function() {
  405. if (_this.searchval == "") {
  406. uni.showModal({
  407. title: '信息提示',
  408. content: "请输入要搜索的关键字...",
  409. showCancel: false
  410. });
  411. return false;
  412. }
  413. _this.pageRefresh();
  414. },
  415. pageRefresh: function() {
  416. _this.pstatus = 'more';
  417. _this.ppage = 1;
  418. _this.plist = [];
  419. _this.getMore();
  420. },
  421. getMore: function() {
  422. _this.$req.ajax({
  423. path: "broker/getListBroker",
  424. data: {
  425. ppage: _this.ppage,
  426. psize: _this.psize,
  427. searchval: _this.searchval,
  428. // district: _this.arealist.value
  429. town: _this.areaItem
  430. }
  431. }).then((data) => {
  432. _this.pstatus = data.pstatus;
  433. _this.plist = _this.plist.concat(data.plist);
  434. _this.ppage += 1;
  435. _this.getAreaList();
  436. uni.stopPullDownRefresh();
  437. console.log("列表", _this.plist)
  438. }).catch((err) => {
  439. uni.showModal({
  440. title: '信息提示',
  441. content: err,
  442. showCancel: false
  443. });
  444. });
  445. },
  446. getAreaList() {
  447. _this.covers = [];
  448. for (var i in _this.plist) {
  449. let EmptyList = {};
  450. EmptyList.id = parseInt(i)
  451. EmptyList.latitude = _this.plist[i].latitude
  452. EmptyList.longitude = _this.plist[i].longitude
  453. EmptyList.iconPath = _this.plist[i].muser.avatar ? _this.plist[i].muser.avatar : _this.$getImageUrl(
  454. 'static/images/applet/dfhead.jpg')
  455. EmptyList.title = _this.plist[i].title
  456. // EmptyList.label = _this.plist[i].title
  457. EmptyList.width = 30
  458. EmptyList.height = 30
  459. _this.covers.push(EmptyList);
  460. }
  461. console.log("查看经纬度", _this.covers)
  462. },
  463. showModal: function(e) {
  464. console.log("查看ID", e)
  465. var index = e.currentTarget.dataset.index;
  466. _this.modal.name = "detailsbox";
  467. _this.modal.brokerinfo = _this.plist[index];
  468. },
  469. hideModal: function(e) {
  470. _this.modal.name = null;
  471. },
  472. // 咨询电话
  473. makeTelephone: function(e) {
  474. var telephone = e.currentTarget.dataset.telephone;
  475. uni.makePhoneCall({
  476. phoneNumber: telephone
  477. });
  478. },
  479. goNavPage: function(pageurl) {
  480. uni.redirectTo({
  481. url: pageurl
  482. });
  483. },
  484. goDetail: function(agentid) {
  485. uni.navigateTo({
  486. url: '/pages/agent/detail?agentid=' + agentid
  487. });
  488. }
  489. }
  490. }
  491. </script>
  492. <style lang="scss">
  493. .echo-agent-list .echo-item .echo-tilpic {
  494. width: 120rpx;
  495. height: 120rpx;
  496. }
  497. .echo-agent-list .echo-item .echo-content {
  498. width: 550rpx;
  499. }
  500. .cu-item:after {
  501. border: 0rpx !important;
  502. }
  503. .itembox {
  504. padding: 10rpx 30rpx;
  505. width: 100%;
  506. display: flex;
  507. justify-content: start;
  508. }
  509. .itembox-til {
  510. width: 160rpx;
  511. }
  512. .itembox-con {
  513. width: 530rpx;
  514. }
  515. .menu {
  516. width: 100%;
  517. background-color: #FFFFFF;
  518. position: relative;
  519. .menu-top {
  520. display: flex;
  521. padding: 25rpx 20rpx;
  522. .menu-top-item {
  523. margin-right: 50rpx;
  524. display: flex;
  525. align-items: center;
  526. font-size: 28rpx;
  527. .item-icon {
  528. margin-left: 10rpx;
  529. // width: 20rpx;
  530. // height: 20rpx;
  531. // display: inline-block;
  532. // background-image: url(@/static/images/goods/up.png);
  533. // background-size: cover;
  534. // background-repeat: no-repeat;
  535. // background-position: center;
  536. //方向向下的箭头图片,实际就是实现了点击下箭头后旋转变成上箭头
  537. }
  538. }
  539. }
  540. }
  541. .mainArea {
  542. width: 100%;
  543. display: flex;
  544. justify-content: space-between;
  545. }
  546. .areaList {
  547. flex: 1;
  548. background-color: #FFFFFF;
  549. .areaScroll {
  550. padding: 30rpx 20rpx 30rpx;
  551. .areaCard {
  552. margin-bottom: 20rpx;
  553. height: 50rpx;
  554. line-height: 50rpx;
  555. font-size: 25rpx;
  556. font-weight: 600;
  557. text-align: center;
  558. border-radius: 25rpx;
  559. }
  560. .areaCardSel {
  561. margin-bottom: 20rpx;
  562. height: 50rpx;
  563. line-height: 50rpx;
  564. font-size: 25rpx;
  565. font-weight: 600;
  566. text-align: center;
  567. border-radius: 25rpx;
  568. background-color: #cd0000;
  569. color: #FFFFFF;
  570. }
  571. }
  572. }
  573. .brokerList {
  574. flex: 3;
  575. .brokerScroll {
  576. padding: 17rpx 17rpx 0;
  577. .brokerCard {
  578. margin-bottom: 15rpx;
  579. padding: 15rpx 15rpx;
  580. display: flex;
  581. background-color: #FFFFFF;
  582. border-radius: 12rpx;
  583. .brokerCard-avatar {
  584. width: 170rpx;
  585. height: 170rpx;
  586. position: relative;
  587. display: flex;
  588. justify-content: center;
  589. .brokerCard-avatar-image {
  590. width: 170rpx;
  591. height: 170rpx;
  592. }
  593. .avatar-bg {
  594. width: 160rpx;
  595. height: 40rpx;
  596. position: absolute;
  597. bottom: 10rpx;
  598. background-size: cover;
  599. background-position: 0 1rpx;
  600. font-size: 13rpx;
  601. color: #F9E2AC;
  602. display: flex;
  603. align-items: center;
  604. .avatar-bg-title {
  605. margin-left: 40rpx;
  606. line-height: 40rpx;
  607. overflow: hidden;
  608. text-overflow: ellipsis;
  609. -webkit-line-clamp: 1;
  610. display: -webkit-box;
  611. -webkit-box-orient: vertical;
  612. }
  613. // .avatar-bg-name {
  614. // margin-left: 5rpx;
  615. // line-height: 30rpx;
  616. // }
  617. }
  618. }
  619. .brokerCard-infor {
  620. flex: 1;
  621. margin-left: 28rpx;
  622. height: 170rpx;
  623. display: flex;
  624. flex-direction: column;
  625. justify-content: space-between;
  626. .infor-header {
  627. font-size: 25rpx;
  628. font-weight: 600;
  629. color: #383838;
  630. display: flex;
  631. align-items: center;
  632. justify-content: space-between;
  633. .infor-header-icon {
  634. width: 100rpx;
  635. height: 20rpx;
  636. }
  637. }
  638. .infor-item {
  639. font-size: 20rpx;
  640. font-weight: 400;
  641. color: #747474;
  642. display: flex;
  643. align-items: center;
  644. .infor-item-icon {
  645. margin-right: 20rpx;
  646. width: 22rpx;
  647. height: 22rpx;
  648. }
  649. .infor-item-text {
  650. flex: 1;
  651. overflow: hidden;
  652. text-overflow: ellipsis;
  653. -webkit-line-clamp: 1;
  654. display: -webkit-box;
  655. -webkit-box-orient: vertical;
  656. }
  657. }
  658. }
  659. }
  660. }
  661. }
  662. </style>