pages-form-myDonate.74f683a5.js 16 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-form-myDonate"],{"0f0f":function(t,e,a){"use strict";a.r(e);var n=a("f59d"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"10d1":function(t,e,a){"use strict";var n,i=a("da84"),o=a("e2cc"),r=a("f183"),c=a("6d61"),d=a("acac"),s=a("861d"),l=a("69f3").enforce,u=a("7f9a"),f=!i.ActiveXObject&&"ActiveXObject"in i,v=Object.isExtensible,m=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},p=t.exports=c("WeakMap",m,d);if(u&&f){n=d.getConstructor(m,"WeakMap",!0),r.REQUIRED=!0;var h=p.prototype,b=h["delete"],g=h.has,y=h.get,w=h.set;o(h,{delete:function(t){if(s(t)&&!v(t)){var e=l(this);return e.frozen||(e.frozen=new n),b.call(this,t)||e.frozen["delete"](t)}return b.call(this,t)},has:function(t){if(s(t)&&!v(t)){var e=l(this);return e.frozen||(e.frozen=new n),g.call(this,t)||e.frozen.has(t)}return g.call(this,t)},get:function(t){if(s(t)&&!v(t)){var e=l(this);return e.frozen||(e.frozen=new n),g.call(this,t)?y.call(this,t):e.frozen.get(t)}return y.call(this,t)},set:function(t,e){if(s(t)&&!v(t)){var a=l(this);a.frozen||(a.frozen=new n),g.call(this,t)?w.call(this,t,e):a.frozen.set(t,e)}else w.call(this,t,e);return this}})}},"129e":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-load-more"},[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[a("v-uni-view",{staticClass:"load1 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),a("v-uni-view",{staticClass:"load2 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),a("v-uni-view",{staticClass:"load3 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1)],1),a("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},o=[]},"2c3d":function(t,e,a){"use strict";var n=a("d996"),i=a.n(n);i.a},"360f":function(t,e,a){var n=a("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-cabfc0c0], .content[data-v-cabfc0c0]{height:100vh;background-color:#fff}.top[data-v-cabfc0c0]{display:flex;align-items:center;justify-content:center;background-color:#e63931;color:#fff;padding:%?22?% 0}.total[data-v-cabfc0c0]{padding:%?18?% %?24?%;display:flex;justify-content:space-between;border-bottom:%?1?% solid #e0e0e0}.box[data-v-cabfc0c0]{padding:0 %?24?%}.box .box-item[data-v-cabfc0c0]{padding:%?24?% 0;border-bottom:%?1?% solid #e0e0e0}.box .box-item .header[data-v-cabfc0c0]{color:#999;font-size:%?24?%}.box .box-item .main[data-v-cabfc0c0]{margin-top:%?22?%;display:flex;justify-content:space-between}.box .box-item .main .mian-right[data-v-cabfc0c0]{display:flex;flex-direction:column;justify-content:flex-end}.box .box-item .main .main-left .project[data-v-cabfc0c0]{color:#333;font-size:%?28?%}.box .box-item .main .main-left .time[data-v-cabfc0c0]{margin-top:%?6?%;color:#999;font-size:%?22?%}body.?%PAGE?%[data-v-cabfc0c0]{background-color:#fff}',""]),t.exports=e},3847:function(t,e,a){"use strict";a.r(e);var n=a("129e"),i=a("0f0f");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("fa70");var r,c=a("f0c5"),d=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"5516c8de",null,!1,n["a"],r);e["default"]=d.exports},"3ea9":function(t,e,a){"use strict";a.r(e);var n=a("e2e1"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"60e6":function(t,e,a){var n=a("f77c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("03f4ef6a",n,!0,{sourceMap:!1,shadowMode:!1})},"6d61":function(t,e,a){"use strict";var n=a("23e7"),i=a("da84"),o=a("94ca"),r=a("6eeb"),c=a("f183"),d=a("2266"),s=a("19aa"),l=a("861d"),u=a("d039"),f=a("1c7e"),v=a("d44e"),m=a("7156");t.exports=function(t,e,a){var p=-1!==t.indexOf("Map"),h=-1!==t.indexOf("Weak"),b=p?"set":"add",g=i[t],y=g&&g.prototype,w=g,x={},_=function(t){var e=y[t];r(y,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(h&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return h&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(h&&!l(t))&&e.call(this,0===t?0:t)}:function(t,a){return e.call(this,0===t?0:t,a),this})};if(o(t,"function"!=typeof g||!(h||y.forEach&&!u((function(){(new g).entries().next()})))))w=a.getConstructor(e,t,p,b),c.REQUIRED=!0;else if(o(t,!0)){var k=new w,C=k[b](h?{}:-0,1)!=k,M=u((function(){k.has(1)})),j=f((function(t){new g(t)})),O=!h&&u((function(){var t=new g,e=5;while(e--)t[b](e,e);return!t.has(-0)}));j||(w=e((function(e,a){s(e,w,t);var n=m(new g,e,w);return void 0!=a&&d(a,n[b],n,p),n})),w.prototype=y,y.constructor=w),(M||O)&&(_("delete"),_("has"),p&&_("get")),(O||C)&&_(b),h&&y.clear&&delete y.clear}return x[t]=w,n({global:!0,forced:w!=g},x),v(w,t),h||a.setStrong(w,t,p),w}},7037:function(t,e,a){function n(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}a("a4d3"),a("e01a"),a("d28b"),a("d3b7"),a("3ca3"),a("ddb0"),t.exports=n},a633:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={uniLoadMore:a("3847").default},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:"top"},[t._v("我的捐赠")]),a("v-uni-view",{staticClass:"total"},[a("v-uni-view",{staticClass:"total-left"},[t._v("捐赠总额")]),a("v-uni-view",{staticClass:"total-right"},[t._v(t._s(t.sum)+"元")])],1),a("v-uni-view",{staticClass:"box"},t._l(t.list,(function(e){return a("v-uni-view",{key:e.id,staticClass:"box-item"},[a("v-uni-view",{staticClass:"header"},[t._v("明细")]),a("v-uni-view",{staticClass:"main"},[a("v-uni-view",{staticClass:"main-left"},[a("v-uni-view",{staticClass:"project"},[t._v(t._s(e.intention))]),a("v-uni-view",{staticClass:"time"},[t._v(t._s(t.getRecTime(e.pay_time)))])],1),a("v-uni-view",{staticClass:"mian-right"},[t._v(t._s(e.money)+"元")])],1)],1)})),1),0===t.list.length?a("empty"):t._e(),a("uni-load-more",{attrs:{status:t.loadingType}})],1)},o=[]},a63a:function(t,e,a){"use strict";a.r(e);var n=a("a633"),i=a("3ea9");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("2c3d");var r,c=a("f0c5"),d=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"cabfc0c0",null,!1,n["a"],r);e["default"]=d.exports},acac:function(t,e,a){"use strict";var n=a("e2cc"),i=a("f183").getWeakData,o=a("825a"),r=a("861d"),c=a("19aa"),d=a("2266"),s=a("b727"),l=a("5135"),u=a("69f3"),f=u.set,v=u.getterFor,m=s.find,p=s.findIndex,h=0,b=function(t){return t.frozen||(t.frozen=new g)},g=function(){this.entries=[]},y=function(t,e){return m(t.entries,(function(t){return t[0]===e}))};g.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 a=y(this,t);a?a[1]=e:this.entries.push([t,e])},delete:function(t){var e=p(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,a,s){var u=t((function(t,n){c(t,u,e),f(t,{type:e,id:h++,frozen:void 0}),void 0!=n&&d(n,t[s],t,a)})),m=v(e),p=function(t,e,a){var n=m(t),r=i(o(e),!0);return!0===r?b(n).set(e,a):r[n.id]=a,t};return n(u.prototype,{delete:function(t){var e=m(this);if(!r(t))return!1;var a=i(t);return!0===a?b(e)["delete"](t):a&&l(a,e.id)&&delete a[e.id]},has:function(t){var e=m(this);if(!r(t))return!1;var a=i(t);return!0===a?b(e).has(t):a&&l(a,e.id)}}),n(u.prototype,a?{get:function(t){var e=m(this);if(r(t)){var a=i(t);return!0===a?b(e).get(t):a?a[e.id]:void 0}},set:function(t,e){return p(this,t,e)}}:{add:function(t){return p(this,t,!0)}}),u}}},bb2f:function(t,e,a){var n=a("d039");t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},d08c:function(t,e,a){"use strict";var n=a("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.addrescuer=o,e.upload=r,e.articlesave=c,e.myarticle=d,e.replyask=s,e.replylist=l,e.myreplylist=u,e.mechanism=f,e.chosintention=v,e.joinDona=m,e.getDonaList=p,e.MyDonaList=h,e.getCertificate=b;var i=n(a("b292"));function o(t){return(0,i.default)({url:"/api/add_rescuer",method:"post",data:t})}function r(t){return(0,i.upFilse)({url:"/api/upload/image",method:"post",data:t})}function c(t){return(0,i.default)({url:"/api/circle/articlesave",method:"post",data:t})}function d(t){return(0,i.default)({url:"/api/circle/myarticle",method:"post",data:t})}function s(t){return(0,i.default)({url:"/api/add_a",method:"post",data:t})}function l(t){return(0,i.default)({url:"/api/q_list",method:"get",data:t})}function u(t){return(0,i.default)({url:"/api/a_list",method:"get",data:t})}function f(t){return(0,i.default)({url:"/api/mechanism",method:"get",data:t})}function v(t){return(0,i.default)({url:"/api/intention",method:"get",data:t})}function m(t){return(0,i.default)({url:"/api/intention",method:"get",data:t})}function p(t){return(0,i.default)({url:"/api/bulletin",method:"get",data:t})}function h(t){return(0,i.default)({url:"/api/my_donate",method:"get",data:t})}function b(t){return(0,i.default)({url:"/api/detail_training",method:"get",data:t})}},d996:function(t,e,a){var n=a("360f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("194a319d",n,!0,{sourceMap:!1,shadowMode:!1})},dbce:function(t,e,a){a("e439"),a("d3b7"),a("3ca3"),a("10d1"),a("ddb0");var n=a("7037");function i(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!==typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var c=o?Object.getOwnPropertyDescriptor(t,r):null;c&&(c.get||c.set)?Object.defineProperty(a,r,c):a[r]=t[r]}return a["default"]=t,e&&e.set(t,a),a}t.exports=o},e2e1:function(t,e,a){"use strict";var n=a("4ea4");a("99af"),a("4d63"),a("ac1f"),a("25f0"),a("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var i=n(a("1da1")),o=a("d08c"),r=n(a("495c")),c=n(a("3847")),d={components:{empty:r.default,uniLoadMore:c.default},data:function(){return{page:1,limit:10,sum:3,loadingType:"more",list:[]}},onLoad:function(){this.loadData()},methods:{loadData:function(){var t=this;return(0,i.default)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t,"noMore"!==a.loadingType){e.next=3;break}return e.abrupt("return");case 3:a.loadingType="loading",(0,o.MyDonaList)({page:a.page,limit:a.limit}).then((function(t){var e=t.data;console.log(e),a.sum=e.sum,a.list=a.list.concat(e.list),a.page++,a.limit==e.length?a.loadingType="more":a.loadingType="noMore"}));case 5:case"end":return e.stop()}}),e)})))()},getRecTime:function(t,e){var a=new Date(1e3*t),n=e||"yyyy.MM.dd hh:mm:ss",i={"M+":a.getMonth()+1,"d+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var o in/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),i)new RegExp("("+o+")").test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?i[o]:("00"+i[o]).substr((""+i[o]).length)));return n}}};e.default=d},f183:function(t,e,a){var n=a("d012"),i=a("861d"),o=a("5135"),r=a("9bf2").f,c=a("90e3"),d=a("bb2f"),s=c("meta"),l=0,u=Object.isExtensible||function(){return!0},f=function(t){r(t,s,{value:{objectID:"O"+ ++l,weakData:{}}})},v=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,s)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[s].objectID},m=function(t,e){if(!o(t,s)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[s].weakData},p=function(t){return d&&h.REQUIRED&&u(t)&&!o(t,s)&&f(t),t},h=t.exports={REQUIRED:!1,fastKey:v,getWeakData:m,onFreeze:p};n[s]=!0},f59d:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uni-load-more",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=n},f77c:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".uni-load-more[data-v-5516c8de]{display:flex;flex-direction:row;height:%?80?%;align-items:center;justify-content:center}.uni-load-more__text[data-v-5516c8de]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-5516c8de]{height:24px;width:24px;margin-right:10px}.uni-load-more__img>.load[data-v-5516c8de]{position:absolute}.uni-load-more__img>.load .item[data-v-5516c8de]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-5516c8de 1.56s ease infinite;animation:load-data-v-5516c8de 1.56s ease infinite}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(4){top:11px;left:0}.load1[data-v-5516c8de],\n.load2[data-v-5516c8de],\n.load3[data-v-5516c8de]{height:24px;width:24px}.load2[data-v-5516c8de]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-5516c8de]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-5516c8de{0%{opacity:1}100%{opacity:.2}}",""]),t.exports=e},fa70:function(t,e,a){"use strict";var n=a("60e6"),i=a.n(n);i.a}}]);