From 92ce79947b3761b29cba3c8f999e420ebba64e84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=8A=E9=87=8C?= <1227971437@qq.com>
Date: Wed, 21 Apr 2021 22:30:52 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86/=E9=98=85=E8=AF=BB=E6=96=87?=
=?UTF-8?q?=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 7 +
pages/list/detail.vue | 31 +++-
pages/ucenter/ucenter.vue | 110 ++++++------
.../database/opendb-news-favorite.schema.json | 8 +-
.../database/uni-id-scores.schema.json | 8 +-
uni_modules/uni-news-favorite/changelog.md | 0
.../js_sdk/validator/opendb-news-favorite.js | 28 ++++
uni_modules/uni-news-favorite/package.json | 89 ++++++++++
.../pages/uni-news-favorite/add.vue | 129 +++++++++++++++
.../pages/uni-news-favorite/detail.vue | 101 ++++++++++++
.../pages/uni-news-favorite/edit.vue | 156 ++++++++++++++++++
.../pages/uni-news-favorite/list.vue | 68 ++++++++
uni_modules/uni-news-favorite/readme.md | 1 +
13 files changed, 677 insertions(+), 59 deletions(-)
create mode 100644 uni_modules/uni-news-favorite/changelog.md
create mode 100644 uni_modules/uni-news-favorite/js_sdk/validator/opendb-news-favorite.js
create mode 100644 uni_modules/uni-news-favorite/package.json
create mode 100644 uni_modules/uni-news-favorite/pages/uni-news-favorite/add.vue
create mode 100644 uni_modules/uni-news-favorite/pages/uni-news-favorite/detail.vue
create mode 100644 uni_modules/uni-news-favorite/pages/uni-news-favorite/edit.vue
create mode 100644 uni_modules/uni-news-favorite/pages/uni-news-favorite/list.vue
create mode 100644 uni_modules/uni-news-favorite/readme.md
diff --git a/pages.json b/pages.json
index b25800af..c3d1e8cc 100644
--- a/pages.json
+++ b/pages.json
@@ -196,6 +196,13 @@
"enablePullDownRefresh": false
}
+ },
+ {
+ "path":"uni_modules/uni-news-favorite/pages/uni-news-favorite/list",
+ "style":{
+ "navigationBarTitleText": "阅读记录",
+ "enablePullDownRefresh": false
+ }
}
],
"globalStyle": {
diff --git a/pages/list/detail.vue b/pages/list/detail.vue
index 901a4da0..a71d9cdc 100644
--- a/pages/list/detail.vue
+++ b/pages/list/detail.vue
@@ -48,7 +48,11 @@
+
+
+
diff --git a/uni_modules/uni-news-favorite/pages/uni-news-favorite/detail.vue b/uni_modules/uni-news-favorite/pages/uni-news-favorite/detail.vue
new file mode 100644
index 00000000..c973d837
--- /dev/null
+++ b/uni_modules/uni-news-favorite/pages/uni-news-favorite/detail.vue
@@ -0,0 +1,101 @@
+
+
+
+ {{error.message}}
+
+
+
+
+
+ article_id:
+ {{data.article_id}}
+
+
+ create_date:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-news-favorite/pages/uni-news-favorite/edit.vue b/uni_modules/uni-news-favorite/pages/uni-news-favorite/edit.vue
new file mode 100644
index 00000000..0dfa6de5
--- /dev/null
+++ b/uni_modules/uni-news-favorite/pages/uni-news-favorite/edit.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-news-favorite/pages/uni-news-favorite/list.vue b/uni_modules/uni-news-favorite/pages/uni-news-favorite/list.vue
new file mode 100644
index 00000000..6f5a7b80
--- /dev/null
+++ b/uni_modules/uni-news-favorite/pages/uni-news-favorite/list.vue
@@ -0,0 +1,68 @@
+
+
+
+ {{error.message}}
+
+
+
+
+ {{item.article_title || item.article_id}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-news-favorite/readme.md b/uni_modules/uni-news-favorite/readme.md
new file mode 100644
index 00000000..71487e63
--- /dev/null
+++ b/uni_modules/uni-news-favorite/readme.md
@@ -0,0 +1 @@
+# opendb-news-favorite
\ No newline at end of file
--
GitLab