Commit 6bd984fc by xiexiaoqin

Merge branch 'release/2.0.0' of…

Merge branch 'release/2.0.0' of ssh://gitlab.roboming.com:2018/fengzhaoyu/schedule into release/2.0.0
parents 323c976a 8a0df966
<view class="file-container" a:for="{{files}}"> <view class="file-container" a:for="{{[files]}}" customClass="1">
<file-list fileView="{{item}}"/> <file-list fileInfos="{{item}}"/>
</view> </view>
\ No newline at end of file
...@@ -236,11 +236,11 @@ input { ...@@ -236,11 +236,11 @@ input {
margin-top: 48rpx; margin-top: 48rpx;
} }
.place>.icon, .time>.icon, .participator>.icon, .meetingWay>.icon, .meetingWayShowTop>.icon { .place>.icon, .time>.icon, .participator>.icon, .meetingWay>.icon, .meetingWayShowTop>.icon, .taskNumber>.icon {
margin-right: 24rpx; margin-right: 24rpx;
} }
.noPlace, .hasplace, .timeText, .participatorText, .noWay, .hasWay, .meetingWayText { .noPlace, .hasplace, .timeText, .participatorText, .noWay, .hasWay, .meetingWayText, .fileText {
font-size: 34rpx; font-size: 34rpx;
width: 100%; width: 100%;
line-height: 1.5; line-height: 1.5;
......
...@@ -103,17 +103,17 @@ ...@@ -103,17 +103,17 @@
</view> </view>
</view> </view>
<!-- 几个任务 --> <!-- 几个任务 -->
<view onTap="goTasksPage" class="taskNumber"> <view onTap="goTasksPage" class="taskNumber" a:if="{{tasks.length}}">
<view class="iconicon_attender iconfont icon {{$data.showParticipatorList.length>1 ? '' : 'noValueIcon'}}"></view> <view class="iconicon_attender iconfont icon {{$data.showParticipatorList.length>1 ? '' : 'noValueIcon'}}"></view>
<view> <view class="fileText">
{{tasks.length}} 个任务 {{tasks.length}} 个任务
</view> </view>
<view class="iconright iconfont icon" style=" vertical-align: middle"></view> <view class="iconright iconfont icon" style=" vertical-align: middle"></view>
</view> </view>
<!-- 几个文件 --> <!-- 几个文件 -->
<view onTap="goFilesPage" class="taskNumber"> <view onTap="goFilesPage" class="taskNumber" a:if="{{files.length}}">
<view class="iconicon_attender iconfont icon {{$data.showParticipatorList.length>1 ? '' : 'noValueIcon'}}"></view> <view class="iconicon_attender iconfont icon {{$data.showParticipatorList.length>1 ? '' : 'noValueIcon'}}"></view>
<view> <view class="fileText">
{{files.length}} 个附件 {{files.length}} 个附件
</view> </view>
<view class="iconright iconfont icon" style=" vertical-align: middle"></view> <view class="iconright iconfont icon" style=" vertical-align: middle"></view>
......
...@@ -960,7 +960,12 @@ create.Page({ ...@@ -960,7 +960,12 @@ create.Page({
if (it.commentType === 'task') { if (it.commentType === 'task') {
tasks.push(it) tasks.push(it)
} else if (it.commentType === 'file') { } else if (it.commentType === 'file') {
files.push(it) if (!it.fileDetailList) {
return
}
for (let i = 0; i < it.fileDetailList.length; i++) {
files.push(it.fileDetailList[i])
}
} }
}) })
this.store.data.files = files; this.store.data.files = files;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment