forked from TencentBlueKing/bk-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request TencentBlueKing#982 from lannoy0523/issue_977
feat:新增440页面 TencentBlueKing#977
- Loading branch information
Showing
7 changed files
with
168 additions
and
5 deletions.
There are no files selected for viewing
59 changes: 59 additions & 0 deletions
59
src/frontend/devops-repository/src/components/Exception/440.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<template> | ||
<div class="empty-data-container flex-center" :class="{ 'hidden': isLoading }" style="background-color: white"> | ||
<div class="flex-column flex-center"> | ||
<img width="480" height="240" style="float: left;margin-right: 3px" src="/ui/440.svg" /> | ||
<span class="mt5 empty-data-title">{{ $t('noBusinessTip') }}</span> | ||
<span class="mt5 empty-data-subtitle">{{ $t('noBusinessSubTip') }}</span> | ||
</div> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
name: 'emptyData', | ||
props: { | ||
search: { | ||
type: Boolean, | ||
default: false | ||
}, | ||
exStyle: { | ||
type: String, | ||
default: '' | ||
}, | ||
title: { | ||
type: String, | ||
default () { | ||
return this.$t('noData') | ||
} | ||
}, | ||
searchTitle: { | ||
type: String, | ||
default () { | ||
return this.$t('noSearchData') | ||
} | ||
}, | ||
subTitle: String, | ||
isLoading: { | ||
type: Boolean, | ||
default: false | ||
} | ||
} | ||
} | ||
</script> | ||
<style lang="scss" scoped> | ||
.empty-data-container { | ||
&.hidden { | ||
visibility: hidden; | ||
} | ||
.empty-data-title { | ||
margin-top: 18px; | ||
font-size: 24px; | ||
line-height: 32px; | ||
} | ||
.empty-data-subtitle { | ||
margin-top: 16px; | ||
font-size: 14px; | ||
line-height: 22px; | ||
color: var(--fontSubsidiaryColor); | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters