This commit is contained in:
1 parent
339743f569
commit
f89904f7bf
1 file changed
+5
@@ -379,6 +379,11 @@
|
||||
// 这里用官方变量 --f-carousel-slide-padding 补上上下内边距。
|
||||
mainStyle: { '--f-carousel-slide-padding': '24px 0' },
|
||||
Carousel: {
|
||||
Toolbar: {
|
||||
// 默认是 true(绝对定位浮层,会压住图片顶部);
|
||||
// 设为 false 后工具栏独占顶部一行,图片从工具栏下方开始,不再重叠。
|
||||
absolute: false
|
||||
},
|
||||
Thumbs: {
|
||||
// 'scrollable' 让缩略图成为竖向侧边导航(库默认放在左侧,会自动加 .has-vertical-thumbs)。
|
||||
type: 'scrollable',
|
||||
|
||||
Reference in new issue
Block a user