<div class="info-card complaint-card">
  <h4>投诉与异常处理</h4>
  @if (complaints && complaints.length > 0) {
    <ul class="items">
      @for (c of complaints; track c.id) {
        <li class="item">
          <div class="title">{{ c.type }}</div>
          <div class="desc">{{ c.description }}</div>
          <div class="meta">
            <span class="time">{{ c.submitTime }}</span>
            <span class="status">{{ c.status }}</span>
          </div>
          @if (c.response) {
            <div class="response">处理意见：{{ c.response }}</div>
          }
        </li>
      }
    </ul>
  } @else {
    <div class="empty">暂无投诉/异常</div>
  }
</div>