1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-train-index"],{"0f0f":function(t,e,a){"use strict";a.r(e);var i=a("f59d"),o=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},"129e":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var o=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)},n=[]},"2f2e":function(t,e,a){var i=a("40de");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("7d3a8261",i,!0,{sourceMap:!1,shadowMode:!1})},3847:function(t,e,a){"use strict";a.r(e);var i=a("129e"),o=a("0f0f");for(var n in o)"default"!==n&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("fa70");var d,r=a("f0c5"),l=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"5516c8de",null,!1,i["a"],d);e["default"]=l.exports},"39f7":function(t,e,a){"use strict";a.r(e);var i=a("6a9e"),o=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},"40de":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-06702036]{background:#f2f2f2;height:100%;padding-bottom:%?25?%}.container[data-v-06702036]{height:100%}.container .top[data-v-06702036]{background-color:#fff;height:%?88?%;display:flex;align-items:center;justify-content:center;font-size:%?36?%;font-weight:500;color:#333}.container .swiper-box[data-v-06702036]{height:100%}.container .swiper-box .list-scroll-content[data-v-06702036]{height:100%}.scroll-list[data-v-06702036]{width:100%;overflow:hidden;white-space:nowrap;background-color:#fff;font-size:%?32?%}.scroll-list .scoll-box[data-v-06702036]{text-align:center;display:inline-block;margin:%?0?% %?38?%;padding:%?15?% %?0?%}.scroll-list .scoll-box .scoll-img[data-v-06702036]{width:%?130?%;height:%?85?%;border-radius:100%}.scroll-list .scoll-box .scoll-img uni-image[data-v-06702036]{width:%?85?%;height:100%;border-radius:100%}.scroll-list .scoll-box .scoll-name[data-v-06702036]{padding-top:%?15?%}.scroll-list .scoll-box.active[data-v-06702036]{color:#ef3d28;border-bottom:%?6?% solid #ef3d28}.order-item[data-v-06702036]{width:100%;padding:%?0?% %?25?%;padding-top:%?25?%!important}.order-item .list-cell[data-v-06702036]{background-color:#fff;border-radius:%?20?%;width:100%;box-shadow:0 0 40px 0 rgba(0,0,0,.06)}.order-item .list-cell .image[data-v-06702036]{width:100%;height:%?300?%;border-top-left-radius:%?25?%;border-top-right-radius:%?25?%}.order-item .list-cell .list-tpl[data-v-06702036]{padding:%?25?% %?25?%;padding-bottom:%?35?%!important;font-size:%?34?%;color:#222;font-weight:500}body.?%PAGE?%[data-v-06702036]{background:#f2f2f2}',""]),t.exports=e},"60e6":function(t,e,a){var i=a("f77c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("03f4ef6a",i,!0,{sourceMap:!1,shadowMode:!1})},"6a9e":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(a("3847")),n=i(a("495c")),d=i(a("6b4c")),r=a("a35a"),l={components:{uniLoadMore:o.default,empty:n.default,uniPopup:d.default},data:function(){return{page:1,limit:6,list:[],loadingType:"more"}},onLoad:function(){console.log(22),this.loadData()},methods:{loadData:function(t){var e=this;if("refresh"!=t){if(console.log(e.loadingType,"456"),"nomore"===e.loadingType)return;e.loadingType="loading"}else e.loadingType="more";(0,r.training)({}).then((function(a){"refresh"===t&&(e.list=[]);var i=a.data;e.list=e.list.concat(i),e.limit==i.length?(e.page++,e.loadingType="more"):e.loadingType="nomore","refresh"===t&&(console.log("refresh"),1==e.loading?uni.hideLoading():uni.stopPullDownRefresh())})).catch((function(t){e.loadingType="nomore",uni.hideLoading()}))},ToDetail:function(t){var e=t.type,a=t.id;uni.navigateTo({url:"/pages/train/sign?type="+e+"&id="+a})}}};e.default=l},8430:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-swiper",{staticClass:"swiper-box",attrs:{duration:"300"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTab.apply(void 0,arguments)}}},[a("v-uni-swiper-item",{staticClass:"tab-content"},[a("v-uni-scroll-view",{staticClass:"list-scroll-content",attrs:{"scroll-y":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.loadData.apply(void 0,arguments)}}},[!0===t.loadingType&&0===t.list.length?a("empty"):t._e(),t._l(t.list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"order-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.ToDetail(e)}}},[a("v-uni-view",{staticClass:"list-cell"},[a("v-uni-image",{staticClass:"image",attrs:{src:e.img}}),a("v-uni-view",{staticClass:"list-tpl"},[t._v(t._s(e.title))])],1)],1)}))],2)],1)],1)],1)},n=[]},"99a0":function(t,e,a){"use strict";a.r(e);var i=a("8430"),o=a("39f7");for(var n in o)"default"!==n&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("f743");var d,r=a("f0c5"),l=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"06702036",null,!1,i["a"],d);e["default"]=l.exports},a35a:function(t,e,a){"use strict";var i=a("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.loadIndexs=n,e.bannerlist=d,e.itemList=r,e.upload=l,e.groom4=s,e.groom1=c,e.groom3=u,e.myCreateCircle=f,e.getList=m,e.getNumber=g,e.add_volunteers=v,e.joinSec=p,e.joinSecc=h,e.getdis=b,e.tocall=w,e.training=y,e.getseek=_,e.getcomAddress=k,e.getrescue=x,e.change_rescue=C,e.getListAED=T,e.getDistance=j,e.deleteList=M;var o=i(a("b292"));function n(t){return(0,o.default)({url:"/api/index",method:"get",data:t})}function d(t){return(0,o.default)({url:"/api/article/list/1",method:"get",data:t})}function r(t){return(0,o.default)({url:"/api/article/list/4",method:"get",data:t})}function l(t){return(0,o.upFilse)({url:"/api/upload/image",method:"post",data:t})}function s(t){return(0,o.default)({url:"/api/groom/list/4",method:"get",data:t})}function c(t){return(0,o.default)({url:"/api/groom/list/1",method:"get",data:t})}function u(t){return(0,o.default)({url:"/api/groom/list/3",method:"get",data:t})}function f(t){return(0,o.default)({url:"/api/circle/mycreate",method:"post",data:t})}function m(t){return(0,o.default)({url:"/api/sign_cell",method:"post",data:t})}function g(t){return(0,o.default)({url:"/api/get_rescuer",method:"get",data:t})}function v(t){return(0,o.default)({url:"/api/add_registration",method:"post",data:t})}function p(t){return(0,o.default)({url:"/api/add_volunteers",method:"post",data:t})}function h(t){return(0,o.default)({url:"/api/add_donation",method:"post",data:t})}function b(t){return(0,o.default)({url:"/api/getdis",method:"get",data:t})}function w(t){return(0,o.default)({url:"/api/do_getdis",method:"get",data:t})}function y(t){return(0,o.default)({url:"/api/training",method:"get",data:t})}function _(t){return(0,o.default)({url:"/api/seek",method:"get",data:t})}function k(t){return(0,o.default)({url:"/api/get_commonly",method:"get",data:t})}function x(t){return(0,o.default)({url:"/api/rescueee",method:"get",data:t})}function C(t){return(0,o.default)({url:"/api/change_rescue",method:"get",data:t})}function T(t){return(0,o.default)({url:"/api/getAed",method:"get",data:t})}function j(t){return(0,o.default)({url:"/api/aeddiss",method:"get",data:t})}function M(t){return(0,o.default)({url:"/api/del_resc",method:"get",data:t})}},f59d:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={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=i},f743:function(t,e,a){"use strict";var i=a("2f2e"),o=a.n(i);o.a},f77c:function(t,e,a){var i=a("24fb");e=i(!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 i=a("60e6"),o=a.n(i);o.a}}]);
|