Skip to content

Commit

Permalink
docs: 更新affix组件
Browse files Browse the repository at this point in the history
  • Loading branch information
wanchun committed Sep 25, 2020
1 parent 8fd11d5 commit d3f2a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fes-doc/docs/ui/affix.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pageClass: comp-page-class
<ClientOnly>
<row>
<cell span="12" class="pr-20">
<componetTemplate title="基础使用" template="ui/templates/backTop/1.html">
<componetTemplate title="基础使用" template="ui/templates/affix/1.html">
<template v-slot:demo>
<Affix :offset-top="60">
<Wb-button type="primary" long>默认距离滚动元素顶部0px</Wb-button>
Expand All @@ -22,7 +22,7 @@ pageClass: comp-page-class
</componetTemplate>
</cell>
<cell span="12" class="pl-20">
<componetTemplate style="padding-top: 600px" title="slot自定义样式" template="ui/templates/backTop/2.html">
<componetTemplate style="padding-top: 600px" title="slot自定义样式" template="ui/templates/affix/2.html">
<template v-slot:demo>
<Affix :offset-bottom="100">
<span class="demo-class">距离滚动元素顶部40px</span>
Expand Down

0 comments on commit d3f2a5f

Please sign in to comment.