text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-cewebritymanage"],{"28b3":function(t,a,e){var i=e("769b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("759b6ad6",i,!0,{sourceMap:!1,shadowMode:!1})},7206:function(t,a,e){"use strict";var i=e("28b3"),n=e.n(i);n.a},"769b":function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,".hongren[data-v-847cb960]{bottom:0;z-index:200}.category[data-v-847cb960]{padding:0 3vw;font-size:4vw;color:#999;position:fixed;width:100%;height:44px;line-height:44px;z-index:202;background:#f7f7f7;box-shadow:0 1px 2px rgba(26,26,26,.1);display:-webkit-box;display:-webkit-flex;display:flex;text-align:center}.list .ranking[data-v-847cb960],\r\n.category .ranking[data-v-847cb960]{width:8vw}.list .avatar[data-v-847cb960],\r\n.category .avatar[data-v-847cb960]{width:15vw}.list .number[data-v-847cb960],\r\n.category .number[data-v-847cb960]{text-align:left;padding-left:3vw;-webkit-box-flex:1;-webkit-flex:1;flex:1}.list .operation[data-v-847cb960],\r\n.category .operation[data-v-847cb960]{text-align:right;width:14vw}.list[data-v-847cb960]{padding:3vw;display:-webkit-box;display:-webkit-flex;display:flex}.list[data-v-847cb960]:nth-of-type(even){background:#fcfbff}.list .ranking[data-v-847cb960]{font-size:4.5vw;text-align:center;line-height:15vw}.list .avatar[data-v-847cb960]{width:15vw;height:15vw}.list .avatar img[data-v-847cb960]{width:100%;height:100%;border-radius:50%}.list .number[data-v-847cb960]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.list .number .title[data-v-847cb960]{height:10vw;line-height:10vw}.list[data-v-847cb960]:last-child{margin-bottom:0}.list .operation span[data-v-847cb960]{line-height:15vw;font-size:5vw}.list .operation .cuIcon-writefill[data-v-847cb960]{margin-right:2vw}.paymentbtn[data-v-847cb960]{font-size:4.8vw;font-weight:700;margin:auto;width:80vw;text-align:center;line-height:12vw;border-radius:12vw;background-color:#e71d36;color:#fff;box-shadow:0 0 0 3px hsla(0,0%,87.1%,.3)}",""]),t.exports=a},cbc1:function(t,a,e){"use strict";var i,n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("uni-top-bar"),e("v-uni-view",{staticClass:"category clearfix",style:{top:t.height+43+"px"}},[e("v-uni-view",{staticClass:"ranking"},[t._v("#")]),e("v-uni-view",{staticClass:"avatar"},[t._v("头像")]),e("v-uni-view",{staticClass:"number"},[t._v("名称")]),e("v-uni-view",{staticClass:"operation"},[t._v("粉丝")])],1),e("v-uni-view",{staticClass:"hongren",style:{top:t.height+88+"px"}},[t._l(t.manage,(function(a,i){return e("v-uni-view",{key:i,staticClass:"list"},[i<3?e("v-uni-view",{staticClass:"ranking cor-e8"},[t._v(t._s(i+1))]):t._e(),i>=3?e("v-uni-view",{staticClass:"ranking "},[t._v(t._s(i+1))]):t._e(),e("v-uni-view",{staticClass:"avatar"},[e("img",{attrs:{src:a["avatar"],mode:"widthFix"}})]),e("v-uni-view",{staticClass:"number"},[e("v-uni-view",{staticClass:"title ellipsis2"},[t._v(t._s(a.nickname))]),1==a.examine?e("v-uni-view",{staticClass:"cu-tag round bg-grey light sm"},[t._v("审核中")]):t._e(),2==a.examine?e("v-uni-view",{staticClass:"cu-tag round bg-grey light sm"},[t._v("审核通过")]):t._e(),3==a.examine?e("v-uni-view",{staticClass:"cu-tag round bg-grey light sm"},[t._v("审核未通过")]):t._e()],1),1!=a.examine?e("v-uni-view",{staticClass:"operation"},[e("span",{staticClass:"cuIcon-writefill text-green",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navToDetailPage("user/attewh",a.id)}}}),e("span",{staticClass:"cuIcon-deletefill text-red",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goodsdel(a.id)}}})]):t._e()],1)})),""==t.manage&&t.manage.length<=0?e("v-uni-view",{staticClass:"no-data"},[t._v("暂无入驻红人")]):t._e(),e("v-uni-view",{staticClass:"padding-xl"},[t.paymentbtn?e("v-uni-view",{staticClass:"paymentbtn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.navToDetailPage("user/publish")}}},[t._v("入驻红人（"+t._s(t.managelength)+"/20）")]):e("v-uni-view",{staticClass:"paymentbtn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.publishnum.apply(void 0,arguments)}}},[t._v("入驻红人（"+t._s(t.managelength)+"/20）")])],1)],2)],1)},s=[];e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return s})),e.d(a,"a",(function(){return i}))},f6ae:function(t,a,e){"use strict";e.r(a);var i=e("fb53"),n=e.n(i);for(var s in i)"default"!==s&&function(t){e.d(a,t,(function(){return i[t]}))}(s);a["default"]=n.a},f7ce:function(t,a,e){"use strict";e.r(a);var i=e("cbc1"),n=e("f6ae");for(var s in n)"default"!==s&&function(t){e.d(a,t,(function(){return n[t]}))}(s);e("7206");var o,c=e("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"847cb960",null,!1,i["a"],o);a["default"]=r.exports},fb53:function(t,a,e){"use strict";var i=e("ee27");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i(e("9dcd")),s={components:{uniTopBar:n.default},data:function(){return{manage:"",managelength:0,paymentbtn:!0,userInfo:"",height:""}},onShow:function(){var t=this;this.height=this.StatusBar,uni.getStorage({key:"userInfo",success:function(a){""!=a.data&&null!=a.data&&(t.userInfo=a.data,t.getuserinfo(),t.Releaselist())}});var a=location.href;hideshare(a)},methods:{getuserinfo:function(){var t=this;uni.request({url:"https://www.hongrensutui.com/api/index/userinfo",data:{id:t.userInfo.id},method:"POST",success:function(a){uni.setStorageSync("userInfo",a.data.data.info),t.userInfo=a.data.data.info}})},Releaselist:function(){var t=this;uni.request({url:"https://www.hongrensutui.com/api/index/Releaselist",data:{mid:t.userInfo.id},method:"POST",success:function(a){t.manage=a.data.data.info,t.managelength=t.manage.length,t.managelength>=20&&(t.paymentbtn=!1)}})},publishnum:function(){uni.showToast({title:"红人入驻已达上限！",icon:"none",duration:3e3})},goodsdel:function(t){var a=this;uni.showModal({title:"提示",content:"您确定要删除该红人么？",success:function(e){e.confirm&&uni.request({url:"https://www.hongrensutui.com/api/index/goodsdel",data:{id:t},method:"POST",success:function(t){uni.showToast({title:t.data.data.msg,icon:"none",duration:2e3}),a.managelist()}})}})},navToDetailPage:function(t,a){a&&(t=t+"?id="+a),uni.navigateTo({url:"/pages/"+t})}}};a.default=s}}]);