Vuejs2 在nativescript vue应用程序的页面中滚动

Vuejs2 在nativescript vue应用程序的页面中滚动,vuejs2,nativescript-vue,Vuejs2,Nativescript Vue,我有这样一个模板组件(第页): 在我的loop over Ingreents列表中,我有一个问题,只有前十个显示,我无法向下滚动查看其他。有没有办法拿到卷轴 Oups(rtfm)事实上,有一个scrollview元素就是为了这个目的而做的: <template> <Page class="page" v-if="showDisplay"> <ActionBar class="action-bar" title="Resultsiiii"/> &l

我有这样一个模板组件(第页):


在我的loop over Ingreents列表中,我有一个问题,只有前十个显示,我无法向下滚动查看其他。有没有办法拿到卷轴

Oups(rtfm)事实上,有一个scrollview元素就是为了这个目的而做的:

<template>
 <Page class="page" v-if="showDisplay">
  <ActionBar class="action-bar" title="Resultsiiii"/>
  <StackLayout v-if="posts">
    <Label :text="code"></Label>
    <Label v-if="posts.product_name" :text="posts.product_name" />
    <Image :src="posts.image_thumb_url" stretch="none" />
    <Label :text="posts.ingredients_text_fr" class="list-group-item-text" textWrap="true"></Label>
   <Label :text="ingredientsList[0]"></Label>
    <StackLayout backgroundColor="#3c495e">
      <Label v-for="(item, i) in ingredientsList" :key="i" :text="item" height="70" backgroundColor="#43b883"/>
    </StackLayout>
  </StackLayout>
    <StackLayout v-else>
      <Label text="No infos about this product"></Label>
    </StackLayout>
  </Page>
</template>