diff --git a/src/military/index.scss b/src/military/index.scss index e09fba2e..7c6858e2 100644 --- a/src/military/index.scss +++ b/src/military/index.scss @@ -142,6 +142,36 @@ text-align: left; } +// 富文本样式 +.w-e-text table td, .w-e-text table th{ + height: 30px; +} +.editor-w-text table td, .editor-w-text table th{ + border-bottom: 1px solid #ccc; + border-right: 1px solid #ccc; + padding: 3px 5px; + height: 30px; + min-height: 30px; +} +.editor-w-text table th { + border-bottom: 2px solid #ccc; + text-align: center; + background-color: #f1f1f1; +} +.editor-w-text table { + border-top: 1px solid #ccc; + border-left: 1px solid #ccc; +} +.editor-w-text blockquote { + display: block; + border-left: 8px solid #d0e5f2; + padding: 5px 10px; + margin: 10px 0; + line-height: 1.4; + font-size: 100%; + background-color: #f1f1f1; +} + @media screen and (max-width: 1200px){ .centerbox { diff --git a/src/military/notice/noticeDetail/index.jsx b/src/military/notice/noticeDetail/index.jsx index c7024f63..cd863d48 100644 --- a/src/military/notice/noticeDetail/index.jsx +++ b/src/military/notice/noticeDetail/index.jsx @@ -1,7 +1,6 @@ import React, { useEffect, useState } from 'react'; import { Icon, } from 'antd'; import { Link } from "react-router-dom"; -import { httpUrl } from '../../fetch'; import { getNoticeDetail } from '../api'; import { noticeType } from '../static'; import './index.scss'; @@ -51,7 +50,7 @@ export default ({ match, history, showNotification }) => {
公告主要内容
-
+
@@ -60,10 +59,10 @@ export default ({ match, history, showNotification }) => {
公告附件

- { window.open(httpUrl + noticeData.fileDownloadPath) }}> + { window.open( noticeData.fileDownloadPath) }}> {noticeData.fileName} - { window.open(httpUrl + noticeData.fileDownloadPath) }}>下载 + { window.open( noticeData.fileDownloadPath) }}>下载

}