- 关于系统升级的通知
+ {{ detail.titile }}
+

@@ -41,7 +56,7 @@ async function getDetail() {
创建人:
- 系统管理员
+ {{ detail.userNcame }}
@@ -50,7 +65,7 @@ async function getDetail() {
发布时间:
- 2023-10-31 23:12:00
+ {{ format(detail.sendTime * 1000, 'yyyy-MM-dd HH:mm:ss') }}
@@ -60,7 +75,7 @@ async function getDetail() {
- 系统消息
+ {{ detail.msgCategory === 1 ? '审批通知' : '系统通知' }}
@@ -93,7 +108,13 @@ async function getDetail() {
text-align: center;
color: #333333;
line-height: 40px;
+ margin-bottom: 32px;
}
+
+ .content{
+ padding: 0 32px;
+ }
+
}
.right-card{
diff --git a/src/views/message/content/Content.vue b/src/views/message/content/List.vue
similarity index 76%
rename from src/views/message/content/Content.vue
rename to src/views/message/content/List.vue
index 78012b5..7644c80 100644
--- a/src/views/message/content/Content.vue
+++ b/src/views/message/content/List.vue
@@ -1,9 +1,7 @@
@@ -103,7 +92,7 @@ function goDetail(id) {
-
+
![]()
清除未读
@@ -128,14 +117,14 @@ function goDetail(id) {
-
+
- {{ item.pictureno }}
-
+ {{ format(item.sendTime * 1000, 'dd') }}
+
- {{ item.createTime }}
+ {{ format(item.sendTime * 1000, 'yyyy-MM') }}
@@ -152,13 +141,17 @@ function goDetail(id) {
-->
{{ item.userName }}
- {{ item.createTime }}
+ {{ format(item.sendTime * 1000, 'yyyy-MM-dd HH:mm:ss') }}
查看
+
+
+ 查看更多
![]()
+
@@ -173,6 +166,7 @@ function goDetail(id) {
background: #FFF;
border-radius: 3px;
height: calc(100vh - 88px);
+ position: relative;
.header{
padding: 24px;
@@ -264,6 +258,31 @@ function goDetail(id) {
.list{
margin-left: 24px;
flex: 1;
+ overflow-y: auto;
+ padding-bottom: 97px;
+ box-sizing: border-box;
+ height: calc(100vh - 88px - 76px);
+
+ .more{
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 14px;
+ font-family: PingFang SC, PingFang SC-Regular;
+ text-align: left;
+ color: #666666;
+ position: absolute;
+ bottom: 40px;
+ left: 50%;
+ background: #fff;
+ cursor: pointer;
+
+ .icon-more{
+ width: 14px;
+ height: 14px;
+ margin-left: 6px;
+ }
+ }
.item{
display: flex;
@@ -272,6 +291,10 @@ function goDetail(id) {
flex: 1;
padding: 16px 0 16px 25px;
border-bottom: 1px solid #eeeeee;
+
+ &-disabled{
+ opacity: 0.5;
+ }
}
.pt0{
diff --git a/src/views/message/index.vue b/src/views/message/index.vue
index 010a015..8b33a04 100644
--- a/src/views/message/index.vue
+++ b/src/views/message/index.vue
@@ -1,8 +1,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/message/modal/CustomFieldModal.vue b/src/views/message/modal/CustomFieldModal.vue
deleted file mode 100644
index 523a6f2..0000000
--- a/src/views/message/modal/CustomFieldModal.vue
+++ /dev/null
@@ -1,384 +0,0 @@
-
-
-
-
-
-
-
自定义任务包字段
-
-
-
-
-
-
-
-
-
-
- 清空
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-