diff --git a/src/components/drawers/NoticePub.vue b/src/components/drawers/NoticePub.vue
index 28929cb6..c14707d9 100644
--- a/src/components/drawers/NoticePub.vue
+++ b/src/components/drawers/NoticePub.vue
@@ -14,8 +14,8 @@
公告内容
-
- {{ noticeContent }}
+
+ {{ noticeContent ? noticeContent : "暂无公告" }}
编辑
@@ -23,9 +23,13 @@
-
- {{ noticeContent }}
+
+
预览:
+
+ {{ noticeContent }}
+
+
编辑:
{
console.log("公告获取项目", res.data.data.projectInfo);
state.projectInfo = res.data.data.projectInfo;
+ state.noticeContent = state.projectInfo.notice;
});
};
@@ -183,5 +188,35 @@ export default {
margin-right: 10px;
}
}
+ .txt-content {
+ margin: 24px 0 32px;
+ text-indent: 2em;
+ font-size: 14px;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #000000;
+ line-height: 22px;
+ }
+ .txt-contain {
+ margin-bottom: 18px;
+ display: flex;
+ span {
+ display: inline-block;
+ width: 50px;
+ }
+ .txt-content-tip {
+ width: calc(100% - 50px);
+ font-size: 14px;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #000000;
+ line-height: 22px;
+ display: -webkit-box;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ -webkit-box-orient: vertical;
+ word-break: break-all;
+ }
+ }
}
\ No newline at end of file