text: webpackJsonp([11],{"/WA+":function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,"\n.home[data-v-060fe569] {\n  width: 97%;\n  height: 100%;\n  margin-left: 1.5%;\n  padding: 0;\n}\n.home .block[data-v-060fe569] {\n    margin-top: 40px;\n    margin-bottom: 40px;\n    position: absolute;\n    right: 55px;\n}\n.el-table[data-v-060fe569] {\n  width: 100%;\n  border: 1px solid #ebeef5;\n}\n.el-table[data-v-060fe569] .cell {\n    display: -webkit-box;\n    display: -ms-flexbox;\n    display: flex;\n    -webkit-box-pack: center;\n        -ms-flex-pack: center;\n            justify-content: center;\n    -webkit-box-align: center;\n        -ms-flex-align: center;\n            align-items: center;\n    -ms-flex-wrap: wrap;\n        flex-wrap: wrap;\n}\n.el-table[data-v-060fe569] .cell /deep/ .el-tag {\n      margin: 2px 4px;\n      border: none;\n}\n.el-table[data-v-060fe569] .cell /deep/ .el-button {\n      border: none;\n}\n.el-table[data-v-060fe569] th {\n    background-color: #ecf5ff;\n    color: #333333;\n    padding: 12px 0;\n    border: none;\n}\n.el-table[data-v-060fe569] .el-table__header-wrapper {\n    background-color: #ecf5ff;\n}\n.el-table[data-v-060fe569] td {\n    border: none;\n    border-bottom: 1px solid #ebeef5;\n    padding: 6px 0;\n}\n",""])},AYiX:function(e,t,n){var a=n("/WA+");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("78c1490e",a,!0)},md3T:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("pFYg"),r=n.n(a),l=n("vMJZ"),i={data:function(){return{userlist:[],currentPage3:1,listQuery:{page:1,size:10},count:0,pagelist:"",genderList:[{id:"1",name:"男"},{id:"2",name:"女"}]}},created:function(){this.fetchData()},methods:{handleSizeChange:function(e){this.listQuery.size=e,this.fetchData()},handleCurrentChange:function(e){this.listQuery.page=e,this.fetchData()},selectuser:function(e){this.$router.push({path:"user/userdetails",query:{uid:e.uid}})},fetchData:function(){var e=this;Object(l.a)(this.listQuery).then(function(t){1===e.listQuery.page&&0===t.data.length&&e.$message.error({message:"亲,资源不存在!"}),e.pagelist=t.meta,e.userlist=t.data,e.updateUserlist()})},updateUserlist:function(){for(var e in this.userlist){for(var t in this.genderList)this.userlist[e].gender==this.genderList[t].id&&(this.userlist[e].gender=this.genderList[t].name);this.userlist[e].user_label=this.gototheair(this.userlist[e].user_label.split(","))}},gototheair:function(e){for(var t in e)""!=e[t]&&null!=e[t]&&void 0!=r()(e[t])||e.splice(t,1);return e}}},s={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"home"},[n("el-table",{staticClass:"tba",attrs:{data:e.userlist,"element-loading-text":"Loading",border:"",fit:"","highlight-current-row":""}},[n("el-table-column",{attrs:{align:"center",label:"ID"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.uid))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",label:"昵称"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.nickName))]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"头像",align:"center"},scopedSlots:e._u([{key:"default",fn:function(e){return[n("img",{staticStyle:{width:"50px",height:"50px","border-radius":"50%"},attrs:{src:e.row.avatarUrl,onerror:"this.src='../static/image/aaa.png'"}})]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"真实姓名",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.realName))]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"身高",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.height)+"cm")]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"体重",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.weight)+"kg")]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"性别",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.gender))]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"标签",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.user_label,function(t,a){return a<3?n("el-tag",{key:t},[e._v(e._s(t))]):e._e()})}}])}),e._v(" "),n("el-table-column",{attrs:{label:"地址",align:"center",width:"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.address))]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"created_at",label:"操作",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{type:"primary",plain:""},on:{click:function(n){e.selectuser(t.row)}}},[e._v("查看详情")])]}}])})],1),e._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{"current-page":e.currentPage3,"page-size":10,layout:"prev, pager, next, jumper",total:e.pagelist.count},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.currentPage3=t}}})],1)],1)},staticRenderFns:[]};var o=n("VU/8")(i,s,!1,function(e){n("AYiX")},"data-v-060fe569",null);t.default=o.exports},vMJZ:function(e,t,n){"use strict";t.a=function(e){return Object(a.a)({url:"/community/user",method:"get",params:e})},t.b=function(e){return Object(a.a)({url:"/community/rank/"+e,method:"get"})},t.c=function(e){return Object(a.a)({url:"/community/userInfo/"+e,method:"get"})};var a=n("vLgD")}});