From 1240d87af3e2ec7fb81a37038f02fdbea3537c64 Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Tue, 9 Jul 2024 11:22:10 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=9A=E7=9F=A5=E5=85=AC?=
=?UTF-8?q?=E5=91=8A=E5=BC=B9=E6=A1=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sgzb-ui/src/App.vue | 74 ++++++--------
sgzb-ui/src/components/Notice/index.vue | 125 ++++++++++++++++++++++--
sgzb-ui/src/views/newLogin.vue | 3 +
3 files changed, 151 insertions(+), 51 deletions(-)
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