diff --git a/sgzb-ui/src/App.vue b/sgzb-ui/src/App.vue index 320c2606..bbe64e14 100644 --- a/sgzb-ui/src/App.vue +++ b/sgzb-ui/src/App.vue @@ -3,14 +3,19 @@ - + diff --git a/sgzb-ui/src/components/Notice/index.vue b/sgzb-ui/src/components/Notice/index.vue index 9b93e9ef..44841fd1 100644 --- a/sgzb-ui/src/components/Notice/index.vue +++ b/sgzb-ui/src/components/Notice/index.vue @@ -2,24 +2,34 @@
重要通知(1/1)重要通知({{ unreadNUm }}/{{ noticeNum }}) - 我知道了 - + 我知道了 +

发布时间:{{ releaseTime }}

+
+ {{ noticeContent }} +
+
{{ releaseCreateName }}
+
@@ -43,7 +133,7 @@ export default { border-bottom: 2px solid #999; } ::v-deep .el-dialog__title { - font-size: 20px; + font-size: 22px; font-weight: bold; letter-spacing: 3px; color: #409eff; @@ -80,4 +170,27 @@ export default { height: 38px; letter-spacing: 2px; } + +.notice-content { + height: 250px; + text-indent: 4em; + font-size: 16px; + letter-spacing: 3px; + word-wrap: break-word; + line-height: 3; +} + +.release-time { + font-size: 18px; + text-align: center; +} +.notice-footer, +.notice-create { + text-align: right; + font-size: 16px; + letter-spacing: 1px; +} +.notice-create { + margin-bottom: 8px; +} \ No newline at end of file diff --git a/sgzb-ui/src/views/newLogin.vue b/sgzb-ui/src/views/newLogin.vue index cdc346c6..1322a97f 100644 --- a/sgzb-ui/src/views/newLogin.vue +++ b/sgzb-ui/src/views/newLogin.vue @@ -515,6 +515,8 @@ export default { // } this.$router.push({ path: '/' }).catch(() => {}) + + localStorage.setItem('notice', true) }) .catch(() => { this.loading = false @@ -550,6 +552,7 @@ export default { .dispatch('textLogin', this.phoneLoginParams) .then(() => { this.$router.push({ path: '/' }).catch(() => {}) + localStorage.setItem('notice', true) }) .catch(() => { this.loading = false