|
|
@@ -69,10 +69,10 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="d-flex flex-column col col-sm-12 col-md-6 col-lg-6 notices-list">
|
|
|
- <div class="section-title">
|
|
|
+ <!-- <div class="section-title">
|
|
|
<div class="d-flex flex-row align-items-center">
|
|
|
<h2 id="notices-button" @click="currentTab = 'notices'" :class="{'active': currentTab === 'notices'}" class="button icon">通知公告</h2>
|
|
|
- <!-- <h2 id="hot-news-button" @click="currentTab = 'hot'" :class="{'active': currentTab === 'hot'}" class="button icon">热点新闻</h2> -->
|
|
|
+ <h2 id="hot-news-button" @click="currentTab = 'hot'" :class="{'active': currentTab === 'hot'}" class="button icon">热点新闻</h2>
|
|
|
</div>
|
|
|
<router-link :to="currentTab === 'notices' ?
|
|
|
`/channel/${notices.content.value?.channel_id}` :
|
|
|
@@ -80,9 +80,8 @@
|
|
|
class="section-more">
|
|
|
查看更多 <Icon name="material-symbols-light:chevron-right" />
|
|
|
</router-link>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div v-if="currentTab === 'notices'" id="notices-list" class="notices-content flex-one flex-grow-1">
|
|
|
+ </div> -->
|
|
|
+ <!-- <div v-if="currentTab === 'notices'" id="notices-list" class="notices-content flex-one flex-grow-1">
|
|
|
<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>
|
|
|
@@ -100,6 +99,22 @@
|
|
|
<span class="publishtime">{{ DataDateUtils.formatDate(new Date((item.createtime ||item.publishtime) * 1000), 'yyyy-MM-dd') }}</span>
|
|
|
</div>
|
|
|
</SimplePageContentLoader>
|
|
|
+ </div> -->
|
|
|
+
|
|
|
+ <div class="section-title">
|
|
|
+ <h2>
|
|
|
+ <Icon name="famicons:logo-designernews" />
|
|
|
+ 工作动态
|
|
|
+ </h2>
|
|
|
+ <router-link :to="`/channel/${workUppublishtimes.content.value?.channel_id}`" class="section-more">查看更多 <Icon name="material-symbols-light:chevron-right" /></router-link>
|
|
|
+ </div>
|
|
|
+ <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>
|
|
|
+ <span class="publishtime">{{ DataDateUtils.formatDate(new Date(uppublishtime.publishtime * 1000), 'yyyy-MM-dd') }}</span>
|
|
|
+ </div>
|
|
|
+ </SimplePageContentLoader>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -127,14 +142,10 @@
|
|
|
<Pagination />
|
|
|
</template>
|
|
|
</Carousel>
|
|
|
-
|
|
|
- <div class="main-box mt-lg-3 mt-md-2 mt-sm-2 flex-fill">
|
|
|
-
|
|
|
- </div>
|
|
|
</div>
|
|
|
- <div class="col col-sm-12 col-md-8 col-lg-9">
|
|
|
+ <div class="col col-sm-12 col-md-8 col-lg-9 d-flex flex-column">
|
|
|
<!-- 工作动态 -->
|
|
|
- <div class="main-box">
|
|
|
+ <!-- <div class="main-box">
|
|
|
<div class="section-title">
|
|
|
<h2>
|
|
|
<Icon name="material-symbols-light:flag" />
|
|
|
@@ -150,9 +161,9 @@
|
|
|
</div>
|
|
|
</SimplePageContentLoader>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<!-- 党建工作 -->
|
|
|
- <div class="main-box mt-lg-3 mt-md-2 mt-sm-2">
|
|
|
+ <!-- <div class="main-box mt-lg-3 mt-md-2 mt-sm-2">
|
|
|
<div class="section-title">
|
|
|
<h2>
|
|
|
<Icon name="famicons:logo-designernews" />
|
|
|
@@ -168,6 +179,28 @@
|
|
|
</div>
|
|
|
</SimplePageContentLoader>
|
|
|
</div>
|
|
|
+ </div> -->
|
|
|
+
|
|
|
+ <!-- 通知公告 -->
|
|
|
+ <div class="main-box flex-fill">
|
|
|
+ <div class="section-title">
|
|
|
+ <h2>
|
|
|
+ <Icon name="famicons:logo-designernews" />
|
|
|
+ 通知公告
|
|
|
+ </h2>
|
|
|
+ <router-link :to="`/channel/${notices.content.value?.channel_id}`" class="section-more">查看更多 <Icon name="material-symbols-light:chevron-right" /></router-link>
|
|
|
+ </div>
|
|
|
+ <div class="notices-content flex-one flex-grow-1">
|
|
|
+ <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>
|
|
|
+ <p>{{ notice.description }}</p>
|
|
|
+ </div>
|
|
|
+ <span class="notice-publishtime">{{ DataDateUtils.formatDate(new Date((notice.createtime || notice.publishtime) * 1000), 'yyyy-MM-dd') }}</span>
|
|
|
+ </div>
|
|
|
+ </SimplePageContentLoader>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|