Merge branch 'dev'

This commit is contained in:
奔跑的面条 2022-06-03 20:11:07 +08:00
commit dcbaf37a69
5 changed files with 20 additions and 6 deletions

View File

@ -1,5 +1,5 @@
// 闪烁
.animation-twinkle {
.go-animation-twinkle {
animation: twinkle 2s ease;
animation-iteration-count: infinite;
opacity: 1;

View File

@ -74,12 +74,18 @@ const select = computed(() => {
&.t,
&.b {
width: 30px;
transform: translate(-50%, -50%);
}
&.l,
&.r {
height: 30px;
}
&.r,
&.r {
transform: translate(-20%, -50%);
}
&.l {
transform: translate(-45%, -50%);
}
&.rt,
&.rb
{

View File

@ -5,7 +5,11 @@
</n-icon>
<n-text @click="handleFocus">
工作空间 -
<n-button v-show="!focus" secondary round size="tiny">{{ comTitle }}</n-button>
<n-button v-show="!focus" secondary round size="tiny">
<span class="title">
{{ comTitle }}
</span>
</n-button>
</n-text>
<n-input
@ -41,7 +45,6 @@ const fetchProhectInfoById = () => {
return id[0]
}
return ''
}
const title = ref<string>(fetchProhectInfoById() || '')
@ -63,3 +66,8 @@ const handleBlur = () => {
focus.value = false
}
</script>
<style lang="scss" scoped>
.title {
font-size: 15px;
}
</style>

View File

@ -35,7 +35,7 @@
<n-space>
<n-text>
<n-badge
class="animation-twinkle"
class="go-animation-twinkle"
dot
:color="cardData.release ? '#34c749' : '#fcbc40'"
></n-badge>

View File

@ -43,7 +43,7 @@
<n-space>
<n-text>
<n-badge
class="animation-twinkle"
class="go-animation-twinkle"
dot
:color="cardData?.release ? '#34c749' : '#fcbc40'"
></n-badge>