1.定位使用 scroll-into-view 的属性,可以滑动到tab中的指定 item 位置。重点是: scroll-into-view
的值保持和id
里面的值相等,及定位就可以找到
<scroll-view scroll-into-view="{
{'item'+tabid}}" scroll-x="true" class="tab-h" scroll-
1.定位使用 scroll-into-view 的属性,可以滑动到tab中的指定 item 位置。重点是: scroll-into-view
的值保持和id
里面的值相等,及定位就可以找到
<scroll-view scroll-into-view="{
{'item'+tabid}}" scroll-x="true" class="tab-h" scroll-