1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-pipei"],{"1b2b":function(t,e,a){"use strict";a("7a82");var o=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(a("2909"));a("14d9"),a("3c65"),a("b64b"),a("e9c4"),a("d3b7"),a("ddb0"),a("a434");var i={onLoad:function(){this.getAddress(),this.getWork();for(var t=this.columns[0],e=this.columns[1],a=1;a<66;a++)t[t.length-1]<65&&(t.push(t[0]+a),e.push(e[0]+a));for(var o=150;o<200;o++)this.heightcolumns[0].push(o+"cm"),this.heightcolumns[1].push(o+"cm")},data:function(){return{showaddress:!1,showmoney:!1,showheight:!1,work:{},address:[],age:[],moneyIndex:"",money:[],height:[],showEducation:!1,showage:!1,showwork:!1,education:"",columns1:[],columns:[[18],[18]],heightcolumns:[["不限"],["不限"]],addresscolumns:[[{id:1,name:"临沂市"}],[{id:1480,name:"兰山区"},{id:1481,name:"罗庄区"},{id:1482,name:"河东区"},{id:1483,name:"沂南县"},{id:1484,name:"郯城县"},{id:1485,name:"沂水县"},{id:1486,name:"兰陵县"},{id:1487,name:"费县"},{id:1488,name:"平邑县"},{id:1489,name:"莒南县"},{id:1490,name:"蒙阴县"},{id:1491,name:"临沭县"}]],moneycolumns:[["3000-6000","6000-10000","1万以上","不限"]],columns2:[["高中","大专","本科","硕士","博士","不限"]]}},methods:{confirmEducation:function(t){this.education=t.value[0],this.showEducation=!1},confirmWork:function(t){this.work=t.value[0],this.showwork=!1},getWork:function(){var t=this;uni.$u.http.post("/api/index/WorkNature").then((function(e){t.columns1=[e.data],t.columns1[0].push({id:7,name:"不限"})}))},getAddress:function(){var t=this;uni.$u.http.post("/api/index/linyi").then((function(e){t.addresscolumns[1]=e.data,t.addresscolumns[1].unshift({id:3750,name:"不限"})}))},start:function(){if(0!=this.age.length)if(this.education)if(0!=Object.keys(this.work).length)if(0!=this.height.length)if(0!=this.money.length)if(0!=this.address.length){var t={age_min:this.age[0],age_max:this.age[1],nature:7==this.work.id?"不限":this.work.id,education:this.education,height_min:this.height[0],height_max:this.height[1],income:this.moneyIndex,area_id:3750==this.address[1].id?"不限":this.address[1].id};uni.navigateTo({url:"./pipeizhong?info="+JSON.stringify(t)})}else this.$u.toast("请选择现住地");else this.$u.toast("请选择月收入");else this.$u.toast("请选择身高");else this.$u.toast("请选择工作性质");else this.$u.toast("请选择学历");else this.$u.toast("请选择年龄")},changeHandler:function(t){console.log(11,t);var e=t.columnIndex,a=(t.value,t.values,t.index),o=t.picker;void 0===o&&this.$refs.uPicker;0===e&&(this.columns[1]=(0,n.default)(this.columns[0]),console.log(123,this.columns[1]),this.columns[1].splice(0,a),this.$set(this.columns,1,this.columns[1]),console.log(456,this.columns[1]))},confirm:function(t){this.age=t.value,this.showage=!1},heightconfirm:function(t){this.height=t.value,this.showheight=!1},moneyconfirm:function(t){this.moneyIndex=t.indexs[0]+1,this.money=t.value,this.showmoney=!1},addressconfirm:function(t){console.log(t),this.address=t.value,this.showaddress=!1}}};e.default=i},"1cf2":function(t,e,a){"use strict";var o=a("fcbf"),n=a.n(o);n.a},"1e7b":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return o}));var o={uIcon:a("47f2").default,uPicker:a("7be4").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{},[a("v-uni-view",{staticStyle:{"font-size":"32rpx"}},[t._v("年龄")]),a("v-uni-view",{staticClass:"u-flex",staticStyle:{width:"630rpx",height:"120rpx",background:"#F1F1F1","border-radius":"28rpx",margin:"24rpx 0","box-sizing":"border-box",padding:"0 32rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showage=!0}}},[a("v-uni-input",{staticStyle:{flex:"1"},attrs:{type:"text",disabled:!0,placeholder:"你期望ta的年龄"},model:{value:0==t.age.length?"":t.age[0]+"-"+t.age[1],callback:function(e){t.$set(0==t.age.length?"":t.age[0]+"-"+t.age,1,e)},expression:"age.length==0?'':age[0]+'-'+age[1]"}}),a("u-icon",{attrs:{name:"arrow-down"}})],1),a("v-uni-view",{staticStyle:{"font-size":"32rpx"}},[t._v("学历")]),a("v-uni-view",{staticClass:"u-flex",staticStyle:{width:"630rpx",height:"120rpx",background:"#F1F1F1","border-radius":"28rpx",margin:"24rpx 0","box-sizing":"border-box",padding:"0 32rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showEducation=!0}}},[a("v-uni-input",{staticStyle:{flex:"1"},attrs:{type:"text",disabled:!0,placeholder:"你期望ta的学历"},model:{value:t.education,callback:function(e){t.education=e},expression:"education"}}),a("u-icon",{attrs:{name:"arrow-down"}})],1),a("v-uni-view",{staticStyle:{"font-size":"32rpx"}},[t._v("工作性质")]),a("v-uni-view",{staticClass:"u-flex",staticStyle:{width:"630rpx",height:"120rpx",background:"#F1F1F1","border-radius":"28rpx",margin:"24rpx 0","box-sizing":"border-box",padding:"0 32rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showwork=!0}}},[a("v-uni-input",{staticStyle:{flex:"1"},attrs:{type:"text",disabled:!0,placeholder:"你期望ta的工作性质"},model:{value:t.work.name,callback:function(e){t.$set(t.work,"name",e)},expression:"work.name"}}),a("u-icon",{attrs:{name:"arrow-down"}})],1),a("v-uni-view",{staticStyle:{"font-size":"32rpx"}},[t._v("身高")]),a("v-uni-view",{staticClass:"u-flex",staticStyle:{width:"630rpx",height:"120rpx",background:"#F1F1F1","border-radius":"28rpx",margin:"24rpx 0","box-sizing":"border-box",padding:"0 32rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showheight=!0}}},[a("v-uni-input",{staticStyle:{flex:"1"},attrs:{type:"text",disabled:!0,placeholder:"你期望ta的身高范围"},model:{value:0==t.height.length?"":t.height[0]+"-"+t.height[1],callback:function(e){t.$set(0==t.height.length?"":t.height[0]+"-"+t.height,1,e)},expression:"height.length==0?'':height[0]+'-'+height[1]"}}),a("u-icon",{attrs:{name:"arrow-down"}})],1),a("v-uni-view",{staticStyle:{"font-size":"32rpx"}},[t._v("月收入")]),a("v-uni-view",{staticClass:"u-flex",staticStyle:{width:"630rpx",height:"120rpx",background:"#F1F1F1","border-radius":"28rpx",margin:"24rpx 0","box-sizing":"border-box",padding:"0 32rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showmoney=!0}}},[a("v-uni-input",{staticStyle:{flex:"1"},attrs:{type:"text",disabled:!0,placeholder:"你期望ta的月收入"},model:{value:t.money,callback:function(e){t.money=e},expression:"money"}}),a("u-icon",{attrs:{name:"arrow-down"}})],1),a("v-uni-view",{staticStyle:{"font-size":"32rpx"}},[t._v("现住地")]),a("v-uni-view",{staticClass:"u-flex",staticStyle:{width:"630rpx",height:"120rpx",background:"#F1F1F1","border-radius":"28rpx",margin:"24rpx 0","box-sizing":"border-box",padding:"0 32rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showaddress=!0}}},[a("v-uni-input",{staticStyle:{flex:"1"},attrs:{type:"text",disabled:!0,placeholder:"你期望ta的现住地"},model:{value:0==t.address.length?"":t.address[0].name+"-"+t.address[1].name,callback:function(e){t.$set(0==t.address.length?"":t.address[0].name+"-"+t.address[1],"name",e)},expression:"address.length==0?'':address[0].name+'-'+address[1].name"}}),a("u-icon",{attrs:{name:"arrow-down"}})],1),a("v-uni-view",{staticClass:"publish select",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.start.apply(void 0,arguments)}}},[t._v("开始匹配")])],1),a("u-picker",{ref:"uPicker",attrs:{immediateChange:!0,show:t.showage,title:"年龄",columns:t.columns},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showage=!1},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)},change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeHandler.apply(void 0,arguments)}}}),a("u-picker",{ref:"uPicker",attrs:{immediateChange:!0,show:t.showheight,title:"身高",columns:t.heightcolumns},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showheight=!1},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.heightconfirm.apply(void 0,arguments)}}}),a("u-picker",{ref:"uPicker",attrs:{immediateChange:!0,show:t.showmoney,title:"月收入",columns:t.moneycolumns},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showmoney=!1},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.moneyconfirm.apply(void 0,arguments)}}}),a("u-picker",{ref:"uPicker",attrs:{immediateChange:!0,show:t.showaddress,keyName:"name",title:"居住地",columns:t.addresscolumns},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showaddress=!1},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.addressconfirm.apply(void 0,arguments)}}}),a("u-picker",{ref:"uPicker",attrs:{immediateChange:!0,show:t.showEducation,title:"学历",columns:t.columns2},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showEducation=!1},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmEducation.apply(void 0,arguments)}}}),a("u-picker",{attrs:{immediateChange:!0,show:t.showwork,title:"工作性质",keyName:"name",columns:t.columns1},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showwork=!1},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmWork.apply(void 0,arguments)}}})],1)},i=[]},2909:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,o.default)(t)||(0,n.default)(t)||(0,i.default)(t)||(0,r.default)()};var o=d(a("6005")),n=d(a("db90")),i=d(a("06c5")),r=d(a("3427"));function d(t){return t&&t.__esModule?t:{default:t}}},3427:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},a("d9e2"),a("d401")},6005:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,o.default)(t)};var o=function(t){return t&&t.__esModule?t:{default:t}}(a("6b75"))},"63f7":function(t,e,a){var o=a("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */.u-line-1[data-v-230f0dc8]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important}.u-line-2[data-v-230f0dc8]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.u-line-3[data-v-230f0dc8]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.u-line-4[data-v-230f0dc8]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.u-line-5[data-v-230f0dc8]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.u-border[data-v-230f0dc8]{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top[data-v-230f0dc8]{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left[data-v-230f0dc8]{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right[data-v-230f0dc8]{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom[data-v-230f0dc8]{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom[data-v-230f0dc8]{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button[data-v-230f0dc8]{padding:0;background-color:initial;font-size:inherit;line-height:inherit;color:inherit}.u-reset-button[data-v-230f0dc8]::after{border:none}.u-hover-class[data-v-230f0dc8]{opacity:.7}.u-primary-light[data-v-230f0dc8]{color:#ecf5ff}.u-warning-light[data-v-230f0dc8]{color:#fdf6ec}.u-success-light[data-v-230f0dc8]{color:#f5fff0}.u-error-light[data-v-230f0dc8]{color:#fef0f0}.u-info-light[data-v-230f0dc8]{color:#f4f4f5}.u-primary-light-bg[data-v-230f0dc8]{background-color:#ecf5ff}.u-warning-light-bg[data-v-230f0dc8]{background-color:#fdf6ec}.u-success-light-bg[data-v-230f0dc8]{background-color:#f5fff0}.u-error-light-bg[data-v-230f0dc8]{background-color:#fef0f0}.u-info-light-bg[data-v-230f0dc8]{background-color:#f4f4f5}.u-primary-dark[data-v-230f0dc8]{color:#398ade}.u-warning-dark[data-v-230f0dc8]{color:#f1a532}.u-success-dark[data-v-230f0dc8]{color:#53c21d}.u-error-dark[data-v-230f0dc8]{color:#e45656}.u-info-dark[data-v-230f0dc8]{color:#767a82}.u-primary-dark-bg[data-v-230f0dc8]{background-color:#398ade}.u-warning-dark-bg[data-v-230f0dc8]{background-color:#f1a532}.u-success-dark-bg[data-v-230f0dc8]{background-color:#53c21d}.u-error-dark-bg[data-v-230f0dc8]{background-color:#e45656}.u-info-dark-bg[data-v-230f0dc8]{background-color:#767a82}.u-primary-disabled[data-v-230f0dc8]{color:#9acafc}.u-warning-disabled[data-v-230f0dc8]{color:#f9d39b}.u-success-disabled[data-v-230f0dc8]{color:#a9e08f}.u-error-disabled[data-v-230f0dc8]{color:#f7b2b2}.u-info-disabled[data-v-230f0dc8]{color:#c4c6c9}.u-primary[data-v-230f0dc8]{color:#3c9cff}.u-warning[data-v-230f0dc8]{color:#f9ae3d}.u-success[data-v-230f0dc8]{color:#5ac725}.u-error[data-v-230f0dc8]{color:#f56c6c}.u-info[data-v-230f0dc8]{color:#909399}.u-primary-bg[data-v-230f0dc8]{background-color:#3c9cff}.u-warning-bg[data-v-230f0dc8]{background-color:#f9ae3d}.u-success-bg[data-v-230f0dc8]{background-color:#5ac725}.u-error-bg[data-v-230f0dc8]{background-color:#f56c6c}.u-info-bg[data-v-230f0dc8]{background-color:#909399}.u-main-color[data-v-230f0dc8]{color:#303133}.u-content-color[data-v-230f0dc8]{color:#606266}.u-tips-color[data-v-230f0dc8]{color:#909193}.u-light-color[data-v-230f0dc8]{color:#c0c4cc}.u-safe-area-inset-top[data-v-230f0dc8]{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right[data-v-230f0dc8]{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom[data-v-230f0dc8]{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left[data-v-230f0dc8]{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}uni-toast[data-v-230f0dc8]{z-index:10090}uni-toast .uni-toast[data-v-230f0dc8]{z-index:10090}[data-v-230f0dc8]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-230f0dc8]{padding:%?40?% %?60?%}.publish[data-v-230f0dc8]{width:%?630?%;height:%?104?%;line-height:%?104?%;text-align:center;background:#d8d8d8;border-radius:%?52?%;font-size:%?36?%;color:#fff}.publish uni-image[data-v-230f0dc8]{width:%?64?%;height:%?64?%;margin-bottom:%?5?%;vertical-align:middle}.select[data-v-230f0dc8]{background:linear-gradient(270deg,#a890fe,#ffaeae)}',""]),t.exports=e},"7ed8":function(t,e,a){"use strict";a.r(e);var o=a("1b2b"),n=a.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(i);e["default"]=n.a},c9f0:function(t,e,a){"use strict";a.r(e);var o=a("1e7b"),n=a("7ed8");for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);a("1cf2");var r=a("f0c5"),d=Object(r["a"])(n["default"],o["b"],o["c"],!1,null,"230f0dc8",null,!1,o["a"],void 0);e["default"]=d.exports},fcbf:function(t,e,a){var o=a("63f7");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=a("4f06").default;n("156c1634",o,!0,{sourceMap:!1,shadowMode:!1})}}]);
|