|
|
@@ -23,11 +23,11 @@
|
|
|
<col style="width:5%">
|
|
|
<col style="width:60%">
|
|
|
<col style="width:10%">
|
|
|
- <col style="width:5%">
|
|
|
+ <col style="width:5%" class="view">
|
|
|
</colgroup>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th v-for="column in columns" :key="column.key">
|
|
|
+ <th v-for="column in columns" :key="column.key" :class="{ 'view': column.key === 'views' }">
|
|
|
{{ column.label }}
|
|
|
</th>
|
|
|
</tr>
|
|
|
@@ -36,8 +36,8 @@
|
|
|
<tr v-for="news in paginatedNews" :key="news.id" @click="goToNews(news)">
|
|
|
<td>{{ news.id }}</td>
|
|
|
<td class="ellipsis1">{{ news.title }}{{ news.title }}{{ news.title }}{{ news.title }}{{ news.title }}{{ news.title }}{{ news.title }}</td>
|
|
|
- <td>{{ news.date }}</td>
|
|
|
- <td>{{ news.views }}</td>
|
|
|
+ <td class="date">{{ news.date }}</td>
|
|
|
+ <td class="view">{{ news.views }}</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
@@ -170,6 +170,7 @@
|
|
|
views: 1432,
|
|
|
link: '/company/view1'
|
|
|
},
|
|
|
+
|
|
|
]);
|
|
|
|
|
|
const currentPage = ref(1);
|