| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-applic-applic"],{"1ea2":function(t,e,n){"use strict";var r=n("af9e"),i=n("1c06"),a=n("ada5"),o=n("5d6e"),u=Object.isExtensible,c=r((function(){u(1)}));t.exports=c||o?function(t){return!!i(t)&&((!o||"ArrayBuffer"!==a(t))&&(!u||u(t)))}:u},"323f1":function(t,e,n){var r=n("7193");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("967d").default;i("ab19b78a",r,!0,{sourceMap:!1,shadowMode:!1})},3639:function(t,e,n){n("bf0f"),n("18f7"),n("d0af"),n("de6c"),n("6a54"),n("9a2c");var r=n("bdbb")["default"];function i(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=o?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(a,u,c):a[u]=t[u]}return a["default"]=t,n&&n.set(t,a),a},t.exports.__esModule=!0,t.exports["default"]=t.exports},5075:function(t,e,n){"use strict";var r=n("ae5c"),i=n("71e9"),a=n("e7e3"),o=n("52df"),u=n("81a7"),c=n("1fc1"),s=n("1297"),f=n("d67c"),d=n("5112"),l=n("7e91"),p=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,n){var g,b,m,x,w,_,y,k=n&&n.that,O=!(!n||!n.AS_ENTRIES),j=!(!n||!n.IS_RECORD),D=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),E=r(e,k),z=function(t){return g&&l(g,"normal",t),new h(!0,t)},S=function(t){return O?(a(t),C?E(t[0],t[1],z):E(t[0],t[1])):C?E(t,z):E(t)};if(j)g=t.iterator;else if(D)g=t;else{if(b=d(t),!b)throw new p(o(t)+" is not iterable");if(u(b)){for(m=0,x=c(t);x>m;m++)if(w=S(t[m]),w&&s(v,w))return w;return new h(!1)}g=f(t,b)}_=j?t.next:g.next;while(!(y=i(_,g)).done){try{w=S(y.value)}catch(M){l(g,"throw",M)}if("object"==typeof w&&w&&s(v,w))return w}return new h(!1)}},5231:function(t,e,n){"use strict";n.r(e);var r=n("e7c1"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=i.a},"5d6e":function(t,e,n){"use strict";var r=n("af9e");t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},7193:function(t,e,n){var r=n("c86c");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.content[data-v-4c31cfec]{line-height:1;background-color:#ffe1e1;padding-bottom:%?40?%}.content .bgi-box[data-v-4c31cfec]{width:%?750?%}.content .bgi-box .bgi-img[data-v-4c31cfec]{width:%?750?%}.content .center-box[data-v-4c31cfec]{width:%?405?%;background:linear-gradient(0deg,#e73931,#ff4f4f);border-radius:%?10?%;margin:%?-250?% auto 0;z-index:1;position:relative;line-height:%?66?%;text-align:center;font-size:%?30?%;font-weight:500;color:#fff}.content .list-box[data-v-4c31cfec]{width:%?685?%;position:relative;background:#fff;border-radius:29px;margin:%?-33?% auto 0;font-size:%?30?%;font-weight:400;color:#e63931;padding:%?60?% %?0?% %?30?%}.content .list-box .list[data-v-4c31cfec]{display:flex;align-items:center;width:%?542?%;height:%?83?%;border:1px solid #e63931;margin:0 auto %?30?%;padding:0 %?40?%;border-radius:%?83?%}.content .list-box .list .uni-input[data-v-4c31cfec]{color:#ff9797}.content .list-box .list .list-left[data-v-4c31cfec]{width:%?150?%}.content .list-box .list .list-input[data-v-4c31cfec]{flex:1;color:#ff9797}.content .list-box .list .list-input .input-placeholder[data-v-4c31cfec]{color:#ff9797}.content .sub[data-v-4c31cfec]{width:%?660?%;line-height:%?100?%;text-align:center;background:linear-gradient(0deg,#c90f1b,#f14d33);border-radius:%?50?%;font-size:%?36?%;font-weight:400;color:#fff;margin:%?40?% auto 0}.content .sub.action[data-v-4c31cfec]{background-color:#999}',""]),t.exports=e},7658:function(t,e,n){"use strict";var r=n("8bdb"),i=n("85c1"),a=n("bb80"),o=n("8466"),u=n("81a9"),c=n("d0b1"),s=n("5075"),f=n("b720"),d=n("474f"),l=n("1eb8"),p=n("1c06"),h=n("af9e"),v=n("29ba"),g=n("181d"),b=n("dcda");t.exports=function(t,e,n){var m=-1!==t.indexOf("Map"),x=-1!==t.indexOf("Weak"),w=m?"set":"add",_=i[t],y=_&&_.prototype,k=_,O={},j=function(t){var e=a(y[t]);u(y,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(x&&!p(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return x&&!p(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(x&&!p(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})},D=o(t,!d(_)||!(x||y.forEach&&!h((function(){(new _).entries().next()}))));if(D)k=n.getConstructor(e,t,m,w),c.enable();else if(o(t,!0)){var C=new k,E=C[w](x?{}:-0,1)!==C,z=h((function(){C.has(1)})),S=v((function(t){new _(t)})),M=!x&&h((function(){var t=new _,e=5;while(e--)t[w](e,e);return!t.has(-0)}));S||(k=e((function(t,e){f(t,y);var n=b(new _,t,k);return l(e)||s(e,n[w],{that:n,AS_ENTRIES:m}),n})),k.prototype=y,y.constructor=k),(z||M)&&(j("delete"),j("has"),m&&j("get")),(M||E)&&j(w),x&&y.clear&&delete y.clear}return O[t]=k,r({global:!0,constructor:!0,forced:k!==_},O),g(k,t),x||n.setStrong(k,t,m),k}},a9d2:function(t,e,n){"use strict";n("6a54");var r=n("3639").default;Object.defineProperty(e,"__esModule",{value:!0}),e.add_four_help=function(t){return(0,i.default)({url:"/api/add_four_help",method:"post",data:t})},e.add_help=function(t){return(0,i.default)({url:"/api/add_help",method:"post",data:t})},e.add_three_help=function(t){return(0,i.default)({url:"/api/add_three_help",method:"post",data:t})},e.add_two_help=function(t){return(0,i.default)({url:"/api/add_two_help",method:"post",data:t})},e.bannerlist=function(t){return(0,i.default)({url:"/api/article/list/1",method:"get",data:t})},e.change_rescue=function(t){return(0,i.default)({url:"/api/change_rescue",method:"get",data:t})},e.deleteList=function(t){return(0,i.default)({url:"/api/del_resc",method:"get",data:t})},e.getDistance=function(t){return(0,i.default)({url:"/api/aeddiss",method:"get",data:t})},e.getList=function(t){return(0,i.default)({url:"/api/sign_cell",method:"post",data:t})},e.getListAED=function(t){return(0,i.default)({url:"/api/getAed",method:"get",data:t})},e.getLove=function(t){return(0,i.default)({url:"/api/getDonate",method:"get",data:t})},e.getNumber=function(t){return(0,i.default)({url:"/api/get_rescuer",method:"get",data:t})},e.getStation=function(t){return(0,i.default)({url:"/api/getStation",method:"get",data:t})},e.getcomAddress=function(t){return(0,i.default)({url:"/api/get_commonly",method:"get",data:t})},e.getdis=function(t){return(0,i.default)({url:"/api/getdis",method:"get",data:t})},e.getrescue=function(t){return(0,i.default)({url:"/api/rescueee",method:"get",data:t})},e.getseek=function(t){return(0,i.default)({url:"/api/seek",method:"get",data:t})},e.groom1=function(t){return(0,i.default)({url:"/api/groom/list/1",method:"get",data:t})},e.groom3=function(t){return(0,i.default)({url:"/api/groom/list/3",method:"get",data:t})},e.groom4=function(t){return(0,i.default)({url:"/api/groom/list/4",method:"get",data:t})},e.joinSec=function(t){return(0,i.default)({url:"/api/add_volunteers",method:"post",data:t})},e.joinSecc=function(t){return(0,i.default)({url:"/api/add_donation",method:"post",data:t})},e.loadIndexs=function(t){return(0,i.default)({url:"/api/index",method:"get",data:t})},e.myCreateCircle=function(t){return(0,i.default)({url:"/api/circle/mycreate",method:"post",data:t})},e.one_help=function(t){return(0,i.default)({url:"/api/one_help",method:"get",data:t})},e.tocall=function(t){return(0,i.default)({url:"/api/do_getdis",method:"get",data:t})},e.training=function(t){return(0,i.default)({url:"/api/training",method:"get",data:t})},e.upload=function(t){return(0,i.upFilse)({url:"/api/upload/image",method:"post",data:t})};var i=r(n("d4c5"))},b3e2:function(t,e,n){"use strict";var r,i=n("c238"),a=n("85c1"),o=n("bb80"),u=n("a74c"),c=n("d0b1"),s=n("7658"),f=n("d871c"),d=n("1c06"),l=n("235c").enforce,p=n("af9e"),h=n("a20b"),v=Object,g=Array.isArray,b=v.isExtensible,m=v.isFrozen,x=v.isSealed,w=v.freeze,_=v.seal,y=!a.ActiveXObject&&"ActiveXObject"in a,k=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},O=s("WeakMap",k,f),j=O.prototype,D=o(j.set);if(h)if(y){r=f.getConstructor(k,"WeakMap",!0),c.enable();var C=o(j["delete"]),E=o(j.has),z=o(j.get);u(j,{delete:function(t){if(d(t)&&!b(t)){var e=l(this);return e.frozen||(e.frozen=new r),C(this,t)||e.frozen["delete"](t)}return C(this,t)},has:function(t){if(d(t)&&!b(t)){var e=l(this);return e.frozen||(e.frozen=new r),E(this,t)||e.frozen.has(t)}return E(this,t)},get:function(t){if(d(t)&&!b(t)){var e=l(this);return e.frozen||(e.frozen=new r),E(this,t)?z(this,t):e.frozen.get(t)}return z(this,t)},set:function(t,e){if(d(t)&&!b(t)){var n=l(this);n.frozen||(n.frozen=new r),E(this,t)?D(this,t,e):n.frozen.set(t,e)}else D(this,t,e);return this}})}else(function(){return i&&p((function(){var t=w([]);return D(new O,t,1),!m(t)}))})()&&u(j,{set:function(t,e){var n;return g(t)&&(m(t)?n=w:x(t)&&(n=_)),D(this,t,e),n&&n(t),this}})},b585:function(t,e,n){t.exports=n.p+"static/images/bgitop.png"},bb22:function(t,e,n){"use strict";var r=n("323f1"),i=n.n(r);i.a},c238:function(t,e,n){"use strict";var r=n("af9e");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},d0af:function(t,e,n){"use strict";n("b3e2")},d0b1:function(t,e,n){"use strict";var r=n("8bdb"),i=n("bb80"),a=n("11bf"),o=n("1c06"),u=n("338c"),c=n("d6b1").f,s=n("80bb"),f=n("8449"),d=n("1ea2"),l=n("d7b4"),p=n("c238"),h=!1,v=l("meta"),g=0,b=function(t){c(t,v,{value:{objectID:"O"+g++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},h=!0;var t=s.f,e=i([].splice),n={};n[v]=1,t(n).length&&(s.f=function(n){for(var r=t(n),i=0,a=r.length;i<a;i++)if(r[i]===v){e(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,v)){if(!d(t))return"F";if(!e)return"E";b(t)}return t[v].objectID},getWeakData:function(t,e){if(!u(t,v)){if(!d(t))return!0;if(!e)return!1;b(t)}return t[v].weakData},onFreeze:function(t){return p&&h&&d(t)&&!u(t,v)&&b(t),t}};a[v]=!0},d11d:function(t,e,n){"use strict";n.r(e);var r=n("e626"),i=n("5231");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("bb22");var o=n("828b"),u=Object(o["a"])(i["default"],r["b"],r["c"],!1,null,"4c31cfec",null,!1,r["a"],void 0);e["default"]=u.exports},d871c:function(t,e,n){"use strict";var r=n("bb80"),i=n("a74c"),a=n("d0b1").getWeakData,o=n("b720"),u=n("e7e3"),c=n("1eb8"),s=n("1c06"),f=n("5075"),d=n("4d16"),l=n("338c"),p=n("235c"),h=p.set,v=p.getterFor,g=d.find,b=d.findIndex,m=r([].splice),x=0,w=function(t){return t.frozen||(t.frozen=new _)},_=function(){this.entries=[]},y=function(t,e){return g(t.entries,(function(t){return t[0]===e}))};_.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=b(this.entries,(function(e){return e[0]===t}));return~e&&m(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,n,r){var d=t((function(t,i){o(t,p),h(t,{type:e,id:x++,frozen:void 0}),c(i)||f(i,t[r],{that:t,AS_ENTRIES:n})})),p=d.prototype,g=v(e),b=function(t,e,n){var r=g(t),i=a(u(e),!0);return!0===i?w(r).set(e,n):i[r.id]=n,t};return i(p,{delete:function(t){var e=g(this);if(!s(t))return!1;var n=a(t);return!0===n?w(e)["delete"](t):n&&l(n,e.id)&&delete n[e.id]},has:function(t){var e=g(this);if(!s(t))return!1;var n=a(t);return!0===n?w(e).has(t):n&&l(n,e.id)}}),i(p,n?{get:function(t){var e=g(this);if(s(t)){var n=a(t);return!0===n?w(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),d}}},e626:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",{staticClass:"content"},[r("v-uni-view",{staticClass:"bgi-box"},[r("v-uni-image",{staticClass:"bgi-img",attrs:{src:n("b585"),mode:"widthFix"}})],1),r("v-uni-view",{staticClass:"center-box"},[t._v("报名参与")]),r("v-uni-view",{staticClass:"list-box"},[r("v-uni-view",{staticClass:"list"},[r("v-uni-view",{staticClass:"list-left"},[t._v("姓名:")]),r("v-uni-input",{staticClass:"list-input",attrs:{type:"text",value:"",placeholder:"请填写您的姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1),r("v-uni-view",{staticClass:"list"},[r("v-uni-view",{staticClass:"list-left"},[t._v("性别:")]),r("v-uni-picker",{staticClass:"list-input",attrs:{value:t.index,range:t.array},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindPickerSex.apply(void 0,arguments)}}},[r("v-uni-text",[t._v(t._s(t.sex||"请选择您的性别"))])],1)],1),r("v-uni-view",{staticClass:"list"},[r("v-uni-view",{staticClass:"list-left"},[t._v("出生年月:")]),r("v-uni-picker",{attrs:{mode:"date",value:t.birthday,start:t.startDate,end:t.endDate},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindDateChange.apply(void 0,arguments)}}},[r("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(t.birthday||"请选择您的出生日期"))])],1)],1),r("v-uni-view",{staticClass:"list"},[r("v-uni-view",{staticClass:"list-left"},[t._v("联系方式:")]),r("v-uni-input",{staticClass:"list-input",attrs:{type:"text",value:"",placeholder:"请填写您的联系方式"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1)],1),r("v-uni-view",{staticClass:"sub",class:{action:t.loding},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),!t.loding&&t.join()}}},[t._v("马上报名")])],1)},i=[]},e7c1:function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("5c47"),n("0506"),n("c223");var i=r(n("2634")),a=r(n("2fdc")),o=n("a9d2"),u={data:function(){this.getDate({format:!0});return{loding:!1,index:0,name:"",sex:"",birthday:"",phone:"",getList:[],array:["男","女"]}},computed:{startDate:function(){return this.getDate("start")},endDate:function(){return this.getDate("end")}},methods:{bindPickerSex:function(t){this.sex=this.array[t.target.value]},join:function(){var t=this;return(0,a.default)((0,i.default)().mark((function e(){var n,r;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t,""!=n.name){e.next=4;break}return n.$api.msg("请输入您的姓名"),e.abrupt("return");case 4:if(""!=n.sex){e.next=7;break}return n.$api.msg("请填写您的性别"),e.abrupt("return");case 7:if(""!=n.birthday){e.next=10;break}return n.$api.msg("请填写您的年月日"),e.abrupt("return");case 10:if(r=/^(\+?0?86-?)?1[\d]\d{9}$/,n.phone!=!r.test(n.phone)){e.next=14;break}return n.$api.msg("请填写正确的手机号码"),e.abrupt("return");case 14:n.loding=!0,(0,o.getList)({name:n.name,sex:n.sex,birthday:n.birthday,phone:n.phone}).then((function(t){console.log(t),uni.navigateTo({url:"../joinSuc/joinSuc"})}));case 16:case"end":return e.stop()}}),e)})))()},bindDateChange:function(t){var e=new Date(t.target.value).getTime(),n=(new Date).getTime(),r=n-e;r<567648e6||r>141912e7?uni.showModal({content:"捐献年龄必须在18至45周岁!",success:function(t){t.confirm}}):this.birthday=t.target.value},getDate:function(t){var e=new Date,n=e.getFullYear(),r=e.getMonth()+1,i=e.getDate();return"start"===t?n-=60:"end"===t&&(n+=2),r=r>9?r:"0"+r,i=i>9?i:"0"+i,"".concat(n,"-").concat(r,"-").concat(i)}}};e.default=u}}]);
|