feat(editor): 添加预加载动画和编辑器功能优化
- 新增预加载动画组件及样式 - 优化编辑器图片和视频上传处理逻辑 - 修复编辑器内容转换和格式处理问题 - 添加上传进度显示功能 - 改进编辑器工具栏图标和布局
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
height: 60px;
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 1) -41%, rgba(238, 248, 249, 1) 96%);
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
|
||||
.edit-head-container {
|
||||
width: 1200px;
|
||||
@@ -48,6 +49,16 @@
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.progress-box {
|
||||
position: absolute;
|
||||
bottom: -5px;
|
||||
left: 0;
|
||||
height: 5px;
|
||||
width: 2px;
|
||||
background: linear-gradient(315deg, rgb(103, 114, 255) 0px, rgb(0, 249, 229) 100%) center center / 104% 104% rgb(74, 84, 255);
|
||||
border-radius: 0 5px 5px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.edit-container {
|
||||
@@ -152,6 +163,11 @@
|
||||
&.active {
|
||||
background-color: rgba(246, 246, 189, 1);
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
color: #999;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
.file {
|
||||
@@ -327,22 +343,22 @@
|
||||
font-size: 18px;
|
||||
line-height: 26px;
|
||||
color: #333333;
|
||||
h1,
|
||||
h1 span {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif !important;
|
||||
font-weight: 650 !important;
|
||||
color: #000000;
|
||||
font-size: 18px !important;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
a {
|
||||
a,
|
||||
a span {
|
||||
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
||||
text-decoration: underline;
|
||||
color: #04b0d5;
|
||||
}
|
||||
|
||||
h1,
|
||||
h1 span {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
video {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user