提交 67859b22 编写于 作者: shutao-dc's avatar shutao-dc

list-view示例默认禁止滚动条 防止截图判断错误

上级 ed052cd8
<template> <template>
<list-view id="listview" style="flex: 1;" @scrolltolower="onScrollTolower"> <list-view id="listview" style="flex: 1;" show-scrollbar=false @scrolltolower="onScrollTolower">
<list-item v-for="index in item_count" class="item"> <list-item v-for="index in item_count" class="item">
<text >item-------<text>{{index}}</text></text> <text >item-------<text>{{index}}</text></text>
</list-item> </list-item>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
refresher_triggered_boolean: false, refresher_triggered_boolean: false,
refresher_enabled_boolean: false, refresher_enabled_boolean: false,
scroll_with_animation_boolean: false, scroll_with_animation_boolean: false,
show_scrollbar_boolean: true, show_scrollbar_boolean: false,
rebound_boolean: true, rebound_boolean: true,
scroll_y_boolean: true, scroll_y_boolean: true,
scroll_x_boolean: false, scroll_x_boolean: false,
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
<boolean-data :defaultValue="false" title="开启自定义样式" @change="change_refresher_style_boolean"></boolean-data> <boolean-data :defaultValue="false" title="开启自定义样式" @change="change_refresher_style_boolean"></boolean-data>
<boolean-data :defaultValue="false" title="是否在设置滚动条位置时使用滚动动画,设置false没有滚动动画" <boolean-data :defaultValue="false" title="是否在设置滚动条位置时使用滚动动画,设置false没有滚动动画"
@change="change_scroll_with_animation_boolean"></boolean-data> @change="change_scroll_with_animation_boolean"></boolean-data>
<boolean-data :defaultValue="true" title="控制是否出现滚动条" @change="change_show_scrollbar_boolean"></boolean-data> <boolean-data :defaultValue="false" title="控制是否出现滚动条" @change="change_show_scrollbar_boolean"></boolean-data>
<boolean-data :defaultValue="true" title="控制是否回弹效果" @change="change_rebound_boolean"></boolean-data> <boolean-data :defaultValue="true" title="控制是否回弹效果" @change="change_rebound_boolean"></boolean-data>
<boolean-data :defaultValue="true" title="允许纵向滚动" @change="change_scroll_y_boolean"></boolean-data> <boolean-data :defaultValue="true" title="允许纵向滚动" @change="change_scroll_y_boolean"></boolean-data>
<boolean-data :defaultValue="false" title="允许横向滚动" @change="change_scroll_x_boolean"></boolean-data> <boolean-data :defaultValue="false" title="允许横向滚动" @change="change_scroll_x_boolean"></boolean-data>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册