..
This commit is contained in:
@@ -37,6 +37,13 @@ public class SysHomeV4Controller {
|
||||
|
||||
}
|
||||
|
||||
@At("/home2")
|
||||
@Ok("beetl:/layouts/v4/home2.html")
|
||||
@SaCheckLogin
|
||||
public void home2() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 应用中心
|
||||
*/
|
||||
@@ -69,4 +76,15 @@ public class SysHomeV4Controller {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 个人中心
|
||||
*/
|
||||
@At("/personCenter")
|
||||
@Ok("beetl:/layouts/v4/personCenter.html")
|
||||
@SaCheckLogin
|
||||
public void personCenter(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
@@ -549,6 +549,42 @@
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* 页脚样式 */
|
||||
.v4-footer {
|
||||
background: var(--color-primary);
|
||||
padding: 30px 0;
|
||||
}
|
||||
|
||||
.v4-footer-bottom {
|
||||
max-width: 1500px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.v4-footer-copyright p {
|
||||
margin: 4px 0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.v4-footer-tech {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.v4-footer-tech a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.v4-footer-tech a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -559,7 +595,7 @@
|
||||
</div>
|
||||
|
||||
<nav class="v4-nav">
|
||||
<a href="/platform/v4/home" data-pjax class="v4-nav-item">
|
||||
<a href="/platform/v4/home2" data-pjax class="v4-nav-item">
|
||||
<i class="fa fa-home"></i>
|
||||
首页
|
||||
</a>
|
||||
@@ -596,9 +632,36 @@
|
||||
<div class="ele-body" id="container">${layoutContent}</div>
|
||||
</main>
|
||||
|
||||
<!-- 页脚 -->
|
||||
<footer class="v4-footer" id="v4-footer" style="display: none;">
|
||||
<div class="v4-footer-bottom">
|
||||
<div class="v4-footer-copyright">
|
||||
<p>© 2025 武汉地大三思科技有限公司. 保留所有权利.</p>
|
||||
<p>ICP备案号:のICP备12345678号-1 | 版本号:v4.0.0</p>
|
||||
</div>
|
||||
<div class="v4-footer-tech">
|
||||
<span>技术支持:</span>
|
||||
<a href="http://www.3sgo.cn/" target="_blank">武汉地大三思科技有限公司</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<script>
|
||||
// 处理导航项的active状态
|
||||
$(document).ready(function () {
|
||||
// 控制页脚显示的函数
|
||||
function toggleFooter() {
|
||||
var currentPath = window.location.pathname
|
||||
var footer = $("#v4-footer")
|
||||
|
||||
if (currentPath === "/platform/v4/home2") {
|
||||
footer.show()
|
||||
} else {
|
||||
footer.hide()
|
||||
}
|
||||
}
|
||||
|
||||
// 初始化:根据当前URL设置active状态
|
||||
function setActiveNavItem() {
|
||||
var currentPath = window.location.pathname
|
||||
@@ -610,8 +673,9 @@
|
||||
})
|
||||
}
|
||||
|
||||
// 页面加载时设置active状态
|
||||
// 页面加载时设置active状态和页脚显示
|
||||
setActiveNavItem()
|
||||
toggleFooter()
|
||||
|
||||
// 为导航项添加点击事件
|
||||
$(".v4-nav-item").on("click", function () {
|
||||
@@ -630,6 +694,7 @@
|
||||
// 使用pjax的事件来处理导航切换
|
||||
$(document).on("pjax:complete", function () {
|
||||
setActiveNavItem()
|
||||
toggleFooter()
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
||||
@@ -11,6 +11,9 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
/* 主要内容区域 */
|
||||
.oa-main-content {
|
||||
margin: 0 auto;
|
||||
padding-bottom: 20px;
|
||||
background: url(/assets/platform/img/v4/home-bg.png);
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* 背景图和搜索统计区域容器 */
|
||||
@@ -52,14 +55,6 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
padding: 40px;
|
||||
}
|
||||
|
||||
.oa-search-title {
|
||||
color: white;
|
||||
font-size: 48px;
|
||||
font-weight: 300;
|
||||
margin-bottom: 20px;
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.oa-search-container {
|
||||
display: flex;
|
||||
max-width: 600px;
|
||||
@@ -99,7 +94,7 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
|
||||
.oa-stats-title {
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 15px 0;
|
||||
text-align: left;
|
||||
@@ -113,45 +108,90 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
}
|
||||
|
||||
.oa-stat-card {
|
||||
background: white;
|
||||
padding: 20px 15px;
|
||||
text-align: center;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
transition: all 0.2s ease;
|
||||
border: none;
|
||||
background: #ffffff;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
border: 1px solid rgba(255, 255, 255, 0.8);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.oa-stat-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 4px;
|
||||
background: linear-gradient(90deg, #4a90e2, #357abd);
|
||||
transform: scaleX(0);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.oa-stat-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.oa-stat-card:hover::before {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
|
||||
.oa-stat-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.oa-stat-icon {
|
||||
display: none;
|
||||
font-size: 28px;
|
||||
color: #4a90e2;
|
||||
flex-shrink: 0;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.oa-stat-card:hover .oa-stat-icon {
|
||||
transform: scale(1.1);
|
||||
color: #357abd;
|
||||
}
|
||||
|
||||
.oa-stat-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.oa-stat-number {
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
color: #4a90e2;
|
||||
margin-bottom: 8px;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: #2c3e50;
|
||||
line-height: 1;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.oa-stat-card:hover .oa-stat-number {
|
||||
color: #4a90e2;
|
||||
}
|
||||
|
||||
.oa-stat-label {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 1.2;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
text-align: left;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
/* 待办中心 */
|
||||
.oa-todo-section {
|
||||
/* 活动中心 */
|
||||
.oa-box-1-section {
|
||||
display: grid;
|
||||
grid-template-columns: 300px 1fr;
|
||||
grid-template-columns: 400px 1fr;
|
||||
gap: 30px;
|
||||
border-radius: 12px;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
width: 1500px;
|
||||
margin: 20px auto 0;
|
||||
@@ -166,10 +206,10 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-height: 410px;
|
||||
}
|
||||
|
||||
.oa-user-panel::before {
|
||||
@@ -215,25 +255,40 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.oa-user-id {
|
||||
font-size: 13px;
|
||||
opacity: 0.9;
|
||||
margin-bottom: 20px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: 5px 12px;
|
||||
border-radius: 15px;
|
||||
backdrop-filter: blur(5px);
|
||||
}
|
||||
|
||||
.oa-user-info {
|
||||
font-size: 12px;
|
||||
opacity: 0.8;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 20px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.oa-user-info .info-item {
|
||||
margin-bottom: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 1.6;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.oa-user-panel .info-label {
|
||||
font-weight: 600;
|
||||
margin-right: 8px;
|
||||
flex-shrink: 0;
|
||||
min-width: 50px;
|
||||
max-width: 60px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.oa-user-panel .info-value {
|
||||
flex: 1;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.oa-user-homepage-btn {
|
||||
@@ -261,180 +316,315 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* 右侧待办列表 */
|
||||
.oa-todo-content {
|
||||
padding: 30px;
|
||||
/* 右侧活动列表 */
|
||||
.oa-activity-content {
|
||||
padding: 20px;
|
||||
background: #ffffff;
|
||||
max-height: 410px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0; /* 允许flex子项收缩 */
|
||||
overflow: hidden; /* 防止内容溢出 */
|
||||
}
|
||||
|
||||
.oa-todo-header {
|
||||
.oa-activity-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
border-bottom: 1px solid #eee;
|
||||
padding-bottom: 15px;
|
||||
flex-shrink: 0; /* 防止头部被压缩 */
|
||||
}
|
||||
|
||||
.oa-todo-tabs {
|
||||
.oa-activity-tabs {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.oa-todo-tab {
|
||||
padding: 8px 16px;
|
||||
background: #f0f0f0;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
.oa-activity-tab {
|
||||
padding: 10px 0;
|
||||
font-size: 20px;
|
||||
color: #666;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
transition: background 0.3s;
|
||||
transition: color 0.3s ease;
|
||||
position: relative;
|
||||
background: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.oa-todo-tab.active {
|
||||
.oa-activity-tab:hover {
|
||||
color: #4a90e2;
|
||||
}
|
||||
|
||||
.oa-activity-tab.active {
|
||||
color: #4a90e2;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.oa-activity-tab.active::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 2px;
|
||||
background: #4a90e2;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
|
||||
/* 活动轮播样式 */
|
||||
.oa-activity-carousel {
|
||||
flex: 1;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.oa-activity-carousel .el-carousel,.oa-activity-carousel .el-carousel .el-carousel__container {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.oa-activity-carousel .el-carousel__item {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.oa-activity-card {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.oa-activity-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.oa-activity-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.oa-activity-card:hover .oa-activity-image img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* 图片上的文字叠加层 */
|
||||
.oa-activity-overlay {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
|
||||
padding: 40px 20px 20px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.oa-todo-actions {
|
||||
.oa-activity-title {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
margin-bottom: 8px;
|
||||
line-height: 1.4;
|
||||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.oa-activity-meta {
|
||||
font-size: 14px;
|
||||
color: white;
|
||||
margin-bottom: 15px;
|
||||
line-height: 1.5;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* 无活动时的提示区域 */
|
||||
.oa-no-activity {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
font-size: 12px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
background: #f8f9fa;
|
||||
border-radius: 12px;
|
||||
color: #6c757d;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.oa-todo-actions span {
|
||||
color: #666;
|
||||
cursor: pointer;
|
||||
.oa-no-activity-icon {
|
||||
font-size: 48px;
|
||||
margin-bottom: 16px;
|
||||
color: #dee2e6;
|
||||
}
|
||||
|
||||
.oa-todo-list {
|
||||
list-style: none;
|
||||
.oa-no-activity-title {
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 8px;
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
.oa-todo-item {
|
||||
.oa-no-activity-desc {
|
||||
font-size: 14px;
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
/* box2 - 系统通知公告 */
|
||||
.oa-box-2-section {
|
||||
width: 1500px;
|
||||
margin: 30px auto 0;
|
||||
background: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.oa-notice-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 15px 0;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
padding: 20px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.oa-todo-item:last-child {
|
||||
border-bottom: none;
|
||||
.oa-notice-header-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.oa-todo-info {
|
||||
flex: 1;
|
||||
.oa-notice-header-content::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 2px;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.oa-todo-title {
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.oa-todo-meta {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.oa-todo-date {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
@media (max-width: 768px) {
|
||||
.oa-nav {
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.oa-nav-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.oa-search-stats-section {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 30px;
|
||||
width: 90%;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.oa-search-section {
|
||||
text-align: center;
|
||||
padding: 30px 20px;
|
||||
}
|
||||
|
||||
.oa-search-title {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.oa-stats-section {
|
||||
padding: 0;
|
||||
margin: 0 10px 15px 10px;
|
||||
}
|
||||
|
||||
.oa-stats-title {
|
||||
font-size: 16px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.oa-stats-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.oa-stat-card {
|
||||
padding: 15px 10px;
|
||||
}
|
||||
|
||||
.oa-stat-number {
|
||||
.oa-notice-header-icon {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.oa-stat-label {
|
||||
.oa-notice-header-title {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.oa-notice-header-more {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.oa-header-more-btn {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 4px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.oa-header-more-btn:hover {
|
||||
background: #f5f5f5;
|
||||
color: #4a90e2;
|
||||
}
|
||||
|
||||
.oa-header-more-btn i {
|
||||
font-size: 12px;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.oa-todo-section {
|
||||
grid-template-columns: 1fr;
|
||||
.oa-header-more-btn:hover i {
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.oa-user-panel {
|
||||
padding: 20px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
.oa-notice-content {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.oa-user-avatar {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
font-size: 28px;
|
||||
margin-bottom: 12px;
|
||||
.oa-notice-list {
|
||||
display: grid;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.oa-user-name {
|
||||
font-size: 18px;
|
||||
margin-bottom: 6px;
|
||||
.oa-notice-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
padding: 15px 20px;
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
transition: all 0.2s ease;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.oa-user-id {
|
||||
font-size: 12px;
|
||||
margin-bottom: 15px;
|
||||
padding: 4px 10px;
|
||||
.oa-notice-item:hover {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.oa-user-info {
|
||||
font-size: 11px;
|
||||
padding: 12px;
|
||||
margin-bottom: 15px;
|
||||
.oa-notice-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.oa-user-homepage-btn {
|
||||
padding: 8px 16px;
|
||||
font-size: 13px;
|
||||
.oa-notice-item-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #666;
|
||||
margin-right: 12px;
|
||||
margin-top: 2px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.oa-notice-item-content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.oa-notice-item-title {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
margin-bottom: 8px;
|
||||
line-height: 1.4;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.oa-notice-item-desc {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
line-height: 1.5;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.oa-notice-item-date {
|
||||
margin-left: 15px;
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="oa-container" id="v4-home-app">
|
||||
@@ -458,41 +648,50 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
<div class="oa-search-section">
|
||||
<!-- <h1 class="oa-search-title">精业济群</h1>-->
|
||||
<div class="oa-search-container">
|
||||
<input type="text" class="oa-search-input" placeholder="请输入您要查询的关键字" v-model="searchQuery" />
|
||||
<input type="text" class="oa-search-input" placeholder="请输入您要查询的关键字"
|
||||
v-model="searchQuery" />
|
||||
<button class="oa-search-btn" @click="performSearch">搜索</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 数字提醒 -->
|
||||
<div class="oa-stats-section">
|
||||
<h3 class="oa-stats-title">数字提醒</h3>
|
||||
<h3 class="oa-stats-title">提醒</h3>
|
||||
<div class="oa-stats-grid">
|
||||
<div class="oa-stat-card">
|
||||
<div class="oa-stat-card" @click="handleStatClick('todo')">
|
||||
<div class="oa-stat-top">
|
||||
<div class="oa-stat-icon">
|
||||
<i class="fa fa-clock-o"></i>
|
||||
</div>
|
||||
<div class="oa-stat-number">{{ stats.pending }}</div>
|
||||
<div class="oa-stat-number">{{ stats.todo }}</div>
|
||||
</div>
|
||||
<div class="oa-stat-label">待办</div>
|
||||
</div>
|
||||
<div class="oa-stat-card">
|
||||
<div class="oa-stat-card" @click="handleStatClick('done')">
|
||||
<div class="oa-stat-top">
|
||||
<div class="oa-stat-icon">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
</div>
|
||||
<div class="oa-stat-number">{{ stats.completed }}</div>
|
||||
<div class="oa-stat-number">{{ stats.done }}</div>
|
||||
</div>
|
||||
<div class="oa-stat-label">已办</div>
|
||||
</div>
|
||||
<div class="oa-stat-card">
|
||||
<div class="oa-stat-card" @click="handleStatClick('notification')">
|
||||
<div class="oa-stat-top">
|
||||
<div class="oa-stat-icon">
|
||||
<i class="fa fa-bell"></i>
|
||||
</div>
|
||||
<div class="oa-stat-number">{{ stats.notifications }}</div>
|
||||
<div class="oa-stat-label">消息通知</div>
|
||||
</div>
|
||||
<div class="oa-stat-card">
|
||||
<div class="oa-stat-label">消息</div>
|
||||
</div>
|
||||
<div class="oa-stat-card" @click="handleStatClick('started')">
|
||||
<div class="oa-stat-top">
|
||||
<div class="oa-stat-icon">
|
||||
<i class="fa fa-file-text"></i>
|
||||
</div>
|
||||
<div class="oa-stat-number">{{ stats.applications }}</div>
|
||||
<div class="oa-stat-number">{{ stats.started }}</div>
|
||||
</div>
|
||||
<div class="oa-stat-label">申请</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -500,107 +699,186 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 待办中心 -->
|
||||
<div class="oa-todo-section">
|
||||
<!-- box1 -->
|
||||
<div class="oa-box-1-section">
|
||||
<!-- 左侧用户信息 -->
|
||||
<div class="oa-user-panel">
|
||||
<div class="oa-user-avatar">
|
||||
<i class="fa fa-user"></i>
|
||||
</div>
|
||||
<div class="oa-user-name">李学生</div>
|
||||
<div class="oa-user-id">1019918454 工学工程人员</div>
|
||||
<div class="oa-user-name">${@auth.getPrincipalProperty('username')}</div>
|
||||
<div class="oa-user-info">
|
||||
单位信息:教师工
|
||||
<br />
|
||||
登录人员:1019918454
|
||||
<br />
|
||||
上次登录:2005-04-01 16:54:47
|
||||
<div class="info-item">
|
||||
<span class="info-label">工号:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('loginname')}</span>
|
||||
</div>
|
||||
<a href="#" class="oa-user-homepage-btn">
|
||||
<div class="info-item">
|
||||
<span class="info-label">性别:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('sex')}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">单位:</span>
|
||||
<span class="info-value">
|
||||
<!--#if(!isEmpty(@auth.getPrincipalProperty('unit'))){#-->
|
||||
${@auth.getPrincipalProperty('unit').getName()}
|
||||
<!--#}#-->
|
||||
</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">工会:</span>
|
||||
<span class="info-value">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<a href="/platform/v4/personCenter" class="oa-user-homepage-btn" target="_blank">
|
||||
<i class="fa fa-home"></i>
|
||||
个人主页
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- 右侧待办内容 -->
|
||||
<div class="oa-todo-content">
|
||||
<div class="oa-todo-header">
|
||||
<div class="oa-todo-tabs">
|
||||
<button class="oa-todo-tab" :class="{active: activeTab === 'pending'}" @click="setActiveTab('pending')">待办事务</button>
|
||||
<button class="oa-todo-tab" :class="{active: activeTab === 'completed'}" @click="setActiveTab('completed')">已办事务</button>
|
||||
<button class="oa-todo-tab" :class="{active: activeTab === 'initiated'}" @click="setActiveTab('initiated')">我发起的</button>
|
||||
<button class="oa-todo-tab" :class="{active: activeTab === 'internal'}" @click="setActiveTab('internal')">内部事务</button>
|
||||
<!-- 右侧活动列表 -->
|
||||
<div class="oa-activity-content">
|
||||
<div class="oa-activity-header">
|
||||
<div class="oa-activity-tabs">
|
||||
<div class="oa-activity-tab" :class="{active: activeTab === 'recent'}"
|
||||
@click="setActiveTab('recent')">最新活动
|
||||
</div>
|
||||
<div class="oa-activity-tab" :class="{active: activeTab === 'history'}"
|
||||
@click="setActiveTab('history')">历史活动
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oa-activity-carousel">
|
||||
<div v-if="currentActivityList.length === 0" class="oa-no-activity">
|
||||
<div class="oa-no-activity-icon">
|
||||
<i class="fa fa-calendar-o"></i>
|
||||
</div>
|
||||
<div class="oa-no-activity-title">暂无活动信息</div>
|
||||
<div class="oa-no-activity-desc">{{ activeTab === 'recent' ? '当前没有最新活动' : '当前没有历史活动'
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
<el-carousel v-else :autoplay="true" arrow="always" indicator-position="none">
|
||||
<el-carousel-item v-for="activity in currentActivityList" :key="activity.id">
|
||||
<div class="oa-activity-card">
|
||||
<div class="oa-activity-image">
|
||||
<img
|
||||
src="https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=800&auto=format&fit=crop"
|
||||
:alt="activity.name" />
|
||||
<div class="oa-activity-overlay">
|
||||
<div class="oa-activity-title">{{ activity.name }}</div>
|
||||
<div class="oa-activity-meta">{{ activity.startDate }} ~ {{ activity.endDate
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-carousel-item>
|
||||
</el-carousel>
|
||||
</div>
|
||||
<div class="oa-todo-actions">
|
||||
<span>发起人</span>
|
||||
<span>发起日期</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="oa-todo-list">
|
||||
<li class="oa-todo-item" v-for="item in currentTodoList" :key="item.id">
|
||||
<div class="oa-todo-info">
|
||||
<div class="oa-todo-title">{{ item.title }}</div>
|
||||
<div class="oa-todo-meta">{{ item.type }} | {{ item.description }}</div>
|
||||
<!-- box2 - 系统通知公告 -->
|
||||
<div class="oa-box-2-section">
|
||||
<div class="oa-notice-header">
|
||||
<div class="oa-notice-header-content">
|
||||
<div class="oa-notice-header-icon">
|
||||
<i class="fa fa-bullhorn"></i>
|
||||
</div>
|
||||
<h2 class="oa-notice-header-title">系统通知公告</h2>
|
||||
</div>
|
||||
<div class="oa-notice-header-more">
|
||||
<button class="oa-header-more-btn">
|
||||
更多
|
||||
<i class="fa fa-angle-right"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oa-notice-content">
|
||||
<div class="oa-notice-list">
|
||||
<div v-for="notice in noticeList" :key="notice.id" class="oa-notice-item" @click="viewNotice(notice)">
|
||||
<div class="oa-notice-item-icon">
|
||||
<i class="fa fa-bullhorn"></i>
|
||||
</div>
|
||||
<div class="oa-notice-item-content">
|
||||
<div class="oa-notice-item-title">{{ notice.title }}</div>
|
||||
<div class="oa-notice-item-desc">{{ notice.content }}</div>
|
||||
</div>
|
||||
<div class="oa-notice-item-date">{{ notice.publishDate }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oa-todo-date">{{ item.date }}</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
const vue = new Vue({
|
||||
el: "#v4-home-app",
|
||||
data() {
|
||||
return {
|
||||
searchQuery: "",
|
||||
activeTab: "pending",
|
||||
activeTab: "recent",
|
||||
noticeTab: "system",
|
||||
currentIndex: 0,
|
||||
stats: {
|
||||
pending: 3,
|
||||
completed: 0,
|
||||
todo: 3,
|
||||
done: 0,
|
||||
notifications: 7,
|
||||
applications: 9
|
||||
started: 9
|
||||
},
|
||||
todoLists: {
|
||||
pending: [
|
||||
activityList: [],
|
||||
noticeList: [
|
||||
{
|
||||
id: 1,
|
||||
title: "关于中科大教师岗位聘任经费管理办法的通知",
|
||||
type: "校办OA",
|
||||
description: "关于中科大教师岗位聘任经费管理办法的通知 (2024-08-11 15:46)",
|
||||
date: "2025-07-01"
|
||||
type: 'system',
|
||||
title: '系统维护通知',
|
||||
content: '系统将于本周六晚上22:00-24:00进行例行维护,期间可能影响正常使用,请提前做好相关准备。',
|
||||
publishDate: '2024-01-15',
|
||||
isRead: false
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "关于印发《中国科技大学岗位聘任经费管理办法》的通知",
|
||||
type: "校办OA",
|
||||
description: "关于印发《中国科技大学岗位聘任经费管理办法》的通知",
|
||||
date: "2025-06-17"
|
||||
type: 'announcement',
|
||||
title: '新功能上线公告',
|
||||
content: '移动端应用已正式上线,支持手机端办公审批,欢迎大家下载使用。',
|
||||
publishDate: '2024-01-14',
|
||||
isRead: true
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "临时人员人事档案管理办法(学字 2022-03-21 16:21)",
|
||||
type: "校办OA",
|
||||
description: "临时人员人事档案管理办法",
|
||||
date: "2025-03-21"
|
||||
}
|
||||
],
|
||||
completed: [],
|
||||
initiated: [],
|
||||
internal: []
|
||||
type: 'urgent',
|
||||
title: '紧急安全提醒',
|
||||
content: '近期发现钓鱼邮件攻击,请勿点击可疑链接,如有疑问请联系IT部门。',
|
||||
publishDate: '2024-01-13',
|
||||
isRead: false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
currentTodoList() {
|
||||
return this.todoLists[this.activeTab] || []
|
||||
recentActivities() {
|
||||
const now = new Date()
|
||||
return this.activityList
|
||||
.filter(activity => new Date(activity.endDate) >= now)
|
||||
.sort((a, b) => new Date(b.startDate) - new Date(a.startDate))
|
||||
},
|
||||
historyActivities() {
|
||||
const now = new Date()
|
||||
return this.activityList
|
||||
.filter(activity => new Date(activity.endDate) < now)
|
||||
.sort((a, b) => new Date(b.startDate) - new Date(a.startDate))
|
||||
},
|
||||
currentActivityList() {
|
||||
return this.activeTab === "recent" ? this.recentActivities : this.historyActivities
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// 初始化数据
|
||||
this.getActivity()
|
||||
this.getStatistics()
|
||||
},
|
||||
methods: {
|
||||
performSearch() {
|
||||
@@ -611,9 +889,45 @@ layout("/layouts/v4/baseLayout.html"){
|
||||
},
|
||||
setActiveTab(tab) {
|
||||
this.activeTab = tab
|
||||
this.currentIndex = 0 // 切换标签时重置索引
|
||||
},
|
||||
getActivity() {
|
||||
$.get("/platform/home/listHomeActivity").then((res) => {
|
||||
if (res.code === 0) {
|
||||
this.activityList = res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
viewNotice(notice) {
|
||||
console.log('查看通知:', notice.title)
|
||||
// 标记为已读
|
||||
notice.isRead = true
|
||||
// 这里可以添加查看详情的逻辑
|
||||
},
|
||||
|
||||
handleStatClick(val){
|
||||
if(['todo', 'done', 'application']){
|
||||
window.open('/flow/todoCenter?status=' + val)
|
||||
}
|
||||
},
|
||||
async getStatistics() {
|
||||
try {
|
||||
const res = await $.post("/flow/todoCenter/statistics")
|
||||
if (res.code === 0) {
|
||||
const { todoCount, doneCount, startedCount } = res.data
|
||||
this.stats.todo = todoCount
|
||||
this.stats.done = doneCount
|
||||
this.stats.started = startedCount
|
||||
}
|
||||
} catch (error) {
|
||||
this.$message.error("获取统计数据失败")
|
||||
console.error("获取统计数据失败:", error)
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<!--#}#-->
|
||||
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
<!--#
|
||||
layout("/layouts/v4/baseLayout.html"){
|
||||
#-->
|
||||
|
||||
<style>
|
||||
#v4-person-center {
|
||||
padding-top: 10px;
|
||||
background: url(/assets/platform/img/v4/home-bg.png);
|
||||
background-size: cover;
|
||||
min-height: calc(100vh - 64px);
|
||||
}
|
||||
|
||||
.v-person-center-container {
|
||||
width: 1500px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.v4-person-basic-info {
|
||||
height: 150px;
|
||||
background: url("/assets/platform/img/v4/person-center/img1.png");
|
||||
background-size: cover;
|
||||
padding: 20px 50px 30px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.v4-person-basic-info .info_img {
|
||||
width: 72px;
|
||||
height: 100px;
|
||||
margin-right: 40px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.v4-person-basic-info .info_img img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.v4-person-basic-info .info_grid {
|
||||
flex: 1;
|
||||
display: grid;
|
||||
/*三行三列*/
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.v4-person-basic-info .info_grid .info-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px 12px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.v4-person-basic-info .info_grid .info-label {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
min-width: 80px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.v4-person-basic-info .info_grid .info-value {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div id="v4-person-center">
|
||||
<div class="v-person-center-container">
|
||||
<!--个人基本信息-->
|
||||
<div class="v4-person-basic-info">
|
||||
<div class="info_img">
|
||||
<img
|
||||
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAADICAYAAAAHm2giAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA1TSURBVHgB7Z3bchtZFYa3zifLY9mJM/EkEJJMgEkxVFFUDZe545oHoCpvMjwCbwAXvMXcwBVFFUPBVIWZhEnI0Tk4siW1pNZZ7L+tNrYi2XJvdffa8v+lFCtxnNLh01prr71778R4PL7hDvt/eNVx7nWGQ0XIWeRTKXW7tPlHffd3af3bl3968eBefdBVhCzKldya+u31u79Pf9/avw95fnPjJ2otnVWEnMYbt6m+evVEvek07+k//jPppy3KQxZhypNaUhFiAAUiRlAgYgQFIkZQIGIEBSJGUCBiBAUiRlAgYgQFIkZQIGIEBSJGUCBiBAUiRlAgYgQFIkZQIGIEBSJGUCBiBAUiRlAgYgQFIkZQIGIEBSJGUCB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JgtEV5zua5zi4PDs633/WZEciXB91jG2nrlNUR3siUxK57eHnU3cpiZ5+dGYGeNg6slAfTE86gS3kCAIke6gbkIpwqEC7YQ1fZNgaTua1V7DBHBdLZs9bZWxnPFajaaUe+gcEyQMrCdry2zm1J4lG9eubVLDMFQpNw1zJ5EHXqgw5T1pL5t244nnZp00yB0OuBRDaAno4fdWzsTUkHfaLTekQfCITUZUvdgx3ja0MWymGDemheKvtAIBtS12Aywmrr3g67ytHwZE4UOtEHQvSRnLogjrui63ekg4lXRKHp/ZhORCCJ0QcRBssuarpARp1DeeJjVhQ6ikDSog+iTU+L09VfmaZk4EWh3sla6JhA59+9YtlQGvns6UBzHE+gvh7F7HXb3kr+KI+URrOvNx6q4UiLoyiNDbxxD9eBJdXhGSaeQI1+15ux9sloiXDISXIiFP5x0uDQE4iBygXnbA0nl/MM1JjCWAg+9F3tSiF1uDGFJ1BzcHKZBgrVvvfenqyJIFFqYp5v4CzG3m3snavl3acoKwWW9RwJhIjQXnC2feRFEspw0XF0wPEXeyS7lkxZEDmgZu5Puv/JHvsqJADtyYUJ3J2DBKI/PAw8FIgEwt98nQKRQAzHjEDEgKMiWhESAEYgshQoEDGCAhEjKBAxggIRIygQMYICESMoEDGCAhEjKBAxggIRIygQMYICESMoEDGCAhEjKBAxggIRIygQMYICESMoEDGCAhEjKBAxggIRIygQMYICESMoEDGCAhEjKBAxggIRIygQMYICESMoEDGCAhEjKBAxggIRIygQMSJZSh0eGYYDbAk5i8Fkd9bRWLX0l4307bWtP29lC/f++u6FImRRNjPFff2llhiPxzf0nS//UXtzv80oRBagqLPWpzrwlNOZ+/8D/6fmMqwYxpEAAAAASUVORK5CYII=">
|
||||
</div>
|
||||
<div class="info_grid">
|
||||
<div class="info-item">
|
||||
<span class="info-label">姓名:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('username')}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">籍贯:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('nativePlace')}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">出生日期:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('birthday')}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">性别:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('sex')}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">年龄:</span>
|
||||
<span class="info-value">46</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">政治面貌:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('political')}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">民族:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('nation')}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">身份证:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('idCard')}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">电话:</span>
|
||||
<span class="info-value">${@auth.getPrincipalProperty('mobile')}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
el: "#v4-person-center",
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
<!--#
|
||||
}
|
||||
#-->
|
||||
Reference in New Issue
Block a user