diff --git a/examples/sites/demos/pc/app/anchor/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/anchor/basic-usage-composition-api.vue index 9b20c0814..323fa4b20 100644 --- a/examples/sites/demos/pc/app/anchor/basic-usage-composition-api.vue +++ b/examples/sites/demos/pc/app/anchor/basic-usage-composition-api.vue @@ -1,6 +1,8 @@ - - 当前类型:{{ type }} + + + 当前类型:{{ type }} + @@ -45,3 +47,10 @@ const links = ref([ const type = ref('dot') + + diff --git a/examples/sites/demos/pc/app/anchor/basic-usage.vue b/examples/sites/demos/pc/app/anchor/basic-usage.vue index a988174e1..150b4302c 100644 --- a/examples/sites/demos/pc/app/anchor/basic-usage.vue +++ b/examples/sites/demos/pc/app/anchor/basic-usage.vue @@ -1,7 +1,9 @@ - - 当前类型:{{ type }} + + + 当前类型:{{ type }} + @@ -55,3 +57,10 @@ export default { } } + + diff --git a/examples/sites/demos/pc/app/anchor/is-affix-composition-api.vue b/examples/sites/demos/pc/app/anchor/is-affix-composition-api.vue index deec04920..58ea25605 100644 --- a/examples/sites/demos/pc/app/anchor/is-affix-composition-api.vue +++ b/examples/sites/demos/pc/app/anchor/is-affix-composition-api.vue @@ -1,7 +1,9 @@ - - {{ isAffix ? '关闭固定模式' : '打开固定模式' }} + + + {{ isAffix ? '关闭固定模式' : '打开固定模式' }} + @@ -51,4 +53,8 @@ const links = ref([ .wrap { min-height: 180px; } +.demo-top { + display: flex; + align-items: center; +} diff --git a/examples/sites/demos/pc/app/anchor/is-affix.vue b/examples/sites/demos/pc/app/anchor/is-affix.vue index 92cb74e97..9d2906cac 100644 --- a/examples/sites/demos/pc/app/anchor/is-affix.vue +++ b/examples/sites/demos/pc/app/anchor/is-affix.vue @@ -1,7 +1,9 @@ - - {{ isAffix ? '关闭固定模式' : '打开固定模式' }} + + + {{ isAffix ? '关闭固定模式' : '打开固定模式' }} + @@ -60,4 +62,8 @@ export default { .wrap { min-height: 180px; } +.demo-top { + display: flex; + align-items: center; +}