75

parent be6a69c0
...@@ -4,7 +4,14 @@ ...@@ -4,7 +4,14 @@
<span>邀请记录</span> <span>邀请记录</span>
<span>购买时间</span> <span>购买时间</span>
</div> </div>
<div class="container" :style="{height: height+'px'}"> <scroll
ref="scrollItem"
class="scrollItem"
:data="list"
:pullup="pullup"
:bounce="false"
@pullup="onReachBottom">
<div class="container" >
<ul> <ul>
<li v-for="(item,index) in list" :key="index"> <li v-for="(item,index) in list" :key="index">
<p>{{item.name}}</p> <p>{{item.name}}</p>
...@@ -12,6 +19,8 @@ ...@@ -12,6 +19,8 @@
</li> </li>
</ul> </ul>
</div> </div>
</scroll>
</div> </div>
</template> </template>
<script> <script>
...@@ -163,10 +172,17 @@ export default { ...@@ -163,10 +172,17 @@ export default {
font-weight: 400; font-weight: 400;
color: #eb7162; color: #eb7162;
} }
.scrollItem{
height: 80vh;
width: 100%;
margin-top: 0;
overflow: hidden;
}
.container { .container {
margin: 0; margin: 0;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
// height: 200px;
ul { ul {
li { li {
height: 65 * @tocurrentvh; height: 65 * @tocurrentvh;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment