mirror of
https://github.com/Powerful-517/yys-editor.git
synced 2026-03-05 15:05:27 +00:00
feat: unify asset/rule interop and add toolbar asset manager
This commit is contained in:
@@ -66,7 +66,10 @@ const currentAssetLibrary = computed({
|
||||
</div>
|
||||
|
||||
<div v-if="!hasNodeSelected" class="no-selection">
|
||||
<p>请选择一个节点以编辑其属性</p>
|
||||
<div class="no-selection-text">
|
||||
<p>请选择一个节点以编辑其属性</p>
|
||||
<p class="no-selection-tip">素材入口:添加并选中 assetSelector 节点后,点击“选择资产”。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-else class="property-content">
|
||||
@@ -155,6 +158,18 @@ const currentAssetLibrary = computed({
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.no-selection-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.no-selection-tip {
|
||||
font-size: 12px;
|
||||
color: #606266;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.property-content {
|
||||
padding: 10px;
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user