From daf79e71f297f383973c6e0b0e6684d0a40406cc Mon Sep 17 00:00:00 2001 From: luchenqun Date: Tue, 15 May 2018 15:01:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=8F=E8=BF=B0=E4=BD=BF=E7=94=A8=E6=99=AE?= =?UTF-8?q?=E9=80=9Atextarea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controllers/bookmark-info-controller.js | 2 +- public/views/bookmark-info.html | 110 +++++++++--------- public/views/edit.html | 11 +- 3 files changed, 61 insertions(+), 62 deletions(-) diff --git a/public/scripts/controllers/bookmark-info-controller.js b/public/scripts/controllers/bookmark-info-controller.js index 609c029..0097d74 100644 --- a/public/scripts/controllers/bookmark-info-controller.js +++ b/public/scripts/controllers/bookmark-info-controller.js @@ -27,7 +27,7 @@ app.controller('bookmarkInfoCtr', ['$scope', '$state', '$timeout', '$sce', '$win .then((data) => { $scope.content = data.content ? $sce.trustAsHtml(data.content) : $sce.trustAsHtml('

数据获取失败,可能是服务器不允许获取,或者是https网站!

'); setTimeout(function() { - $('.ui.modal.js-bookmark-info').modal("refresh"); + $('.ui.modal.js-bookmark-info').modal && $('.ui.modal.js-bookmark-info').modal("refresh"); }, 100); $scope.loading = false; }) diff --git a/public/views/bookmark-info.html b/public/views/bookmark-info.html index 8874825..10d51b1 100644 --- a/public/views/bookmark-info.html +++ b/public/views/bookmark-info.html @@ -6,67 +6,73 @@
- +
- - 网页地址{{bookmark.url}} -
-
-
-
- 创建日期:{{bookmark.created_at}} -
-
- 最后点击:{{bookmark.last_click}} -
-
-
-
- 点击次数:{{bookmark.click_count}} -
-
- 收藏人数:{{bookmark.fav_count}} -
-
- 书签分类: -
- {{ tag.name }} -
-
-
- 来源信息:{{bookmark.created_by}} -
+ + 网页地址: + {{bookmark.url}} + +
+
+
+
+ 创建日期: + {{bookmark.created_at}} +
+
+ 最后点击: + {{bookmark.last_click}} +
+
+
+
+ 点击次数:{{bookmark.click_count}} +
+
+ 收藏人数:{{bookmark.fav_count}} +
+
+ 书签分类: +
+ {{ tag.name }}
+
+ 来源信息:{{bookmark.created_by}} +
-
-
-
-
- 描述信息 -
-

-
-
-
-
-
-
- 内容摘抄 -
-

- -
-
-
-
跳转到原页面
- -
+ +
+
+
+
+ 描述信息 +
+
{{ bookmark.description }}
+
+
+
+
+
+
+ 内容摘抄 +
+

+ +
+
+
+
跳转到原页面
+ +
+ \ No newline at end of file diff --git a/public/views/edit.html b/public/views/edit.html index 432d397..ebe65dd 100644 --- a/public/views/edit.html +++ b/public/views/edit.html @@ -35,15 +35,8 @@
- -
+ +