diff --git a/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss b/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss index 9bf0923ee..3bd9b005d 100644 --- a/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss +++ b/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss @@ -46,7 +46,7 @@ } } &>.bottom-panel{ - padding: 15px 10px 10px 10px !important; + padding: 15px 10px 0px 10px !important; } } .sub-top-tools .top-tool-btn-txt .nz-icon{ diff --git a/nezha-fronted/src/assets/css/components/common/bottomBox/panelTabNew.scss b/nezha-fronted/src/assets/css/components/common/bottomBox/panelTabNew.scss index 6931f0ade..f2cb1c743 100644 --- a/nezha-fronted/src/assets/css/components/common/bottomBox/panelTabNew.scss +++ b/nezha-fronted/src/assets/css/components/common/bottomBox/panelTabNew.scss @@ -92,7 +92,7 @@ color: #60BEFF; font-size: 13px } - + .panel-dropdown-btn:hover { color: #409EFF; } @@ -150,6 +150,15 @@ button:hover { background: $--background-color-empty; } + .footer__btn { + background-color: $--color-primary; + border: none; + } + .footer__btn.footer__btn--light { + background-color: $--button-light-hover-background-color; + border: 1px solid $--button-light-border-color; + color: $--button-light-color; + } } .date-range-panel{ .el-button--primary{ diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue index 65356f65d..e73d1c9c9 100644 --- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue +++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue @@ -174,31 +174,31 @@ export default { }, asset: { panel: [ - { prop: 'panelTab', name: this.$t('overall.detail'), active: true }, + { prop: 'panelTab', name: this.$t('overall.dashboard'), active: true }, { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: false }, { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: false }, { prop: 'log', name: this.$t('overall.logs'), active: false } ], alertMessage: [ - { prop: 'panelTab', name: this.$t('overall.detail'), active: false }, + { prop: 'panelTab', name: this.$t('overall.dashboard'), active: false }, { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: true }, { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: false }, { prop: 'log', name: this.$t('overall.logs'), active: false } ], endpoint: [ - { prop: 'panelTab', name: this.$t('overall.detail'), active: false }, + { prop: 'panelTab', name: this.$t('overall.dashboard'), active: false }, { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: false }, { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: true }, { prop: 'log', name: this.$t('overall.logs'), active: false } ], log: [ - { prop: 'panelTab', name: this.$t('overall.detail'), active: false }, + { prop: 'panelTab', name: this.$t('overall.dashboard'), active: false }, { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: false }, { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: false }, { prop: 'log', name: this.$t('overall.logs'), active: true } ], alertMessageSub: [ - { prop: 'panelTab', name: this.$t('overall.detail'), active: false }, + { prop: 'panelTab', name: this.$t('overall.dashboard'), active: false }, { prop: 'alertMessageTab', name: this.$t('overall.alert'), active: false }, { prop: 'endpointTab', name: this.$t('asset.endpoint'), active: false }, { prop: 'log', name: this.$t('overall.logs'), active: false }, @@ -214,7 +214,7 @@ export default { }, endpoint: { endpointTabTitle: [ - { prop: 'panelTab', name: this.$t('overall.detail') }, + { prop: 'panelTab', name: this.$t('overall.dashboard') }, { prop: 'endpointAlertMessage', name: this.$t('overall.alert') }, { prop: 'Metrics', name: this.$t('overall.metric') }, { prop: 'log', name: this.$t('overall.logs') } @@ -272,7 +272,7 @@ export default { const config = this.obj.configs.find(c => c.type === 'logs') const hasLog = config && config.enable === 1 const tabs = [ - { prop: 'panelTab', name: this.$t('overall.detail') }, + { prop: 'panelTab', name: this.$t('overall.dashboard') }, { prop: 'endpointAlertMessage', name: this.$t('overall.alert') }, { prop: 'Metrics', name: this.$t('overall.metric') } ] diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue index fed317e37..0640c1d27 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue @@ -99,6 +99,7 @@