feat: 接入对象存储图片直传

This commit is contained in:
que01 committed 2026-10-12 00:55:30 +08:00
1 parent f57c0ca0ea
commit 84956b8fe2
14 files changed
+548 -15

No files matched your search

+8 -4
View File
@@ -201,14 +201,18 @@ export function BrandPage() {
<Form.Item
name="avatarUrl"
label="头像图片地址"
help="粘贴一张可公开访问的图片地址。"
help="点击上传或粘贴一张可公开访问的图片地址。"
>
<ImageUrlField />
<ImageUrlField scope="brand" />
</Form.Item>
</Col>
<Col xs={24} md={12}>
<Form.Item name="coverUrl" label="品牌封面图片地址" help="建议使用横向图片。">
<ImageUrlField />
<Form.Item
name="coverUrl"
label="品牌封面图片地址"
help="点击上传,或粘贴一张横向图片地址。"
>
<ImageUrlField scope="brand" />
</Form.Item>
</Col>
</Row>
@@ -495,9 +495,9 @@ export function ServicesPage() {
<Form.Item
name="coverUrl"
label="封面图片地址"
help="填写图片地址;图片上传能力将在后续媒体管理中提供。"
help="点击上传,或粘贴服务/产品封面图片地址。"
>
<ImageUrlField placeholder="粘贴服务或产品封面图片地址" />
<ImageUrlField placeholder="粘贴服务或产品封面图片地址" scope="offering" />
</Form.Item>
<Form.Item
name="sortOrder"
@@ -396,7 +396,7 @@ export function TrustContentPage() {
label="配图地址"
help="粘贴一张可公开访问的图片地址,保存前会显示预览。"
>
<ImageUrlField placeholder="粘贴案例或经历配图地址" />
<ImageUrlField placeholder="粘贴案例或经历配图地址" scope="trust" />
</Form.Item>
<Form.Item name="isPublished" label="公开状态">
<Select