mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-19 18:25:44 +08:00
添加命令描述
This commit is contained in:
@@ -32,6 +32,16 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<q-icon
|
||||
name="info"
|
||||
class="info-icon"
|
||||
v-if="command.description && !isCollapsed"
|
||||
>
|
||||
<q-tooltip max-width="300px">
|
||||
{{ command.description }}
|
||||
</q-tooltip>
|
||||
</q-icon>
|
||||
|
||||
<!-- 主要内容区域 -->
|
||||
<div :class="contentClass">
|
||||
<slot></slot>
|
||||
@@ -137,4 +147,9 @@ export default {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.info-icon {
|
||||
opacity: 0.6;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user