<block wx:for="{{messageList}}" wx:key="id">
  <t-message-item
    id="{{item.id}}"
    bind:close-btn-click="handleClose"
    bind:link-click="handleLinkClick"
    bind:duration-end="handleDurationEnd"
  >
    <slot name="icon" slot="icon" />
    <slot name="content" slot="content" />
    <slot />
    <slot name="link" slot="link" />
    <slot name="close-btn" slot="close-btn" />
  </t-message-item>
</block>
