1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-policy-talent"],{"108c":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uIcon:a("282f").default,uPicker:a("b30d").default,uCheckboxGroup:a("09dc").default,uCheckbox:a("8b4d").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"huodong-details"},[a("v-uni-view",{staticClass:"p-30 "},[a("v-uni-view",{staticClass:"detail-title"},[t._v(t._s(t.title))]),a("v-uni-view",{staticClass:"content-box bg-white m-t-30"},[t._l(t.surveyList,(function(e,i){return"array"!=e.type?a("v-uni-view",{staticClass:"detail-cell row-between u-border-bottom",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.pickerShow(e.name)}}},[a("v-uni-view",{staticClass:"width75"},[t._v(t._s(e.description))]),"radio"==e.type||"select"==e.type?a("v-uni-view",{staticClass:"text-right flex-1"},[a("v-uni-text",{staticClass:"muted"},[t._v(t._s(e.value[t.info[e.name]]))]),a("u-icon",{attrs:{name:"arrow-right",size:"28",color:"#B8B8B8"}}),a("u-picker",{attrs:{mode:"selector",range:e.value},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.pickerConfirm(i,e)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.pickerCancel(i)}},model:{value:t.show[e.name],callback:function(a){t.$set(t.show,e.name,a)},expression:"show[item.name]"}})],1):t._e(),"checkbox"==e.type?a("v-uni-view",{staticClass:"text-right flex-1"},[a("u-checkbox-group",{attrs:{shape:"circle","active-color":"#DD4250",name:e.name},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.groupChange(i,e)}}},t._l(e.value,(function(i,n){return a("u-checkbox",{key:n,attrs:{name:i},model:{value:e.checked[n],callback:function(a){t.$set(e.checked,n,a)},expression:"item.checked[key]"}},[t._v(t._s(i))])})),1)],1):t._e(),"text"==e.type?a("v-uni-view",{staticClass:"text-right flex-1"},[a("cus-selects",{attrs:{data:e.value,clearable:!0,filterable:!0,searchType:1,arrLeft:"300",placeholder:"输入搜索"},model:{value:t.info[e.name],callback:function(a){t.$set(t.info,e.name,a)},expression:"info[item.name]"}})],1):t._e()],1):t._e()})),a("v-uni-view",{staticClass:"detail-cell row-between u-border-bottom"},[a("v-uni-view",{staticClass:"bold"},[t._v("验证码")]),a("v-uni-view",{staticClass:"text-right flex-1 flex row-right"},[a("v-uni-input",{attrs:{type:"text",placeholder:"请输入"},model:{value:t.info.code,callback:function(e){t.$set(t.info,"code",e)},expression:"info.code"}}),a("v-uni-image",{staticClass:"m-l-10",staticStyle:{height:"54rpx"},attrs:{src:t.captchaImg,mode:"heightFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.refreshCaptcha.apply(void 0,arguments)}}})],1)],1)],2)],1),a("v-uni-view",{staticClass:"footer"},[a("v-uni-button",{staticClass:"white btn lg",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleConsult.apply(void 0,arguments)}}},[t._v("提交")])],1)],1)},o=[]},1885:function(t,e,a){var i=a("8cb2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("5d634589",i,!0,{sourceMap:!1,shadowMode:!1})},"8cb2":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.footer[data-v-7d9114b0]{left:0;bottom:%?30?%;width:100%;padding:0 %?24?%;position:fixed;z-index:99}.footer .btn[data-v-7d9114b0]{height:%?84?%;line-height:%?84?%;background-color:#dd4250;box-shadow:%?0?% %?6?% %?12?% %?2?% rgba(243,113,113,.39);border-radius:%?18?% %?18?% %?18?% %?18?%}uni-page-body[data-v-7d9114b0]{padding:0}.talent-tab .title[data-v-7d9114b0]{font-size:%?36?%;font-weight:400;color:#333}[data-v-7d9114b0] .select_input{border:none!important}[data-v-7d9114b0] .select_modal_con{position:-webkit-sticky;position:sticky;margin-left:%?-200?%;width:%?700?%}[data-v-7d9114b0] .select_modal_con .select_modal{height:300px}[data-v-7d9114b0] .select_modal_con .select_content_li{text-align:left!important;white-space:normal!important;overflow:auto!important;height:auto!important;line-height:normal!important;margin-bottom:%?16?%!important}[data-v-7d9114b0] .select_modal_con ::-webkit-scrollbar{display:block;\n /*滚动条整体样式*/width:10px!important;\n /*高宽分别对应横竖滚动条的尺寸*/height:1px!important}[data-v-7d9114b0] .select_modal_con ::-webkit-scrollbar-thumb{\n /*滚动条里面小方块*/border-radius:10px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}[data-v-7d9114b0] .select_modal_con ::-webkit-scrollbar-track{\n /*滚动条里面轨道*/-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px;background:#ededed}',""]),t.exports=e},a366:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d81d"),a("d3b7"),a("159b");var n=i(a("5530")),o=i(a("c7eb")),c=i(a("1da1")),s=i(a("7985")),r=a("26cb"),d=a("979f"),l=a("46da"),u=(getApp(),{components:{cusSelects:s.default},data:function(){return{show:{},surveyList:[],info:{},captcha:"",top:172,title:"人才信息",type:""}},onLoad:function(t){this.type=this.$Route.query.type,this.title=this.title=this.$Route.query.title+"人才信息填写",this.info.type=this.type,this.getSurvey(),this.captchaImg=(0,l.getCaptcha)()},onShow:function(){uni.setNavigationBarTitle({title:this.title})},onHide:function(){},onPullDownRefresh:function(){},methods:{refreshCaptcha:function(){this.captchaImg=(0,l.getCaptcha)(),this.$forceUpdate()},groupChange:function(t,e){var a=this.surveyList[t];this.info[a.name]=e},pickerShow:function(t){this.show[t]=!0,this.$forceUpdate()},pickerConfirm:function(t,e){var a=this.surveyList[t];this.info[a.name]=e[0],this.show[a.name]=!1,this.$forceUpdate()},pickerCancel:function(t,e){var a=this.surveyList[t];this.show[a.name]=!1,this.$forceUpdate()},getSurvey:function(){var t=this;return(0,c.default)((0,o.default)().mark((function e(){var a,i,n;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,d.getSurvey)({type:t.type});case 2:a=e.sent,i=a.status,n=a.data,1==i&&(t.surveyList=n,t.surveyList.map((function(e,a){if("radio"!=e.type&&"select"!=e.type||(t.info[e.name]=0),"text"==e.type&&e.value.forEach((function(t,a){e.value[a]={label:a+1+"、"+t,value:t}})),"checkbox"==e.type)return e.checked=[],e.value.forEach((function(t,a){e.checked[a]=!1})),e})));case 6:case"end":return e.stop()}}),e)})))()},handleConsult:function(){var t=this;return(0,c.default)((0,o.default)().mark((function e(){var a,i,n,c;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.info.code){e.next=3;break}return t.$toast({title:"请输入验证码"}),e.abrupt("return",!1);case 3:return e.next=5,(0,d.submitSurvey)(t.info);case 5:a=e.sent,i=a.status,n=a.data,c=a.cengci,a.msg,1==i&&(uni.setStorageSync("policyList",n),uni.setStorageSync("policyCengci",c),uni.navigateTo({url:"/pages/policy/list"}));case 11:case"end":return e.stop()}}),e)})))()}},computed:(0,n.default)({},(0,r.mapGetters)(["appConfig"]))});e.default=u},a9d7:function(t,e,a){"use strict";a.r(e);var i=a("108c"),n=a("bffb");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("dcf6"),a("d377");var c=a("f0c5"),s=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"7d9114b0",null,!1,i["a"],void 0);e["default"]=s.exports},bffb:function(t,e,a){"use strict";a.r(e);var i=a("a366"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},d377:function(t,e,a){"use strict";var i=a("1885"),n=a.n(i);n.a},dcf6:function(t,e,a){"use strict";var i=a("f602"),n=a.n(i);n.a},ded7:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'.huodong-details[data-v-7d9114b0]{padding-bottom:calc(%?200?% + env(safe-area-inset-bottom))}.details-images[data-v-7d9114b0]{height:%?408?%;border-radius:%?20?%;overflow:hidden;width:100%}.details-images uni-image[data-v-7d9114b0]{width:100%;height:100%}.detail-title[data-v-7d9114b0]{font-weight:700}.detail-cell[data-v-7d9114b0]{display:flex;padding:%?30?% 0}.detail-cell .cell-img[data-v-7d9114b0]{padding:%?5?% 0}.detail-cell .cell-img uni-image[data-v-7d9114b0]{width:%?48?%;height:%?48?%;display:block}.detail-biaoti[data-v-7d9114b0]{height:%?88?%;line-height:%?88?%}.bj-w[data-v-7d9114b0]{background-color:#fff}.padding-30[data-v-7d9114b0]{padding:0 %?30?%!important}.content-box[data-v-7d9114b0]{padding:0 %?24?%;box-shadow:%?0?% %?8?% %?16?% %?2?% rgba(0,0,0,.03);border-radius:%?12?% %?12?% %?12?% %?12?%}.content-box uni-input[data-v-7d9114b0]{font-size:%?28?%}.content-box uni-textarea[data-v-7d9114b0]{width:100%;height:%?100?%;font-size:%?28?%}.btn-r-border[data-v-7d9114b0]{position:relative}.btn-r-border[data-v-7d9114b0]::after{content:" ";width:%?1?%;height:%?36?%;background-color:#ccc;right:0;top:50%;margin-top:%?-18?%;position:absolute}.width75[data-v-7d9114b0]{width:%?150?%;font-weight:700}',""]),t.exports=e},f602:function(t,e,a){var i=a("ded7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("a102b856",i,!0,{sourceMap:!1,shadowMode:!1})}}]);
|