test(KYC页): 测试图片上传方式
This commit is contained in:
parent
4c47db87cd
commit
c5fa3992a3
@ -78,6 +78,25 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</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
|
<img
|
||||||
src="/src/assets/icon/direction.png"
|
src="/src/assets/icon/direction.png"
|
||||||
alt=""
|
alt=""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user