<view class="list">
  <navigator url="/pages/caseDetail/caseDetail?id={{item.id}}" hover-class="none" wx:for="{{ list }}" wx:key="index">
    <view class="item flex-column">
      <image src="{{ item.cover }}"></image>
      <view class="text-box flex-column">
        <text class="ellipsis" style="font-size: 28rpx;font-family: PingFangSC-Medium, PingFang SC;">{{ item.title }}</text>
        <text class="ellipsis" style="font-size: 24rpx;color: #666666;margin-top:12rpx;">{{ item.desc }}</text>
      </view>
    </view>
  </navigator>
</view>
<view class="no-data" style="display: {{list.length == 0 ? 'block' : 'none'}};">暂无数据～</view>