(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-friend_apply-index"],{"29e9":function(t,i,n){"use strict";n.r(i);var s=n("d68d"),e=n.n(s);for(var a in s)"default"!==a&&function(t){n.d(i,t,(function(){return s[t]}))}(a);i["default"]=e.a},"95fc":function(t,i,n){"use strict";n.r(i);var s=n("be50"),e=n("29e9");for(var a in e)"default"!==a&&function(t){n.d(i,t,(function(){return e[t]}))}(a);var u,c=n("f0c5"),r=Object(c["a"])(e["default"],s["b"],s["c"],!1,null,"439cba1a",null,!1,s["a"],u);i["default"]=r.exports},be50:function(t,i,n){"use strict";var s;n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return a})),n.d(i,"a",(function(){return s}));var e=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",t._l(t.list,(function(i,s){return n("v-uni-view",{key:s,staticClass:"flexlist-item"},[n("v-uni-image",{staticClass:"flexlist-img",attrs:{src:i.user_head+".100x100.jpg",mode:"widthFix"}}),n("v-uni-view",{staticClass:"flex-1"},[n("v-uni-view",{staticClass:"flexlist-title"},[t._v(t._s(i.nickname))]),n("v-uni-view",{staticClass:"flexlist-desc"},[t._v(t._s(i.description))])],1),n("v-uni-view",{staticClass:"flex-jc-center"},[0==i.status?[n("v-uni-view",{staticClass:"btn-mini mgb-5",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.pass(i.id)}}},[t._v("接受")]),n("v-uni-view",{staticClass:"btn-mini",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.forbid(i.id)}}},[t._v("拒绝")])]:1==i.status?n("v-uni-view",[t._v("已接受")]):n("v-uni-view",[t._v("已禁止")])],2)],1)})),1)},a=[]},d68d:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s={data:function(){return{list:[]}},onLoad:function(){this.getPage()},methods:{pass:function(t){var i=this;t=t;i.app.get({url:i.app.apiHost+"/index.php?m=friend_apply&a=pass",data:{id:t},success:function(n){for(var s in i.list)i.list[s].id==t&&(i.list[s].status=1)}})},forbid:function(t){var i=this;i.app.get({url:i.app.apiHost+"/index.php?m=friend_apply&a=forbid",data:{id:t},success:function(n){for(var s in i.list)i.list[s].id==t&&(i.list[s].status=4)}})},getPage:function(){var t=this;t.app.get({url:t.app.apiHost+"/index.php?m=friend_apply",success:function(i){t.list=i.data.list}})}}};i.default=s}}]);