(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-form-tovolApply"],{"10d1":function(t,e,i){"use strict";var n,a=i("da84"),o=i("e2cc"),r=i("f183"),s=i("6d61"),l=i("acac"),c=i("861d"),u=i("69f3").enforce,d=i("7f9a"),v=!a.ActiveXObject&&"ActiveXObject"in a,f=Object.isExtensible,h=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},p=t.exports=s("WeakMap",h,l);if(d&&v){n=l.getConstructor(h,"WeakMap",!0),r.REQUIRED=!0;var b=p.prototype,x=b["delete"],m=b.has,g=b.get,k=b.set;o(b,{delete:function(t){if(c(t)&&!f(t)){var e=u(this);return e.frozen||(e.frozen=new n),x.call(this,t)||e.frozen["delete"](t)}return x.call(this,t)},has:function(t){if(c(t)&&!f(t)){var e=u(this);return e.frozen||(e.frozen=new n),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(c(t)&&!f(t)){var e=u(this);return e.frozen||(e.frozen=new n),m.call(this,t)?g.call(this,t):e.frozen.get(t)}return g.call(this,t)},set:function(t,e){if(c(t)&&!f(t)){var i=u(this);i.frozen||(i.frozen=new n),m.call(this,t)?k.call(this,t,e):i.frozen.set(t,e)}else k.call(this,t,e);return this}})}},"21ce":function(t,e,i){"use strict";var n=i("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.addrescuer=o,e.upload=r,e.articlesave=s,e.myarticle=l,e.replyask=c,e.replylist=u,e.myreplylist=d,e.mechanism=v,e.chosintention=f,e.joinDona=h,e.getDonaList=p,e.MyDonaList=b,e.getCertificate=x;var a=n(i("be0a"));function o(t){return(0,a.default)({url:"/api/add_rescuer",method:"post",data:t})}function r(t){return(0,a.upFilse)({url:"/api/upload/image",method:"post",data:t})}function s(t){return(0,a.default)({url:"/api/circle/articlesave",method:"post",data:t})}function l(t){return(0,a.default)({url:"/api/circle/myarticle",method:"post",data:t})}function c(t){return(0,a.default)({url:"/api/add_a",method:"post",data:t})}function u(t){return(0,a.default)({url:"/api/q_list",method:"get",data:t})}function d(t){return(0,a.default)({url:"/api/a_list",method:"get",data:t})}function v(t){return(0,a.default)({url:"/api/mechanism",method:"get",data:t})}function f(t){return(0,a.default)({url:"/api/intention",method:"get",data:t})}function h(t){return(0,a.default)({url:"/api/intention",method:"get",data:t})}function p(t){return(0,a.default)({url:"/api/bulletin",method:"get",data:t})}function b(t){return(0,a.default)({url:"/api/my_donate",method:"get",data:t})}function x(t){return(0,a.default)({url:"/api/detail_training",method:"get",data:t})}},"41c9":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-036696d2]{background-color:#fff}.content .top[data-v-036696d2]{width:100%;height:%?368?%}.content .top uni-image[data-v-036696d2]{width:100%;height:%?368?%}.content .info-box[data-v-036696d2]{text-indent:%?64?%;margin:%?12?% 0 %?54?%;padding:0 %?32?% %?20?%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;border-radius:%?25?%;color:#e63931}.content .statement[data-v-036696d2]{background-color:#fff;border-radius:%?12?%}.content .statement .title[data-v-036696d2]{height:%?84?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?32?%;border-bottom:%?2?% dotted #f3f3f3}.content .statement .main[data-v-036696d2]{padding:%?24?%;text-indent:%?48?%;color:#666;font-weight:400}.content .buttom[data-v-036696d2]{width:100%;height:%?100?%;background:#df2412;margin:%?50?% auto 0;font-size:%?36?%;font-weight:400;color:#fff;line-height:%?100?%;text-align:center}.content .buttom.action[data-v-036696d2]{background:#999}.content .box[data-v-036696d2]{background-color:#fff;border-radius:%?10?%;padding:%?28?% %?32?% %?84?% %?32?%;position:relative}.content .box .box-check[data-v-036696d2]{font-size:%?28?%;font-weight:500;color:#666;line-height:%?100?%}.content .box .imp[data-v-036696d2]{color:red;margin-left:%?5?%}.content .box .check-box[data-v-036696d2]{margin:%?44?% %?0?%;padding:%?25?% %?25?%;border:%?3?% solid #e9b2af;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;border-radius:%?25?%;color:#e63931}.content .box .check-box .info[data-v-036696d2]{margin-bottom:%?32?%;text-align:center}.content .box .check-box .chooseTim[data-v-036696d2]{text-align:center;font-size:%?42?%}.content .box .check-box .choose-job[data-v-036696d2]{color:#666}.content .box .check-box .choose-job .goods_check[data-v-036696d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.content .box .check-box .choose-job .other[data-v-036696d2]{width:100%;border-bottom:%?2?% solid #f3f3f3}.content .box .check-box .box-cent[data-v-036696d2]{font-size:%?28?%;font-weight:500;color:#666;display:-webkit-box;display:-webkit-flex;display:flex}.content .box .check-box .box-cent .cent-left[data-v-036696d2]{margin-right:%?28?%}.content .box .check-box .box-cent .cent-left .left-txt[data-v-036696d2]{line-height:%?100?%}.content .box .check-box .box-cent .cent-right[data-v-036696d2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around}.content .box .check-box .box-cent .cent-right .right-check[data-v-036696d2]{line-height:%?100?%}.content .box .box-1[data-v-036696d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:100%;margin-top:%?42?%}.content .box .box-1 .box-left[data-v-036696d2]{padding-left:%?2?%;width:50%;text-align:left;color:#000}.content .box .box-1 uni-input[data-v-036696d2]{height:%?66?%;line-height:%?66?%}.content .box .box-1 .list-input[data-v-036696d2]{padding-left:%?24?%;font-size:%?28?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:50%;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#000;text-align:right;padding-right:%?24?%}.content .box .box-1 .list-input .input-placeholder[data-v-036696d2]{height:%?70?%;color:#959595}.content .box .box-1 .box-right[data-v-036696d2]{display:-webkit-box;display:-webkit-flex;display:flex;padding-left:%?24?%;height:%?66?%;line-height:%?66?%;border-radius:%?22?%;width:100%;padding-right:%?24?%;font-size:%?28?%;color:#959595;text-align:right!important}.content .box .upload-box[data-v-036696d2]{width:100%;height:%?247?%;background:#fff;border-radius:%?27?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?30?% %?40?% %?30?% 0;margin:%?42?% auto %?30?%}.content .box .upload-box .upload-left[data-v-036696d2]{font-weight:400;color:#000}.content .box .upload-box .upload-right[data-v-036696d2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.content .box .upload-box .upload-right .upload-img[data-v-036696d2]{width:%?150?%;height:%?150?%;margin-top:%?24?%}.content .flex_item[data-v-036696d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.content .radio-list[data-v-036696d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;font-size:%?28?%;padding-top:%?30?%;color:#000}.content .radio-list .uni-label-pointer[data-v-036696d2]{padding-right:%?25?%;padding-bottom:%?30?%}.content .check_box[data-v-036696d2]{padding:%?25?% %?25?%;font-size:%?28?%}.content .list-box[data-v-036696d2]{background-color:#fff;font-size:%?28?%;width:100%;height:100%;border-top:%?15?% solid #f2f2f2;color:#222}.content .list-box .worksInput[data-v-036696d2]{margin-bottom:%?35?%;border:%?2?% solid #979797;width:100%;height:%?70?%;line-height:%?70?%;padding:%?0?% %?25?%;border-radius:%?15?%}.content .list-box .list-title[data-v-036696d2]{color:#000;text-align:center;padding:%?30?% %?0?%;font-size:%?34?%;font-weight:500;border-bottom:%?2?% dashed #b5b5b5}.content .list-box .tip[data-v-036696d2]{color:#000;padding-top:%?25?%;width:100%;text-align:center}.content .list-box .icon[data-v-036696d2]{color:red;margin-left:%?5?%}body.?%PAGE?%[data-v-036696d2]{background-color:#fff}',""]),t.exports=e},"449a":function(t,e,i){"use strict";i.r(e);var n=i("537b"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"537b":function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("caad"),i("a15b"),i("2532"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),o=i("6970"),r=i("21ce"),s={data:function(){this.getDate({format:!0});return{otherjob:"",otherspe:"",loding:!1,array:["男","女"],chooseEdu:["博士后","博士","硕士","本科","专科","其他"],chooseVol:["有","无"],is_experience:[{id:1,name:"有"},{id:2,name:"无"}],chooseExp:["是","否"],days:[{value:"1",name:"早上"},{value:"2",name:"中午"},{value:"3",name:"晚上"}],quantum:"",items:[{value:"1",name:"星期一"},{value:"2",name:"星期二"},{value:"3",name:"星期三"},{value:"4",name:"星期四"},{value:"5",name:"星期五"},{value:"6",name:"星期六"},{value:"7",name:"星期日"}],dates:"",works:[{value:"1",name:"赈灾工作"},{value:"2",name:"救护培训"},{value:"3",name:"护送服务"},{value:"4",name:"编辑及出版"},{value:"5",name:"医疗护理服务"},{value:"6",name:"探访服务"},{value:"7",name:"外语翻译"},{value:"8",name:"调查服务"},{value:"9",name:"联络服务"},{value:"10",name:"宣传及推广"},{value:"11",name:"文书档案工作"},{value:"12",name:"其它(请注明)"}],taste:"",worksText:"",expertise:[{value:"1",name:"医疗护理"},{value:"2",name:"紧急救护"},{value:"3",name:"出版/美术设计"},{value:"4",name:"影音制作"},{value:"5",name:"文艺演出"},{value:"6",name:"网络软件"},{value:"7",name:"摄影摄像"},{value:"8",name:"电脑中文打字"},{value:"9",name:"汽车驾驶"},{value:"10",name:"外语翻译"},{value:"11",name:"法律咨询"},{value:"12",name:"文案策划"},{value:"13",name:"其它(请注明)"}],speciali:"",current:"",is_vol:[{id:1,name:"有"},{id:2,name:"无"}],index:0,email:"",cardimg:"",zip:"",name:"",sex:"请选择你的性别",birth:"请选择你的生日",fillingDate:"",phone:"",mobile:"",address:"",work:"",specialty:"",education:"请选择教育程度",checked1:"",checked:"",expertiseText:"",Getchecked:!1}},computed:{startDate:function(){return this.getDate("start")},endDate:function(){return this.getDate("end")}},methods:{join:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t,""!=i.name){e.next=4;break}return i.$api.msg("请输入您的姓名"),e.abrupt("return");case 4:if(""!=i.sex&&"请选择你的性别"!=i.sex){e.next=7;break}return i.$api.msg("请输入您的性别"),e.abrupt("return");case 7:if(""!=i.birth&&"请选择你的生日"!=i.birth){e.next=10;break}return i.$api.msg("请填写您的生日"),e.abrupt("return");case 10:if(n=/^(\+?0?86-?)?1[\d]\d{9}$/,""!=i.phone){e.next=14;break}return i.$api.msg("请填写您的移动电话"),e.abrupt("return");case 14:if(n.test(i.phone)){e.next=17;break}return i.$api.msg("请填写正确的移动电话"),e.abrupt("return");case 17:if(""!=i.checked1){e.next=20;break}return i.$api.msg("请选择有无服务经验"),e.abrupt("return");case 20:if(""!=i.checked){e.next=23;break}return i.$api.msg("请选择是否接受过志愿者服务"),e.abrupt("return");case 23:if(""!=i.cardimg){e.next=26;break}return i.$api.msg("请上传您的证件"),e.abrupt("return");case 26:if(i.quantum){e.next=29;break}return t.$api.msg("请选择时间段!"),e.abrupt("return");case 29:if(i.dates){e.next=32;break}return t.$api.msg("请选择日期!"),e.abrupt("return");case 32:if(0!=i.Getchecked){e.next=35;break}return t.$api.msg("请阅读并同意个人声明!"),e.abrupt("return");case 35:i.loding=!0,(0,o.add_volunteers)({name:i.name,sex:i.sex,birth:i.birth,picture:i.cardimg,phone:i.phone,mobile:i.mobile,email:i.email,address:i.address,zip:i.zip,work:i.work,specialty:i.specialty,zy:i.zy,education:i.education,is_vol:i.checked,is_experience:i.checked1,quantum:i.quantum,date:i.dates,taste:i.taste,make_taste:i.worksText,speciali:i.speciali,make_speciali:i.expertiseText}).then((function(t){i.sex="请选择你的性别",i.education="请选择你的教育程度",i.birth="请选择你的生日",uni.navigateTo({url:"../joinSuc/joinNow"})})).catch((function(t){console.log("出错了"),console.log(t)}));case 37:case"end":return e.stop()}}),e)})))()},imgsub:function(){var t=this;console.log("imgsub"),(0,r.upload)({filename:""}).then((function(e){t.cardimg=e[0].url}))},bindPickerSex:function(t){this.sex=this.array[t.target.value],this.index=t.target.value+1},bindPickerEdu:function(t){this.education=this.chooseEdu[t.target.value],this.index=t.target.value+1},bindDateChange:function(t){this.birth=t.target.value},fillingDateChange:function(t){this.fillingDate=t.target.value},bindPickerVol:function(t){this.is_vol=this.chooseVol[t.target.value],this.index=t.target.value+1},radioChange1:function(t){this.checked1=t.detail.value,console.log(this.checked1,"有无服务经验")},radioChange:function(t){this.checked=t.detail.value,console.log(this.checked,"是否受过志愿服务")},Getcheckbox:function(){var t=this;t.Getchecked=!t.Getchecked},getDate:function(t){var e=new Date,i=e.getFullYear(),n=e.getMonth()+1,a=e.getDate();return"start"===t?i-=60:"end"===t&&(i+=2),n=n>9?n:"0"+n,a=a>9?a:"0"+a,"".concat(i,"-").concat(n,"-").concat(a)},checkboxChange:function(t){for(var e=this.days,i=t.detail.value,n=0,a=e.length;n