<div class="live-page">
  <div class="swiper poster">
    <div class="swiper-wrapper">
      @for (item of roomList; track $index) {
      <div
        class="swiper-slide"
        [style.background-image]="'url(' + item?.cover + ')'"
      >
        <div class="post-footer">
          <div class="user-dateil">
            <div class="avatar">
              <img [src]="item.avatar" alt="">
            </div>
            <div class="btn" (click)="toUrl(item?.uid)">点击查看主页</div>
          </div>
          <div class="block">
            <!-- <div class="tag">
              直播中
              <img src="img/live.gif" alt="" />
            </div> -->
            <div class="live-room">{{ item?.nickname || item?.mobile }}</div>
            <div class="tips">{{ item?.title }}</div>
          </div>
        </div>
      </div>
      }
    </div>
  </div>
</div>
