<!--文件展示页面-->
|
<common-page safeBottom="{{ false }}">
|
<view class="header second-font">{{ material_data[activeMaterial].explain }}</view>
|
<view class="header-title" wx:if="{{ material_data[activeMaterial].num > 0 }}">{{ material_data[activeMaterial].title }}:{{ material_data[activeMaterial].num }}</view>
|
<!-- 文件展示 -->
|
<view class="card {{ activeMaterial === 2 ? 'card2' : '' }}" wx:for="{{ material_data[activeMaterial].files }}" wx:for-index="t" wx:for-item="x" wx:key="t">
|
<view class="card-header" wx:if="{{ activeMaterial === 2 }}">
|
<image class="card-header-img" src="{{ imgUrl }}avatar-{{ x.perType === '15_020008-1' ? 'sqr' : 'bsqr' }}.png" />
|
<view>
|
<view class="card-header-title">{{ x.ownerName }}</view>
|
<view class="card-header-subTitle">{{ x.perType === '15_020008-1' ? '申请方' : '被申请方' }} | {{ x.agentStatus || '当事人' }}</view>
|
</view>
|
</view>
|
<!-- 文件 -->
|
<file-card backgroundColor="{{ activeMaterial === 2 ? '' : '#ffffff' }}" bind:ontouchend="handleTouchend" bind:ontouchstart="handleTouchstart" fileInfoList="{{ x.fileList }}" isPreview="{{false}}" />
|
</view>
|
<view class="case">
|
<view class="img-case_2">
|
<image src="/img/case_1.png" class="img"></image>
|
</view>
|
<view>
|
通过与相似类案的大数据分析,建议您优先选择案件调解方式。这将有效为您节约时间和金钱成本,以更容易保持双方关系的方式让您收获满意的结果。
|
</view>
|
</view>
|
|
<!-- 空 -->
|
<view class="empty">
|
<van-empty description="暂无材料" image="{{ imgUrl }}empty.png" wx:if="{{ material_data[activeMaterial].files.length === 0 }}" />
|
</view>
|
<!-- 上传按钮 -->
|
<view bindtap="handleGoUpload" class="upload-icon" wx:if="{{ editVisible }}">
|
<van-icon name="{{ imgUrl }}material-upload.png" size="24" />
|
<view class="second-font">上传</view>
|
</view>
|
<!-- tabbar -->
|
<van-tabbar active="{{ activeMaterial }}" bind:change="handleChangeTab" myHeight="66" placeholder>
|
<van-tabbar-item wx:for="{{ material_data }}" wx:key="index">
|
<van-icon name="{{ item.icon }}" slot="icon" />
|
<van-icon name="{{ item.iconActive }}" slot="icon-active" />
|
{{ item.title }}
|
</van-tabbar-item>
|
</van-tabbar>
|
</common-page>
|