From deeeb2b06b7a8cb139fcbebd9280bde805508c61 Mon Sep 17 00:00:00 2001
From: pan <1029559041@qq.com>
Date: Thu, 23 Jul 2020 19:17:15 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
nuxt.config.js | 82 ++++++++-----
pages/index/document.vue | 258 +++++++++++++++++++++++++++++++++++++--
2 files changed, 298 insertions(+), 42 deletions(-)
diff --git a/nuxt.config.js b/nuxt.config.js
index 1774dac..edd716f 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -100,6 +100,7 @@ export default {
"app_name": "云笔记",
"button": {
"cancel": "取消",
+ "catalog": "目录",
"del": "删除",
"edit": "编辑",
"ok": "確定",
@@ -135,16 +136,24 @@ export default {
},
"choose_lang": "选择语言",
"document": {
+ "doc_list": {
+ "year": "(学位年度)"
+ },
"form": {
"author": "作者",
+ "end_year": "结束年份",
"keyword": "关键词",
+ "school": "学校",
"specialty": "学科专业",
- "title": "标题"
+ "start_year": "开始年份",
+ "title": "标题",
+ "tutor": "导师"
}
},
"en": "英文",
"error_404": "页面不存在",
"error_500": "发生严重异常,请联系管理员",
+ "hide_more_query": "隐藏更多查询",
"input_confirm": "请确认{keyword}",
"input_please": "请输入{keyword}",
"logout": "注销登录",
@@ -154,6 +163,7 @@ export default {
"note": "笔记列表",
"upload": "本地上传论文"
},
+ "more_query": "更多查询",
"note": {
"table": {
"note_name": "笔记名称",
@@ -163,7 +173,9 @@ export default {
"confirm_del": "此操作将永久删除该笔记,是否继续?"
}
},
+ "reading_online": "在线阅读",
"tip": "提示",
+ "today_recommend": "今日推荐",
"unknown_error": "未知错误",
"upload": {
"form": {
@@ -189,18 +201,19 @@ export default {
"en": {
"account": {
"form": {
- "confirmPwd": "确认密码",
- "password": "密码",
- "user": "帐号",
- "valid_account": "帐号密码正确"
+ "confirmPwd": "",
+ "password": "",
+ "user": "",
+ "valid_account": ""
},
- "login": "登录",
- "register": "注册"
+ "login": "",
+ "register": ""
},
"action": "",
"app_name": "cloudnote",
"button": {
"cancel": "",
+ "catalog": "",
"del": "",
"edit": "",
"ok": "",
@@ -212,18 +225,18 @@ export default {
"time": "",
"title": ""
},
- "name": "我的收藏"
+ "name": ""
},
"myupload": {
"form": {
"time": "",
"title": ""
},
- "name": "我的上传"
+ "name": ""
},
"security": {
"confirmpwd": "",
- "name": "帐号安全",
+ "name": "",
"newpwd": "",
"oldpwd": "",
"rules": {
@@ -236,25 +249,34 @@ export default {
},
"choose_lang": "language",
"document": {
+ "doc_list": {
+ "year": ""
+ },
"form": {
"author": "",
+ "end_year": "",
"keyword": "",
+ "school": "",
"specialty": "",
- "title": ""
+ "start_year": "",
+ "title": "",
+ "tutor": ""
}
},
"en": "english",
- "error_404": "页面不存在",
- "error_500": "发生严重异常,请联系管理员",
+ "error_404": "",
+ "error_500": "",
+ "hide_more_query": "",
"input_confirm": "",
"input_please": "",
- "logout": "注销登录",
+ "logout": "",
"menus": {
- "center": "个人中心",
+ "center": "",
"document": "document",
"note": "note list",
- "upload": "本地上传论文"
+ "upload": ""
},
+ "more_query": "",
"note": {
"table": {
"note_name": "",
@@ -264,27 +286,29 @@ export default {
"confirm_del": ""
}
},
+ "reading_online": "",
"tip": "",
- "unknown_error": "未知错误",
+ "today_recommend": "",
+ "unknown_error": "",
"upload": {
"form": {
- "author": "论文作者",
- "content": "论文",
- "profession": "学科专业",
- "remove": "确定移除{file}",
- "school": "学校",
- "summary": "摘要",
- "tag": "论文标签",
- "type": "论文类型",
- "upload": "点击上传",
- "upload_tip": "只能上传txt",
- "year": "学位年度"
+ "author": "",
+ "content": "",
+ "profession": "",
+ "remove": "",
+ "school": "",
+ "summary": "",
+ "tag": "",
+ "type": "",
+ "upload": "",
+ "upload_tip": "",
+ "year": ""
},
"tip": {
"ok": ""
}
},
- "user": "帐号",
+ "user": "",
"zhCN": "Simplified Chinese"
}
}
diff --git a/pages/index/document.vue b/pages/index/document.vue
index 20e8e5a..f654776 100644
--- a/pages/index/document.vue
+++ b/pages/index/document.vue
@@ -1,10 +1,11 @@
+
-
-
-
-
-
+
+
+
+
+
@@ -20,8 +21,80 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{index+1}}.
+
+ {{$t('button.catalog')}}
+
+ {{item.title}}
+
+
+ [{{item.type}}]
+ {{item.author}}
+ {{item.profession}}
+ {{item.school}} {{item.year}}
+ {{$t('document.doc_list.year')}}
+
+
+ {{item.summary}}
+
+
+
+ {{tag}}
+
+
+ {{$t('reading_online')}}
+
+
+
+
+
+
+ {{$t('today_recommend')}}
+
+
+
+ {{item.title}}
+ {{item.summary}}
+
+
+
+
+
+
+
+