import{_ as a,z as e,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 d,T as c,V as m,W as g}from"./index-B8Xu-LSB.js";import{_ as f}from"./next-watermark.C8m2SAJs.js";import{_ as h}from"./uni-search-bar.Clyl6-JW.js";import{_}from"./uni-icons.sgPZQswx.js";import{_ as k}from"./group-item.Do69KySH.js";import"./head-image.tW-WOYK0.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 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(a.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":e[0]||(e[0]=a=>y.searchText=a),cancelButton:"none",radius:"100",placeholder:"点击搜索群聊"},null,8,["modelValue"])])),_:1}),a.userStore.isOutUser?i("",!0):(l(),t(T,{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(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),d(m,null,c(j.groupList,(a=>(l(),t(T,{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-7c5f7dd4"]]);export{w as default};
