home.js.map
59.0 KB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/home/home.vue?fac2","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/home/home.vue?434e","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/home/home.vue?9dda","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/home/home.vue?1e4c","uni-app:///pages/student/tabBar/home/home.vue","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/home/home.vue?0491","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/home/home.vue?ebdf"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,wG;AACAA,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACwD;AACL;AACsC;;;AAGzF;AACyN;AACzN,gBAAgB,iNAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,mNAEN;AACP,KAAK;AACL;AACA,aAAa,oNAEN;AACP,KAAK;AACL;AACA,aAAa,8PAEN;AACP,KAAK;AACL;AACA,aAAa,kMAEN;AACP,KAAK;AACL;AACA,aAAa,+LAEN;AACP,KAAK;AACL;AACA,aAAa,oNAEN;AACP,KAAK;AACL;AACA,aAAa,0QAEN;AACP,KAAK;AACL;AACA,aAAa,8MAEN;AACP,KAAK;AACL;AACA,aAAa,qMAEN;AACP;AACA;AACA,CAAC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uBAUA,CAVA,EAUA;AACA;AACA;AACA;AACA;AACA,8CADA;AAEA;AACA,wBADA;AAEA,0BAFA;AAGA,2CAHA,EAFA;;;AAQA,OAVA,MAUA;AACA;AACA,8BADA;AAEA,6BAFA;AAGA;AACA,iBAJA,mBAIA,GAJA,EAIA;AACA;AACA,WANA;;AAQA;AACA,KAhCA;;AAkCA,yBAlCA,mCAkCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OARA;AASA,KAvDA;;AAyDA,YAzDA,oBAyDA,MAzDA,EAyDA;AACA;AACA;AACA;AACA;AACA,KA9DA;;AAgEA,uBAhEA,+BAgEA,MAhEA,EAgEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KArFA;;AAuFA,iBAvFA,2BAuFA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA,SA/BA;AAgCA,2CAhCA;;AAkCA,KA1HA;;AA4HA,gBA5HA,wBA4HA,KA5HA,EA4HA;AACA;AACA,KA9HA;;AAgIA,aAhIA,qBAgIA,IAhIA,EAgIA;AACA;AACA,oBADA;AAEA,uBAFA;AAGA,uBAHA;;AAKA,KAtIA;;AAwIA,kBAxIA,0BAwIA,IAxIA,EAwIA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA,KA/IA;;AAiJA,UAjJA,kBAiJA,IAjJA,EAiJA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KAvJA;;AAyJA,iBAzJA,2BAyJA;AACA;AACA;AACA,qBADA;AAEA,4BAFA;AAGA;AACA;AACA;AACA,sDADA;;AAGA;AACA;AACA;AACA;AACA,oCADA;AAEA,sCAFA,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TA,YAnTA,sBAmTA;AACA;AACA,kDADA;AAEA;AACA,mDADA;AAEA,+CAFA;AAGA,gDAHA;AAIA,oBAJA,EAFA;;;AASA,KA7TA;;AA+TA,YA/TA,oBA+TA,CA/TA,EA+TA;AACA;AACA;AACA,wDADA;AAEA;AACA,kBADA,EAFA;;;AAMA,KAvUA;;AAyUA,UAzUA,kBAyUA,KAzUA,EAyUA;AACA;AACA;AACA;AACA;AACA,KA9UA;;AAgVA,YAhVA,sBAgVA;AACA;AACA;AACA;AACA;AACA,KArVA;;AAuVA;AACA,WAxVA,mBAwVA,aAxVA,EAwVA;;AAEA,sBAFA,GAEA,EAFA;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAPA,MAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AAtEA;AAwEA,uCAxEA;AAyEA,wDAzEA;;AA2EA,6DA3EA;;AA6EA,KAraA;AAsaA;AACA,YAvaA,sBAuaA;AACA;AACA;AACA;;AAEA;AALA,0CAMA,gBANA,QAMA,MANA;;AAQA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,iBAFA,MAEA;AACA;AACA;;AAEA,2BAvBA,GAuBA,kBAvBA;;AAyBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAFA,MAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBALA;AAMA;AACA;AACA;AACA,qBAVA,MAUA;AACA;AACA;AACA;;AAEA;AACA;AACA,iBA3CA;;AA6CA;AACA;AACA;AACA,iBAzEA;AA0EA,KAjfA;;AAmfA,QAnfA,gBAmfA,IAnfA,EAmfA;AACA,cADA,GACA,WADA,CACA,QADA;;AAGA;AACA;AACA;AACA,gBAHA;;AAKA,KA3fA;;AA6fA,aA7fA,uBA6fA;AACA;AACA;AACA,8DADA;AAEA;AACA,6BADA,EAFA;;;AAMA,KArgBA;;AAugBA,qBAvgBA,6BAugBA,CAvgBA,EAugBA;AACA;AACA,KAzgBA,EAtKA,E;;;;;;;;;;;;;ACxRA;AAAA;AAAA;AAAA;AAAomD,CAAgB,o5CAAG,EAAC,C;;;;;;;;;;;ACAxnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/student/tabBar/home/home.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/student/tabBar/home/home.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./home.vue?vue&type=template&id=6574a34b&scoped=true&\"\nvar renderjs\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./home.vue?vue&type=style&index=0&id=6574a34b&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6574a34b\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/student/tabBar/home/home.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=template&id=6574a34b&scoped=true&\"","var components\ntry {\n components = {\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-swiper/u-swiper\" */ \"@/uview-ui/components/u-swiper/u-swiper.vue\"\n )\n },\n uSticky: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-sticky/u-sticky\" */ \"@/uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tabs/u-tabs\" */ \"@/uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n uTag: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tag/u-tag\" */ \"@/uview-ui/components/u-tag/u-tag.vue\"\n )\n },\n cLoading: function() {\n return import(\n /* webpackChunkName: \"components/c-loading/c-loading\" */ \"@/components/c-loading/c-loading.vue\"\n )\n },\n uSelect: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-select/u-select\" */ \"@/uview-ui/components/u-select/u-select.vue\"\n )\n },\n uTabbar: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tabbar/u-tabbar\" */ \"@/uview-ui/components/u-tabbar/u-tabbar.vue\"\n )\n },\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n yxlyLogin: function() {\n return import(\n /* webpackChunkName: \"components/yxly-login/yxly-login\" */ \"@/components/yxly-login/yxly-login.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 = _vm.splitStr(_vm.nowCity)\n var m1 = _vm.handleSearchMoreNum(_vm.morefilter)\n var m2 = _vm.handleSearchMoreNum(_vm.morefilter)\n var m3 = m2 > 0 ? _vm.handleSearchMoreNum(_vm.morefilter) : null\n var l1 = _vm.shownoData\n ? _vm.__map(_vm.list, function(item, i) {\n var $orig = _vm.__get_orig(item)\n\n var m4 = _vm.getSalary(item)\n var m5 = _vm.getAge(item)\n var m6 = _vm.getWorkExperience(item.work_period)\n var m7 = _vm.getDegree(item.require_degree)\n var l0 =\n _vm.morefilter.welfares && _vm.morefilter.welfares.length > 0\n ? _vm.formatWelfares(item.welfares)\n : null\n return {\n $orig: $orig,\n m4: m4,\n m5: m5,\n m6: m6,\n m7: m7,\n l0: l0\n }\n })\n : null\n\n var l2 = _vm.__map(_vm.addressList, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m8 = _vm.analysisArea(item)\n return {\n $orig: $orig,\n m8: m8\n }\n })\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.yxlyLoginShow = false\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n m2: m2,\n m3: m3,\n l1: l1,\n l2: l2\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=script&lang=js&\"","<template>\r\n <view style=\"background-color: #fff\" :style=\"vuex_theme\">\r\n <view class=\"navbar\" :style=\"{ height: navigationBarHeight + 'rpx' }\">\r\n <view class=\"header\">\r\n <image\r\n :style=\"{width: vuex_appId == 'wx2a515776284cae17' ? '119px' : '100px'}\"\r\n v-if=\"!topSearchHeight\"\r\n class=\"logo\"\r\n :src=\"vuex_baseImgUrl && `${vuex_baseImgUrl}homelogo.png`\"\r\n alt=\"\"\r\n />\r\n <view\r\n :style=\"{ width: topSearchHeight + 116 + 'px' }\"\r\n class=\"search\"\r\n @click=\"handelLink('search')\"\r\n >\r\n <image\r\n class=\"searchIcon\"\r\n src=\"/static/img/home/homeSearch.png\"\r\n alt=\"\"\r\n />\r\n <view class=\"t\">请输入职位</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"head\" :style=\"{ marginTop: navigationBarHeight + 32 + 'rpx' }\">\r\n <u-swiper\r\n :border-radius=\"16\"\r\n :height=\"260\"\r\n :list=\"bannerlist\"\r\n @click=\"bannerIndex()\"\r\n ></u-swiper>\r\n <!-- <view class=\"menu\" v-if=\"vuex_role=='student'\"> -->\r\n <!-- <view class=\"zhilian\" v-if=\"vuex_appId == 'wx84b71301436652ce'\">\r\n <view class=\"\">\r\n <image src=\"/static/img/home/text_zhilian.png\" style=\"width: 152rpx;height: 42rpx;margin-bottom:12rpx\"></image>\r\n <view class=\"text\">优学乐业与智联战略合作</view>\r\n <view class=\"text\">只为提供更优质职位需求</view>\r\n </view>\r\n <view class=\"btn_detail\" @click=\"goZhilian\">\r\n 进入智联专区\r\n </view>\r\n </view> -->\r\n <view class=\"menu\">\r\n <view class=\"menu-box\" @click=\"goFilter('school')\">\r\n <view style=\"display: flex; flex-direction: column\">\r\n <view class=\"t1\"> 宣讲会 </view>\r\n <view class=\"t2\"> 火热进行中 </view>\r\n </view>\r\n <img\r\n :src=\"vuex_baseImgUrl && `${vuex_baseImgUrl}homemenu1.png`\"\r\n alt=\"\"\r\n />\r\n </view>\r\n <view class=\"menu-box\" @click=\"goFilter('society')\">\r\n <view style=\"display: flex; flex-direction: column\">\r\n <view class=\"t1\"> 双选会 </view>\r\n <view class=\"t2\"> 敬请期待 </view>\r\n </view>\r\n <img\r\n :src=\"vuex_baseImgUrl && `${vuex_baseImgUrl}homemenu2.png`\"\r\n alt=\"\"\r\n />\r\n </view>\r\n <view class=\"menu-line\"></view>\r\n </view>\r\n </view>\r\n <u-sticky\r\n :offset-top=\"navigationBarHeight\"\r\n @fixed=\"handleStickyFixed('fixed')\"\r\n @unfixed=\"handleStickyFixed('unfixed')\"\r\n >\r\n <view class=\"sticky_content\">\r\n\r\n <view class=\"tab_box\">\r\n <view class=\"tab\">\r\n <u-tabs\r\n :list=\"tabs\"\r\n :is-scroll=\"true\"\r\n :current=\"0\"\r\n bar-width=\"140\"\r\n bar-height=\"10\"\r\n fontSize=\"34\"\r\n :bar-style=\"{\r\n background: 'linear-gradient(to right,var(--primary-color100), #fff)',\r\n bottom: '10px',\r\n zIndex: '0',\r\n }\"\r\n :active-item-style=\"{\r\n fontSize: '34rpx',\r\n color: '#000',\r\n zIndex: '1',\r\n }\"\r\n ></u-tabs>\r\n </view>\r\n </view>\r\n\r\n <view class=\"search_wrap\">\r\n <view class=\"left\">\r\n <text @click=\"change(index)\" :class=\"rcurrent == index && 'check'\" v-for=\"(item, index) in recommendVlist\" :key=\"index\">{{ item.name }}</text>\r\n </view>\r\n\r\n <view class=\"right\">\r\n\r\n <view class=\"select\" @click=\"handelLink('city')\">\r\n <text :style=\"{color: nowCity == '全国' ? '#353535' : 'var(--primary-color)'}\">{{ splitStr(nowCity) }}</text>\r\n <image src=\"/static/img/recruit/select.png\"></image>\r\n </view>\r\n\r\n <view class=\"select\" @click=\"morefilterS\">\r\n <text\r\n :style=\"{color: handleSearchMoreNum(morefilter) > 0 ? 'var(--primary-color)' : '#353535'}\">\r\n 筛选{{ `${handleSearchMoreNum(morefilter) > 0 ? `· ${handleSearchMoreNum(morefilter)}` : ''}` }}\r\n </text>\r\n <image src=\"/static/img/recruit/select.png\"></image>\r\n </view>\r\n\r\n <!-- <view class=\"focus_bg1\" @click=\"filterhy\">\r\n <text\r\n style=\"font-size: 24rpx; color: #646464; margin-right: 10rpx\"\r\n >{{\r\n category_title == \"\" ? \"职位\" : splitStr(category_title)\r\n }}</text\r\n >\r\n <image\r\n style=\"width: 10rpx; height: 10rpx\"\r\n src=\"/static/img/recruit/icon-focus.png\"\r\n ></image>\r\n </view> -->\r\n \r\n </view>\r\n </view>\r\n\r\n </view>\r\n \r\n </u-sticky>\r\n\r\n <view class=\"list\" style=\"background-color: #fff\">\r\n <view v-if=\"shownoData\">\r\n <view v-for=\"(item, i) in list\" :key=\"i\">\r\n <view class=\"items\" @click=\"goDetail(item)\">\r\n \r\n <view class=\"header\">\r\n <view class=\"title\">\r\n <image v-if=\"item.source == 'zhilian'\" src=\"/static/img/my/zhilian.png\" />\r\n <view class=\"society\" v-if=\"item.position_type == 'society'\">社招</view>\r\n <view class=\"school\" v-if=\"item.position_type == 'school'\">校招</view>\r\n <view class=\"internship\" v-if=\"item.position_type == 'internship'\">实习</view>\r\n <view class=\"name\">{{ item.name }}</view>\r\n </view>\r\n <view class=\"salary\">{{ getSalary(item) }}</view>\r\n </view>\r\n\r\n <view style=\"margin-top: 20rpx; display: flex\">\r\n <view style=\"width: fit-content\">\r\n <u-tag\r\n :text=\"getAge(item)\"\r\n border-color=\"#f7f7f7\"\r\n bg-color=\"#f7f7f7\"\r\n color=\"#646464\"\r\n type=\"info\"\r\n />\r\n </view>\r\n <view style=\"margin-left: 12rpx; width: fit-content\">\r\n <u-tag\r\n :text=\"getWorkExperience(item.work_period)\"\r\n bg-color=\"#f7f7f7\"\r\n color=\"#646464\"\r\n border-color=\"#f7f7f7\"\r\n type=\"info\"\r\n />\r\n </view>\r\n <view style=\"margin-left: 12rpx; width: fit-content\">\r\n <u-tag\r\n :text=\"getDegree(item.require_degree)\"\r\n bg-color=\"#f7f7f7\"\r\n color=\"#646464\"\r\n border-color=\"#f7f7f7\"\r\n type=\"info\"\r\n />\r\n </view>\r\n </view>\r\n\r\n <view class=\"company\">\r\n <view class=\"title\">\r\n <image src=\"/static/img/my/company.png\"></image>\r\n <view class=\"name\">{{ item.customer }}</view>\r\n </view>\r\n <view class=\"city\">{{ item.card_city }}</view>\r\n </view>\r\n \r\n <view\r\n class=\"welfares\"\r\n v-if=\"morefilter.welfares && morefilter.welfares.length > 0\"\r\n >\r\n <text v-for=\"(el, i) in formatWelfares(item.welfares)\" :key=\"i\" class=\"welfare\">{{ el }}</text>\r\n </view>\r\n </view>\r\n </view>\r\n <view style=\"height: 20rpx\"></view>\r\n <c-loading :loading=\"loading\"></c-loading>\r\n <view style=\"height: 20rpx\"></view>\r\n </view>\r\n <view v-else class=\"no_data\">\r\n <image\r\n class=\"img\"\r\n lazy-load=\"true\"\r\n :src=\"vuex_baseImgUrl && `${vuex_baseImgUrl}noData.png`\"\r\n ></image>\r\n <view\r\n style=\"\r\n font-size: 16px;\r\n color: #333333;\r\n margin-top: 60rpx;\r\n text-align: center;\r\n \"\r\n >暂无数据</view\r\n >\r\n </view>\r\n </view>\r\n \r\n <u-select\r\n @confirm=\"onConfirmArea\"\r\n v-model=\"select_visible\"\r\n mode=\"mutil-column-auto\"\r\n :list=\"area\"\r\n :default-value=\"defaultValue\"\r\n confirm-color=\"var(--primary-color)\"\r\n ></u-select>\r\n <u-tabbar\r\n :list=\"vuex_role == 'student' ? vuex_tabbar_inter : vuex_tabbar\"\r\n :mid-button=\"false\"\r\n :before-switch=\"beforeSwitch\"\r\n :active-color=\"'var(--primary-color)'\"\r\n ></u-tabbar>\r\n <u-popup\r\n class=\"popup\"\r\n v-model=\"show\"\r\n :border-radius=\"22\"\r\n mode=\"bottom\"\r\n closeable=\"true\"\r\n close-icon-size=\"36\"\r\n >\r\n <view class=\"title\">全部工作地点</view>\r\n <view style=\"width: 100%; height: 1rpx; background-color: #ebebeb\"></view>\r\n <view v-for=\"(item, index) in addressList\" :key=\"index\">\r\n <view class=\"list\" @click.stop=\"gotomp('1', item)\">\r\n <text class=\"text\">{{ analysisArea(item) }}</text>\r\n <image\r\n src=\"/static/img/common/arrow_right.png\"\r\n style=\"width: 32rpx; height: 32rpx; margin-left: auto\"\r\n ></image>\r\n </view>\r\n </view>\r\n <view\r\n style=\"width: 100%; height: 100rpx; background-color: #ffffff\"\r\n ></view>\r\n </u-popup>\r\n <u-popup v-model=\"yxlyLoginShow\" mode=\"bottom\" border-radius=\"18\">\r\n <yxly-login\r\n @clickX=\"yxlyLoginShow = false\"\r\n @callBack=\"sucesslogin\"\r\n ></yxly-login>\r\n </u-popup>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport { mapState, mapActions } from \"vuex\";\r\nimport listMixin from \"@/common/mixins/list-mixin.js\";\r\nimport area from \"@/common/area\";\r\nvar QQMapWX = require(\"@/common/qqmap-wx-jssdk.js\");\r\nimport {\r\n getAreaByCode,\r\n degreeOptions,\r\n workOptions,\r\n analysisArea,\r\n handleFormateSalary,\r\n} from \"@/common/util.js\";\r\n\r\nexport default {\r\n mixins: [listMixin],\r\n data() {\r\n return {\r\n yxlyLoginShow: false,\r\n area,\r\n getAreaByCode,\r\n analysisArea,\r\n handleFormateSalary,\r\n searchWidth: 0,\r\n height: 0,\r\n marginTop: 0,\r\n paddingTop: 0,\r\n list: [],\r\n tabs: [\r\n {\r\n name: \"全部职位\",\r\n },\r\n // {\r\n // name: \"附近推荐\",\r\n // },\r\n ],\r\n rcurrent: 0,\r\n recommendVlist: [\r\n {\r\n name: \"推荐\",\r\n },\r\n {\r\n name: \"附近\",\r\n },\r\n ],\r\n degreeOptions,\r\n workOptions,\r\n verified: true,\r\n topSearchHeight: 0,\r\n current: 0, // tabs组件的current值,表示当前活动的tab选项\r\n swiperCurrent: 0, // swiper组件的current值,表示当前那个swiper-item是活动的\r\n swiperHeight: 0,\r\n searchHeight: 0,\r\n navigationBarHeight: 0,\r\n shownoData: false,\r\n select_visible: false,\r\n morefilter: {\r\n gender: \"\",\r\n work_period: \"\",\r\n require_degree: \"\",\r\n // salary: '',\r\n lowSalary: \"\",\r\n heightSalary: \"\",\r\n position_type: \"\",\r\n welfares: \"\",\r\n wagetype: \"\",\r\n },\r\n filterHy: \"\",\r\n position_category: \"\",\r\n sub_category: \"\",\r\n expectJob_category: \"\",\r\n category_title: \"\",\r\n nowCity: \"全国\",\r\n nowCityform: [],\r\n search: {\r\n //搜索对象必须为key search的对象\r\n keySearch: \"\",\r\n categories: \"\",\r\n cityCodes: \"\",\r\n category: \"\",\r\n cityCode: \"\",\r\n },\r\n show: false,\r\n addressList: [],\r\n expectList: [],\r\n showFilter: true,\r\n defaultValue: [0, 0, 0],\r\n ltg: 0,\r\n lng: 0,\r\n bannerlist: [],\r\n };\r\n },\r\n\r\n onLoad(e) {\r\n if (e.role == \"student\") {\r\n this.$u.vuex(\"vuex_role\", \"student\");\r\n } else if (e.role == \"work\") {\r\n this.$u.vuex(\"vuex_role\", \"work\");\r\n }\r\n\r\n if (this.vuex_token != \"\") {\r\n this.getUserResume().then(function (res) {\r\n if (res.id != \"\") {\r\n uni.$u.api.getactivenoticeUrl();\r\n }\r\n });\r\n }\r\n\r\n if (this.vuex_role == \"student\") {\r\n this.morefilter.position_type = \"\";\r\n } else if (this.vuex_role == \"work\") {\r\n this.morefilter.position_type = \"society\";\r\n } else {\r\n this.morefilter.position_type = \"\";\r\n }\r\n\r\n uni.$on(\"handleSuccess\", (data) => {\r\n if (data) {\r\n this.rcurrent = 0;\r\n this.position_category = \"\";\r\n this.sub_category = \"\";\r\n this.expectJob_category = \"\";\r\n this.category_title = \"\";\r\n this.morefilter.gender = \"\";\r\n this.morefilter.work_period = \"\";\r\n this.morefilter.require_degree = \"\";\r\n this.morefilter.lowSalary = \"\";\r\n this.morefilter.heightSalary = \"\";\r\n this.morefilter.welfares = \"\";\r\n this.morefilter.wagetype = \"\";\r\n if (this.vuex_role == \"student\") {\r\n this.morefilter.position_type = \"\";\r\n } else if (this.vuex_role == \"work\") {\r\n this.morefilter.position_type = \"society\";\r\n } else {\r\n this.morefilter.position_type = \"\";\r\n }\r\n this.getMyLocation();\r\n }\r\n });\r\n\r\n this.getSystemInfo();\r\n },\r\n\r\n async onShow() {\r\n \r\n this.tabs[0].name = this.vuex_expect_job\r\n\r\n uni.hideTabBar();\r\n \r\n if (this.vuex_role != \"\" && this.nowCity == \"全国\") {\r\n this.getMyLocation();\r\n }\r\n\r\n this.getyxlybannersUrlLoad();\r\n\r\n // if (this.vuex_user && this.vuex_token){\r\n // this.getExpectList()\r\n // }\r\n\r\n // let msgs = this.vuex_role=='student'?this.vuex_tabbar_inter:this.vuex_tabbar\r\n // for (let i = 0; i < msgs.length; i++) {\r\n // \tlet item = msgs[i]\r\n // \tif (item.text == '消息') {\r\n // \t\titem.count = 1\r\n // \t}\r\n // }\r\n },\r\n\r\n onUnload() {\r\n uni.$off(\"handleSuccess\");\r\n },\r\n\r\n computed: {\r\n ...mapState({\r\n vuex_token: \"vuex_token\",\r\n student: (state) => state.vuex_user.student,\r\n }),\r\n },\r\n\r\n methods: {\r\n async getUserResume() {\r\n const resume = await uni.$u.api.getResumeDetailApi();\r\n return resume;\r\n },\r\n\r\n sucesslogin() {\r\n this.getMyLocation();\r\n },\r\n\r\n bannerIndex(e) {\r\n let item = this.bannerlist[e];\r\n if (item.jumpObject == \"website\") {\r\n let urlPas = item.website;\r\n this.$u.route({\r\n url: \"/pages/common/webview/webview\",\r\n params: {\r\n navtitle: \"\",\r\n type: \"treary\",\r\n url: encodeURIComponent(urlPas),\r\n },\r\n });\r\n } else if (item.jumpObject == \"applet\") {\r\n wx.navigateToMiniProgram({\r\n appId: item.appletId,\r\n path: item.jumpPath,\r\n // envVersion: 'develop',\r\n success(res) {\r\n // console.info(res);\r\n },\r\n });\r\n }\r\n },\r\n\r\n getyxlybannersUrlLoad() {\r\n // this.$u.api.getyxlybannersUrl({\r\n // \ttype: 'u'\r\n // }).then(res => {\r\n // \tconsole.log('res', res)\r\n // \tthis.bannerlist = res.items\r\n // \tfor (var i = 0; i < this.bannerlist.length; i++) {\r\n // \t\tlet item = this.bannerlist[i];\r\n // \t\titem.image = item.image_url\r\n // \t}\r\n // })\r\n\r\n this.$u.api.marketingConfigUrlapi(\"yxly_applet\", \"index_banner\").then((res) => {\r\n // console.log(\"res\", res);\r\n this.bannerlist = res.marketingDetailConfigList;\r\n for (var i = 0; i < this.bannerlist.length; i++) {\r\n let item = this.bannerlist[i];\r\n let url = JSON.parse(item.picUrl);\r\n item.image = this.vuex_ossUrlPubilc + \"/\" + url[0].response.object;\r\n }\r\n });\r\n },\r\n\r\n splitStr(params) {\r\n if (params && params.length > 4) {\r\n params = params.substring(0, 4) + \"...\";\r\n }\r\n return params;\r\n },\r\n\r\n handleSearchMoreNum(params) {\r\n let arr = []\r\n if (params.position_type) {\r\n arr.push(params.position_type)\r\n }\r\n if (params.work_period) {\r\n const period = params.work_period.split(',')\r\n arr = [...arr, ...period]\r\n }\r\n if (params.require_degree && params.require_degree != '1') {\r\n const degree = params.require_degree.split(',')\r\n arr = [...arr, ...degree]\r\n }\r\n if (params.wagetype) {\r\n arr.push(params.wagetype);\r\n }\r\n if (params.welfares) {\r\n const welfares = params.welfares.split(',')\r\n arr = [...arr, ...welfares]\r\n }\r\n return arr.length\r\n },\r\n\r\n getSystemInfo() {\r\n uni.getSystemInfo({\r\n success: (res) => {\r\n let menuButtonInfo = uni.getMenuButtonBoundingClientRect();\r\n let menuLeft = menuButtonInfo.left;\r\n let menuHeight = menuButtonInfo.height;\r\n let menuTop = menuButtonInfo.top;\r\n\r\n // 状态栏高度\r\n let statusBarHeight = res.statusBarHeight;\r\n let platform = res.platform;\r\n let winWidth = res.windowWidth;\r\n\r\n let excludeStatusBarHeight = 44;\r\n if (platform == \"android\") {\r\n excludeStatusBarHeight = 48;\r\n }\r\n\r\n let paddingTop = menuTop + menuHeight;\r\n\r\n let proportion = 750 / winWidth;\r\n\r\n // this.searchWidth = menuLeft * proportion + \"rpx\";\r\n // this.searchHeight = menuHeight * proportion + \"rpx\";\r\n // this.marginTop = menuTop * proportion + \"rpx\";\r\n // this.paddingTop = paddingTop * proportion + 82 + \"rpx\";\r\n\r\n let navigationBarHeight = statusBarHeight + excludeStatusBarHeight;\r\n\r\n this.navigationBarHeight = navigationBarHeight * proportion;\r\n\r\n // console.log(this.searchHeight, this.navigationBarHeight);\r\n },\r\n complete: function (res) {},\r\n });\r\n },\r\n\r\n beforeSwitch(index) {\r\n return true;\r\n },\r\n\r\n getSalary(item) {\r\n return handleFormateSalary(\r\n item.wage_type,\r\n item.lower_salary,\r\n item.upper_salary\r\n );\r\n },\r\n\r\n formatWelfares(data) {\r\n if (data) {\r\n const dataArr = data.split(',')\r\n return dataArr\r\n } else {\r\n return [];\r\n }\r\n },\r\n\r\n getAge(item) {\r\n if (item.upper_age == 0) {\r\n return `年龄不限`;\r\n } else {\r\n return `${item.lower_age}岁-${item.upper_age}岁`;\r\n }\r\n },\r\n\r\n getMyLocation() {\r\n let _this = this;\r\n uni.getLocation({\r\n type: \"gcj02\",\r\n isHighAccuracy: true,\r\n success: (res) => {\r\n // console.log(res);\r\n let qqmapsdk = new QQMapWX({\r\n key: \"S7NBZ-VHDED-G6D4X-HSEPQ-TWY2V-4GBX4\",\r\n });\r\n this.ltg = res.latitude;\r\n this.lng = res.longitude;\r\n qqmapsdk.reverseGeocoder({\r\n location: {\r\n latitude: res.latitude,\r\n longitude: res.longitude,\r\n },\r\n success: (re) => {\r\n // console.log(re);\r\n _this.nowCity = re.result.ad_info.city;\r\n const code = _this.getAreaByCode(re.result.ad_info.adcode);\r\n _this.nowCityform = [code[0], code[1], code[1]]\r\n },\r\n complete: () => {\r\n _this.loadData();\r\n },\r\n });\r\n },\r\n fail(e) {\r\n // console.log(\"error\", e);\r\n _this.loadData();\r\n },\r\n });\r\n },\r\n\r\n splitCity(params) {\r\n if (params && params.length > 5) {\r\n params = params.substring(0, 5) + \"...\";\r\n }\r\n return params;\r\n },\r\n\r\n onConfirmArea(e) {\r\n // console.log(\"onConfirmArea--\", e);\r\n this.defaultValue = [];\r\n this.nowCity = e[2].label == \"全部\" ? e[0].label + e[1].label : e[2].label;\r\n this.nowCityform = this.getAreaByCode(e[2].value);\r\n this.loadData();\r\n },\r\n\r\n handelLink(type) {\r\n switch (type) {\r\n case \"city\":\r\n this.select_visible = true;\r\n break;\r\n case \"search\":\r\n this.$u.route({\r\n url: \"/pages/common/search/search\",\r\n params: {\r\n type: \"c\",\r\n },\r\n });\r\n return;\r\n default:\r\n break;\r\n }\r\n },\r\n\r\n getWorkExperience(type) {\r\n for (var i = 0; i < this.workOptions.length; i++) {\r\n if (this.workOptions[i].value == type) {\r\n return this.workOptions[i].label;\r\n }\r\n }\r\n },\r\n\r\n getDegree(type) {\r\n for (var i = 0; i < this.degreeOptions.length; i++) {\r\n if (this.degreeOptions[i].value == type) {\r\n return this.degreeOptions[i].label;\r\n }\r\n }\r\n return \"学历不限\";\r\n },\r\n\r\n getFirstAddr(list) {\r\n if (list && list.length > 0) {\r\n return (\r\n list[0].province + list[0].city + list[0].district + list[0].address\r\n );\r\n }\r\n },\r\n\r\n showMoreAddr(list) {\r\n if (list && list.length > 0) {\r\n this.show = true;\r\n this.addressList = list;\r\n }\r\n },\r\n\r\n gotomp(type, item) {\r\n // console.log(item);\r\n // let skipType = type\r\n var o = {\r\n name:\r\n type == \"1\"\r\n ? item.province + item.city + item.district + item.address\r\n : item.interview_address,\r\n location: {\r\n lat: item.ltg,\r\n lng: item.lng,\r\n },\r\n };\r\n\r\n uni.navigateToMiniProgram({\r\n appId: \"wx7643d5f831302ab0\",\r\n path:\r\n \"pages/multiScheme/multiScheme?endLoc=\" +\r\n JSON.stringify(o) +\r\n \"&qbMode=0\",\r\n success(res) {},\r\n });\r\n },\r\n\r\n morefilterS() {\r\n this.$u.route({\r\n url: \"/pages/common/more-filters/more-filters\",\r\n params: {\r\n type: \"c\",\r\n morefilter: JSON.stringify(this.morefilter),\r\n },\r\n });\r\n },\r\n\r\n goFilter(type) {\r\n // this.$u.route({\r\n // \turl: '/pages/student/home/search-detail/search-detail',\r\n // \tparams: {\r\n // \t\ttype: type\r\n // \t}\r\n // })\r\n\r\n if (type == \"school\") {\r\n this.$u.route({\r\n url: \"/pages/student/home/publicize-list/publicize-list\",\r\n });\r\n } else {\r\n uni.showToast({\r\n title: \"敬请期待\",\r\n icon: \"none\",\r\n });\r\n }\r\n },\r\n\r\n filterhy() {\r\n this.$u.route({\r\n url: \"/pages/common/filters-hy/filters-hy\",\r\n params: {\r\n firstCategoryName: this.position_category,\r\n secondCategoryName: this.sub_category,\r\n expectJobName: this.expectJob_category,\r\n isAll: \"1\",\r\n },\r\n });\r\n },\r\n\r\n goDetail(e) {\r\n // console.log(\"goDetail--\", e);\r\n this.$u.route({\r\n url: \"/pages/student/home/job-detail/job-detail\",\r\n params: {\r\n id: e.id,\r\n },\r\n });\r\n },\r\n\r\n change(index) {\r\n // console.log(index);\r\n this.rcurrent = index;\r\n this.loadData();\r\n this.list = []\r\n },\r\n\r\n loadData() {\r\n this.page = 1;\r\n this.finished = false;\r\n this.loading = \"loadmore\";\r\n this._getList();\r\n },\r\n\r\n // 模拟后端分页\r\n async getData(requestParams) {\r\n\r\n let params = {};\r\n params.offset = 10 * (this.page - 1);\r\n params.limit = 10;\r\n\r\n if (this.rcurrent == 0) {\r\n params.type = \"recommend\";\r\n if (this.nowCityform.length > 0) {\r\n params[\"province_code\"] = this.nowCityform[0];\r\n params[\"city_code\"] = this.nowCityform[1];\r\n params[\"district_code\"] = this.nowCityform[2];\r\n }\r\n } else {\r\n params.type = \"around\";\r\n if (this.ltg != 0 && this.lng != 0) {\r\n params[\"ltg\"] = this.ltg;\r\n params[\"lng\"] = this.lng;\r\n params[\"city_code\"] = this.nowCityform[1];\r\n }\r\n }\r\n\r\n if (this.morefilter.gender) {\r\n params[\"gender\"] = this.morefilter.gender;\r\n }\r\n\r\n if (this.morefilter.work_period) {\r\n params[\"work_period\"] = this.morefilter.work_period;\r\n }\r\n\r\n if (this.morefilter.require_degree) {\r\n params[\"require_degree\"] = this.morefilter.require_degree;\r\n }\r\n\r\n if (this.morefilter.lowSalary) {\r\n params[\"lower_salary\"] = this.morefilter.lowSalary;\r\n }\r\n\r\n if (this.morefilter.heightSalary) {\r\n params[\"upper_salary\"] = this.morefilter.heightSalary;\r\n }\r\n\r\n if (this.morefilter.position_type) {\r\n params[\"position_type\"] = this.morefilter.position_type;\r\n }\r\n\r\n if (this.morefilter.welfares) {\r\n params[\"welfares\"] = this.morefilter.welfares;\r\n }\r\n\r\n if (this.morefilter.wagetype) {\r\n params[\"wage_type\"] = this.morefilter.wagetype;\r\n }\r\n\r\n if (this.position_category ) {\r\n params[\"first_category\"] = this.position_category;\r\n }\r\n \r\n if (this.sub_category) {\r\n params[\"second_category\"] = this.sub_category;\r\n }\r\n\r\n if (this.expectJob_category) {\r\n params[\"third_category\"] = this.expectJob_category;\r\n }\r\n \r\n console.warn(this.vuex_expect_job)\r\n\r\n // if (this.vuex_expect_job && this.vuex_expect_job != '全部职位') {\r\n // params[\"third_category\"] = this.vuex_expect_job;\r\n // }\r\n\r\n if (this.vuex_token == \"\") {\r\n return await this.$u.api.positionslistApi(params);\r\n } else {\r\n return await this.$u.api.positionslistloginApi(params);\r\n }\r\n },\r\n // 数据请求(没错就是这么少的代码)\r\n async _getList() {\r\n if (this.page == 1) {\r\n this.list = [];\r\n }\r\n\r\n // 根据实际情况修改自己修改key\r\n let result = await this.getData();\r\n\r\n // console.log(result);\r\n\r\n this.total = result.total_count;\r\n\r\n if (result.total_count < 10) {\r\n this.finished = true;\r\n this.loading = \"nomore\";\r\n }\r\n\r\n if (this.list.length == 0 && result.items.length == 0) {\r\n this.shownoData = false;\r\n } else {\r\n this.shownoData = true;\r\n }\r\n\r\n const nowCityCode= this.nowCityform\r\n\r\n result.items.map((item) => {\r\n // let tags = [];\r\n // tags.push(item.gender == 1 ? \"男\" : \"女\");\r\n // tags.push(`${item.age}岁`);\r\n // tags.push(`${item.work_experience}年`);\r\n // if (item.expect_lower_salary == 0 && item.expect_upper_salary == 0) {\r\n // tags.push(\"薪资面议\");\r\n // } else {\r\n // tags.push(\r\n // `${item.expect_lower_salary}元-${item.expect_upper_salary}元`\r\n // );\r\n // }\r\n // item[\"tags\"] = tags;\r\n \r\n let card_city = '', search_code = '', third = false\r\n if (nowCityCode.length > 0) {\r\n if (nowCityCode[1] == nowCityCode[2]) {\r\n search_code = nowCityCode[1]\r\n } else {\r\n search_code = nowCityCode[2]\r\n third = true\r\n }\r\n\r\n }\r\n\r\n if (item.work_addrs && item.work_addrs.length > 0) {\r\n if (search_code) {\r\n const currentAddress = item.work_addrs.filter(el => {\r\n if (third) {\r\n return el.district_code == search_code\r\n }\r\n return el.city_code == search_code\r\n })\r\n if (currentAddress.length > 0) {\r\n card_city = currentAddress[0].district\r\n }\r\n } else {\r\n card_city = item.work_addrs[0].district\r\n }\r\n }\r\n \r\n item[\"card_city\"] = card_city;\r\n this.list.push(item);\r\n });\r\n\r\n if (this.list.length == this.total) {\r\n this.finished = true;\r\n this.loading = \"nomore\";\r\n }\r\n },\r\n\r\n link(type) {\r\n const { dispatch } = this.$store;\r\n\r\n switch (type) {\r\n case \"recommend\":\r\n this.$u.route(\"/pages/student/my/personal-info/personal-info\");\r\n break;\r\n }\r\n },\r\n\r\n goZhilian() {\r\n //智联招聘列表\r\n this.$u.route({\r\n url: \"/pages/student/home/search-detail/search-detail\",\r\n params: {\r\n fromType: \"zhilian\",\r\n },\r\n });\r\n },\r\n\r\n handleStickyFixed(e) {\r\n this.topSearchHeight = e == \"fixed\" ? 134 : 0;\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.navbar {\r\n position: fixed;\r\n top: 0;\r\n z-index: 99;\r\n width: 100%;\r\n background-color: #fdfdfd;\r\n // background: red;\r\n // padding-bottom: 24rpx;\r\n // padding-left: 10px;\r\n display: flex;\r\n align-items: flex-end;\r\n\r\n .header {\r\n display: flex;\r\n align-items: center;\r\n padding-bottom: 5px;\r\n padding-left: 10px;\r\n\r\n .logo {\r\n width: 100px;\r\n height: 24px;\r\n margin-right: 15px;\r\n }\r\n\r\n .search {\r\n // position: absolute;\r\n // top: 10px;\r\n // right: 19px;\r\n display: flex;\r\n align-items: center;\r\n height: 34px;\r\n background-color: rgba(0, 0, 0, 0.03);\r\n border-radius: 18px;\r\n transition: width 0.5s;\r\n\r\n .searchIcon {\r\n margin-left: 10px;\r\n width: 11px;\r\n height: 11px;\r\n }\r\n\r\n .t {\r\n margin-left: 6px;\r\n font-size: 12px;\r\n font-family: PingFangSC-Light, PingFang SC;\r\n font-weight: 300;\r\n color: rgba(0, 0, 0, 0.65);\r\n }\r\n }\r\n }\r\n}\r\n\r\n.head {\r\n padding: 0rpx 32rpx 24px;\r\n background-color: #ffffff;\r\n\r\n .zhilian {\r\n background-image: url(\"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/excellet-working/bg_zhilian.png\");\r\n background-size: 100% 186rpx;\r\n box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.06);\r\n border-radius: 8px;\r\n padding: 32rpx 40rpx;\r\n margin: 32rpx auto 0rpx;\r\n display: flex;\r\n\r\n .text {\r\n font-size: 12px;\r\n font-family: PingFangSC-Light, PingFang SC;\r\n font-weight: 300;\r\n color: rgba(0, 0, 0, 0.85);\r\n }\r\n\r\n .btn_detail {\r\n padding: 15rpx 40rpx;\r\n background: var(--primary-color);\r\n box-shadow: 0px 0px 10px 0px var(--primary-color02);\r\n border-radius: 32rpx;\r\n font-size: 26rpx;\r\n font-family: PingFangSC-Medium, PingFang SC;\r\n font-weight: 500;\r\n color: #ffffff;\r\n align-self: center;\r\n margin-left: auto;\r\n }\r\n }\r\n\r\n .menu {\r\n width: 100%;\r\n height: 88px;\r\n background: #ffffff;\r\n box-shadow: 0px 2px 20px 0px var(--primary-color006);\r\n border-radius: 8px;\r\n display: flex;\r\n align-items: center;\r\n position: relative;\r\n margin-top: 32rpx;\r\n\r\n .menu-box {\r\n width: 50%;\r\n display: flex;\r\n align-items: center;\r\n // margin-left: 22px;\r\n padding: 0 21px;\r\n justify-content: space-between;\r\n\r\n .t1 {\r\n font-size: 16px;\r\n font-family: PingFangSC-Medium, PingFang SC;\r\n font-weight: 500;\r\n color: #000000;\r\n }\r\n\r\n .t2 {\r\n margin-top: 10px;\r\n font-size: 12px;\r\n font-family: PingFangSC-Light, PingFang SC;\r\n font-weight: 300;\r\n color: rgba(0, 0, 0, 0.45);\r\n }\r\n\r\n img {\r\n // margin-left: 25px;\r\n width: 40px;\r\n height: 34px;\r\n }\r\n }\r\n\r\n .menu-line {\r\n position: absolute;\r\n left: 50%;\r\n top: 24px;\r\n width: 1px;\r\n height: 40px;\r\n background-color: rgba(0, 0, 0, 0.1);\r\n }\r\n }\r\n}\r\n\r\n.sticky_content {\r\n box-shadow: 0px 2px 20px 0px rgba(0,0,0,0.06);\r\n .tab_box {\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n background-color: #ffffff;\r\n padding: 0 20rpx;\r\n }\r\n\r\n .search_wrap {\r\n position: relative;\r\n overflow: hidden;\r\n padding: 0 16px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding-bottom: 14rpx;\r\n background: #fff;\r\n\r\n .left {\r\n width: 120px;\r\n margin-left: 20rpx;\r\n\r\n text {\r\n background: #F5F7FB;\r\n font-size: 24rpx;\r\n font-family: PingFang SC-Light, PingFang SC;\r\n font-weight: 300;\r\n color: #969696;\r\n padding: 4rpx 12rpx;\r\n display: inline-block;\r\n margin-right: 10rpx;\r\n border-radius: 8rpx;\r\n }\r\n\r\n .check {\r\n background: var(--primary-color006);\r\n color: var(--primary-color);\r\n }\r\n }\r\n\r\n .right {\r\n flex: auto;\r\n display: flex;\r\n justify-content: flex-end;\r\n\r\n .select {\r\n\r\n image {\r\n width: 20rpx;\r\n height: 20rpx;\r\n margin-left: 10rpx;\r\n }\r\n\r\n text {\r\n font-size: 26rpx;\r\n font-family: PingFang SC-Regular, PingFang SC;\r\n font-weight: 400;\r\n color: #353535;\r\n margin-left: 30rpx;\r\n }\r\n\r\n }\r\n }\r\n\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n.list {\r\n background-color: #fff;\r\n padding: 10px 16px;\r\n\r\n .items {\r\n width: 100%;\r\n padding: 32rpx;\r\n // margin: 0 auto;\r\n background-color: #ffffff;\r\n box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.06);\r\n border-radius: 10px;\r\n margin-bottom: 8px;\r\n\r\n .header {\r\n\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n .title {\r\n max-width: 68%;\r\n display: flex;\r\n align-items: center;\r\n .name {\r\n font-size: 32rpx;\r\n font-family: PingFangSC-Medium, PingFang SC;\r\n font-weight: 500;\r\n color: #000000;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n flex: 1;\r\n }\r\n \r\n\r\n .internship {\r\n background: rgba(12, 177, 122, 0.10);\r\n border-radius: 2px;\r\n padding: 4rpx 6rpx;\r\n color: #0CB17A;\r\n font-size: 24rpx;\r\n font-weight: 500;\r\n margin-right: 12rpx;\r\n }\r\n\r\n .society {\r\n background: rgba(255, 185, 28, 0.10);\r\n border-radius: 8rpx;\r\n padding: 4rpx 6rpx;\r\n color: #FFB91C;\r\n font-size: 24rpx;\r\n font-weight: 500;\r\n margin-right: 12rpx;\r\n }\r\n\r\n .school {\r\n background: rgba(22, 119, 255, 0.10);\r\n border-radius: 8rpx;\r\n padding: 4rpx 6rpx;\r\n color: #1677FF;\r\n font-size: 24rpx;\r\n font-weight: 500;\r\n margin-right: 12rpx;\r\n }\r\n\r\n image {\r\n width: 32rpx;\r\n height: 32rpx;\r\n margin-right: 12rpx;\r\n }\r\n }\r\n\r\n .salary {\r\n max-width: 30%;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n font-size: 32rpx;\r\n font-family: PingFangSC-Medium, PingFang SC;\r\n font-weight: 500;\r\n color: var(--primary-color);\r\n }\r\n }\r\n\r\n\r\n .gray_box {\r\n background: #f7f7f7;\r\n border-radius: 8rpx;\r\n padding: 24rpx;\r\n margin-top: 20rpx;\r\n }\r\n\r\n .gray_box2 {\r\n display: flex;\r\n flex-direction: column;\r\n background: #f7f7f7;\r\n border-radius: 8rpx;\r\n padding: 20rpx 30rpx;\r\n margin-top: 20rpx;\r\n }\r\n\r\n .text {\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n font-size: 24rpx;\r\n font-family: PingFangSC-Light, PingFang SC;\r\n font-weight: 400;\r\n color: rgba(0, 0, 0, 0.85);\r\n vertical-align: middle;\r\n }\r\n\r\n .img {\r\n width: 28rpx;\r\n height: 30rpx;\r\n vertical-align: middle;\r\n float: right;\r\n margin-top: 3rpx;\r\n margin-left: auto;\r\n }\r\n\r\n .company {\r\n margin-top: 20rpx;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n .title {\r\n max-width: 78%;\r\n display: flex;\r\n align-items: center;\r\n .name {\r\n font-size: 28rpx;\r\n font-family: PingFangSC-Medium, PingFang SC;\r\n font-weight: 400;\r\n color: #000000;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n flex: 1;\r\n }\r\n\r\n image {\r\n width: 32rpx;\r\n height: 32rpx;\r\n margin-right: 12rpx;\r\n }\r\n }\r\n\r\n .city {\r\n max-width: 20%;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n font-size: 24rpx;\r\n font-family: PingFangSC-Medium, PingFang SC;\r\n font-weight: 300;\r\n color: #000000;\r\n }\r\n \r\n }\r\n\r\n .welfares {\r\n display: flex;\r\n align-items: center;\r\n flex-wrap: wrap;\r\n border-top: 1px solid #D8D8D8;\r\n margin-top: 28rpx;\r\n padding-top: 32rpx;\r\n\r\n text {\r\n background: var(--primary-color006);\r\n font-size: 24rpx;\r\n font-family: PingFang SC-Regular, PingFang SC;\r\n font-weight: 400;\r\n color: var(--primary-color);\r\n margin: 0rpx 8rpx 8rpx 0rpx;\r\n padding: 8rpx 16rpx;\r\n }\r\n\r\n }\r\n\r\n .cell {\r\n padding: 20rpx 0;\r\n }\r\n }\r\n}\r\n\r\n.text_green {\r\n font-size: 32rpx;\r\n font-family: PingFangSC-Medium, PingFang SC;\r\n font-weight: 500;\r\n color: var(--primary-color);\r\n}\r\n\r\n.popup {\r\n .title {\r\n font-size: 32rpx;\r\n font-family: PingFangSC-Medium, PingFang SC;\r\n font-weight: 500;\r\n color: #000000;\r\n padding: 28rpx 32rpx;\r\n }\r\n\r\n .list {\r\n padding: 0rpx 32rpx;\r\n margin-top: 32rpx;\r\n display: flex;\r\n align-items: center;\r\n }\r\n\r\n .text {\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n -webkit-box-orient: vertical;\r\n white-space: normal !important;\r\n word-wrap: break-word;\r\n\r\n font-size: 28rpx;\r\n font-family: PingFangSC-Regular, PingFang SC;\r\n font-weight: 400;\r\n color: rgba(0, 0, 0, 0.85);\r\n line-height: 42rpx;\r\n }\r\n}\r\n\r\n.no_data {\r\n width: 100%;\r\n\r\n .img {\r\n display: block;\r\n margin: 0 auto;\r\n margin-top: 200rpx;\r\n width: 260rpx;\r\n height: 200rpx;\r\n }\r\n\r\n .text_black_28 {\r\n font-family: PingFangSC-Regular, PingFang SC;\r\n font-weight: 400;\r\n color: #000000;\r\n margin-top: 48rpx;\r\n text-align: center;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=style&index=0&id=6574a34b&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./home.vue?vue&type=style&index=0&id=6574a34b&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1700461806335\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}