index.vue 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064
  1. <template>
  2. <view>
  3. <view class="topArea">
  4. <image class="topArea-Bg" :src="$getImageUrl('static/images/applet/index/topBg.png')"></image>
  5. <view class="topArea-top" :style="{height:navBarTop + 'px',width:navBarWidth + 'px'}"></view>
  6. <view class="topArea-nav"
  7. :style="{width:navBarWidth + 'px',height:navBarHeight + 'px',lineHeight:navBarHeight + 'px'}">
  8. <view class="nav-title">晋江零工服务平台</view>
  9. <view class="nav-search" :style="{width:navSearchWidth + 'px', height:navBarHeight+'px'}"><u-search
  10. inputAlign="center" :height="navBarHeight-5" placeholder="搜索" :showAction="false"
  11. @search="goSearch"></u-search>
  12. </view>
  13. </view>
  14. <view class="topArea-main">
  15. <view class="main-title">
  16. <view>灵活用工已成</view>
  17. <view>企业用人新趋势</view>
  18. </view>
  19. <view class="main-banner">
  20. <image class="main-banner-image" :src="$getImageUrl('static/images/applet/index/topBanner.png')"
  21. mode="aspectFit">
  22. </image>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="summary">
  27. <view class="topMenu">
  28. <view class="topMenu-item" @click="goLPage('/pages/comjobs/recruitFast')">
  29. <image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuA.png')"></image>
  30. <view class="item-title">晋快招</view>
  31. <view class="item-explain">悬赏招聘</view>
  32. </view>
  33. <view class="topMenu-item" @tap="goJbangjia()">
  34. <image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuB.png')"></image>
  35. <view class="item-title">晋帮家</view>
  36. <view class="item-explain">家政服务</view>
  37. </view>
  38. <view class="topMenu-item" @tap="develop()">
  39. <!-- <view class="topMenu-item" @tap="goLPage('/pages/comjobs/jobDemands')"> -->
  40. <image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuC.png')"></image>
  41. <view class="item-title">晋全能</view>
  42. <view class="item-explain">零工服务</view>
  43. </view>
  44. <view class="topMenu-item" @tap="develop()">
  45. <!-- <view class="topMenu-item" @tap="goLPage('/pages/comjobs/businessHelp')"> -->
  46. <image class="item-icon" :src="$getImageUrl('static/images/applet/index/topMenuD.png')"></image>
  47. <view class="item-title">晋企帮</view>
  48. <view class="item-explain">订单分包</view>
  49. </view>
  50. </view>
  51. <!-- <view class="topMenu-fill"></view> -->
  52. <view class="topApply">
  53. <view class="topApply-left">
  54. <image class="left-icon" :src="$getImageUrl('static/images/applet/index/topApplyIcon.png')"></image>
  55. </view>
  56. <view class="topApply-center">经纪人福利多多</view>
  57. <view class="topApply-right" @tap="pageUrl(1,'/pages/broker/brokerform')">立即申请</view>
  58. </view>
  59. <view class="hot">
  60. <view class="hot-left" @tap="goJbangjia('/pages/goodsList/goodsList?cid=35')">
  61. <image class="hot-left-image" :src="$getImageUrl('static/images/applet/index/hotLeft.png')"
  62. mode="aspectFit"></image>
  63. </view>
  64. <view class="hot-right">
  65. <view class="hot-right-item" @click="goLPage('/pages/train/joinlist')">
  66. <view class="item-top">
  67. <view class="item-top-title">
  68. <view class="title-first">培训专场</view>
  69. <view class="title-second">职场提升小技巧</view>
  70. </view>
  71. <image class="item-top-hotRightOne"
  72. :src="$getImageUrl('static/images/applet/index/hotRighrOne.png')"></image>
  73. </view>
  74. <view class="item-bottom">我要报名</view>
  75. </view>
  76. <view class="hot-right-item" @tap="goLPage('/pages/activity/activityList')">
  77. <image class="item-hotRightTwo"
  78. :src="$getImageUrl('static/images/applet/index/hotRightTwo.png')"></image>
  79. </view>
  80. </view>
  81. </view>
  82. <view class="tabs">
  83. <view :class="selectID == 0 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(0)">
  84. <image v-if="selectID != 0" class="item-icon"
  85. :src="$getImageUrl('static/images/applet/index/tabOneA.png')"></image>
  86. <image v-if="selectID == 0" class="item-icon"
  87. :src="$getImageUrl('static/images/applet/index/tabOneB.png')"></image>
  88. <text class="item-title">悬赏聘</text>
  89. </view>
  90. <view :class="selectID == 1 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(1)">
  91. <image v-if="selectID != 1" class="item-icon"
  92. :src="$getImageUrl('static/images/applet/index/tabTwoA.png')"></image>
  93. <image v-if="selectID == 1" class="item-icon"
  94. :src="$getImageUrl('static/images/applet/index/tabTwoB.png')"></image>
  95. <text class="item-title">超值秒杀</text>
  96. </view>
  97. <view :class="selectID == 2 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(2)">
  98. <image v-if="selectID != 2" class="item-icon"
  99. :src="$getImageUrl('static/images/applet/index/tabThreeA.png')"></image>
  100. <image v-if="selectID == 2" class="item-icon"
  101. :src="$getImageUrl('static/images/applet/index/tabThreeB.png')"></image>
  102. <text class="item-title">推荐服务</text>
  103. </view>
  104. <!-- <view :class="selectID == 3 ? 'tabs-item-select' : 'tabs-item'" @click="selectTab(3)">
  105. <image v-if="selectID != 3" class="item-icon" :src="$getImageUrl('static/images/applet/index/tabFourA.png')"></image>
  106. <image v-if="selectID == 3" class="item-icon" :src="$getImageUrl('static/images/applet/index/tabFourB.png')"></image>
  107. <text class="item-title">手工单</text>
  108. </view> -->
  109. </view>
  110. </view>
  111. <view class="listContent" v-if="selectID == 0">
  112. <view class="listContent-card" v-for="(item,index) in plist" :key="index" @tap="goDetail(item.id)">
  113. <view class="card-infor">
  114. <view class="card-infor-left">
  115. <view class="left-job card-center">
  116. <image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardA.png')">
  117. </image><text class="job-title">岗位:{{item.title}}</text>
  118. </view>
  119. <view class="left-time card-center">
  120. <image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardB.png')">
  121. </image><text>工作时间:8:00-18:00</text>
  122. </view>
  123. </view>
  124. <view class="card-infor-right">
  125. <view class="right-money card-center">
  126. <image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardC.png')">
  127. </image>
  128. <view class="right-money-text">赏金<text class="right-money-num">{{item.retmoney}}元</text>
  129. </view>
  130. <image class="card-iconA" v-if="item.is_pay == 1"
  131. :src="$getImageUrl('static/images/applet/other/paid.png')">
  132. </view>
  133. <view class="right-place card-center">
  134. <image class="card-icon" :src="$getImageUrl('static/images/applet/index/cardD.png')">
  135. </image><text>地点:{{item.district}}</text>
  136. </view>
  137. </view>
  138. </view>
  139. <view class="card-botInfor">
  140. <view class="card-botInfor-company">{{item.worker.title}}</view>
  141. <view class="card-botInfor-more">...</view>
  142. </view>
  143. </view>
  144. <uni-load-more :status="pstatus"></uni-load-more>
  145. </view>
  146. <view class="developing" style="text-align: center;padding: 30rpx 0;color:#797979" v-if="selectID != 0">
  147. 正在开发中,敬请期待
  148. </view>
  149. <view class="padding-sm"></view>
  150. <view class="padding-xl"></view>
  151. <view class="cu-bar tabbar bg-white foot">
  152. <view class="action text-red" @tap="goNavPage('/pages/index/index')">
  153. <view class="cuIcon-cu-image">
  154. <image src="../../static/tabbar/indexSelected.png"></image>
  155. </view>
  156. 首页
  157. </view>
  158. <view class="action text-gray" @tap="goNavPage('/pages/comjobs/comjobs')">
  159. <view class="cuIcon-cu-image">
  160. <image src="../../static/tabbar/jobs.png"></image>
  161. </view>
  162. 招聘
  163. </view>
  164. <!-- #ifndef MP-WEIXIN -->
  165. <view class="action text-gray videoimg" @tap="goNavPage('/pages/video/videolist')">
  166. <view class="cuIcon-cu-image">
  167. <image src="../../static/tabbar/video.png"></image>
  168. </view>
  169. 微工作
  170. </view>
  171. <!-- #endif -->
  172. <view class="action text-gray" @tap="goNavPage('/pages/broker/brokerlist')">
  173. <view class="cuIcon-cu-image">
  174. <image src="../../static/tabbar/broker.png"></image>
  175. </view>
  176. 经纪人
  177. </view>
  178. <view class="action text-gray" @tap="goNavPage('/pages/my/my')">
  179. <view class="cuIcon-cu-image">
  180. <image src="../../static/tabbar/my.png"></image>
  181. </view>
  182. 我的
  183. </view>
  184. </view>
  185. <wxContact ref="wxContact"></wxContact>
  186. </view>
  187. </template>
  188. <script>
  189. import uniLoadMore from "@/components/uni-load-more/uni-load-more.vue";
  190. import QQMapWX from '@/common/qqmap-wx-jssdk';
  191. var _this;
  192. export default {
  193. components: {
  194. uniLoadMore
  195. },
  196. data() {
  197. return {
  198. userinfo: null,
  199. workerinfo: null,
  200. param: [],
  201. slide: [],
  202. cardCur: 0,
  203. searchval: "",
  204. article: [],
  205. navigation: [],
  206. pstatus: 'more',
  207. pstatusn: 'more',
  208. ppage: 1,
  209. ppagen: 1,
  210. psize: 6,
  211. psizen: 20,
  212. plist: [],
  213. plistn: [],
  214. plistl: [],
  215. status: 0,
  216. latitude: 0.000000,
  217. longitude: 0.000000,
  218. useraddress: "",
  219. navBarTop: 0,
  220. navBarHeight: 0,
  221. navBarWidth: 0,
  222. navSearchWidth: 0,
  223. selectID: 0,
  224. };
  225. },
  226. onLoad: function(option) {
  227. _this = this;
  228. _this.status = option.status || 0;
  229. _this.userinfo = uni.getStorageSync('userinfo') || false;
  230. _this.workerinfo = uni.getStorageSync('workerinfo') || false;
  231. if (_this.workerinfo !== false) {
  232. uni.reLaunch({
  233. url: "/pages/worker/worker"
  234. });
  235. return false;
  236. }
  237. uni.getLocation({
  238. success: function(res) {
  239. console.log(res);
  240. console.log('纬度:' + res.latitude);
  241. console.log('经度:' + res.longitude);
  242. _this.latitude = res.latitude;
  243. _this.longitude = res.longitude;
  244. // _this.qqmapsdk.reverseGeocoder({
  245. // location: {
  246. // latitude: res.latitude,
  247. // longitude: res.longitude
  248. // },
  249. // success: function (res) {
  250. // console.log(res.result.address_component);
  251. // //addressinfo=res.result.address_component;
  252. // _this.useraddress = res.result.address_component.province + " " + res.result.address_component.city + " " + res.result.address_component.district;
  253. // },
  254. // fail: function (res) {
  255. // console.log(res)
  256. // },
  257. // complete: function (res) {
  258. // // console.log(res)
  259. // }
  260. // })
  261. }
  262. });
  263. _this.$req.ajax({
  264. path: "index/getindexdata",
  265. }).then((data) => {
  266. _this.param = data.param;
  267. _this.slide = data.slide;
  268. _this.navigation = data.navigation;
  269. _this.article = data.article;
  270. _this.getMore();
  271. }).catch((err) => {
  272. uni.showModal({
  273. title: '信息提示',
  274. content: err,
  275. showCancel: false
  276. });
  277. });
  278. _this.qqmapsdk = new QQMapWX({
  279. // 在腾讯平台自己申请的秘钥
  280. key: 'L2PBZ-J53WR-FUXW6-WB3SD-NWCFO-WYBS6'
  281. });
  282. // let statuBar = uni.getSystemInfoSync()
  283. let menuButtonInfo = uni.getMenuButtonBoundingClientRect();
  284. _this.navBarWidth = menuButtonInfo.left;
  285. _this.navBarTop = menuButtonInfo.top;
  286. _this.navBarHeight = menuButtonInfo.height;
  287. _this.navSearchWidth = menuButtonInfo.width;
  288. console.log("除去胶囊的屏幕宽度", _this.navBarWidth, menuButtonInfo)
  289. },
  290. onShareAppMessage: function(res) {
  291. return {
  292. title: "晋江人力",
  293. path: "/pages/index/index"
  294. }
  295. },
  296. // onPullDownRefresh: function() {
  297. // if (_this.status == 0) {
  298. // _this.ppage = 1;
  299. // _this.plist = [];
  300. // _this.pstatus = 'more';
  301. // } else if (_this.status == 1) {
  302. // _this.ppagen = 1;
  303. // _this.plistn = [];
  304. // _this.pstatusn = 'more';
  305. // } else if (_this.status == 2) {
  306. // _this.ppagen = 1;
  307. // _this.plistn = [];
  308. // _this.plistl = 'more';
  309. // }
  310. // _this.getMore();
  311. // },
  312. onReachBottom: function() {
  313. if (_this.status == 0) {
  314. if (_this.pstatus !== 'more') {
  315. return;
  316. }
  317. } else {
  318. if (_this.pstatusn !== 'more') {
  319. return;
  320. }
  321. }
  322. _this.getMore();
  323. },
  324. methods: {
  325. selectTab(id) {
  326. _this.selectID = id;
  327. },
  328. goSearch(e) {
  329. _this.searchval = e;
  330. console.log("搜索", e, _this.searchval)
  331. if (_this.searchval == "") {
  332. uni.showModal({
  333. title: '信息提示',
  334. content: "请输入要搜索的关键字...",
  335. showCancel: false
  336. });
  337. return false;
  338. }
  339. uni.navigateTo({
  340. url: '/pages/comjobs/comjobs?searchval=' + _this.searchval
  341. });
  342. },
  343. goLPage: function(pageurl) {
  344. _this.userinfo = _this.checkLogin("/pages/index/index");
  345. if (_this.userinfo === false) {
  346. return false;
  347. }
  348. uni.navigateTo({
  349. url: pageurl,
  350. fail: function() {
  351. uni.switchTab({
  352. url: pageurl
  353. });
  354. }
  355. });
  356. },
  357. showConcatModel: function() {
  358. this.$refs.wxContact.showConcatModel();
  359. },
  360. goHome: function() {
  361. uni.setStorageSync('identityinfo', false);
  362. uni.setStorageSync('workerinfo', null);
  363. uni.reLaunch({
  364. url: "/pages/index/home"
  365. });
  366. },
  367. tabSelect: function(e) {
  368. _this.status = e.currentTarget.dataset.status;
  369. _this.pageRefresh();
  370. },
  371. // 搜索
  372. bindInput: function(e) {
  373. _this.searchval = e.detail.value;
  374. },
  375. btnSearch: function() {
  376. if (_this.searchval == "") {
  377. uni.showModal({
  378. title: '信息提示',
  379. content: "请输入要搜索的关键字...",
  380. showCancel: false
  381. });
  382. return false;
  383. }
  384. uni.navigateTo({
  385. url: '/pages/comjobs/comjobs?searchval=' + _this.searchval
  386. });
  387. },
  388. pageRefresh: function() {
  389. if (_this.status == 0) {
  390. _this.pstatus = 'more';
  391. _this.ppage = 1;
  392. _this.plist = [];
  393. } else if (_this.status == 1) {
  394. _this.pstatusn = 'more';
  395. _this.ppagen = 1;
  396. _this.plistn = [];
  397. } else if (_this.status == 2) {
  398. _this.pstatusn = 'more';
  399. _this.ppagen = 1;
  400. _this.plistl = [];
  401. }
  402. _this.getMore();
  403. },
  404. getMore: function() {
  405. // 热门职位
  406. if (_this.status == 0) {
  407. _this.$req.ajax({
  408. path: "comjobs/listcomjobs",
  409. data: {
  410. ppage: _this.ppage,
  411. psize: _this.psize,
  412. rectype: 2
  413. }
  414. }).then((data) => {
  415. _this.pstatus = data.pstatus;
  416. _this.plist = _this.plist.concat(data.plist);
  417. _this.ppage += 1;
  418. console.log("列表数据", _this.plist)
  419. uni.stopPullDownRefresh();
  420. }).catch((err) => {
  421. uni.showModal({
  422. title: '信息提示',
  423. content: err,
  424. showCancel: false
  425. });
  426. });
  427. } else if (_this.status == 1) {
  428. // 附近职位
  429. _this.$req.ajax({
  430. path: "index/listComjobsofnear",
  431. data: {
  432. ppage: _this.ppagen,
  433. psize: _this.psizen,
  434. lat: _this.latitude,
  435. lng: _this.longitude
  436. }
  437. }).then((data) => {
  438. _this.pstatusn = data.pstatus;
  439. _this.plistn = _this.plistn.concat(data.plist);
  440. _this.ppagen += 1;
  441. uni.stopPullDownRefresh();
  442. }).catch((err) => {
  443. uni.showModal({
  444. title: '信息提示',
  445. content: err,
  446. showCancel: false
  447. });
  448. });
  449. } else if (_this.status == 2) {
  450. // 猜你喜欢
  451. _this.$req.ajax({
  452. path: "index/listComjobsLike",
  453. data: {
  454. ppage: _this.ppagen,
  455. psize: _this.psizen,
  456. userid: _this.userinfo.id,
  457. }
  458. }).then((data) => {
  459. _this.pstatusn = data.pstatus;
  460. _this.plistl = _this.plistl.concat(data.plist);
  461. _this.ppagen += 1;
  462. uni.stopPullDownRefresh();
  463. }).catch((err) => {
  464. uni.showModal({
  465. title: '信息提示',
  466. content: err,
  467. showCancel: false
  468. });
  469. });
  470. }
  471. },
  472. goDetail: function(comjobsid) {
  473. uni.navigateTo({
  474. url: '/pages/comjobs/detail?comjobsid=' + comjobsid
  475. });
  476. },
  477. goShop: function(workerid) {
  478. uni.navigateTo({
  479. url: '/pages/worker/shop?workerid=' + workerid
  480. });
  481. },
  482. onClick: function(index) {
  483. var nav = that.navigation[index.index];
  484. if (nav.type == 1) {
  485. uni.navigateTo({
  486. url: nav.link
  487. });
  488. } else {
  489. // #ifdef H5
  490. location.href = nav.link;
  491. // #endif
  492. // #ifndef H5
  493. uni.navigateTo({
  494. url: '/pages/tool/webview?pagesrc=' + encodeURIComponent(nav.link)
  495. });
  496. // #endif
  497. }
  498. },
  499. develop() {
  500. uni.showModal({
  501. title: '信息提示',
  502. content: '正在开发中,敬请期待',
  503. showCancel: false
  504. });
  505. },
  506. goJbangjia(path = '') {
  507. uni.navigateToMiniProgram({
  508. appId: 'wx7c3f5350fb154209',
  509. path: path,
  510. envVersion: 'release',
  511. success(res) {
  512. console.log("跳转小程序成功!", res);
  513. }
  514. })
  515. },
  516. goNavPage: function(pageurl) {
  517. uni.redirectTo({
  518. url: pageurl
  519. });
  520. },
  521. // 轮播图
  522. cardSwiper: function(e) {
  523. _this.cardCur = e.detail.current
  524. },
  525. pageUrl: function(type, tilurl) {
  526. if (type == 1) {
  527. uni.navigateTo({
  528. url: tilurl,
  529. fail: function() {
  530. uni.switchTab({
  531. url: tilurl
  532. });
  533. }
  534. });
  535. } else {
  536. uni.navigateTo({
  537. url: '/pages/tool/webview?pagesrc=' + encodeURIComponent(tilurl)
  538. });
  539. }
  540. },
  541. }
  542. };
  543. </script>
  544. <style lang="scss">
  545. .selectok {
  546. border-bottom: #007AFF solid 2px;
  547. }
  548. .echo-top {
  549. position: relative;
  550. }
  551. .echo-topbg {
  552. width: 750rpx;
  553. position: absolute;
  554. top: 0rpx;
  555. z-index: 0;
  556. }
  557. .cu-list.grid {
  558. background-color: transparent !important;
  559. }
  560. .card-swiper {
  561. height: 300rpx !important;
  562. }
  563. /* 通知 */
  564. .noticbox {
  565. display: flex;
  566. align-items: center;
  567. image {
  568. display: block;
  569. margin: 0rpx;
  570. padding: 0rpx;
  571. width: 150rpx;
  572. height: 35rpx;
  573. }
  574. .uni-swiper-msg-icon {
  575. width: 150rpx;
  576. }
  577. swiper-item {
  578. line-height: 80rpx !important;
  579. }
  580. swiper {
  581. height: 80rpx;
  582. }
  583. navigator {
  584. display: block;
  585. line-height: 80rpx;
  586. height: 80rpx;
  587. font-size: 32rpx;
  588. }
  589. }
  590. /* 热门岗位 */
  591. .echo-page-title {
  592. width: 660rpx;
  593. border-radius: 8rpx 8rpx 0rpx 0rpx;
  594. }
  595. .echo-comjobs-list-item {
  596. padding: 30rpx 15rpx;
  597. margin: 0rpx 17rpx 20rpx 17rpx;
  598. border-radius: 8rpx;
  599. }
  600. .echo-comjobs-list-item:first-child {
  601. border-radius: 0rpx 0rpx 8rpx 8rpx;
  602. }
  603. .join-group {
  604. display: flex;
  605. margin-top: 20px;
  606. box-sizing: border-box;
  607. width: 100%;
  608. padding: 0 60rpx;
  609. }
  610. .join-group .join-right {
  611. margin-left: 40rpx;
  612. width: 450rpx;
  613. }
  614. .join-group .arrow {
  615. position: relative;
  616. }
  617. .join-group .arrow:before {
  618. position: absolute;
  619. top: 0;
  620. right: -20rpx;
  621. bottom: 0;
  622. display: block;
  623. margin: auto;
  624. width: 30rpx;
  625. height: 30rpx;
  626. color: var(--grey);
  627. content: "\e6a3";
  628. text-align: center;
  629. font-size: 34rpx;
  630. font-family: "cuIcon";
  631. line-height: 30rpx;
  632. margin-top: auto;
  633. margin-right: auto;
  634. margin-bottom: auto;
  635. margin-left: auto;
  636. }
  637. .lw-nav-broker {
  638. width: 710rpx;
  639. padding: 20rpx 0 10rpx 0;
  640. margin: 0 auto;
  641. display: flex;
  642. justify-content: space-around;
  643. }
  644. .lw-nav-broker .img {
  645. width: 710rpx;
  646. height: 160rpx;
  647. }
  648. .lw-nav {
  649. width: 710rpx;
  650. padding: 10rpx 0 20rpx 0;
  651. margin: 0 auto;
  652. display: flex;
  653. justify-content: space-around;
  654. }
  655. .lw-nav .img {
  656. width: 160rpx;
  657. height: 160rpx;
  658. }
  659. .topArea {
  660. width: 750rpx;
  661. height: 400rpx;
  662. position: relative;
  663. .topArea-Bg {
  664. position: absolute;
  665. width: 100%;
  666. height: 400rpx;
  667. z-index: -100;
  668. }
  669. .topArea-nav {
  670. padding: 0 20rpx;
  671. display: flex;
  672. justify-content: space-between;
  673. .nav-title {
  674. font-size: 32rpx;
  675. font-family: PingFang SC, PingFang SC;
  676. font-weight: 500;
  677. color: #FFFFFF;
  678. }
  679. .nav-search {}
  680. }
  681. .topArea-main {
  682. width: 100%;
  683. margin-top: 30rpx;
  684. padding: 0 20rpx;
  685. display: flex;
  686. align-items: center;
  687. .main-title {
  688. flex: 1;
  689. display: flex;
  690. flex-direction: column;
  691. justify-content: center;
  692. text-align: center;
  693. color: #FFFFFF;
  694. font-size: 34rpx;
  695. line-height: 50rpx;
  696. }
  697. .main-banner {
  698. flex: 1;
  699. .main-banner-image {
  700. width: 272rpx;
  701. height: 214rpx;
  702. }
  703. }
  704. }
  705. }
  706. .summary {
  707. width: 100%;
  708. margin-top: 60rpx;
  709. background-color: #FFFFFF;
  710. }
  711. .topMenu {
  712. position: relative;
  713. top: -110rpx;
  714. margin: 0 20rpx;
  715. padding: 50rpx 0;
  716. background: #FFFFFF;
  717. box-shadow: 0rpx 6rpx 12rpx 2rpx rgba(0, 0, 0, 0.16);
  718. border-radius: 26rpx 26rpx 26rpx 26rpx;
  719. opacity: 1;
  720. display: flex;
  721. align-items: center;
  722. justify-content: space-between;
  723. .topMenu-item {
  724. flex: 1;
  725. width: 100%;
  726. display: flex;
  727. flex-direction: column;
  728. align-items: center;
  729. justify-content: center;
  730. color: #707070;
  731. font-size: 32rpx;
  732. font-weight: 400;
  733. .item-icon {
  734. width: 60rpx;
  735. height: 60rpx;
  736. margin-bottom: 20rpx;
  737. }
  738. .item-title {
  739. font-weight: 600;
  740. color: #000000;
  741. }
  742. .item-explain {
  743. margin-top: 10rpx;
  744. font-size: 23rpx;
  745. color: #a1a1a1;
  746. }
  747. }
  748. }
  749. .topApply {
  750. margin: -70rpx 20rpx 0;
  751. padding: 20rpx 30rpx;
  752. // height: 141rpx;
  753. background: linear-gradient(270deg, #484353 0%, #6F6F6F 100%);
  754. border-radius: 78rpx;
  755. display: flex;
  756. align-items: center;
  757. justify-content: space-between;
  758. .topApply-left {
  759. width: 98rpx;
  760. height: 98rpx;
  761. border-radius: 50%;
  762. box-shadow: 0rpx 4rpx 8rpx 2rpx rgba(0, 0, 0, 0.3);
  763. opacity: 1;
  764. .left-icon {
  765. width: 98rpx;
  766. height: 98rpx;
  767. border-radius: 50%;
  768. }
  769. }
  770. .topApply-center {
  771. height: 82rpx;
  772. padding: 0 30rpx;
  773. border-left: 2rpx solid rgba(255, 232, 171, 0.16);
  774. font-size: 32rpx;
  775. line-height: 82rpx;
  776. color: #E0E0E0;
  777. }
  778. .topApply-right {
  779. width: 186rpx;
  780. height: 72rpx;
  781. line-height: 72rpx;
  782. text-align: center;
  783. background: linear-gradient(180deg, #FAE7B5 0%, #F3CA7E 100%);
  784. border-radius: 56rpx 56rpx 56rpx 56rpx;
  785. opacity: 1;
  786. font-size: 24rpx;
  787. color: #3F3852;
  788. }
  789. }
  790. .hot {
  791. margin: 40rpx 20rpx 0;
  792. height: 434rpx;
  793. display: flex;
  794. justify-content: space-between;
  795. .hot-left {
  796. width: 49%;
  797. height: 434rpx;
  798. .hot-left-image {
  799. height: 434rpx;
  800. }
  801. }
  802. .hot-right {
  803. width: 49%;
  804. height: 434rpx;
  805. display: flex;
  806. flex-direction: column;
  807. justify-content: space-between;
  808. .hot-right-item {
  809. width: 100%;
  810. height: 208rpx;
  811. background-color: #F0FEFF;
  812. border-radius: 24rpx;
  813. display: flex;
  814. flex-direction: column;
  815. align-items: center;
  816. .item-top {
  817. width: 100%;
  818. margin-top: 30rpx;
  819. padding: 0 30rpx;
  820. display: flex;
  821. justify-content: space-between;
  822. .item-top-title {
  823. color: #017AFE;
  824. .title-first {
  825. font-size: 32rpx;
  826. }
  827. .title-second {
  828. font-size: 20rpx;
  829. border-bottom: 4rpx solid #017AFE;
  830. }
  831. }
  832. .item-top-hotRightOne {
  833. width: 120rpx;
  834. height: 106rpx;
  835. }
  836. }
  837. .item-bottom {
  838. margin-top: 10rpx;
  839. width: 190rpx;
  840. height: 50rpx;
  841. border-radius: 25rpx;
  842. background-color: #B4F6FF;
  843. line-height: 50rpx;
  844. text-align: center;
  845. font-size: 28rpx;
  846. color: #017AFE;
  847. }
  848. .item-hotRightTwo {
  849. width: 100%;
  850. height: 208rpx;
  851. }
  852. }
  853. }
  854. }
  855. .tabs {
  856. padding-top: 20rpx;
  857. display: flex;
  858. align-items: center;
  859. justify-content: space-between;
  860. .tabs-item-select {
  861. flex: 1;
  862. height: 76rpx;
  863. display: flex;
  864. align-items: center;
  865. justify-content: center;
  866. font-size: 28rpx;
  867. color: #CA151C;
  868. border-bottom: 4rpx solid #CA151C;
  869. }
  870. .tabs-item {
  871. flex: 1;
  872. height: 76rpx;
  873. display: flex;
  874. align-items: center;
  875. justify-content: center;
  876. font-size: 28rpx;
  877. color: #717171;
  878. border-bottom: 4rpx solid transparent;
  879. }
  880. .item-icon {
  881. width: 27rpx;
  882. height: 27rpx;
  883. }
  884. .item-title {
  885. margin-left: 15rpx;
  886. }
  887. }
  888. .listContent {
  889. width: 100%;
  890. padding: 20rpx 26rpx;
  891. .listContent-card {
  892. margin-bottom: 24rpx;
  893. width: 100%;
  894. height: 268rpx;
  895. background-color: #FFFFFF;
  896. border-radius: 12rpx;
  897. .card-infor {
  898. height: 182rpx;
  899. padding: 0 20rpx;
  900. border-bottom: 2rpx solid #E2E2E2;
  901. display: flex;
  902. align-items: center;
  903. justify-content: space-between;
  904. font-size: 28rpx;
  905. color: #747474;
  906. .card-icon {
  907. margin-right: 10rpx;
  908. width: 35rpx;
  909. height: 35rpx;
  910. }
  911. .card-iconA {
  912. margin-left: 10rpx;
  913. width: 40rpx;
  914. height: 40rpx;
  915. }
  916. .card-center {
  917. height: 56rpx;
  918. display: flex;
  919. align-items: center;
  920. }
  921. .card-infor-left {
  922. width: 50%;
  923. .left-job {
  924. margin-bottom: 30rpx;
  925. color: #383838;
  926. font-weight: 600;
  927. .job-title {
  928. width: 340rpx;
  929. overflow: hidden;
  930. text-overflow: ellipsis;
  931. -webkit-line-clamp: 1;
  932. display: -webkit-box;
  933. -webkit-box-orient: vertical;
  934. }
  935. }
  936. }
  937. .card-infor-right {
  938. width: 45%;
  939. .right-money {
  940. margin-bottom: 30rpx;
  941. .right-money-text {
  942. overflow: hidden;
  943. text-overflow: ellipsis;
  944. -webkit-line-clamp: 1;
  945. display: -webkit-box;
  946. -webkit-box-orient: vertical;
  947. .right-money-num {
  948. margin-left: 10rpx;
  949. font-size: 30rpx;
  950. color: #FF0000;
  951. font-weight: 600;
  952. }
  953. }
  954. }
  955. }
  956. }
  957. .card-botInfor {
  958. height: 86rpx;
  959. padding: 0 20rpx;
  960. display: flex;
  961. align-items: center;
  962. justify-content: space-between;
  963. }
  964. }
  965. }
  966. </style>