提交 592723c4 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

1. scroll-view 属性示例 增加 enable-back-to-top 的示例;

2. border-style 示例 增加 测试示例;
上级 5c1e993f
...@@ -42,6 +42,22 @@ ...@@ -42,6 +42,22 @@
style="border-bottom-width: 5px; border-bottom-style: dotted" style="border-bottom-width: 5px; border-bottom-style: dotted"
></view> ></view>
</view> </view>
<view>
<text>border-style: solid (缺省 border-width)</text>
<view
class="common"
style="border-style: solid;"
></view>
</view>
<view>
<text>border-style: none</text>
<view
class="common"
style="border-style: none; border-width: 5px;"
></view>
</view>
</view> </view>
<!-- #ifdef APP --> <!-- #ifdef APP -->
</scroll-view> </scroll-view>
......
...@@ -25,7 +25,11 @@ ...@@ -25,7 +25,11 @@
</scroll-view> </scroll-view>
</view> </view>
<scroll-view class="uni-list" :showScrollbar="true" :scroll-y="true"> <scroll-view class="uni-list" :showScrollbar="true" :scroll-y="true">
<view class="uni-list-cell uni-list-cell-padding">
<text>点击状态栏回到顶部(仅iOS)</text>
<switch :checked="enableBackToTop" @change="enableBackToTop=!enableBackToTop"></switch>
</view>
<view class="uni-list-cell uni-list-cell-padding"> <view class="uni-list-cell uni-list-cell-padding">
<text>是否显示滚动条</text> <text>是否显示滚动条</text>
<switch :checked="showScrollbar" @change="showScrollbar=!showScrollbar"></switch> <switch :checked="showScrollbar" @change="showScrollbar=!showScrollbar"></switch>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册