diff --git a/src/App.vue b/src/App.vue index 1a6527d..d24f2e1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -46,6 +46,20 @@ body { display: none; } + +.noteHeader { + background-color: white; + width:100%; + height:40px; +} + +.noteHeaderShade { + background: linear-gradient(to top,rgba(255,255,255,0.7),rgba(255,255,255,1)); + width:100%; + height:40px; + border-bottom: dashed #ed4014 1px; +} + #noteText { white-space: pre-wrap; word-break: break-word; diff --git a/src/views/EditNote.vue b/src/views/EditNote.vue index c785759..92f4048 100644 --- a/src/views/EditNote.vue +++ b/src/views/EditNote.vue @@ -23,7 +23,6 @@ } - .layout-footer-center { background: #dddddd; text-align: center; @@ -75,7 +74,7 @@ :lg="{ span: 18, offset: 3 }" :xl="{ span: 16, offset: 4 }" :xxl="{ span: 16, offset: 4 }"> -
+
refresh flagnote @@ -237,6 +236,7 @@ export default { }, toTopState: false, showMenuState: false, + showHeaderShade: false, errorInfo: '', } }, @@ -480,8 +480,10 @@ export default { var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; if (scrollTop >= 20) { that.toTopState = true; + that.showHeaderShade = true; } else { that.toTopState = false; + that.showHeaderShade = false; } } }, diff --git a/src/views/ViewNote.vue b/src/views/ViewNote.vue index 93e215c..b7517fc 100644 --- a/src/views/ViewNote.vue +++ b/src/views/ViewNote.vue @@ -168,7 +168,7 @@ -
+
refresh flagnote