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