From 97752ba7055b32acab445aa6988ad1abf7bcfe30 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Tue, 21 May 2019 13:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0robots.txt=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/i18n/zh.js | 2 + frontend/src/views/site/SiteList.vue | 101 ++++++++++++++++++++++++++- 2 files changed, 100 insertions(+), 3 deletions(-) diff --git a/frontend/src/i18n/zh.js b/frontend/src/i18n/zh.js index dd1d529e..e33bfa83 100644 --- a/frontend/src/i18n/zh.js +++ b/frontend/src/i18n/zh.js @@ -139,6 +139,8 @@ export default { 'Select': '请选择', 'Select Category': '请选择类别', 'Spider Count': '爬虫数', + 'Robots Protocol': 'Robots 协议', + 'Home Page Response Time': '首页响应时间(秒)', // 文件 'Choose Folder': '选择文件', diff --git a/frontend/src/views/site/SiteList.vue b/frontend/src/views/site/SiteList.vue index 9c053dc5..4453b782 100644 --- a/frontend/src/views/site/SiteList.vue +++ b/frontend/src/views/site/SiteList.vue @@ -21,6 +21,7 @@ + + + + + + d.name).indexOf(columnName) } }, created () { @@ -202,4 +262,39 @@ export default { .table >>> .domain { text-decoration: underline; } + + .table >>> .status { + } + + .table >>> .status.info { + color: #909399; + background: rgba(144, 147, 153, .1); + } + + .table >>> .status.danger { + color: #f56c6c; + background: rgba(245, 108, 108, .1); + } + + .table >>> .status.success { + color: #67c23a; + background: rgba(103, 194, 58, .1); + } + + .table >>> .status.primary { + color: #409eff; + background: rgba(64, 158, 255, .1); + } + + .table >>> .status.warning { + color: #e6a23c; + background: rgba(230, 162, 60, .1); + } + + .table >>> a { + display: inline-block; + width: 100%; + height: 100%; + } +