test(KYC页): 测试图片上传方式

This commit is contained in:
hzj 2025-11-12 15:06:50 +08:00
parent 4c47db87cd
commit c5fa3992a3

View File

@ -78,6 +78,25 @@
/>
</div>
<!-- 可见的备用文件选择按钮 -->
<label
style="
display: inline-flex;
align-items: center;
padding: 8px 16px;
background: linear-gradient(135deg, #8b45ff, #bb92ff);
color: white;
border-radius: 6px;
cursor: pointer;
font-weight: 500;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
"
>
<span>📁</span>
<span style="margin-left: 8px">{{ t('select_image') }}</span>
<input type="file" accept="image/*" @change="handleFileChange" style="display: none" />
</label>
<img
src="/src/assets/icon/direction.png"
alt=""