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: twinkle 2s ease;
animation-iteration-count: infinite; animation-iteration-count: infinite;
opacity: 1; opacity: 1;

View File

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

View File

@ -5,7 +5,11 @@
</n-icon> </n-icon>
<n-text @click="handleFocus"> <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-text>
<n-input <n-input
@ -41,7 +45,6 @@ const fetchProhectInfoById = () => {
return id[0] return id[0]
} }
return '' return ''
} }
const title = ref<string>(fetchProhectInfoById() || '') const title = ref<string>(fetchProhectInfoById() || '')
@ -63,3 +66,8 @@ const handleBlur = () => {
focus.value = false focus.value = false
} }
</script> </script>
<style lang="scss" scoped>
.title {
font-size: 15px;
}
</style>

View File

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

View File

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