mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-20 10:55:43 +08:00
优化编排卡片拖拽逻辑和效果
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 标题 -->
|
||||
<div v-if="!isControlFlow" class="text-subtitle2 command-label">
|
||||
<div class="text-subtitle2 command-label q-px-sm drag-handle">
|
||||
{{ command.label }}
|
||||
</div>
|
||||
|
||||
@@ -99,14 +99,9 @@ export default {
|
||||
.chain-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-right: 4px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.chain-icon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.collapse-btn :deep(.q-btn),
|
||||
.chain-icon {
|
||||
opacity: 0.6;
|
||||
@@ -122,6 +117,13 @@ export default {
|
||||
|
||||
.command-label {
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
pointer-events: all;
|
||||
cursor: grab;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.command-label:hover {
|
||||
color: var(--q-primary);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user