Now the news album works.
This commit is contained in:
28
src/App.vue
28
src/App.vue
@@ -11,7 +11,7 @@
|
||||
:imageUrl="detectResult.imageUrl"
|
||||
:trustworthiness="detectResult.trustworthiness"
|
||||
></detect-result>
|
||||
<news-album></news-album>
|
||||
<news-album :news="news"></news-album>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
@@ -39,6 +39,32 @@ export default {
|
||||
trustworthiness: 0.0,
|
||||
},
|
||||
showDetectResult: false,
|
||||
news: [
|
||||
{
|
||||
title: "一到春天就皮肤过敏瘙痒怎么办?掌握这几招立马止痒",
|
||||
image:
|
||||
"https://pic4.zhimg.com/v2-df56391f8128d2c8921d0b5112a51fa3_1440w.jpg?source=172ae18b",
|
||||
abstract:
|
||||
"春天是万物复苏,花红柳绿的季节,同时也是过敏性皮肤疾病高发的季节。",
|
||||
readMinutes: 5,
|
||||
},
|
||||
{
|
||||
title: "下雨天,皮肤就不用补水了吗?",
|
||||
image:
|
||||
"https://pic1.zhimg.com/v2-6bf489635811b1552320c23bd58392fd_1440w.jpg?source=172ae18b",
|
||||
abstract:
|
||||
"空气湿度大,皮肤已经可以吸收天然水分,不需要再额外补充了!真的是这样吗?",
|
||||
readMinutes: 8,
|
||||
},
|
||||
{
|
||||
title: "脸上经常长痘痘是什么原因导致的?",
|
||||
image:
|
||||
"https://pic2.zhimg.com/80/v2-598043efaf9de7e18ddc63a6a6e42a08_720w.jpg?source=1940ef5c",
|
||||
abstract:
|
||||
"曾经的我,也是满脸痘痘的男人。现在的我,浑身肌肤嫩滑,吹弹可破。前方高能预警:文章很长,干货很干,全文没有多余的废话,请一定一定,耐心读完。",
|
||||
readMinutes: 12,
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user