| | |
| | | <text class="section-title">项目信息</text> |
| | | <view class="info-row"> |
| | | <text class="label">比赛名称</text> |
| | | <text class="value">{{detail.activityName || '-'}} </text> |
| | | <text class="value">{{detail.activityName || '-'}}</text> |
| | | </view> |
| | | <view class="info-row"> |
| | | <text class="label">项目名称</text> |
| | | <text class="value">{{detail.projectName || '-'}} </text> |
| | | <text class="value">{{detail.projectName || '-'}}</text> |
| | | </view> |
| | | <view class="info-row"> |
| | | <text class="label">当前状态</text> |
| | |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="info-card" wx:if="{{detail.submissionFiles && detail.submissionFiles.length}}"> |
| | | <text class="section-title">提交资料</text> |
| | | <view class="file-item" wx:for="{{detail.submissionFiles}}" wx:key="id" data-url="{{item.url}}" bindtap="previewFile"> |
| | | <text class="file-name">{{item.name || '资料文件'}}</text> |
| | | <text class="file-action">预览</text> |
| | | <block wx:if="{{detail.submissionFiles && detail.submissionFiles.length}}"> |
| | | <view class="info-card"> |
| | | <text class="section-title">提交资料</text> |
| | | <view class="media-list"> |
| | | <view |
| | | class="media-item" |
| | | wx:for="{{detail.submissionFiles}}" |
| | | wx:key="id" |
| | | data-index="{{index}}" |
| | | bindtap="onMediaTap" |
| | | > |
| | | <view class="media-thumb-wrapper"> |
| | | <block wx:if="{{item.mediaType === 'image' || item.mediaType === 'video'}}"> |
| | | <image |
| | | wx:if="{{item.thumbUrl}}" |
| | | class="media-thumb" |
| | | src="{{item.thumbUrl}}" |
| | | mode="aspectFill" |
| | | /> |
| | | <text wx:else class="icon media-icon placeholder ic-picture"></text> |
| | | </block> |
| | | <text wx:elif="{{item.mediaType === 'pdf'}}" class="icon media-icon pdf ic-pdf"></text> |
| | | <text wx:elif="{{item.mediaType === 'word'}}" class="icon media-icon doc ic-word"></text> |
| | | <text wx:else class="icon media-icon file ic-file"></text> |
| | | <text wx:if="{{item.mediaType === 'video'}}" class="icon media-play ic-video-play"></text> |
| | | </view> |
| | | <view class="media-info"> |
| | | <text class="media-name">{{item.name || '资料文件'}}</text> |
| | | <text class="media-size">{{getFileSizeText(item.size)}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </block> |
| | | |
| | | <block wx:else> |
| | | <view class="info-card"> |
| | | <text class="section-title">提交资料</text> |
| | | <view class="empty-media">暂无上传的资料文件</view> |
| | | </view> |
| | | </block> |
| | | |
| | | <view class="info-card"> |
| | | <text class="section-title">审核意见</text> |