Browse Source

fix(list): demo样式修复

suzigang 2 years ago
parent
commit
bedcff3991
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/packages/__VUE/list/demo.vue

+ 2 - 2
src/packages/__VUE/list/demo.vue

@@ -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%;
   }
   }