(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-chat-group-user-group-user"],{2809:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return n}));var n={freeNavBar:i("3e12").default,freeListItem:i("7474").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("free-nav-bar",{attrs:{title:"选择",showBack:!0,showRight:!1}}),i("v-uni-view",{staticClass:"p-3 bg-light position-fixed left-0 right-0",style:"top:"+t.top+"px;"},[i("v-uni-input",{staticClass:"bg-white rounded",staticStyle:{height:"80rpx"},attrs:{type:"text",placeholder:"搜索","placeholder-class":"text-center"},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}})],1),i("v-uni-view",{staticStyle:{height:"140rpx"}}),i("v-uni-view",{staticClass:"px-2 py-1 bg-light"},[i("v-uni-text",{staticClass:"font-sm text-muted"},[t._v(t._s(t.keyword?"搜索结果":"最近联系人"))])],1),t._l(t.allList,(function(e,n){return i("free-list-item",{key:n,attrs:{title:e.name,cover:e.avatar||"/static/images/userpic.png",showRight:!0,showRightIcon:!1},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectItem(e)}}},[t.muliSelect?i("v-uni-view",{staticClass:"border rounded-circle flex align-center justify-center",staticStyle:{width:"40rpx",height:"40rpx"},attrs:{slot:"right"},slot:"right"},[e.checked?i("v-uni-view",{staticClass:"main-bg-color rounded-circle",staticStyle:{width:"30rpx",height:"30rpx"}}):t._e()],1):t._e()],1)})),""!==t.keyword&&0===t.searchList.length?i("v-uni-view",{staticClass:"flex align-center justify-center",staticStyle:{height:"100rpx"}},[i("v-uni-text",{staticClass:"font text-light-muted"},[t._v("暂无搜索结果")])],1):t._e()],2)},s=[]},ba83:function(t,e,i){"use strict";i("4de4"),i("c975"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{keyword:"",muliSelect:!1,top:0,list:[],group_id:0}},onLoad:function(t){var e=uni.getSystemInfoSync(),i=0;i=e.statusBarHeight,this.top=i+uni.upx2px(90),t.id&&(this.group_id=t.id)},computed:{allList:function(){return""===this.keyword?this.list:this.searchList},searchList:function(){var t=this;return""===this.keyword?[]:this.list.filter((function(e){return-1!==e.name.indexOf(t.keyword)}))},selectList:function(){return this.list.filter((function(t){return t.checked}))},selectCount:function(){return this.selectList.length}},methods:{selectItem:function(t){uni.showModal({content:"是否要踢出该成员？",success:function(t){t.confirm}})}}};e.default=n},f59d:function(t,e,i){"use strict";i.r(e);var n=i("2809"),r=i("ff50");for(var s in r)"default"!==s&&function(t){i.d(e,t,(function(){return r[t]}))}(s);var c,u=i("f0c5"),a=Object(u["a"])(r["default"],n["b"],n["c"],!1,null,"34e3f19e",null,!1,n["a"],c);e["default"]=a.exports},ff50:function(t,e,i){"use strict";i.r(e);var n=i("ba83"),r=i.n(n);for(var s in n)"default"!==s&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=r.a}}]);