<page-plugin isAuth="{{true}}" loading="{{loading}}" is-login="{{isLogin}}"
  bind:handleLogin="handleLogin">
  <t-cell-group custom-style="margin: 0">
    <block wx:for="{{list}}" wx:key="index">
      <t-cell title="{{item.file_name}}" image="{{item._file_type == 'image' ? item.file_path: ''}}"
        hover="{{item._file_type != 'file'}}" arrow="{{item._file_type != 'file'}}"
        description="{{item._file_size}}" bind:tap="onPreview" data-index="{{index}}">
        <block wx:if="{{item._file_type != 'image'}}">
          <t-icon slot="left-icon" name="{{fileIcon[item._file_type]}}" color="#999" size="96rpx" />
        </block>
      </t-cell>
    </block>
  </t-cell-group>
</page-plugin>