style: 优化类名,页面UI细节

This commit is contained in:
奔跑的面条
2022-06-03 20:10:52 +08:00
parent fa678e1089
commit 741ba1a039
5 changed files with 20 additions and 6 deletions
@@ -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>