<!-- 接收消息 提示小红点 --> <template name="chat-item-head"> <view class="chat-item-head-super-style"> <image class="chat-head-style" src="{{headUrl}}" /> <text wx:if="{{count>0}}" class="unread-style">{{count<=99?count:'99+'}}</text> </view> </template>