diff --git a/web/components.d.ts b/web/components.d.ts
index dcb8b214..95a5e97a 100644
--- a/web/components.d.ts
+++ b/web/components.d.ts
@@ -17,7 +17,6 @@ declare module 'vue' {
ElDialog: typeof import('element-plus/es')['ElDialog']
ElForm: typeof import('element-plus/es')['ElForm']
ElFormItem: typeof import('element-plus/es')['ElFormItem']
- ElIcon: typeof import('element-plus/es')['ElIcon']
ElInput: typeof import('element-plus/es')['ElInput']
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
ElMenu: typeof import('element-plus/es')['ElMenu']
diff --git a/web/src/common/Editor/RichEditor.vue b/web/src/common/Editor/RichEditor.vue
index c0357453..65b377bf 100644
--- a/web/src/common/Editor/RichEditor.vue
+++ b/web/src/common/Editor/RichEditor.vue
@@ -1,20 +1,38 @@
-
-
+
+
@@ -140,12 +137,14 @@ const onPreviewImage = (e) => {
overflow: hidden; /* 超出部分隐藏 */
text-overflow: ellipsis; /* 显示省略号 */
:deep(img) {
- height: 23px;
- width: auto;
+ height: 23px !important;
+ width: auto !important;
+ object-fit: cover;
+ margin-left: 5px;
}
:deep(p) {
- display: flex;
- align-items: center;
+ display: flex;
+ align-items: center;
}
}
}
@@ -153,8 +152,3 @@ const onPreviewImage = (e) => {
font-size: 13px;
}
-
diff --git a/web/src/management/pages/analysis/components/ImagePreview.vue b/web/src/management/pages/analysis/components/ImagePreview.vue
index 5b160210..3e0d99ce 100644
--- a/web/src/management/pages/analysis/components/ImagePreview.vue
+++ b/web/src/management/pages/analysis/components/ImagePreview.vue
@@ -1,72 +1,70 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/web/src/management/pages/edit/pages/skin/index.vue b/web/src/management/pages/edit/pages/skin/index.vue
index 24085c1f..8fa30e22 100644
--- a/web/src/management/pages/edit/pages/skin/index.vue
+++ b/web/src/management/pages/edit/pages/skin/index.vue
@@ -58,7 +58,7 @@ watch(
position: absolute;
top: 10px;
cursor: pointer;
- z-index: 9999;
+ z-index: 999;
:deep(.el-radio-button__original-radio + .el-radio-button__inner) {
font-size: 12px;
height: 28px;
diff --git a/web/src/management/styles/common.scss b/web/src/management/styles/common.scss
index 1ad8d701..ca8e0e70 100644
--- a/web/src/management/styles/common.scss
+++ b/web/src/management/styles/common.scss
@@ -1,8 +1,8 @@
// 富文本标题、选项中的预览弹窗的图片宽度
.el-popover {
- p {
- img {
- max-width: 100%;
- }
+ p {
+ img {
+ max-width: 100%;
}
- }
\ No newline at end of file
+ }
+}