<view class="container">
|
<view wx:if="{{loading}}" class="loading">加载中...</view>
|
<view wx:else>
|
<view class="info-card">
|
<text class="section-title">项目信息</text>
|
<view class="info-row">
|
<text class="label">比赛名称</text>
|
<text class="value">{{detail.activityName || '-'}}</text>
|
</view>
|
<view class="info-row">
|
<text class="label">项目名称</text>
|
<text class="value">{{detail.projectName || '-'}}</text>
|
</view>
|
<view class="info-row">
|
<text class="label">当前状态</text>
|
<text class="status">{{detail.stateText || '未知'}}</text>
|
</view>
|
<view class="info-block">
|
<text class="label">项目简介</text>
|
<text class="description">{{detail.description || '暂无简介'}}</text>
|
</view>
|
</view>
|
|
<view class="info-card">
|
<text class="section-title">学员信息</text>
|
<view class="info-row">
|
<text class="label">姓名</text>
|
<text class="value">{{detail.playerInfo.name || '-'}}</text>
|
</view>
|
<view class="info-row">
|
<text class="label">联系方式</text>
|
<text class="value">{{detail.playerInfo.phone || '-'}}</text>
|
</view>
|
</view>
|
|
<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>
|
</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>
|
<textarea
|
class="feedback-input"
|
placeholder="请输入审核意见(可选)"
|
value="{{feedback}}"
|
bindinput="onFeedbackInput"
|
maxlength="500"
|
auto-height
|
/>
|
</view>
|
|
<view class="action-bar">
|
<button
|
class="reject-btn"
|
bindtap="onReject"
|
loading="{{submitting}}"
|
disabled="{{submitting}}"
|
>驳回</button>
|
<button
|
class="approve-btn"
|
bindtap="onApprove"
|
loading="{{submitting}}"
|
disabled="{{submitting}}"
|
>审核通过</button>
|
</view>
|
</view>
|
</view>
|