index.vue 23 KB

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