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