|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="demo">
|
|
|
|
|
|
|
+ <div class="demo demo-list">
|
|
|
<h2>{{ translate('basic') }}</h2>
|
|
<h2>{{ translate('basic') }}</h2>
|
|
|
<nut-cell>
|
|
<nut-cell>
|
|
|
<nut-list :listData="count" @scroll-bottom="handleScroll">
|
|
<nut-list :listData="count" @scroll-bottom="handleScroll">
|
|
@@ -49,7 +49,7 @@ export default createDemo({
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
|
-.demo {
|
|
|
|
|
|
|
+.demo-list {
|
|
|
.nut-cell {
|
|
.nut-cell {
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
}
|
|
}
|