diff --git a/lib/waterfall.vue b/lib/waterfall.vue
index ed60a8b..cdc298e 100644
--- a/lib/waterfall.vue
+++ b/lib/waterfall.vue
@@ -1,446 +1,508 @@
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
diff --git a/src/App.vue b/src/App.vue
index 0cce42c..05ff090 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -22,4 +22,8 @@ export default {
color: #2c3e50;
/*margin-top: 60px;*/
}
+html,body{
+ padding: 0;
+ margin: 0;
+}
diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue
index 1ca8171..7516de1 100644
--- a/src/components/HelloWorld.vue
+++ b/src/components/HelloWorld.vue
@@ -34,7 +34,7 @@
button:hover{
background-image: linear-gradient(-180deg,#fafbfc,#ccc 90%);
}
-
+
.cell-item{
width: 100%;
margin-bottom: 10px;
@@ -87,11 +87,11 @@
.like-total{
color:#FF4479;
}
- }
+ }
i{
width: 28px;
display: block;
-
+
}
.like-total{
margin-left: 10px;
@@ -99,7 +99,7 @@
color: #999999;
}
}
-
+
}
}
}
@@ -117,9 +117,9 @@
GITHUB 滚动至底部可触发loadmore
-
+
-
+
![加载错误]()
@@ -130,14 +130,15 @@
{{item.user}}
-
{{item.like}}
+
{{item.like}}
+
-
+
@@ -169,7 +170,7 @@ import json from './data.json'
}
},
computed:{
- itemWidth(){
+ itemWidth(){
return (133*0.5*(document.documentElement.clientWidth/375))
},
gutterWidth(){
@@ -220,4 +221,4 @@ import json from './data.json'
// this.data = []
}
}
-
\ No newline at end of file
+
diff --git a/src/components/evaluateList.vue b/src/components/evaluateList.vue
index 501d454..63bde4f 100644
--- a/src/components/evaluateList.vue
+++ b/src/components/evaluateList.vue
@@ -34,7 +34,7 @@
button:hover{
background-image: linear-gradient(-180deg,#fafbfc,#ccc 90%);
}
-
+
.cell-item{
width: 100%;
// margin-bottom: 18px;
@@ -87,11 +87,11 @@
.like-total{
color:#FF4479;
}
- }
+ }
i{
width: 28px;
display: block;
-
+
}
.like-total{
margin-left: 10px;
@@ -99,7 +99,7 @@
color: #999999;
}
}
-
+
}
}
}
@@ -117,9 +117,9 @@
GITHUB 滚动至底部可触发loadmore
-
+
-
+
![加载错误]()
@@ -130,14 +130,14 @@
{{item.user}}
-
{{item.like}}
+
{{item.like}}
-
+
@@ -169,7 +169,7 @@ import json from './data.json'
}
},
computed:{
- itemWidth(){
+ itemWidth(){
return (133*0.5*(document.documentElement.clientWidth/375))
},
gutterWidth(){
@@ -213,4 +213,4 @@ import json from './data.json'
this.getGitHub()
}
}
-
\ No newline at end of file
+
diff --git a/src/main.js b/src/main.js
index 4e9ebe7..947867b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -5,8 +5,8 @@ import App from './App'
import router from './router'
Vue.config.productionTip = false
-import waterfall from 'vue-waterfall2'
-// import waterfall from '../lib'
+// import waterfall from 'vue-waterfall2'
+import waterfall from '../lib'
Vue.use(waterfall)
/* eslint-disable no-new */