diff --git a/src/components/Recommandation.vue b/src/components/Recommandation.vue index 99983da..81a4f04 100644 --- a/src/components/Recommandation.vue +++ b/src/components/Recommandation.vue @@ -171,6 +171,7 @@ export default { watch: { view () { this.getRecommandations() + this.$refs.waterfall.refresh() } }, methods: { @@ -342,10 +343,10 @@ export default { } .rate{ position: absolute; - top: 10%; - right: -35%; + top: 5%; + right: -40%; width: 100%; - background-color: #111111aa; + background-color: #2f90b9; color: #cdcdcd; height: 30px; line-height: 30px; diff --git a/src/components/Star.vue b/src/components/Star.vue index 8976d90..3054d72 100644 --- a/src/components/Star.vue +++ b/src/components/Star.vue @@ -88,6 +88,9 @@
豆瓣: {{props.data.rate}}
+
+ 有更新 +
@@ -503,10 +506,10 @@ export default { } .rate{ position: absolute; - top: 10%; - right: -35%; + top: 5%; + right: -40%; width: 100%; - background-color: #111111aa; + background-color: #2f90b9; color: #cdcdcd; height: 30px; line-height: 30px; @@ -514,6 +517,19 @@ export default { text-align: center; transform: rotate(45deg); } + .update{ + position: absolute; + top: 5%; + left: -40%; + width: 100%; + background-color: #68b88e; + color: #cdcdcd; + height: 30px; + line-height: 30px; + font-size: 14px; + text-align: center; + transform: rotate(-45deg); + } .operate{ display: none; position: absolute;