mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-22 05:26:23 +08:00
chore: 优化了标题展示和大小样式
This commit is contained in:
parent
077881e499
commit
06fe805736
@ -5,7 +5,9 @@
|
||||
</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
|
||||
@ -72,3 +74,8 @@ const handleBlur = async () => {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.title {
|
||||
font-size: 15px;
|
||||
}
|
||||
</style>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<template #action>
|
||||
<div class="go-flex-items-center list-footer" justify="space-between">
|
||||
<n-text class="go-ellipsis-1">
|
||||
{{ cardData.title || '' }}
|
||||
{{ cardData.title || cardData.id || '未命名' }}
|
||||
</n-text>
|
||||
<!-- 工具 -->
|
||||
<div class="go-flex-items-center list-footer-ri">
|
||||
|
@ -11,7 +11,7 @@
|
||||
<n-space class="list-content-top go-px-0" justify="center">
|
||||
<n-space>
|
||||
<n-text>
|
||||
{{ cardData?.title || '' }}
|
||||
{{ cardData?.title || cardData?.id || '未命名' }}
|
||||
</n-text>
|
||||
</n-space>
|
||||
</n-space>
|
||||
|
Loading…
x
Reference in New Issue
Block a user