|
@@ -1,4 +1,4 @@
|
|
|
-<template>
|
|
|
|
|
|
|
+<template>
|
|
|
<div class="portal-home min-h-screen bg-[#eef3f9] text-[#17345f]">
|
|
<div class="portal-home min-h-screen bg-[#eef3f9] text-[#17345f]">
|
|
|
<Header />
|
|
<Header />
|
|
|
|
|
|
|
@@ -43,16 +43,16 @@
|
|
|
<div
|
|
<div
|
|
|
class="carousel-indicators absolute bottom-4 left-1/2 z-30 flex transform -translate-x-1/2 space-x-2"
|
|
class="carousel-indicators absolute bottom-4 left-1/2 z-30 flex transform -translate-x-1/2 space-x-2"
|
|
|
>
|
|
>
|
|
|
- <button
|
|
|
|
|
|
|
+ <span
|
|
|
v-for="(_, i) in slides"
|
|
v-for="(_, i) in slides"
|
|
|
:key="i"
|
|
:key="i"
|
|
|
@click="currentIndex = i"
|
|
@click="currentIndex = i"
|
|
|
:class="{
|
|
:class="{
|
|
|
'bg-[#0c4eb5]': currentIndex === i,
|
|
'bg-[#0c4eb5]': currentIndex === i,
|
|
|
- 'bg-[#d1ddea]': currentIndex !== i,
|
|
|
|
|
|
|
+ 'bg-[#2f333c]/50': currentIndex !== i,
|
|
|
}"
|
|
}"
|
|
|
class="w-3 h-3 rounded-full transition-colors"
|
|
class="w-3 h-3 rounded-full transition-colors"
|
|
|
- ></button>
|
|
|
|
|
|
|
+ ></span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -114,19 +114,54 @@
|
|
|
<aside class="space-y-4">
|
|
<aside class="space-y-4">
|
|
|
<section class="side-card side-card--notice rounded-md p-2">
|
|
<section class="side-card side-card--notice rounded-md p-2">
|
|
|
<div class="side-card__header w-[95%] ml-[8px]">
|
|
<div class="side-card__header w-[95%] ml-[8px]">
|
|
|
- <div class="notice-badge">{{ noticeLabel }}</div>
|
|
|
|
|
|
|
+ <div class="notice-tabs">
|
|
|
|
|
+ <button
|
|
|
|
|
+ v-for="tab in noticeTabs"
|
|
|
|
|
+ :key="tab.key"
|
|
|
|
|
+ type="button"
|
|
|
|
|
+ :class="[
|
|
|
|
|
+ 'notice-tab',
|
|
|
|
|
+ activeNoticeTab === tab.key ? 'notice-tab--active' : '',
|
|
|
|
|
+ ]"
|
|
|
|
|
+ @click="handleNoticeTabChange(tab.key)"
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ tab.label }}
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </div>
|
|
|
<button type="button" class="side-card__more">
|
|
<button type="button" class="side-card__more">
|
|
|
- <Icon icon="mdi:dots-horizontal" class="text-[22px]" />
|
|
|
|
|
|
|
+ <Icon
|
|
|
|
|
+ icon="mdi:dots-horizontal"
|
|
|
|
|
+ class="text-[22px]"
|
|
|
|
|
+ @click="handleNoticeMoreClick"
|
|
|
|
|
+ />
|
|
|
</button>
|
|
</button>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="space-y-2 p-2 pt-3">
|
|
<div class="space-y-2 p-2 pt-3">
|
|
|
|
|
+ <div
|
|
|
|
|
+ v-if="!userStore.getUser.username"
|
|
|
|
|
+ class="flex h-full items-center justify-center"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="text-[#8a9ab0] pt-5">登录后查看</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div
|
|
|
|
|
+ v-if="!currentNoticeList.length && userStore.getUser.username"
|
|
|
|
|
+ class="flex h-[120px] items-center justify-center text-[#8a9ab0]"
|
|
|
|
|
+ >
|
|
|
|
|
+ 暂无数据
|
|
|
|
|
+ </div>
|
|
|
<article
|
|
<article
|
|
|
- v-for="(notice, noticeIndex) in notices"
|
|
|
|
|
- :key="`${notice.title}-${noticeIndex}`"
|
|
|
|
|
|
|
+ v-if="userStore.getUser.username"
|
|
|
|
|
+ v-for="notice in currentNoticeList"
|
|
|
|
|
+ :key="notice.id"
|
|
|
class="notice-item cursor-pointer"
|
|
class="notice-item cursor-pointer"
|
|
|
|
|
+ @click="handleNoticeItemClick(notice)"
|
|
|
>
|
|
>
|
|
|
- <div class="notice-item__desc">{{ notice.desc }}</div>
|
|
|
|
|
|
|
+ <div class="notice-item__desc">{{ notice.docsubject }}</div>
|
|
|
|
|
+ <div class="date text-[12px] text-[#9cadc0]">
|
|
|
|
|
+ {{ notice.docvaliddate }}
|
|
|
|
|
+ </div>
|
|
|
</article>
|
|
</article>
|
|
|
</div>
|
|
</div>
|
|
|
</section>
|
|
</section>
|
|
@@ -157,7 +192,7 @@
|
|
|
v-if="!oaTasks.length && userStore.getUser.username"
|
|
v-if="!oaTasks.length && userStore.getUser.username"
|
|
|
class="flex h-full items-center justify-center"
|
|
class="flex h-full items-center justify-center"
|
|
|
>
|
|
>
|
|
|
- <div class="text-[#8a9ab0]">暂无数据</div>
|
|
|
|
|
|
|
+ <div class="text-[#8a9ab0] pt-10">暂无待办</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<article
|
|
<article
|
|
@@ -193,29 +228,38 @@
|
|
|
>
|
|
>
|
|
|
<div class="side-card__header w-[90%] ml-[15px]">
|
|
<div class="side-card__header w-[90%] ml-[15px]">
|
|
|
<div class="notice-badge">{{ newsPanelTitle }}</div>
|
|
<div class="notice-badge">{{ newsPanelTitle }}</div>
|
|
|
- <button type="button" class="side-card__more">
|
|
|
|
|
|
|
+ <button type="button" class="side-card__more" @click="goNews">
|
|
|
<Icon icon="mdi:dots-horizontal" class="text-[22px]" />
|
|
<Icon icon="mdi:dots-horizontal" class="text-[22px]" />
|
|
|
</button>
|
|
</button>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="space-y-2 p-4 pt-2">
|
|
<div class="space-y-2 p-4 pt-2">
|
|
|
|
|
+ <div
|
|
|
|
|
+ v-if="!userStore.getUser.username"
|
|
|
|
|
+ class="flex h-full items-center justify-center"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="text-[#8a9ab0] pt-10">登录后查看</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div
|
|
|
|
|
+ v-if="!newsList.length && userStore.getUser.username"
|
|
|
|
|
+ class="flex h-full items-center justify-center"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="text-[#8a9ab0] pt-10">暂无新闻</div>
|
|
|
|
|
+ </div>
|
|
|
<article
|
|
<article
|
|
|
v-for="news in newsList"
|
|
v-for="news in newsList"
|
|
|
- :key="news.title"
|
|
|
|
|
|
|
+ :key="news.id"
|
|
|
class="news-mini cursor-pointer rounded-md"
|
|
class="news-mini cursor-pointer rounded-md"
|
|
|
|
|
+ @click="handleNoticeItemClick(news)"
|
|
|
>
|
|
>
|
|
|
- <img
|
|
|
|
|
- :src="news.image"
|
|
|
|
|
- :alt="news.title"
|
|
|
|
|
- class="h-[34px] w-[52px] rounded-[8px] object-cover"
|
|
|
|
|
- />
|
|
|
|
|
<div class="min-w-0 flex-1">
|
|
<div class="min-w-0 flex-1">
|
|
|
<div
|
|
<div
|
|
|
- class="line-clamp-2 text-[13px] font-semibold leading-[1.45] text-[#41597d]"
|
|
|
|
|
|
|
+ class="line-clamp-1 text-[13px] font-semibold leading-[1.45] text-[#41597d]"
|
|
|
>
|
|
>
|
|
|
- {{ news.title }}
|
|
|
|
|
|
|
+ {{ news.docsubject }}
|
|
|
</div>
|
|
</div>
|
|
|
<div class="mt-2 text-[12px] text-[#9cadc0]">
|
|
<div class="mt-2 text-[12px] text-[#9cadc0]">
|
|
|
- {{ news.date }}
|
|
|
|
|
|
|
+ {{ news.docvaliddate }}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</article>
|
|
</article>
|
|
@@ -247,7 +291,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
-import { onMounted, onUnmounted, ref } from "vue";
|
|
|
|
|
|
|
+import { computed, onMounted, onUnmounted, ref } from "vue";
|
|
|
import * as authUtil from "@/utils/auth";
|
|
import * as authUtil from "@/utils/auth";
|
|
|
import * as dd from "dingtalk-jsapi";
|
|
import * as dd from "dingtalk-jsapi";
|
|
|
import Header from "@components/home/header.vue";
|
|
import Header from "@components/home/header.vue";
|
|
@@ -261,6 +305,9 @@ import {
|
|
|
ssoLogin,
|
|
ssoLogin,
|
|
|
zentaoSsoLogin,
|
|
zentaoSsoLogin,
|
|
|
getOATasks,
|
|
getOATasks,
|
|
|
|
|
+ getNotices,
|
|
|
|
|
+ getRedHeadFiles,
|
|
|
|
|
+ getNews,
|
|
|
} from "@/api/user";
|
|
} from "@/api/user";
|
|
|
import { useUserStore } from "@/stores/useUserStore";
|
|
import { useUserStore } from "@/stores/useUserStore";
|
|
|
import { getAccessToken } from "@/utils/auth";
|
|
import { getAccessToken } from "@/utils/auth";
|
|
@@ -312,34 +359,23 @@ type PortalSection = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
type NoticeItem = {
|
|
type NoticeItem = {
|
|
|
- title: string;
|
|
|
|
|
- desc: string;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-type SidePanel = {
|
|
|
|
|
- title: string;
|
|
|
|
|
- height: string;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-type TodoTask = {
|
|
|
|
|
- title: string;
|
|
|
|
|
- meta: string;
|
|
|
|
|
- tag: string;
|
|
|
|
|
- tagClass: string;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-type NewsItem = {
|
|
|
|
|
- title: string;
|
|
|
|
|
- date: string;
|
|
|
|
|
- image: string;
|
|
|
|
|
|
|
+ id?: string | number;
|
|
|
|
|
+ title?: string;
|
|
|
|
|
+ desc?: string;
|
|
|
|
|
+ docsubject?: string;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
|
const userStore = useUserStore();
|
|
const userStore = useUserStore();
|
|
|
|
|
|
|
|
-const noticeLabel = "公告";
|
|
|
|
|
const todoPanelTitle = "待办中心";
|
|
const todoPanelTitle = "待办中心";
|
|
|
const newsPanelTitle = "新闻";
|
|
const newsPanelTitle = "新闻";
|
|
|
|
|
+const noticeTabs = [
|
|
|
|
|
+ { key: "notice", label: "公告" },
|
|
|
|
|
+ { key: "redHead", label: "红头文件" },
|
|
|
|
|
+] as const;
|
|
|
|
|
+
|
|
|
|
|
+type NoticeTabKey = (typeof noticeTabs)[number]["key"];
|
|
|
|
|
|
|
|
const portalSections: PortalSection[] = [
|
|
const portalSections: PortalSection[] = [
|
|
|
{
|
|
{
|
|
@@ -447,34 +483,48 @@ const nextSlide = () => {
|
|
|
currentIndex.value = (currentIndex.value + 1) % slides.value.length;
|
|
currentIndex.value = (currentIndex.value + 1) % slides.value.length;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-const notices: NoticeItem[] = [
|
|
|
|
|
- {
|
|
|
|
|
- title: "集团总部关于办公楼设备维保的说明",
|
|
|
|
|
- desc: "关于 2026 年度“DeepOil 数字化转型”优秀项目评选活动的通知",
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: "集团总部关于办公楼设备维保的说明",
|
|
|
|
|
- desc: "关于 2026 年度“DeepOil 数字化转型”优秀项目评选活动的通知",
|
|
|
|
|
- },
|
|
|
|
|
-];
|
|
|
|
|
|
|
+const activeNoticeTab = ref<NoticeTabKey>("notice");
|
|
|
|
|
+const noticeListMap = ref<Record<NoticeTabKey, NoticeItem[]>>({
|
|
|
|
|
+ notice: [],
|
|
|
|
|
+ redHead: [],
|
|
|
|
|
+});
|
|
|
|
|
|
|
|
-const newsList: NewsItem[] = [
|
|
|
|
|
- {
|
|
|
|
|
- title: "科瑞石油成功交付首套自动化钻机",
|
|
|
|
|
- date: "2026-04-18",
|
|
|
|
|
- image: banner1,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: "DeepOil 智慧平台荣获行业创新奖",
|
|
|
|
|
- date: "2026-04-15",
|
|
|
|
|
- image: banner2,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- title: "数字人才培养“扬帆计划”正式启动",
|
|
|
|
|
- date: "2026-04-12",
|
|
|
|
|
- image: img3,
|
|
|
|
|
- },
|
|
|
|
|
-];
|
|
|
|
|
|
|
+const newsList = ref([]);
|
|
|
|
|
+
|
|
|
|
|
+const currentNoticeList = computed(
|
|
|
|
|
+ () => noticeListMap.value[activeNoticeTab.value] ?? [],
|
|
|
|
|
+);
|
|
|
|
|
+
|
|
|
|
|
+const loadNoticeList = async (tabKey: NoticeTabKey) => {
|
|
|
|
|
+ const requestApi = tabKey === "notice" ? getNotices : getRedHeadFiles;
|
|
|
|
|
+ const res = await requestApi({
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ noticeListMap.value[tabKey] = (res?.list || []).slice(0, 3);
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+let currentTabKey = ref<NoticeTabKey>("notice");
|
|
|
|
|
+const handleNoticeTabChange = async (tabKey: NoticeTabKey) => {
|
|
|
|
|
+ activeNoticeTab.value = tabKey;
|
|
|
|
|
+ currentTabKey.value = tabKey;
|
|
|
|
|
+
|
|
|
|
|
+ // if (noticeListMap.value[tabKey].length) return;
|
|
|
|
|
+
|
|
|
|
|
+ if (userStore.getUser.username) {
|
|
|
|
|
+ await loadNoticeList(tabKey);
|
|
|
|
|
+ }
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+const handleNoticeMoreClick = () => {
|
|
|
|
|
+ router.push({
|
|
|
|
|
+ path: "/notice-redhead",
|
|
|
|
|
+ query: {
|
|
|
|
|
+ tabKey: currentTabKey.value,
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+};
|
|
|
|
|
|
|
|
const protectedOpen = (url: string) => {
|
|
const protectedOpen = (url: string) => {
|
|
|
if (userStore.getUser.username && getAccessToken()) {
|
|
if (userStore.getUser.username && getAccessToken()) {
|
|
@@ -659,6 +709,8 @@ onMounted(async () => {
|
|
|
dingTalkAutoLogin();
|
|
dingTalkAutoLogin();
|
|
|
slideTimer = setInterval(nextSlide, 5000);
|
|
slideTimer = setInterval(nextSlide, 5000);
|
|
|
|
|
|
|
|
|
|
+ await loadNoticeList("notice");
|
|
|
|
|
+
|
|
|
if (userStore.getUser.username) {
|
|
if (userStore.getUser.username) {
|
|
|
try {
|
|
try {
|
|
|
const res = await getOATasks({
|
|
const res = await getOATasks({
|
|
@@ -667,11 +719,64 @@ onMounted(async () => {
|
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
|
});
|
|
});
|
|
|
oaTasks.value = res.todoList.slice(0, 3);
|
|
oaTasks.value = res.todoList.slice(0, 3);
|
|
|
|
|
+
|
|
|
|
|
+ const newList = await getNews({
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ pageSize: 10,
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ newsList.value = newList.list.slice(0, 3);
|
|
|
} finally {
|
|
} finally {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+const handleNoticeItemClick = async (notice) => {
|
|
|
|
|
+ const res = await ssoLogin({
|
|
|
|
|
+ username: userStore.getUser.username,
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ if (res) {
|
|
|
|
|
+ const ua = window.navigator.userAgent.toLowerCase();
|
|
|
|
|
+ if (ua.includes("dingtalk") || ua.includes("dingtalkwork")) {
|
|
|
|
|
+ dd.biz.util.openLink({
|
|
|
|
|
+ url:
|
|
|
|
|
+ "https://yfoa.keruioil.com/wui/index.html" +
|
|
|
|
|
+ "?ssoToken=" +
|
|
|
|
|
+ res +
|
|
|
|
|
+ "#/main", // 先跳你的 SSO 链接
|
|
|
|
|
+ onSuccess: () => {
|
|
|
|
|
+ // 延迟跳目标业务地址(和你原来 setTimeout 逻辑一致)
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ dd.biz.util.openLink({
|
|
|
|
|
+ url: `https://yfoa.keruioil.com/spa/document/index.jsp?openAttachment=0&id=${notice.id}`,
|
|
|
|
|
+ });
|
|
|
|
|
+ }, 100);
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+ } else {
|
|
|
|
|
+ const loading = ElLoading.service({
|
|
|
|
|
+ lock: true,
|
|
|
|
|
+ text: "正在跳转,请稍候...",
|
|
|
|
|
+ background: "rgba(0, 0, 0, 0.7)",
|
|
|
|
|
+ });
|
|
|
|
|
+ const newTab = window.open("", "_blank");
|
|
|
|
|
+ newTab.location.href =
|
|
|
|
|
+ "https://yfoa.keruioil.com/wui/index.html" +
|
|
|
|
|
+ "?ssoToken=" +
|
|
|
|
|
+ res +
|
|
|
|
|
+ "#/main";
|
|
|
|
|
+
|
|
|
|
|
+ setTimeout(function () {
|
|
|
|
|
+ newTab.location.href = `https://yfoa.keruioil.com/spa/document/index.jsp?openAttachment=0&id=${notice.id}`;
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ loading.close();
|
|
|
|
|
+ }, 500);
|
|
|
|
|
+ }, 100);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
const handleTask = async (row) => {
|
|
const handleTask = async (row) => {
|
|
|
const res = await ssoLogin({
|
|
const res = await ssoLogin({
|
|
|
username: userStore.getUser.username,
|
|
username: userStore.getUser.username,
|
|
@@ -718,6 +823,10 @@ const handleTask = async (row) => {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+const goNews = () => {
|
|
|
|
|
+ router.push("/news");
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
onUnmounted(() => {
|
|
onUnmounted(() => {
|
|
|
if (slideTimer) {
|
|
if (slideTimer) {
|
|
|
clearInterval(slideTimer);
|
|
clearInterval(slideTimer);
|
|
@@ -1039,6 +1148,33 @@ onUnmounted(() => {
|
|
|
border-radius: 100px;
|
|
border-radius: 100px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.notice-tabs {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.notice-tab {
|
|
|
|
|
+ height: 25px;
|
|
|
|
|
+ min-width: 68px;
|
|
|
|
|
+ padding: 0 14px;
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ background: transparent;
|
|
|
|
|
+ color: #4d6f98;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition:
|
|
|
|
|
+ background 0.2s ease,
|
|
|
|
|
+ color 0.2s ease;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.notice-tab--active {
|
|
|
|
|
+ background: #004098;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.notice-badge::after {
|
|
.notice-badge::after {
|
|
|
content: "";
|
|
content: "";
|
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -1064,11 +1200,21 @@ onUnmounted(() => {
|
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.notice-item:hover {
|
|
|
|
|
+ box-shadow: 0 12px 28px rgba(63, 107, 169, 0.1);
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.notice-item__title,
|
|
.notice-item__title,
|
|
|
.notice-item__desc {
|
|
.notice-item__desc {
|
|
|
color: #507698;
|
|
color: #507698;
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
line-height: 1.5;
|
|
line-height: 1.5;
|
|
|
|
|
+ display: -webkit-box;
|
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.panel-title {
|
|
.panel-title {
|
|
@@ -1104,6 +1250,12 @@ onUnmounted(() => {
|
|
|
border: none;
|
|
border: none;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.news-mini:hover {
|
|
|
|
|
+ box-shadow: 0 12px 28px rgba(63, 107, 169, 0.1);
|
|
|
|
|
+ transition: all 0.2s ease;
|
|
|
|
|
+ transform: translateY(-1px);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.placeholder-panel {
|
|
.placeholder-panel {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
height: 100%;
|
|
height: 100%;
|