8a50671c39
2. 修改合同重新上传模板的可接受文件类型,修改对接的上传模板对应的接口。 3. 交叉评查任务列表去除任务名称的点击效果。 4. 交叉评查文件预览在点击完成评查的按钮后会返回任务列表并打开任务的文档列表。 5.修复点击完成评查按钮造成页面刷新。 6. 修复创建任务的第3步无法返回列表。
346 lines
6.0 KiB
CSS
346 lines
6.0 KiB
CSS
/* 主页样式 */
|
|
.home-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
/* height: 100%; */
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
/* 头部样式 */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem 1rem;
|
|
background-color: white;
|
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
|
|
z-index: 1;
|
|
}
|
|
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
height: 60px;
|
|
margin-right: 0.15rem;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 1.8rem;
|
|
font-weight: 800;
|
|
color: #333;
|
|
}
|
|
|
|
.logo-text-en {
|
|
margin-top: -0.2rem;
|
|
font-size: 0.85rem;
|
|
color: #666;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05rem;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.datetime {
|
|
font-size:1rem;
|
|
color: #666;
|
|
}
|
|
|
|
.user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.avatar {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.username {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
/* 主要内容区域 */
|
|
.index-main-content {
|
|
height: 100%;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
background-color: #f0f7f4;
|
|
background-image: url('/images/主页背景-min.png');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.index-main-content-container {
|
|
padding: 2rem 0;
|
|
margin: 0 auto;
|
|
width: 90%;
|
|
max-width: 1200px;
|
|
transform: translateY(-7rem);
|
|
}
|
|
.welcome-text {
|
|
font-size: 1.95rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
margin-bottom: 5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.modules-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.module-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 1.5rem;
|
|
padding: 0 2rem;
|
|
height: 136px;
|
|
width: 290px;
|
|
background: linear-gradient(180deg, #ebf1f7 0%, #ffffff 100%);
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.module-card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: #269b6c;
|
|
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* .contract-icon {
|
|
background-image: url('/images/contract-icon.svg');
|
|
}
|
|
|
|
.review-icon {
|
|
background-image: url('/images/review-icon.svg');
|
|
}
|
|
|
|
.ai-icon {
|
|
background-image: url('/images/ai-icon.svg');
|
|
} */
|
|
|
|
.module-name {
|
|
font-size: 1.25rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
|
|
.mountains-bg {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url('/images/mountains-bg.svg');
|
|
background-position: center bottom;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.logout-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.5rem;
|
|
background: transparent;
|
|
border: none;
|
|
color: #666;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.logout-button:hover {
|
|
background-color: rgba(0, 104, 74, 0.05);
|
|
color: #00684a;
|
|
}
|
|
|
|
.logout-button i {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
/* ===== 移动端响应式样式 ===== */
|
|
@media (max-width: 768px) {
|
|
/* 头部样式调整 */
|
|
.header {
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
|
|
.logo {
|
|
height: 40px;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.logo-text-en {
|
|
font-size: 0.65rem;
|
|
margin-top: -0.15rem;
|
|
}
|
|
|
|
/* 隐藏日期时间以节省空间 */
|
|
.datetime {
|
|
display: none;
|
|
}
|
|
|
|
.user-info {
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.username {
|
|
display: none; /* 移动端隐藏用户名,只显示头像 */
|
|
}
|
|
|
|
.avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
|
|
/* 主内容区域调整 */
|
|
.index-main-content {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.index-main-content-container {
|
|
width: 95%;
|
|
padding: 1rem 0;
|
|
transform: translateY(-2rem);
|
|
}
|
|
|
|
.welcome-text {
|
|
font-size: 1.3rem;
|
|
margin-bottom: 2.5rem;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
/* 模块容器改为纵向排列 */
|
|
.modules-container {
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
margin-bottom: 1.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
/* 模块卡片调整 */
|
|
.module-card {
|
|
width: 100%;
|
|
max-width: 340px;
|
|
height: 100px;
|
|
padding: 0 1.5rem;
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.module-card img {
|
|
width: 48px !important;
|
|
height: 48px !important;
|
|
}
|
|
|
|
.module-name {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.logout-button {
|
|
padding: 0.4rem;
|
|
}
|
|
|
|
.logout-button i {
|
|
font-size: 1.15rem;
|
|
}
|
|
}
|
|
|
|
/* 超小屏幕 (手机竖屏) */
|
|
@media (max-width: 480px) {
|
|
.header {
|
|
padding: 0.4rem 0.5rem;
|
|
}
|
|
|
|
.logo {
|
|
height: 36px;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.logo-text-en {
|
|
font-size: 0.6rem;
|
|
}
|
|
|
|
.welcome-text {
|
|
font-size: 1.15rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.module-card {
|
|
max-width: 300px;
|
|
height: 90px;
|
|
padding: 0 1.25rem;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.module-card img {
|
|
width: 42px !important;
|
|
height: 42px !important;
|
|
}
|
|
|
|
.module-name {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.modules-container {
|
|
gap: 1rem;
|
|
}
|
|
}
|
|
|
|
/* 平板横屏 */
|
|
@media (min-width: 769px) and (max-width: 1024px) {
|
|
.index-main-content-container {
|
|
width: 85%;
|
|
transform: translateY(-5rem);
|
|
}
|
|
|
|
.modules-container {
|
|
gap: 2rem;
|
|
}
|
|
|
|
.module-card {
|
|
width: 260px;
|
|
height: 120px;
|
|
}
|
|
|
|
.welcome-text {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 4rem;
|
|
}
|
|
} |