<view class="main data-v-71e217db"><view class="one data-v-71e217db"><swiper class="swiper data-v-71e217db" circular="{{true}}" indicator-dots="{{true}}" indicator-color="#FFFFFF" indicator-active-color="#007AFF" autoplay="{{true}}" interval="{{3000}}" duration="{{1000}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="list data-v-71e217db"><image class="image data-v-71e217db" src="{{item.g0?item.$orig.image[0].url:''}}" mode></image></swiper-item></block></swiper></view><block wx:if="{{user.role!='Patient'}}"><view class="two data-v-71e217db"><uni-collapse vue-id="6b3d36ea-1" accordion="{{true}}" class="data-v-71e217db" bind:__l="__l" vue-slots="{{['default']}}"><uni-collapse-item vue-id="{{('6b3d36ea-2')+','+('6b3d36ea-1')}}" title="群组" thumb="{{config.group_url[0].url}}" class="data-v-71e217db" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{$root.g1>0}}"><view class="content data-v-71e217db"><view class="two_1 data-v-71e217db"><input type="text" placeholder="搜索" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['searchgroup']],['toInputGroup',['$event']]]]]}}" value="{{searchgroup.name}}" bindinput="__e" class="data-v-71e217db"/></view><block wx:for="{{groupList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list data-v-71e217db"><uni-list-chat vue-id="{{('6b3d36ea-3-'+index)+','+('6b3d36ea-2')}}" title="{{item.name||''}}" avatar="{{item.doctor.icon[0].url||config.logo_url[0].url}}" time="{{item.doctor.name||''}}" link="navigateTo" data-event-opts="{{[['^click',[['toInfo',['$0','group'],[[['groupList','',index]]]]]]]}}" bind:click="__e" class="data-v-71e217db" bind:__l="__l"></uni-list-chat></view></block></view></block></uni-collapse-item><uni-collapse-item vue-id="{{('6b3d36ea-4')+','+('6b3d36ea-1')}}" title="好友" thumb="{{config.friend_url[0].url}}" open="{{true}}" class="data-v-71e217db" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{$root.g2>0}}"><view class="content data-v-71e217db"><view class="two_1 data-v-71e217db"><input type="text" placeholder="搜索" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['searchfriend']],['toInputFriend',['$event']]]]]}}" value="{{searchfriend.name}}" bindinput="__e" class="data-v-71e217db"/></view><block wx:for="{{friendList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toInfo',['$0','friend'],[[['friendList','',index]]]]]]]}}" class="list data-v-71e217db" bindtap="__e"><block wx:if="{{item.notRead==0}}"><uni-list-chat vue-id="{{('6b3d36ea-5-'+index)+','+('6b3d36ea-4')}}" title="{{item.patientName||''}}" avatar="{{item.patientIcon||config.user_url[0].url}}" note="{{item.content||''}}" time="{{item.time||''}}" link="navigateTo" data-event-opts="{{[['^click',[['toInfo',['$0','friend'],[[['friendList','',index]]]]]]]}}" bind:click="__e" class="data-v-71e217db" bind:__l="__l"></uni-list-chat></block><block wx:else><uni-list-chat vue-id="{{('6b3d36ea-6-'+index)+','+('6b3d36ea-4')}}" title="{{item.patientName||''}}" avatar="{{item.patientIcon||config.user_url[0].url}}" note="{{item.content||''}}" time="{{item.time||''}}" badge-positon="left" badge-text="{{item.notRead||''}}" link="navigateTo" data-event-opts="{{[['^click',[['toInfo',['$0','friend'],[[['friendList','',index]]]]]]]}}" bind:click="__e" class="data-v-71e217db" bind:__l="__l"></uni-list-chat></block></view></block></view></block></uni-collapse-item></uni-collapse></view></block><block wx:else><view class="two data-v-71e217db"><block wx:if="{{$root.g3>0}}"><view class="content data-v-71e217db"><view class="two_1 data-v-71e217db"><input type="text" placeholder="搜索" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['searchgroup']],['toInputGroup',['$event']]]]]}}" value="{{searchgroup.name}}" bindinput="__e" class="data-v-71e217db"/></view><block wx:for="{{groupList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list data-v-71e217db"><uni-list-chat vue-id="{{'6b3d36ea-7-'+index}}" title="{{item.name}}" avatar="{{item.doctor.icon[0].url||config.logo_url[0].url}}" time="{{item.doctor.name}}" link="navigateTo" data-event-opts="{{[['^click',[['toInfo',['$0','group'],[[['groupList','',index]]]]]]]}}" bind:click="__e" class="data-v-71e217db" bind:__l="__l"></uni-list-chat></view></block></view></block></view></block></view>