xusd
7 days ago 998218675eb243d43912c203174a6b72b299c0f8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!--文件展示页面-->
<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>