forked from zhongyidian/super_video
feat: 提示词
This commit is contained in:
1 parent
b980f2993b
commit
6090abf955
15 files changed
+330
-54
No files matched your search
@@ -6,6 +6,7 @@
|
||||
:target-selector="highlightSelector"
|
||||
:padding="highlightPadding"
|
||||
:border-radius="highlightRadius"
|
||||
:highlight-mode="highlightMode"
|
||||
/>
|
||||
<div class="guide-align" :style="alignStyle">
|
||||
<GuideDragon
|
||||
@@ -73,6 +74,8 @@ interface Props {
|
||||
highlightPadding?: number
|
||||
/** 高亮圆角,默认16 */
|
||||
highlightRadius?: number
|
||||
/** 高亮模式:'border' 画框效果,'gradient' 渐变灯光效果,默认 'border' */
|
||||
highlightMode?: 'border' | 'gradient'
|
||||
/** 垂直偏移(仅Y轴),支持 number(px) 或 '10%'/'120px' */
|
||||
positionOffsetY?: number | string
|
||||
}
|
||||
@@ -91,6 +94,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
highlightSelector: null,
|
||||
highlightPadding: 8,
|
||||
highlightRadius: 16,
|
||||
highlightMode: 'border',
|
||||
positionOffsetY: '50%'
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user