pages.json
{
"pages": [{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
}],
"subPackages": [{
"root": "pages/test",
"pages": [{
"path": "temp",
"style": {
"navigationBarTitleText": "temp"
}
}]
}],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}
temp.nvue
<template>
<view class="body">
<view class="txt" v-for="i in 100" :key="i">
<text>asf</text>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
}
}
</script>
<style>
.txt {
background-color: #abc;
margin: 10px;
height: 30px;
}
</style>
3 个回复
megamind
后来解决了吗?
近来
解决了吗
6***@qq.com - 小明
应该用list
近来
我想要的是页面能够自动滚动 因为我页面里面有滚动区块
2022-07-01 16:13
近来
如果用list和scroll-view是差不多的
2022-07-01 16:14