| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fu-axjz"],{"10c7":function(t,e,a){"use strict";a.r(e);var i=a("6196"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"46c4":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAYCAYAAAAPtVbGAAABpUlEQVRIS7XVv0sCYRgH8O93iiAwl8Zoacy9P6A50AYHwUFyEM5RDIfuwOFENxtU0sk1h1Bw6A8IGlwaWyKbguDoB9EPjOfo4jTvl3kPvNwLd7yf57n35XmJEGMymRyT1BiWIQAAlRJhIBYga4eC2IFQkFlg6cg8YKmIE7A0xA0A8E5y5V+nywOQQt5Iri6M+AAEeSG5thDiExDEILkeGAkACPJAciMQEhAQ5I7kpm/EL1Cv11GpVDAejwW5IbntC/EL1Go1FAoFNBoNZLNZQa5J7ngiFmAYBiKRiGM/rVarKBaLaLVayGQy1neXJHddEXsF0WgUuVwO5XJZOusUpus6SqUSOp0O0um0/d0FyT1HZPYX9Xo9JJNJ5PN5SNYWJKiqqmi327OAYGckD+YiTnvQ7/eRSCSgKIoJCaBpGrrdrpnAnDglefgH8drkwWCAeDyOWCyG0WjkBoipkzyaQrwAK9PhcIhUKoVms2lW5hIKyZNfxC8Q8LreJ3luIiEBsvQWyVt6AF9yJwCQ54e0bgCftvkzgFcATwAef8Y9gFsAVwKI9A39lMUZZLLEkgAAAABJRU5ErkJggg=="},"4cc7":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uniLoadMore:a("8998").default,uPopup:a("06eb").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"container"},[i("v-uni-scroll-view",{staticClass:"scroll-list",attrs:{"scroll-x":!0}},t._l(t.cationList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"scoll-box",class:{active:e.id===t.currentId},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.tabtap(e.id)}}},[i("v-uni-view",{staticClass:"scoll-name"},[t._v(t._s(e.cate_name))])],1)})),1),0==t.tabCurrentIndex?i("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)}}},[i("v-uni-swiper-item",{staticClass:"tab-content"},[i("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.list.length?i("empty"):t._e(),i("v-uni-view",t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"fu-box",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.toDetail(e)}}},[i("v-uni-view",{staticClass:"img-box"},[i("v-uni-image",{staticClass:"fu-img",attrs:{src:e.image,mode:"aspectFill"}}),i("v-uni-text",{staticClass:"fu-cname"},[t._v(t._s(e.cname))])],1),i("v-uni-view",{staticClass:"fu-right"},[i("v-uni-view",[i("v-uni-view",{staticClass:"fu-tit"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"fu-text"},[t._v(t._s(e.info))])],1),1==e.is_show?i("v-uni-view",{staticClass:"fu-bottom"},[i("v-uni-view",{staticClass:"fu-shenqing"},[t._v("已有"+t._s(e.sales)+"人申请")])],1):t._e(),0==e.is_show?i("v-uni-view",{staticClass:"fu-bottom"},[i("v-uni-text",{staticClass:"fu-shenqing"},[t._v("资金:"+t._s(e.money))]),i("v-uni-view",{staticClass:"fu-shenqing"},[t._v("帮扶人:"+t._s(e.name))])],1):t._e()],1)],1)})),1),i("uni-load-more",{attrs:{status:t.loadingType}})],1)],1)],1):t._e(),i("u-popup",{attrs:{mode:"right",zIndex:"99"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("v-uni-view",{staticClass:"popup-box"},[i("v-uni-view",{staticClass:"pop-bfu"},[i("v-uni-view",{staticClass:"bfu-btn",class:{checkBtn:2==t.type},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shaixuan(2)}}},[t._v("未帮扶"),2==t.type?i("v-uni-image",{staticClass:"btn-img",attrs:{src:a("46c4")}}):t._e()],1),i("v-uni-view",{staticClass:"bfu-btn",class:{checkBtn:1==t.type},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shaixuan(1)}}},[t._v("帮扶中"),1==t.type?i("v-uni-image",{staticClass:"btn-img",attrs:{src:a("46c4")}}):t._e()],1),i("v-uni-view",{staticClass:"bfu-btn",class:{checkBtn:3==t.type},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shaixuan(3)}}},[t._v("公示中"),3==t.type?i("v-uni-image",{staticClass:"btn-img",attrs:{src:a("46c4")}}):t._e()],1)],1),i("v-uni-view",{staticClass:"pop-bfu"},[i("v-uni-view",{staticClass:"bfu-btn",class:{checkBtn:4==t.type},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shaixuan(4)}}},[t._v("已完结"),4==t.type?i("v-uni-image",{staticClass:"btn-img",attrs:{src:a("46c4")}}):t._e()],1)],1),i("v-uni-view",{staticClass:"qr-btn"},[i("v-uni-text",{staticClass:"btn-qr",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.comfim.apply(void 0,arguments)}}},[t._v("确认")])],1)],1)],1)],1)},o=[]},"5e0b":function(t,e,a){"use strict";var i=a("dc81"),n=a.n(i);n.a},6196:function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("8998")),o=i(a("5ee0")),l=a("f0f3"),r=(a("6715"),a("c800")),u={components:{uniLoadMore:n.default,empty:o.default},data:function(){return{tabCurrentIndex:0,page:1,limit:10,loadingType:"more",list:[],userInfo:"",keyword:"",money:"",integral:"",cationList:[],currentId:0,show:!1,type:2}},onLoad:function(){this.GetCation()},onShow:function(){this.page=1,this.loadingType="more",this.list=[],this.loadData()},onNavigationBarButtonTap:function(){console.log("dddddddddddddddddd"),this.show=!0},watch:{},methods:{GetCation:function(){var t=this;(0,r.getList)({}).then((function(e){var a=e.data,i=[{cate_name:"全部",id:0}];i.unshift(0,0),Array.prototype.splice.apply(a,i),t.cationList=a})).catch((function(t){console.log(t)}))},loadData:function(){var t=this;"noMore"!==t.loadingType&&(t.loadingType="loading",(0,l.one_help)({page:t.page,limit:t.limit,cid:t.currentId,type:t.type}).then((function(e){t.list=t.list.concat(e.data),t.page++,t.limit!=e.data.length?t.loadingType="noMore":t.loadingType="more"})))},tabtap:function(t){var e=this;e.currentId=t,e.page=1,e.loadingType="more",e.list=[],e.loadData()},toDetail:function(t){1==t.is_show?uni.navigateTo({url:"/pages/fu/fuInfo?id="+t.id}):uni.navigateTo({url:"/pages/fu/helpDetail?id="+t.id})},shaixuan:function(t){this.type=t},comfim:function(){this.show=!1,this.page=1,this.loadingType="more",this.list=[],this.loadData()}}};e.default=u},6715:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.login=o,e.register=l,e.verify=r,e.getUserInfo=u,e.loginMobile=s;var n=i(a("c9fb"));function o(t){return(0,n.default)({url:"/api/login",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/register",method:"post",data:t})}function r(t){return(0,n.default)({url:"/api/register/verify",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/userinfo",method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/login/mobile",method:"post",data:t})}},"74da":function(t,e,a){"use strict";a.r(e);var i=a("4cc7"),n=a("10c7");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("5e0b");var l,r=a("f0c5"),u=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"0a675639",null,!1,i["a"],l);e["default"]=u.exports},c800:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getList=o,e.gethelp=l,e.helpdetail=r,e.one_detail=u,e.enroll=s,e.my_enroll=d,e.means=c,e.bangfu=f,e.gonghsi=p,e.get_means=g;var n=i(a("c9fb"));function o(t){return(0,n.default)({url:"/api/category",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/get_help",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/help_detail",method:"get",data:t})}function u(t){return(0,n.default)({url:"/api/one_detail",method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/enroll",method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/my_enroll",method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/means",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/means",method:"post",data:t})}function p(t){return(0,n.default)({url:"/api/means",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/get_means",method:"get",data:t})}},dc81:function(t,e,a){var i=a("e48f");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("92685a28",i,!0,{sourceMap:!1,shadowMode:!1})},e48f: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-0a675639]{height:100%}uni-page-body .container[data-v-0a675639]{height:100%}.swiper-box[data-v-0a675639]{height:calc(100% - 40px);padding:%?20?% %?30?% 0 %?30?%}.swiper-box .list-scroll-content[data-v-0a675639]{height:100%}.scroll-list[data-v-0a675639]{width:100%;overflow:hidden;white-space:nowrap;background-color:#fff;font-size:%?32?%;height:40px}.scroll-list .scoll-box[data-v-0a675639]{text-align:center;display:inline-block;margin:%?0?% %?38?%}.scroll-list .scoll-box .scoll-img[data-v-0a675639]{width:%?130?%;height:%?85?%;border-radius:100%}.scroll-list .scoll-box .scoll-img uni-image[data-v-0a675639]{width:%?85?%;height:100%;border-radius:100%}.scroll-list .scoll-box .scoll-name[data-v-0a675639]{padding-top:%?15?%}.scroll-list .scoll-box.active[data-v-0a675639]{color:#ff727e;border-bottom:%?6?% solid #ff727e}.fu-box[data-v-0a675639]{padding:%?14?% %?20?% %?28?% %?20?%;background:#fff;box-shadow:0 0 %?40?% 0 rgba(0,0,0,.06);border-radius:%?12?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:%?20?%}.fu-box[data-v-0a675639]:last-of-type{margin-bottom:0}.fu-box .img-box[data-v-0a675639]{position:relative}.fu-box .fu-img[data-v-0a675639]{width:%?220?%;height:%?182?%;border-radius:%?8?%}.fu-box .fu-cname[data-v-0a675639]{position:absolute;top:0;left:0;background:#ff727e;color:#fff;padding:0 %?10?%;border-radius:%?8?% 0 %?8?% 0;font-size:%?24?%}.fu-box .fu-right[data-v-0a675639]{margin-left:%?20?%;width:62%}.fu-box .fu-right .fu-tit[data-v-0a675639]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:%?36?%;font-family:PingFang SC;font-weight:500;color:#222}.fu-box .fu-right .fu-text[data-v-0a675639]{margin-top:%?17?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:%?24?%;font-family:PingFang SC;font-weight:500;color:#666}.fu-box .fu-right .fu-bottom[data-v-0a675639]{margin-top:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.fu-box .fu-right .fu-bottom .fu-shenqing[data-v-0a675639]{font-size:%?21?%;font-family:PingFang;font-weight:500;color:#ff727e}.fu-box .fu-right .fu-bottom .fu-jifen[data-v-0a675639]{padding:0 %?5?%;border:1px solid red;border-radius:%?5?%;font-size:%?21?%;font-family:PingFang SC;font-weight:500;color:red}.fu-box .fu-right .fu-bottom .fu-yjs[data-v-0a675639]{font-size:%?21?%;font-family:PingFang;font-weight:500;color:#999}.fu-box .fu-right .fu-bottom .fu-sczl[data-v-0a675639]{padding:%?5?% %?17?%;font-size:%?21?%;font-family:PingFang SC;font-weight:500;color:#fff;background:#ff727e;border-radius:%?23?%}.popup-box[data-v-0a675639]{padding:%?100?% 0 %?100?% %?20?%}.popup-box .pop-bfu[data-v-0a675639]{display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:%?30?%}.popup-box .pop-bfu .bfu-btn[data-v-0a675639]{width:%?140?%;height:%?66?%;background:#ededed;border:1px solid #ededed;font-size:%?28?%;margin-right:%?20?%;color:#ff727e;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;position:relative}.popup-box .pop-bfu .bfu-btn .btn-img[data-v-0a675639]{position:absolute;bottom:0;right:0;width:%?24?%;height:%?24?%}.popup-box .pop-bfu .checkBtn[data-v-0a675639]{border:1px solid #ff727e;background:#ff727e;color:#fff}.popup-box .qr-btn[data-v-0a675639]{margin-right:%?20?%;margin-top:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.popup-box .qr-btn .btn-qr[data-v-0a675639]{color:#fff;background:#ff727e;font-size:%?32?%;font-weight:500;width:%?200?%;height:%?66?%;border-radius:%?33?%;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}',""]),t.exports=e},f0f3:function(t,e,a){"use strict";var i=a("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.loadIndexs=o,e.bannerlist=l,e.itemList=r,e.upload=u,e.groom4=s,e.groom1=d,e.groom3=c,e.myCreateCircle=f,e.getList=p,e.getNumber=g,e.add_volunteers=b,e.joinSec=h,e.joinSecc=m,e.getdis=v,e.tocall=w,e.training=y,e.getseek=x,e.getcomAddress=k,e.getrescue=_,e.change_rescue=C,e.getListAED=A,e.getDistance=E,e.deleteList=I,e.getListMechanism=j,e.add_company=L,e.one_help=B;var n=i(a("c9fb"));function o(t){return(0,n.default)({url:"/api/index",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/article/list/1",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/article/list/4",method:"get",data:t})}function u(t){return(0,n.upFilse)({url:"/api/upload/image",method:"post",data:t})}function s(t){return(0,n.default)({url:"/api/groom/list/4",method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/groom/list/1",method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/groom/list/3",method:"get",data:t})}function f(t){return(0,n.default)({url:"/api/circle/mycreate",method:"post",data:t})}function p(t){return(0,n.default)({url:"/api/sign_cell",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/get_rescuer",method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/add_registration",method:"post",data:t})}function h(t){return(0,n.default)({url:"/api/add_volunteers",method:"post",data:t})}function m(t){return(0,n.default)({url:"/api/add_donation",method:"post",data:t})}function v(t){return(0,n.default)({url:"/api/getdis",method:"get",data:t})}function w(t){return(0,n.default)({url:"/api/do_getdis",method:"get",data:t})}function y(t){return(0,n.default)({url:"/api/training",method:"get",data:t})}function x(t){return(0,n.default)({url:"/api/seek",method:"get",data:t})}function k(t){return(0,n.default)({url:"/api/get_commonly",method:"get",data:t})}function _(t){return(0,n.default)({url:"/api/rescueee",method:"get",data:t})}function C(t){return(0,n.default)({url:"/api/change_rescue",method:"get",data:t})}function A(t){return(0,n.default)({url:"/api/getAed",method:"get",data:t})}function E(t){return(0,n.default)({url:"/api/aeddiss",method:"get",data:t})}function I(t){return(0,n.default)({url:"/api/del_resc",method:"get",data:t})}function j(t){return(0,n.default)({url:"/api/mechanism",method:"get",data:t})}function L(t){return(0,n.default)({url:"/api/add_company",method:"post",data:t})}function B(t){return(0,n.default)({url:"/api/one_help",method:"get",data:t})}}}]);
|