mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 08:12:49 +08:00
style: 优化代码
This commit is contained in:
parent
9ee62dffca
commit
3e5e1a9b41
@ -190,7 +190,7 @@ const handleChange = (e: MouseEvent, item: ListType) => {
|
||||
width: 100px;
|
||||
}
|
||||
.select-min-width {
|
||||
width: 110px;
|
||||
width: 115px;
|
||||
}
|
||||
@include deep() {
|
||||
.n-list-item {
|
||||
|
@ -72,7 +72,7 @@
|
||||
<!-- 混合模式 -->
|
||||
<setting-item-box v-if="!isCanvas" name="混合模式" :alone="true">
|
||||
<setting-item name="视频组件需要底色透明一般选中滤色">
|
||||
<n-select size="small" v-model:value="chartStyles.blendMode" :options="BlendModeEnumList"></n-select>
|
||||
<n-select v-model:value="chartStyles.blendMode" size="small" filterable :options="BlendModeEnumList"></n-select>
|
||||
</setting-item>
|
||||
</setting-item-box>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
...useSizeStyle(groupData.attr),
|
||||
...getFilterStyle(groupData.styles),
|
||||
...getTransformStyle(groupData.styles),
|
||||
...getBlendModeStyle(groupData.styles)
|
||||
...getBlendModeStyle(groupData.styles) as any
|
||||
}"
|
||||
@click="mouseClickHandle($event, groupData)"
|
||||
@mousedown="mousedownHandle($event, groupData)"
|
||||
|
@ -37,7 +37,10 @@
|
||||
v-else
|
||||
:data-id="item.id"
|
||||
:index="index"
|
||||
:style="{ ...useComponentStyle(item.attr, index), ...getBlendModeStyle(item.styles) }"
|
||||
:style="{
|
||||
...useComponentStyle(item.attr, index),
|
||||
...getBlendModeStyle(item.styles) as any
|
||||
}"
|
||||
:item="item"
|
||||
@click="mouseClickHandle($event, item)"
|
||||
@mousedown="mousedownHandle($event, item)"
|
||||
|
@ -8,9 +8,9 @@
|
||||
...getComponentAttrStyle(item.attr, groupIndex),
|
||||
...getFilterStyle(item.styles),
|
||||
...getTransformStyle(item.styles),
|
||||
...getBlendModeStyle(item.styles),
|
||||
...getStatusStyle(item.status)
|
||||
} as any"
|
||||
...getStatusStyle(item.status),
|
||||
...getBlendModeStyle(item.styles) as any
|
||||
}"
|
||||
>
|
||||
<component
|
||||
:is="item.chartConfig.chartKey"
|
||||
|
@ -8,8 +8,8 @@
|
||||
...getComponentAttrStyle(item.attr, index),
|
||||
...getFilterStyle(item.styles),
|
||||
...getTransformStyle(item.styles),
|
||||
...getBlendModeStyle(item.styles),
|
||||
...getStatusStyle(item.status)
|
||||
...getStatusStyle(item.status),
|
||||
...getBlendModeStyle(item.styles) as any
|
||||
} as any"
|
||||
>
|
||||
<!-- 分组 -->
|
||||
|
Loading…
Reference in New Issue
Block a user