From 66658a1fbb7fde4d057ec706692bfbce3822214a Mon Sep 17 00:00:00 2001 From: luchenqun Date: Fri, 5 May 2017 11:13:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8pre=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=A4=87=E5=BF=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/style.css | 9 +++++++++ public/views/dialog-del-note.html | 4 +--- public/views/dialog-detail-note.html | 3 +-- public/views/note.html | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 9d9ca96..01c7552 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -160,3 +160,12 @@ img.operator { margin-bottom:5px; font-size: 16px; } + +.note-content{ + font: 15px "Lucida Grande", Helvetica, Arial, sans-serif; + white-space:pre-wrap; + white-space:-moz-pre-wrap; + white-space:-pre-wrap; + white-space:-o-pre-wrap; + word-wrap:break-word; +} diff --git a/public/views/dialog-del-note.html b/public/views/dialog-del-note.html index 512c4a0..1229377 100644 --- a/public/views/dialog-del-note.html +++ b/public/views/dialog-del-note.html @@ -1,8 +1,6 @@

删除提示

-

您确认要删除备忘:

- {{ content | characters:600:false }} -

+
{{ content | characters:600:false  }}

如果删除该备忘,那么再也无法查看到。

diff --git a/public/views/dialog-detail-note.html b/public/views/dialog-detail-note.html index 28e8448..dd7e46e 100644 --- a/public/views/dialog-detail-note.html +++ b/public/views/dialog-detail-note.html @@ -1,7 +1,6 @@

备忘详情

-

{{ content }} -

+
{{ content }}
diff --git a/public/views/note.html b/public/views/note.html index aeaff5f..3bf1f2c 100644 --- a/public/views/note.html +++ b/public/views/note.html @@ -16,9 +16,9 @@
-
+
- {{ note.content }} +
{{ note.content }}