text: (window.webpackJsonp=window.webpackJsonp||[]).push([[23],{388:function(t,e,l){"use strict";l.r(e);var a=l(45),i=Object(a.a)({},(function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[l("h3",{attrs:{id:"scroll-view相关配置"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#scroll-view相关配置"}},[t._v("#")]),t._v(" scroll-view相关配置")]),t._v(" "),l("table",[l("thead",[l("tr",[l("th",{staticStyle:{"text-align":"left"}},[t._v("参数")]),t._v(" "),l("th",{staticStyle:{"text-align":"left"}},[t._v("说明")]),t._v(" "),l("th",{staticStyle:{"text-align":"left"}},[t._v("类型")]),t._v(" "),l("th",{staticStyle:{"text-align":"left"}},[t._v("默认值")]),t._v(" "),l("th",{staticStyle:{"text-align":"left"}},[t._v("可选值")])])]),t._v(" "),l("tbody",[l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("show-scrollbar")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("控制是否出现滚动条"),l("p",{staticStyle:{color:"red"}},[t._v("(仅支持nvue)")])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("scrollable")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("是否可以滚动，使用内置scroll-view和nvue时有效")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("scroll-to-top-bounce-enabled")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("iOS设备上滚动到顶部时是否允许回弹效果。关闭回弹效果后可使滚动到顶部后立即下拉可立即触发下拉刷新，但是有吸顶view时滚动到顶部时可能出现抖动。"),l("p",{staticStyle:{color:"red"}},[t._v("(此属性同时会影响iOS和安卓在vue h5和APP平台的下拉事件冒泡，建议保持为false，否则在上述平台中无法阻止下拉事件冒泡)")])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("scroll-to-bottom-bounce-enabled")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("iOS设备上滚动到底部时是否允许回弹效果"),l("p",{staticStyle:{color:"red"}},[t._v("(可能会导致使用scroll-view滚动时无法顺利滚动到底部)")])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("scroll-with-animation")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("在设置滚动条位置时使用动画过渡")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("scroll-into-view")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("值应为某子元素id（id不能以数字开头）。设置哪个方向可滚动，则在哪个方向滚动到该元素")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("enable-back-to-top")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("iOS点击顶部状态栏、安卓双击标题栏时，滚动条返回顶部"),l("p",{staticStyle:{color:"red"}},[t._v("(仅支持app-nvue，微信小程序，如果在其他平台上需要此功能，请使用页面滚动！)")])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")])])])])])}),[],!1,null,null,null);e.default=i.exports}}]);