feat: implement miniapp C-group pages with real API calls and design tokens

This commit is contained in:
Codex
2026-09-14 10:02:22 +08:00
parent bb380d40f6
commit 63cbbff2de
20 changed files with 300 additions and 23 deletions
@@ -11,7 +11,7 @@
<!-- 已声明的资格类型 -->
<view class="type-tag" wx:if="{{eligibilityType}}">
<text>已声明:{{getEligibilityLabel(eligibilityType)}}</text>
<text>已选择本地资格类型</text>
</view>
<!-- 佐证类型选择 -->
@@ -36,7 +36,7 @@
<text class="section-title">上传佐证材料</text>
<view class="upload-area">
<view class="upload-hint">
<text class="hint-text">支持 JPG/PNG,最多 6 张</text>
<text class="hint-text">支持 JPG/PNG,最多 {{maxFiles}} 张</text>
</view>
<view class="image-grid">
<view
@@ -47,7 +47,7 @@
<image src="{{item}}" mode="aspectFill" class="image-preview" />
<view class="image-remove" bindtap="onRemoveImage" data-index="{{index}}">×</view>
</view>
<view class="upload-btn" bindtap="onChooseImage">
<view class="upload-btn" bindtap="onChooseImage" wx:if="{{uploadedFileIds.length < maxFiles}}">
<text class="upload-icon">+</text>
<text class="upload-text">上传</text>
</view>
@@ -57,13 +57,13 @@
<!-- 隐私提示 -->
<view class="privacy-note">
<text class="note-text">🔒 仅用于资格审核,不对其他用户展示</text>
<text class="note-text">材料仅用于资格审核,不对其他用户展示</text>
</view>
<!-- 提交按钮 -->
<view class="action-bar">
<button class="btn-primary" bindtap="onSubmit">
提交审核
<button class="btn-primary" bindtap="onSubmit" loading="{{submitting}}" disabled="{{submitting || uploading}}">
{{submitting ? '提交中…' : '提交审核'}}
</button>
</view>
</view>