diff --git a/db.sqlite3 b/db.sqlite3 index c8a57efcd..b484994ec 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/front/src/components/news-list-home.vue b/front/src/components/news-list-home.vue new file mode 100644 index 000000000..89ffd0505 --- /dev/null +++ b/front/src/components/news-list-home.vue @@ -0,0 +1,221 @@ + + + + + + + {{x.title}} + + + + + + {{splitname(x.author)}} + + + + + + {{x.scores.filter(e=> e.score==true).length}} + · + + {{x.scores.filter(e=> e.score==false).length}} + · + + {{ x.comment.length }} + + + + + + {{limitText(x.text)}} + + + + + Подробнее + + + + + + + + + + + + + + \ No newline at end of file diff --git a/front/src/components/news-list.vue b/front/src/components/news-list.vue index 4c4e7b37a..b0f40f9df 100644 --- a/front/src/components/news-list.vue +++ b/front/src/components/news-list.vue @@ -1,9 +1,6 @@ - - + - {{x.title}} @@ -34,8 +25,7 @@ {{splitname(x.author)}} - - + @@ -53,8 +43,7 @@ {{limitText(x.text)}} - - + - + @@ -147,8 +136,6 @@ class="d-flex flex-column pa-3" > - - - @@ -279,28 +248,7 @@ - - - - - - - - - +