2025-10-15

添加字体
项目描述
聊天记录加载修改
This commit is contained in:
2025-10-15 17:22:54 +08:00
parent f53ec45c51
commit ad2ce26c08
29 changed files with 310 additions and 45 deletions

52
static/css/wangeditor.css Normal file
View File

@@ -0,0 +1,52 @@
.editor-content-view {
border: 3px solid #ccc;
border-radius: 5px;
padding: 0 10px;
margin-top: 20px;
overflow-x: auto;
}
.editor-content-view p,
.editor-content-view li {
white-space: pre-wrap; /* 保留空格 */
}
.editor-content-view blockquote {
border-left: 8px solid #d0e5f2;
padding: 10px 10px;
margin: 10px 0;
background-color: #f1f1f1;
}
.editor-content-view code {
font-family: monospace;
background-color: #eee;
padding: 3px;
border-radius: 3px;
}
.editor-content-view pre>code {
display: block;
padding: 10px;
}
.editor-content-view table {
border-collapse: collapse;
}
.editor-content-view td,
.editor-content-view th {
border: 1px solid #ccc;
min-width: 50px;
height: 20px;
}
.editor-content-view th {
background-color: #f1f1f1;
}
.editor-content-view ul,
.editor-content-view ol {
padding-left: 20px;
}
.editor-content-view input[type="checkbox"] {
margin-right: 5px;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
@font-face {
font-family: '仿宋';
src: url('~@/static/fontsFamily/FangSong_GB2312.woff') format('woff'),
url('~@/static/fontsFamily/FangSong_GB2312.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

View File

@@ -0,0 +1,8 @@
@font-face {
font-family: '黑体';
src: url('~@/static/fontsFamily/SimHei.woff') format('woff'),
url('~@/static/fontsFamily/SimHei.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

View File

@@ -0,0 +1,8 @@
@font-face {
font-family: '华文仿宋';
src: url('~@/static/fontsFamily/STFangsong.woff') format('woff'),
url('~@/static/fontsFamily/STFangsong.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

View File

@@ -0,0 +1,8 @@
@font-face {
font-family: '华文楷体';
src: url('~@/static/fontsFamily/STKaiti.woff') format('woff'),
url('~@/static/fontsFamily/STKaiti.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

View File

@@ -0,0 +1,8 @@
@font-face {
font-family: '楷体';
src: url('~@/static/fontsFamily/KaiTi.woff') format('woff'),
url('~@/static/fontsFamily/KaiTi.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

View File

@@ -0,0 +1,8 @@
@font-face {
font-family: '宋体';
src: url('~@/static/fontsFamily/SongTi.woff') format('woff'),
url('~@/static/fontsFamily/SongTi.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

File diff suppressed because one or more lines are too long

BIN
static/icon/Settings.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB