mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-19 20:16:24 +08:00
Merge branch 'dev'
This commit is contained in:
commit
dcbaf37a69
@ -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;
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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>
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user