import{_ as e,z as a,d as r,e as s,f as t,w as o,i as u,o as l,h as n,k as i,j as p,S as c,T as d,V as m,W as g}from"./index-DHEmZ3XZ.js";import{_ as f}from"./next-watermark.0mun_i3T.js";import{_ as h}from"./uni-search-bar.C8cNkHny.js";import{_}from"./uni-icons.K5G-aCXf.js";import{_ as k}from"./group-item.X4fHUmn0.js";import"./head-image.CATo7npw.js";const w=e({data:()=>({searchText:""}),computed:{groupList(){return this.groupStore.groups.filter((e=>!(e.caseNum&&e.groupType)))}},methods:{onFocusSearch(){},onCreateNewGroup(){a({url:"/pages/group/group-edit"})}}},[["render",function(e,a,w,x,y,j){const S=r(s("next-watermark"),f),T=u,b=r(s("uni-search-bar"),h),v=r(s("uni-icons"),_),C=r(s("group-item"),k),G=g;return l(),t(T,{class:"tab-page group"},{default:o((()=>[n(T,null,{default:o((()=>[n(S,{watermark:String(e.userStore.watermark)},null,8,["watermark"])])),_:1}),n(T,{class:"nav-bar"},{default:o((()=>[n(T,{class:"nav-search"},{default:o((()=>[n(b,{modelValue:y.searchText,"onUpdate:modelValue":a[0]||(a[0]=e=>y.searchText=e),cancelButton:"none",radius:"100",placeholder:"点击搜索群聊"},null,8,["modelValue"])])),_:1}),e.userStore.isOutUser?i("",!0):(l(),t(T,{key:0,class:"nav-add",onClick:a[1]||(a[1]=e=>j.onCreateNewGroup())},{default:o((()=>[n(v,{type:"personadd",size:"35"})])),_:1}))])),_:1}),0==j.groupList.length?(l(),t(T,{key:0,class:"group-tip"},{default:o((()=>[p(" 温馨提示：您现在还没有加入任何群聊，点击右上方'+'按钮可以创建群聊哦~ ")])),_:1})):(l(),t(T,{key:1,class:"group-items"},{default:o((()=>[n(G,{class:"scroll-bar","scroll-with-animation":"true","scroll-y":"true"},{default:o((()=>[(l(!0),c(m,null,d(j.groupList,(e=>(l(),t(T,{key:e.id},{default:o((()=>[!e.quit&&e.showGroupName.includes(y.searchText)?(l(),t(C,{key:0,group:e},null,8,["group"])):i("",!0)])),_:2},1024)))),128))])),_:1})])),_:1}))])),_:1})}],["__scopeId","data-v-1e80483c"]]);export{w as default};
