|
|
@@ -85,7 +85,7 @@
|
|
|
<SimplePageContentLoader :loader="notices" :showEmpty="!notices.content.value?.items?.length">
|
|
|
<div v-for="notice in notices.content.value?.items" :key="notice.id" class="notice-item">
|
|
|
<div>
|
|
|
- <router-link :to="'/page/' + notice.id" class="notice-title">{{ notice.title }}</router-link>
|
|
|
+ <PageLink :article="notice" class="notice-title" />
|
|
|
<p>{{ notice.description }}</p>
|
|
|
</div>
|
|
|
<span class="notice-publishtime">{{ DataDateUtils.formatDate(new Date((notice.createtime || notice.publishtime) * 1000), 'yyyy-MM-dd') }}</span>
|
|
|
@@ -95,7 +95,7 @@
|
|
|
<div v-if="currentTab === 'hot'" id="hot-news-list" class="news-content flex-one flex-grow-1">
|
|
|
<SimplePageContentLoader :loader="hot" :showEmpty="!hot.content.value?.items?.length">
|
|
|
<div v-for="item in hot.content.value?.items" :key="item.id" class="news-item">
|
|
|
- <router-link :to="'/page/' + item.id" class="title">{{ item.title }}</router-link>
|
|
|
+ <PageLink :article="item" class="title" />
|
|
|
<span class="publishtime">{{ DataDateUtils.formatDate(new Date((item.createtime ||item.publishtime) * 1000), 'yyyy-MM-dd') }}</span>
|
|
|
</div>
|
|
|
</SimplePageContentLoader>
|
|
|
@@ -111,7 +111,7 @@
|
|
|
<div class="news-content">
|
|
|
<SimplePageContentLoader :loader="workUppublishtimes" :showEmpty="!workUppublishtimes.content.value?.items?.length">
|
|
|
<div v-for="uppublishtime in workUppublishtimes.content.value?.items" :key="uppublishtime.id" class="news-item">
|
|
|
- <router-link :to="'/page/' + uppublishtime.id" class="title">{{ uppublishtime.title }}</router-link>
|
|
|
+ <PageLink :article="uppublishtime" class="title" />
|
|
|
<span class="publishtime">{{ DataDateUtils.formatDate(new Date(uppublishtime.publishtime * 1000), 'yyyy-MM-dd') }}</span>
|
|
|
</div>
|
|
|
</SimplePageContentLoader>
|
|
|
@@ -174,7 +174,7 @@
|
|
|
<div class="news-content">
|
|
|
<SimplePageContentLoader :loader="workUppublishtimes" :showEmpty="!workUppublishtimes.content.value?.items?.length">
|
|
|
<div v-for="uppublishtime in workUppublishtimes.content.value?.items" :key="uppublishtime.id" class="news-item">
|
|
|
- <router-link :to="'/page/' + uppublishtime.id" class="title">{{ uppublishtime.title }}</router-link>
|
|
|
+ <PageLink :article="uppublishtime" class="title" />
|
|
|
<span class="publishtime">{{ DataDateUtils.formatDate(new Date(uppublishtime.publishtime * 1000), 'yyyy-MM-dd') }}</span>
|
|
|
</div>
|
|
|
</SimplePageContentLoader>
|
|
|
@@ -194,7 +194,7 @@
|
|
|
<SimplePageContentLoader :loader="notices" :showEmpty="!notices.content.value?.items?.length">
|
|
|
<div v-for="notice in notices.content.value?.items" :key="notice.id" class="notice-item">
|
|
|
<div>
|
|
|
- <router-link :to="'/page/' + notice.id" class="notice-title">{{ notice.title }}</router-link>
|
|
|
+ <PageLink :article="notice" class="notice-title" />
|
|
|
<p>{{ notice.description }}</p>
|
|
|
</div>
|
|
|
<span class="notice-publishtime">{{ DataDateUtils.formatDate(new Date((notice.createtime || notice.publishtime) * 1000), 'yyyy-MM-dd') }}</span>
|