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"
|
gyro-source="simulation"
|
||||||
:approximate-preview="true"
|
:approximate-preview="true"
|
||||||
tilt-hint-text="滑动卡片预览光栅效果"
|
tilt-hint-text="滑动卡片预览光栅效果"
|
||||||
|
:show-slider="showSlider"
|
||||||
@simulate="simulate"
|
@simulate="simulate"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
@ -25,6 +26,7 @@ const props = defineProps({
|
|||||||
type: String,
|
type: String,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
|
showSlider: { type: Boolean, default: false },
|
||||||
})
|
})
|
||||||
|
|
||||||
const lenticularLayers = ref(buildLenticularLayers(props.imageSrc || ''))
|
const lenticularLayers = ref(buildLenticularLayers(props.imageSrc || ''))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user