<view wx:if="{{shouldRenderNotification}}" class="notification-wrap {{isLandscape ? 'notification-wrap-landscape' : ''}} {{!entryVisible ? 'notification-wrap-floating' : ''}} {{entryVisible ? 'notification-wrap-has-entry' : ''}}">
  <view wx:if="{{announcementVisible && (!announcement.isCustom || isNotificationOpen)}}" class="announcement-card notification-lane-announcement {{announcement.isCustom ? 'announcement-card-custom' : ''}} {{announcementExiting ? 'announcement-slide-out' : 'announcement-slide-in'}}" bindtap="handleAnnouncementTap">
    <image class="announcement-icon announcement-icon-{{announcement.type}}" src="{{announcement.iconSrc}}" mode="aspectFit"></image>
    <view class="announcement-content">{{announcement.content}}</view>
    <view wx:if="{{announcement.actionText}}" class="announcement-action">{{announcement.actionText}}</view>
    <view wx:if="{{announcement.isCustom && !announcementExiting}}" class="announcement-custom-flash"></view>
  </view>
  <view wx:if="{{isNotificationOpen && entryVisible}}" class="entry-message notification-slide-left">
    <view wx:if="{{entry.levelMeta}}" class="entry-level-badge" style="background-color: {{entry.levelMeta.Color}}">
      <image wx:if="{{entry.levelMeta.LevelIcon}}" class="entry-level-icon" src="{{entry.levelMeta.LevelIcon}}" mode="aspectFit"></image>
      <text class="entry-level-name">{{entry.levelMeta.LevelName}}</text>
    </view>
    <text class="entry-nickname">{{entry.nickname}}</text>
    <text class="entry-main">来了</text>
  </view>
  <view wx:if="{{isNotificationOpen && giftVisible}}" class="gift-list notification-lane-gift">
    <view wx:for="{{gifts}}" wx:key="id" class="gift-bean {{item.isHighlight ? 'gift-bean-highlight' : ''}}">
      <view class="gift-left">
        <view class="gift-info">
          <text class="gift-nickname">{{item.nickname}}</text>
          <text class="gift-text">送出{{item.giftName}}</text>
        </view>
        <image wx:if="{{item.giftImage}}" class="gift-image" src="{{item.giftImage}}" mode="aspectFit"></image>
      </view>
      <view class="gift-right">
        <text class="gift-count-x">×</text>
        <text class="gift-count">{{item.giftCount}}</text>
      </view>
    </view>
  </view>
  <view wx:if="{{isNotificationOpen && dynamicEmojiVisible}}" class="dynamic-emoji-card notification-lane-dynamic-emoji dynamic-emoji-slide-in">
    <view class="dynamic-emoji-title" style="color: {{dynamicEmoji.textColor}}">{{dynamicEmoji.text}}</view>
    <image wx:if="{{dynamicEmoji.src}}" class="dynamic-emoji-image" src="{{dynamicEmoji.src}}" mode="aspectFit"></image>
    <text wx:else class="dynamic-emoji-text">{{dynamicEmoji.token}}</text>
  </view>
</view>
