diff --git a/src/lang/en.js b/src/lang/en.js index 432b99cb..3d81875c 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -69,6 +69,15 @@ export default { permissions: 'Your permissions', switchPermissions: 'Switch permissions' }, + components: { + documentation: 'Documentation', + tinymceTips: 'Rich text editor is a core part of management system, but at the same time is a place with lots of problems. In the process of selecting rich texts, I also walked a lot of detours. The common rich text editors in the market are basically used, and the final trade-off is the selection of Tinymce.See documentation for more detailed rich text editor comparisons and introductions', + dropzoneTips: 'Because my business has special needs, and has to upload to qiniu, So instead of a third party, I chose encapsulate it by myself. It is very simple, you can see the specific code in @/components/Dropzone.', + stickyTips: 'when the page is scrolled to the preset position will be sticky on the top.', + backToTopTips1: 'When the page is scrolled to the specified position, the Back to Top button appears in the lower right corner', + backToTopTips2: 'You can customize the style of the button, show / hide, height of appearance, height of the return. If you need a text prompt, you can use element-ui el-tooltip elements externally', + imageUploadTips: 'Since I was using only the vue@1 version, and it is not compatible with mockjs at the moment, I modified it myself,and if you are going to use it, it is better to use official version.' + }, table: { dynamicTips1: 'Fixed header, sorted by header order', dynamicTips2: 'Not fixed header, sorted by click order', diff --git a/src/lang/zh.js b/src/lang/zh.js index 996fd7b6..cff6c72d 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -69,6 +69,15 @@ export default { permissions: '你的权限', switchPermissions: '切换权限' }, + components: { + documentation: '文档', + tinymceTips: '富文本是管理后台一个核心的功能,但同时又是一个有很多坑的地方。在选择富文本的过程中我也走了不少的弯路,市面上常见的富文本都基本用过了,最终权衡了一下选择了Tinymce。更详细的富文本比较和介绍见', + dropzoneTips: '由于我司业务有特殊需求,而且要传七牛 所以没用第三方,选择了自己封装。代码非常的简单,具体代码你可以在这里看到 @/components/Dropzone', + stickyTips: '当页面滚动到预设的位置会吸附在顶部', + backToTopTips1: '页面滚动到指定位置会在右下角出现返回顶部按钮', + backToTopTips2: '可自定义按钮的样式、show/hide、出现的高度、返回的位置 如需文字提示,可在外部使用Element的el-tooltip元素', + imageUploadTips: '由于我在使用时它只有vue@1版本,而且和mockjs不兼容,所以自己改造了一下,如果大家要使用的话,优先还是使用官方版本。' + }, table: { dynamicTips1: '固定表头, 按照表头顺序排序', dynamicTips2: '不固定表头, 按照点击顺序排序', diff --git a/src/views/components-demo/avatarUpload.vue b/src/views/components-demo/avatarUpload.vue index 9a98ae21..f993a4f6 100644 --- a/src/views/components-demo/avatarUpload.vue +++ b/src/views/components-demo/avatarUpload.vue @@ -1,16 +1,16 @@ diff --git a/src/views/components-demo/backToTop.vue b/src/views/components-demo/backToTop.vue index 51d7879e..6abb652a 100644 --- a/src/views/components-demo/backToTop.vue +++ b/src/views/components-demo/backToTop.vue @@ -1,134 +1,121 @@ diff --git a/src/views/components-demo/dropzone.vue b/src/views/components-demo/dropzone.vue index 6af6ae2e..135cd4fb 100644 --- a/src/views/components-demo/dropzone.vue +++ b/src/views/components-demo/dropzone.vue @@ -1,8 +1,8 @@