index.wxml 1.1 KB

1234567891011121314151617181920212223
  1. <wxs src="../../../wxs/util-fun.wxs" module="util"></wxs>
  2. <i-cell-group>
  3. <view class="bg-white p20 fc" style="text-align:center;font-size:40rpx;margin-top:10rpx" > {{info.title}}</view>
  4. <i-cell title="部门" value="{{info.department}}"> </i-cell>
  5. <i-cell title="分类" value="{{util.getCategory(info.category)}}"> </i-cell>
  6. <i-cell title="文件状态" value="{{util.getStatus(info.status)}}" is-link> </i-cell>
  7. <i-cell title="发布人" value="{{info.username}}"> </i-cell>
  8. <i-cell title="下载量" value="{{info.downloadCount}}"> </i-cell>
  9. <i-cell title="浏览量" value="{{info.viewCount}}"> </i-cell>
  10. <i-cell title="文件简介" label="{{info.brief}}"> </i-cell>
  11. <i-cell title="操作记录">
  12. <view wx:for="{{logs}}" wx:key="articalId" wx:for-index="index" bindtap="getDetail" class="mt20" >
  13. <i-card extra="{{item.nickname}}" title="{{item.action}}" full>
  14. <view slot="content">操作描述: {{item.content}}</view>
  15. <view slot="footer">操作时间:{{util.getDatetime(item.createAt)}}</view>
  16. </i-card>
  17. </view>
  18. </i-cell>
  19. </i-cell-group>