feat(castlove-preview): 透传 showSlider prop
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b0dcb82276
commit
851a8f6c43
@ -7,6 +7,7 @@
|
||||
gyro-source="simulation"
|
||||
:approximate-preview="true"
|
||||
tilt-hint-text="滑动卡片预览光栅效果"
|
||||
:show-slider="showSlider"
|
||||
@simulate="simulate"
|
||||
/>
|
||||
</view>
|
||||
@ -25,6 +26,7 @@ const props = defineProps({
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
showSlider: { type: Boolean, default: false },
|
||||
})
|
||||
|
||||
const lenticularLayers = ref(buildLenticularLayers(props.imageSrc || ''))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user