diff --git a/src/assets/style/_base.scss b/src/assets/style/_base.scss index cfbef46b261d75c9a2ce7bfbb1f555ae5d8d913d..44f3e97d0768d4ec5cd464e4098e13a17471acfd 100644 --- a/src/assets/style/_base.scss +++ b/src/assets/style/_base.scss @@ -620,3 +620,14 @@ $font-map: ( font-size: $value; } } + .message-pop { + padding: 40px 28px; + box-shadow: 0px 4px 16px 0px rgba(0,0,0,0.3); + border-radius: 8px; + .popper__arrow::after { + display: none; + } + .popper__arrow { + display: none; + } + } \ No newline at end of file diff --git a/src/layouts/components/NavBar/index.vue b/src/layouts/components/NavBar/index.vue index ef2fc79b7a989fbb75c28e0820e433185e506651..678e1237f0ca0ce73cbb933594ee893855169046 100644 --- a/src/layouts/components/NavBar/index.vue +++ b/src/layouts/components/NavBar/index.vue @@ -32,12 +32,23 @@ - -
- - 消息 + +
+
+ + {{item.date}} +
+
{{item.message}}
- + +
@@ -93,6 +104,16 @@ export default { { fontSize: "16px", label: "A+" }, ], fontIndex: localStorage.getItem("fontIndex") || 1, + messageList:[ + { + date:"2022-12-12", + message:"驳回修改病例【6条】" + }, + { + date:"2022-12-12", + message:"驳回修改病例【6条】" + }, + ] } }, computed: { @@ -236,4 +257,39 @@ export default { } } } +.message-box { + .top-box { + display: flex; + flex-direction: row; + .blue-dot { + width: 4px; + height: 4px; + background: #4b65ff; + display: block; + border-radius: 100%; + } + .top-text { + font-size: 14px; + font-family: AlibabaPuHuiTiR; + color: #999999; + } + } +} +// .el-popper { +// ::v-deep .popper__arrow { +// display: none; +// } +// } + \ No newline at end of file