feat: 新增视频组件及配置功能

- 在 config.js 中添加视频类型配置,支持视频上传和样式设置。
- 创建 video-config.vue 组件,提供视频内容和样式的配置选项。
- 更新 decorate.vue 以支持视频类型的渲染和配置。
This commit is contained in:
pikachu1995@126.com
2026-07-07 09:39:00 +08:00
parent e13ca6281d
commit c277cf1121
15 changed files with 926 additions and 317 deletions

View File

@@ -140,7 +140,7 @@
height: 100%;
box-sizing: border-box;
border-right: 1px solid #e5e6eb;
padding: 16px 0 24px;
padding: 20px 12px 28px;
}
.pic-list {
height: 100%;
@@ -172,11 +172,21 @@
overflow: hidden;
box-sizing: border-box;
position: relative;
img {
img,
.card-media {
width: 100%;
height: 100%;
object-fit: cover;
}
.card-file {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background: #f5f7fa;
color: #909399;
}
.card-checkbox {
position: absolute;
top: 8px;