| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-applic-applic"],{"0e2a":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"bgi-box"},[a("v-uni-image",{staticClass:"bgi-img",attrs:{src:n("762a"),mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"center-box"},[t._v("报名参与")]),a("v-uni-view",{staticClass:"list-box"},[a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"list-left"},[t._v("姓名:")]),a("v-uni-input",{staticClass:"list-input",attrs:{type:"text",value:"",placeholder:"请填写您的姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"list-left"},[t._v("性别:")]),a("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)}}},[a("v-uni-text",[t._v(t._s(t.sex||"请选择您的性别"))])],1)],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"list-left"},[t._v("出生年月:")]),a("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)}}},[a("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(t.birthday||"请选择您的出生日期"))])],1)],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"list-left"},[t._v("联系方式:")]),a("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),a("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)},r=[]},"10d1":function(t,e,n){"use strict";var a,i=n("da84"),r=n("e2cc"),o=n("f183"),u=n("6d61"),c=n("acac"),s=n("861d"),d=n("69f3").enforce,f=n("7f9a"),l=!i.ActiveXObject&&"ActiveXObject"in i,p=Object.isExtensible,h=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=u("WeakMap",h,c);if(f&&l){a=c.getConstructor(h,"WeakMap",!0),o.REQUIRED=!0;var g=v.prototype,b=g["delete"],m=g.has,x=g.get,w=g.set;r(g,{delete:function(t){if(s(t)&&!p(t)){var e=d(this);return e.frozen||(e.frozen=new a),b.call(this,t)||e.frozen["delete"](t)}return b.call(this,t)},has:function(t){if(s(t)&&!p(t)){var e=d(this);return e.frozen||(e.frozen=new a),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!p(t)){var e=d(this);return e.frozen||(e.frozen=new a),m.call(this,t)?x.call(this,t):e.frozen.get(t)}return x.call(this,t)},set:function(t,e){if(s(t)&&!p(t)){var n=d(this);n.frozen||(n.frozen=new a),m.call(this,t)?w.call(this,t,e):n.frozen.set(t,e)}else w.call(this,t,e);return this}})}},"59f3":function(t,e,n){"use strict";var a=n("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.loadIndexs=r,e.bannerlist=o,e.itemList=u,e.upload=c,e.groom4=s,e.groom1=d,e.groom3=f,e.myCreateCircle=l,e.getList=p,e.getNumber=h,e.add_volunteers=v,e.joinSec=g,e.joinSecc=b,e.getdis=m,e.tocall=x,e.training=w,e.getseek=y,e.getcomAddress=_,e.getrescue=k,e.change_rescue=D,e.getListAED=C,e.getDistance=j,e.deleteList=z,e.getListMechanism=O,e.add_company=E;var i=a(n("5a67"));function r(t){return(0,i.default)({url:"/api/index",method:"get",data:t})}function o(t){return(0,i.default)({url:"/api/article/list/1",method:"get",data:t})}function u(t){return(0,i.default)({url:"/api/article/list/4",method:"get",data:t})}function c(t){return(0,i.upFilse)({url:"/api/upload/image",method:"post",data:t})}function s(t){return(0,i.default)({url:"/api/groom/list/4",method:"get",data:t})}function d(t){return(0,i.default)({url:"/api/groom/list/1",method:"get",data:t})}function f(t){return(0,i.default)({url:"/api/groom/list/3",method:"get",data:t})}function l(t){return(0,i.default)({url:"/api/circle/mycreate",method:"post",data:t})}function p(t){return(0,i.default)({url:"/api/sign_cell",method:"post",data:t})}function h(t){return(0,i.default)({url:"/api/get_rescuer",method:"get",data:t})}function v(t){return(0,i.default)({url:"/api/add_registration",method:"post",data:t})}function g(t){return(0,i.default)({url:"/api/add_volunteers",method:"post",data:t})}function b(t){return(0,i.default)({url:"/api/add_donation",method:"post",data:t})}function m(t){return(0,i.default)({url:"/api/getdis",method:"get",data:t})}function x(t){return(0,i.default)({url:"/api/do_getdis",method:"get",data:t})}function w(t){return(0,i.default)({url:"/api/training",method:"get",data:t})}function y(t){return(0,i.default)({url:"/api/seek",method:"get",data:t})}function _(t){return(0,i.default)({url:"/api/get_commonly",method:"get",data:t})}function k(t){return(0,i.default)({url:"/api/rescueee",method:"get",data:t})}function D(t){return(0,i.default)({url:"/api/change_rescue",method:"get",data:t})}function C(t){return(0,i.default)({url:"/api/getAed",method:"get",data:t})}function j(t){return(0,i.default)({url:"/api/aeddiss",method:"get",data:t})}function z(t){return(0,i.default)({url:"/api/del_resc",method:"get",data:t})}function O(t){return(0,i.default)({url:"/api/mechanism",method:"get",data:t})}function E(t){return(0,i.default)({url:"/api/add_company",method:"post",data:t})}},"6d61":function(t,e,n){"use strict";var a=n("23e7"),i=n("da84"),r=n("94ca"),o=n("6eeb"),u=n("f183"),c=n("2266"),s=n("19aa"),d=n("861d"),f=n("d039"),l=n("1c7e"),p=n("d44e"),h=n("7156");t.exports=function(t,e,n){var v=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),b=v?"set":"add",m=i[t],x=m&&m.prototype,w=m,y={},_=function(t){var e=x[t];o(x,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!d(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!d(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!d(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(r(t,"function"!=typeof m||!(g||x.forEach&&!f((function(){(new m).entries().next()})))))w=n.getConstructor(e,t,v,b),u.REQUIRED=!0;else if(r(t,!0)){var k=new w,D=k[b](g?{}:-0,1)!=k,C=f((function(){k.has(1)})),j=l((function(t){new m(t)})),z=!g&&f((function(){var t=new m,e=5;while(e--)t[b](e,e);return!t.has(-0)}));j||(w=e((function(e,n){s(e,w,t);var a=h(new m,e,w);return void 0!=n&&c(n,a[b],a,v),a})),w.prototype=x,x.constructor=w),(C||z)&&(_("delete"),_("has"),v&&_("get")),(z||D)&&_(b),g&&x.clear&&delete x.clear}return y[t]=w,a({global:!0,forced:w!=m},y),p(w,t),g||n.setStrong(w,t,v),w}},7037:function(t,e,n){function a(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?t.exports=a=function(t){return typeof t}:t.exports=a=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(e)}n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0"),t.exports=a},"762a":function(t,e,n){t.exports=n.p+"static/img/bgitop.efff07b0.png"},8443:function(t,e,n){"use strict";n.r(e);var a=n("9d92"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"902d":function(t,e,n){"use strict";var a=n("ca96"),i=n.n(a);i.a},9101:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.content[data-v-8aec9b60]{line-height:1;background-color:#ffe1e1;padding-bottom:%?40?%}.content .bgi-box[data-v-8aec9b60]{width:%?750?%}.content .bgi-box .bgi-img[data-v-8aec9b60]{width:%?750?%}.content .center-box[data-v-8aec9b60]{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-8aec9b60]{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-8aec9b60]{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-8aec9b60]{color:#ff9797}.content .list-box .list .list-left[data-v-8aec9b60]{width:%?150?%}.content .list-box .list .list-input[data-v-8aec9b60]{flex:1;color:#ff9797}.content .list-box .list .list-input .input-placeholder[data-v-8aec9b60]{color:#ff9797}.content .sub[data-v-8aec9b60]{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-8aec9b60]{background-color:#999}',""]),t.exports=e},"9d92":function(t,e,n){"use strict";var a=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var i=a(n("1da1")),r=n("59f3"),o={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,i.default)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.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(a=/^(\+?0?86-?)?1[\d]\d{9}$/,n.phone!=!a.test(n.phone)){e.next=14;break}return n.$api.msg("请填写正确的手机号码"),e.abrupt("return");case 14:n.loding=!0,(0,r.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=this,n=new Date(t.target.value).getTime(),a=(new Date).getTime(),i=a-n,r=567648e6,o=141912e7;i<r||i>o?uni.showModal({content:"捐献年龄必须在18至45周岁!",success:function(t){t.confirm}}):e.birthday=t.target.value},getDate:function(t){var e=new Date,n=e.getFullYear(),a=e.getMonth()+1,i=e.getDate();return"start"===t?n-=60:"end"===t&&(n+=2),a=a>9?a:"0"+a,i=i>9?i:"0"+i,"".concat(n,"-").concat(a,"-").concat(i)}}};e.default=o},acac:function(t,e,n){"use strict";var a=n("e2cc"),i=n("f183").getWeakData,r=n("825a"),o=n("861d"),u=n("19aa"),c=n("2266"),s=n("b727"),d=n("5135"),f=n("69f3"),l=f.set,p=f.getterFor,h=s.find,v=s.findIndex,g=0,b=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},x=function(t,e){return h(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=x(this,t);if(e)return e[1]},has:function(t){return!!x(this,t)},set:function(t,e){var n=x(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var f=t((function(t,a){u(t,f,e),l(t,{type:e,id:g++,frozen:void 0}),void 0!=a&&c(a,t[s],t,n)})),h=p(e),v=function(t,e,n){var a=h(t),o=i(r(e),!0);return!0===o?b(a).set(e,n):o[a.id]=n,t};return a(f.prototype,{delete:function(t){var e=h(this);if(!o(t))return!1;var n=i(t);return!0===n?b(e)["delete"](t):n&&d(n,e.id)&&delete n[e.id]},has:function(t){var e=h(this);if(!o(t))return!1;var n=i(t);return!0===n?b(e).has(t):n&&d(n,e.id)}}),a(f.prototype,n?{get:function(t){var e=h(this);if(o(t)){var n=i(t);return!0===n?b(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),f}}},bb2f:function(t,e,n){var a=n("d039");t.exports=!a((function(){return Object.isExtensible(Object.preventExtensions({}))}))},ca96:function(t,e,n){var a=n("9101");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("31aaa6aa",a,!0,{sourceMap:!1,shadowMode:!1})},dbce:function(t,e,n){n("e439"),n("d3b7"),n("3ca3"),n("10d1"),n("ddb0");var a=n("7037");function i(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function r(t){if(t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!==typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var u=r?Object.getOwnPropertyDescriptor(t,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=t[o]}return n["default"]=t,e&&e.set(t,n),n}t.exports=r},f183:function(t,e,n){var a=n("d012"),i=n("861d"),r=n("5135"),o=n("9bf2").f,u=n("90e3"),c=n("bb2f"),s=u("meta"),d=0,f=Object.isExtensible||function(){return!0},l=function(t){o(t,s,{value:{objectID:"O"+ ++d,weakData:{}}})},p=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!r(t,s)){if(!f(t))return"F";if(!e)return"E";l(t)}return t[s].objectID},h=function(t,e){if(!r(t,s)){if(!f(t))return!0;if(!e)return!1;l(t)}return t[s].weakData},v=function(t){return c&&g.REQUIRED&&f(t)&&!r(t,s)&&l(t),t},g=t.exports={REQUIRED:!1,fastKey:p,getWeakData:h,onFreeze:v};a[s]=!0},fdc3:function(t,e,n){"use strict";n.r(e);var a=n("0e2a"),i=n("8443");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("902d");var o,u=n("f0c5"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"8aec9b60",null,!1,a["a"],o);e["default"]=c.exports}}]);
|