chunk-49282eca.59b944a0.js.map 17 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/recruit/recruit-my-release.vue","webpack:///src/views/recruit/recruit-my-release.vue","webpack:///./src/views/recruit/recruit-my-release.vue?1adf","webpack:///./src/views/recruit/recruit-my-release.vue?1718","webpack:///./src/components/text-highlight.vue","webpack:///src/components/text-highlight.vue","webpack:///./src/components/text-highlight.vue?972c","webpack:///./src/components/text-highlight.vue?ad5c","webpack:///./src/views/recruit/recruit-my-release.vue?5783"],"names":["render","_vm","this","_c","_self","staticClass","attrs","require","on","$event","$router","back","_v","ref","swipeCellOption","scopedSlots","_u","key","fn","item","toDetail","_s","title","salary","company","is_ss","scale","_l","label_name","tag","create_at","stopPropagation","undercarriagePopup","push","staticRenderFns","components","TextHighlight","SwipeCellList","data","searchKey","showSearch","listApi","itemButtons","bottomButtons","mounted","methods","component","domProps","content","name","props","val","default","highlightKey","color","computed"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,aAAaC,MAAM,CAAC,IAAMC,EAAQ,QAAuB,IAAM,IAAIC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,QAAQC,WAAWR,EAAG,IAAI,CAACE,YAAY,gBAAgB,CAACJ,EAAIW,GAAG,cAAcT,EAAG,kBAAkB,CAACU,IAAI,gBAAgBP,MAAM,CAAC,OAASL,EAAIa,iBAAiBC,YAAYd,EAAIe,GAAG,CAAC,CAACC,IAAI,OAAOC,GAAG,YAAkB,IAAPC,EAAI,EAAJA,KAAQ,MAAO,CAAChB,EAAG,MAAM,CAACE,YAAY,YAAYG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAImB,SAASD,MAAS,CA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,8BAA8BT,EAAG,SAAS,CAACE,YAAY,UAAUC,MAAM,CAAC,KAAO,UAAUE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,QAAQuB,KAAK,sBAAsB,CAAChC,EAAIW,GAAG,uCAAuC,IAEz6DsB,EAAkB,G,gDCuEP,GACfC,YAAAC,qBAAAC,sBACAC,gBACA,OAEAN,sBACAlB,iBACAyB,kBACAC,cACAC,oBACA,oCAEAC,eACAC,oBAIAC,qBACAC,SACAzB,qBACA,gDACA,0DC9F2W,I,wBCQvW0B,EAAY,eACd,EACA9C,EACAkC,GACA,EACA,KACA,WACA,MAIa,aAAAY,E,kECnBf,IAAI9C,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,OAAO,CAACE,YAAY,iBAAiB0C,SAAS,CAAC,UAAY9C,EAAIoB,GAAGpB,EAAI+C,aAExId,EAAkB,GCIP,GACfe,sBACAC,OACAC,KACAC,YAEAC,cACAD,YAEAE,OACAF,oBAGAG,UACAP,mBACA,kBACA,WADA,IAEA,WAOA,YC9BwV,I,YCOpVF,EAAY,eACd,EACA9C,EACAkC,GACA,EACA,KACA,KACA,MAIa,OAAAY,E,2CClBf","file":"js/chunk-49282eca.59b944a0.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"header-wrap\"},[_c('div',{staticClass:\"header\"},[_c('img',{staticClass:\"return-img\",attrs:{\"src\":require(\"@/assets/return.png\"),\"alt\":\"\"},on:{\"click\":function($event){return _vm.$router.back()}}}),_c('p',{staticClass:\"header-title\"},[_vm._v(\"我的发布\")])])]),_c('swipe-cell-list',{ref:\"swipeCellList\",attrs:{\"option\":_vm.swipeCellOption},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [_c('div',{staticClass:\"list-item\",on:{\"click\":function($event){return _vm.toDetail(item)}}},[_c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(item.title))]),_c('div',{staticClass:\"price\"},[_vm._v(_vm._s(item.salary))])]),_c('div',{staticClass:\"company-info\"},[_vm._v(\"\\n \"+_vm._s(item.company)+\" · \"+_vm._s(item.is_ss ? \"已上市\" : \"未上市\")+\" ·\\n \"+_vm._s(item.scale)+\"\\n \")]),_c('div',{staticClass:\"tags-box\"},_vm._l((item.label_name),function(tag){return _c('div',{staticClass:\"tag-item\"},[_vm._v(\"\\n \"+_vm._s(tag)+\"\\n \")])}),0),_c('div',{staticClass:\"bottom\"},[_c('div',{staticClass:\"time\"},[_vm._v(_vm._s(item.create_at))]),_c('div',{staticClass:\"btn\",on:{\"click\":function($event){$event.stopPropagation();_vm.undercarriagePopup = true}}},[_vm._v(\"下架\")])])])]}}])}),_c('van-overlay',{attrs:{\"show\":_vm.undercarriagePopup,\"z-index\":\"99999\"},on:{\"click\":function($event){_vm.undercarriagePopup = false}}},[_c('div',{staticClass:\"window\"},[_c('span',{staticClass:\"window-text\"},[_vm._v(\"下架新闻需联系客服\")]),_c('div',{staticClass:\"window-btn-box\"},[_c('button',{staticClass:\"cancel\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.undercarriagePopup = false}}},[_vm._v(\"\\n 取消\\n \")]),_c('button',{staticClass:\"confirm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$router.push('/contact-online')}}},[_vm._v(\"\\n 联系客服\\n \")])])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"wrap\">\r\n <div class=\"header-wrap\">\r\n <div class=\"header\">\r\n <img\r\n src=\"@/assets/return.png\"\r\n class=\"return-img\"\r\n @click=\"$router.back()\"\r\n alt=\"\"\r\n />\r\n <p class=\"header-title\">我的发布</p>\r\n </div>\r\n </div>\r\n\r\n <swipe-cell-list ref=\"swipeCellList\" :option=\"swipeCellOption\">\r\n <template #item=\"{ item }\">\r\n <div class=\"list-item\" @click=\"toDetail(item)\">\r\n <div class=\"top\">\r\n <div class=\"title\">{{ item.title }}</div>\r\n <div class=\"price\">{{ item.salary }}</div>\r\n </div>\r\n <div class=\"company-info\">\r\n {{ item.company }} · {{ item.is_ss ? \"已上市\" : \"未上市\" }} ·\r\n {{ item.scale }}\r\n </div>\r\n <div class=\"tags-box\">\r\n <div class=\"tag-item\" v-for=\"tag in item.label_name\">\r\n {{ tag }}\r\n </div>\r\n </div>\r\n <div class=\"bottom\">\r\n <div class=\"time\">{{ item.create_at }}</div>\r\n <div class=\"btn\" @click.stop=\"undercarriagePopup = true\">下架</div>\r\n </div>\r\n </div>\r\n </template>\r\n </swipe-cell-list>\r\n\r\n <!-- 下架弹窗 -->\r\n <van-overlay\r\n :show=\"undercarriagePopup\"\r\n @click=\"undercarriagePopup = false\"\r\n z-index=\"99999\"\r\n >\r\n <div class=\"window\">\r\n <span class=\"window-text\">下架新闻需联系客服</span>\r\n <div class=\"window-btn-box\">\r\n <button\r\n type=\"button\"\r\n class=\"cancel\"\r\n @click=\"undercarriagePopup = false\"\r\n >\r\n 取消\r\n </button>\r\n <button\r\n type=\"button\"\r\n class=\"confirm\"\r\n @click=\"$router.push('/contact-online')\"\r\n >\r\n 联系客服\r\n </button>\r\n </div>\r\n </div>\r\n </van-overlay>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { RecruitService } from \"@/common/service\";\r\nimport { Toast } from \"vant\";\r\nimport SwipeCellList from \"@/components/swipe-cell-list.vue\";\r\nimport TextHighlight from \"@/components/text-highlight.vue\";\r\n\r\nexport default {\r\n components: { TextHighlight, SwipeCellList },\r\n data() {\r\n return {\r\n // 下架弹窗\r\n undercarriagePopup: false,\r\n swipeCellOption: {\r\n searchKey: \"title\",\r\n showSearch: true,\r\n listApi: (params) => {\r\n return RecruitService.getOwnRecruitList(params);\r\n },\r\n itemButtons: [],\r\n bottomButtons: [],\r\n },\r\n };\r\n },\r\n mounted() {},\r\n methods: {\r\n toDetail(item) {\r\n if (item.is_normal === 0) return Toast(\"已下架\");\r\n this.$router.push(`/recruit-details?id=${item.id}`);\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.wrap {\r\n width: 100%;\r\n height: calc(100vh - 42px);\r\n display: flex;\r\n flex-direction: column;\r\n margin: 42px 0 0;\r\n box-sizing: border-box;\r\n background: #f4f4f4;\r\n overflow-y: auto;\r\n .header-wrap {\r\n width: 100%;\r\n height: 42px;\r\n display: flex;\r\n flex-direction: column;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n z-index: 500;\r\n background-color: #ffffff;\r\n .header {\r\n width: 100%;\r\n height: 44px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: #ffffff;\r\n z-index: 999;\r\n position: relative;\r\n box-sizing: border-box;\r\n .return-img {\r\n position: absolute;\r\n left: 15px;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n width: 20px;\r\n z-index: 99999;\r\n }\r\n .header-title {\r\n width: 100%;\r\n text-align: center;\r\n color: #333333;\r\n font-size: 18px;\r\n font-weight: bold;\r\n position: relative;\r\n }\r\n }\r\n }\r\n .list-item {\r\n background: #ffffff;\r\n border-radius: 8px;\r\n padding: 12px 15px;\r\n .top {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n .title {\r\n font-size: 16px;\r\n font-weight: 500;\r\n color: #222222;\r\n max-width: 160px;\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n }\r\n .price {\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #ff6700;\r\n max-width: 140px;\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n }\r\n }\r\n .company-info {\r\n margin-top: 7px;\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: #666666;\r\n }\r\n .tags-box {\r\n margin-top: 7px;\r\n width: 100%;\r\n height: 20px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n flex-wrap: wrap;\r\n overflow: hidden;\r\n .tag-item {\r\n height: 20px;\r\n line-height: 20px;\r\n padding: 0 5px;\r\n margin-right: 5px;\r\n background: #f2f6ff;\r\n border-radius: 2px;\r\n font-size: 10px;\r\n font-weight: 400;\r\n color: #2a63f3;\r\n margin-bottom: 5px;\r\n }\r\n }\r\n .bottom {\r\n margin-top: 10px;\r\n padding-top: 10px;\r\n width: 100%;\r\n border-top: 1px solid #f2f2f2;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n .time {\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: #777777;\r\n }\r\n .btn {\r\n width: 65px;\r\n height: 30px;\r\n border-radius: 14px;\r\n border: 1px solid #d8d8d8;\r\n text-align: center;\r\n line-height: 30px;\r\n font-size: 12px;\r\n font-weight: 400;\r\n color: #333333;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.window {\r\n width: calc(100% - 54px);\r\n height: 180px;\r\n border-radius: 12px;\r\n background-color: #ffffff;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 38px 25px 32px;\r\n box-sizing: border-box;\r\n position: fixed;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n z-index: 1000;\r\n .window-text {\r\n color: #222222;\r\n font-size: 18px;\r\n }\r\n .window-btn-box {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n margin-top: 43px;\r\n button {\r\n flex: 1;\r\n height: 42px;\r\n font-size: 17px;\r\n margin-right: 27px;\r\n border-radius: 50px;\r\n }\r\n :last-child {\r\n margin-right: 0;\r\n }\r\n .cancel {\r\n background-color: #f4f4f4;\r\n color: #333333;\r\n }\r\n .confirm {\r\n background-color: #2a63f3;\r\n color: #ffffff;\r\n }\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./recruit-my-release.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./recruit-my-release.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./recruit-my-release.vue?vue&type=template&id=0eadc594&scoped=true&\"\nimport script from \"./recruit-my-release.vue?vue&type=script&lang=js&\"\nexport * from \"./recruit-my-release.vue?vue&type=script&lang=js&\"\nimport style0 from \"./recruit-my-release.vue?vue&type=style&index=0&id=0eadc594&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0eadc594\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"text-highlight\",domProps:{\"innerHTML\":_vm._s(_vm.content)}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <span class=\"text-highlight\" v-html=\"content\"></span>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'text-highlight',\r\n props: {\r\n val: {\r\n default: '',\r\n },\r\n highlightKey: {\r\n default: '',\r\n },\r\n color: {\r\n default: '#FF6700',\r\n },\r\n },\r\n computed: {\r\n content() {\r\n const highlightKey = this.highlightKey;\r\n const color = this.color;\r\n let val = this.val;\r\n // if (val && highlightKey) {\r\n // val = val.replace(\r\n // RegExp(highlightKey, 'g'),\r\n // `<span style=\"color: ${color}\">${highlightKey}</span>`,\r\n // );\r\n // }\r\n return val;\r\n },\r\n }\r\n}\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-highlight.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-highlight.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./text-highlight.vue?vue&type=template&id=3ec1bdd9&\"\nimport script from \"./text-highlight.vue?vue&type=script&lang=js&\"\nexport * from \"./text-highlight.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./recruit-my-release.vue?vue&type=style&index=0&id=0eadc594&prod&lang=scss&scoped=true&\""],"sourceRoot":""}