فهرست منبع

add dynamic tags to news details page

Olivier Massot 1 سال پیش
والد
کامیت
438a8cfc55
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      components/News/Details.vue

+ 3 - 1
components/News/Details.vue

@@ -70,7 +70,9 @@
 
 
           <v-row class="d-flex justify-space-between mb-8 center-90">
           <v-row class="d-flex justify-space-between mb-8 center-90">
             <p class="key-word mt-3">
             <p class="key-word mt-3">
-              ROCK CONCERT FESTIVAL
+              <span v-for="tag in newsItem.tags" class="mr-2">
+                {{ tag.name }}
+              </span>
             </p>
             </p>
 
 
             <CommonShare />
             <CommonShare />