添加工作量查看页面, 附件显示优化
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;" arrow
|
||||
bind:tap="onPreview2" /> -->
|
||||
|
||||
<t-cell title="附件" left-icon="file"
|
||||
<t-cell wx:if="{{files.length}}" title="附件" left-icon="file"
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;z-index:1"
|
||||
bordered="{{false}}" />
|
||||
<view style="border: 1px solid #ddd;border-radius: 8rpx;padding: 8rpx;">
|
||||
<view wx:if="{{files.length}}" style="border: 1px solid #ddd;border-radius: 8rpx;padding: 8rpx;">
|
||||
<block wx:for="{{files}}" wx:key="index">
|
||||
<t-cell title="{{item.file_name}}" hover="{{item._file_type != 'file'}}"
|
||||
arrow="{{item._file_type != 'file'}}" bind:tap="onPreview" data-index="{{index}}" />
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;" arrow
|
||||
bind:tap="onPreview2" /> -->
|
||||
|
||||
<t-cell title="附件" left-icon="file"
|
||||
<t-cell wx:if="{{files.length}}" title="附件" left-icon="file"
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;z-index:1"
|
||||
bordered="{{false}}" />
|
||||
<view style="border: 1px solid #ddd;border-radius: 8rpx;padding: 8rpx;">
|
||||
<view wx:if="{{files.length}}" style="border: 1px solid #ddd;border-radius: 8rpx;padding: 8rpx;">
|
||||
<block wx:for="{{files}}" wx:key="index">
|
||||
<t-cell title="{{item.file_name}}" hover="{{item._file_type != 'file'}}"
|
||||
arrow="{{item._file_type != 'file'}}" bind:tap="onPreview" data-index="{{index}}" />
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;" arrow
|
||||
bind:tap="onPreview2" /> -->
|
||||
|
||||
<t-cell title="附件" left-icon="file"
|
||||
<t-cell wx:if="{{files.length}}" title="附件" left-icon="file"
|
||||
custom-style="padding-left:0;padding-right:0;position: sticky;top: 0;z-index:1"
|
||||
bordered="{{false}}" />
|
||||
<view style="border: 1px solid #ddd;border-radius: 8rpx;padding: 8rpx;">
|
||||
<view wx:if="{{files.length}}" style="border: 1px solid #ddd;border-radius: 8rpx;padding: 8rpx;">
|
||||
<block wx:for="{{files}}" wx:key="index">
|
||||
<t-cell title="{{item.file_name}}" hover="{{item._file_type != 'file'}}"
|
||||
arrow="{{item._file_type != 'file'}}" bind:tap="onPreview" data-index="{{index}}" />
|
||||
|
||||
Reference in New Issue
Block a user