diff --git a/README-zh.md b/README-zh.md index dbb84089..102eeceb 100644 --- a/README-zh.md +++ b/README-zh.md @@ -1,10 +1,13 @@ # Crawlab ![](https://img.shields.io/badge/版本-v0.2.1-blue.svg) + + + 基于Celery的爬虫分布式爬虫管理平台,支持多种编程语言以及多种爬虫框架. -[查看演示 Demo](http://139.129.230.98:8080) +[查看演示 Demo](http://114.67.75.98:8080) [English Documentation](https://github.com/tikazyq/crawlab/blob/master/README.md) diff --git a/README.md b/README.md index e3581571..4c6729c1 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,13 @@ # Crawlab ![](https://img.shields.io/badge/version-v0.2.1-blue.svg) + + + Celery-based web crawler admin platform for managing distributed web spiders regardless of languages and frameworks. -[Demo](http://139.129.230.98:8080) +[Demo](http://114.67.75.98:8080) [中文文档](https://github.com/tikazyq/crawlab/blob/master/README-zh.md) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 2a86e532..975a627f 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -29,9 +29,9 @@ export default { localStorage.setItem('useStats', value) document.querySelector('.el-message__closeBtn').click() if (value === 1) { - _hmt.push(['_trackPageview', '/allow_stats']) + window._hmt.push(['_trackPageview', '/allow_stats']) } else { - _hmt.push(['_trackPageview', '/disallow_stats']) + window._hmt.push(['_trackPageview', '/disallow_stats']) } } @@ -42,11 +42,11 @@ export default { dangerouslyUseHTMLString: true, showClose: true, duration: 0, - message: this.$t('

Do you allow us to collect some statistics to improve Crawlab?

' + + message: '

' + this.$t('Do you allow us to collect some statistics to improve Crawlab?') + '

' + '
' + '' + '' + - '
') + '' }) } } @@ -98,6 +98,7 @@ export default { font-size: 12px; border-radius: 4px; cursor: pointer; + border: 1px solid #909399; } .message-btn:hover { diff --git a/frontend/src/i18n/zh.js b/frontend/src/i18n/zh.js index 9af096c9..35d7eaf8 100644 --- a/frontend/src/i18n/zh.js +++ b/frontend/src/i18n/zh.js @@ -194,6 +194,10 @@ export default { User: '用户', Logout: '退出登录', + // 选择 + 'Yes': '是', + 'No': '否', + // 弹出框 Notification: '提示', 'Are you sure to delete this node?': '你确定要删除该节点?', @@ -201,5 +205,6 @@ export default { 'Node info has been saved successfully': '节点信息已成功保存', 'Are you sure to deploy this spider?': '你确定要部署该爬虫?', 'Are you sure to delete this spider?': '你确定要删除该爬虫?', - 'Spider info has been saved successfully': '爬虫信息已成功保存' + 'Spider info has been saved successfully': '爬虫信息已成功保存', + 'Do you allow us to collect some statistics to improve Crawlab?': '您允许我们收集统计数据以更好地优化Crawlab?' }