+
待办中心
@@ -314,7 +314,7 @@ const todo = {
min-height: 100vh;
padding-bottom: 72px;
box-sizing: border-box;
- background: #f5f7fb;
+ background: #f3f7fd;
}
/deep/ .task-nav .van-nav-bar {
@@ -337,23 +337,23 @@ const todo = {
.task-hero {
position: relative;
- height: 92px;
+ height: 112px;
background-color: #0879f9;
}
.task-statistics {
position: absolute;
- top: 0;
+ top: 8px;
right: 12px;
left: 12px;
display: flex;
- height: 78px;
- padding: 10px 6px 8px;
- box-sizing: border-box;
- border-radius: 10px;
- background: #fff;
- box-shadow: 0 6px 18px rgba(45, 91, 145, 0.14);
+ height: 92px;
+ padding: 12px 6px 10px;
overflow: hidden;
+ box-sizing: border-box;
+ border-radius: 12px;
+ background: #fff;
+ box-shadow: 0 8px 22px rgba(28, 77, 137, 0.2);
}
.statistic-item {
@@ -375,13 +375,13 @@ const todo = {
.statistic-icon {
display: flex;
- width: 24px;
- height: 24px;
+ width: 28px;
+ height: 28px;
align-items: center;
justify-content: center;
border-radius: 50%;
color: #fff;
- font-size: 15px;
+ font-size: 17px;
}
.statistic-icon-todo {
@@ -397,17 +397,17 @@ const todo = {
}
.statistic-count {
- margin-top: 3px;
+ margin-top: 4px;
color: #26364d;
- font-size: 14px;
+ font-size: 16px;
font-weight: 600;
- line-height: 18px;
+ line-height: 20px;
}
.statistic-label {
color: #8d97a7;
font-size: 12px;
- line-height: 15px;
+ line-height: 16px;
}
/* 标签页样式优化 */
@@ -438,7 +438,7 @@ const todo = {
}
/deep/ .task-tabs .van-tab--active {
- color: var(--color-primary, #1989fa);
+ color: #1989fa;
font-size: 16px;
font-weight: 600;
}
@@ -448,7 +448,7 @@ const todo = {
width: 24px;
height: 4px;
border-radius: 4px;
- background-color: var(--color-primary, #1989fa);
+ background-color: #1989fa;
}
/deep/ .task-tabs--hero-replacement {
@@ -468,19 +468,23 @@ const todo = {
display: flex;
padding: 10px 12px;
align-items: center;
- background: #f5f7fb;
+ background: #f3f7fd;
}
.search-form .van-search{
width: 100%;
padding: 0;
- border-radius: 18px;
+ border-radius: 12px;
overflow: hidden;
background: #fff;
+ box-shadow: 0 4px 14px rgba(55, 85, 126, 0.07);
}
/deep/ .search-form .van-search__content {
- border-radius: 18px;
+ height: 42px;
+ padding-left: 13px;
+ align-items: center;
+ border-radius: 12px;
background: #fff;
}
@@ -489,7 +493,7 @@ const todo = {
}
/deep/ .van-sticky--fixed {
- background: #f5f7fb;
+ background: #f3f7fd;
}
.search-input {
@@ -561,24 +565,30 @@ const todo = {
.task-skeleton-card {
margin-bottom: 10px;
- padding: 18px 4px;
- border-radius: 10px;
+ min-height: 196px;
+ padding: 20px 16px;
+ box-sizing: border-box;
+ border-radius: 12px;
background: #fff;
- box-shadow: 0 2px 10px rgba(31, 68, 113, .07);
+ box-shadow: 0 7px 20px rgba(55, 85, 126, 0.06);
+ }
+
+ .task-skeleton-card .van-skeleton {
+ padding: 0;
}
/deep/ .table-list-container {
- min-height: calc(100vh - 140px);
- margin-top: 8px !important;
+ min-height: 0;
+ margin-top: 10px !important;
padding: 0 12px !important;
}
/deep/ .table-list-container .table-list-item {
- margin-bottom: 10px !important;
- padding: 12px !important;
- border: 0 !important;
- border-radius: 9px !important;
- box-shadow: 0 2px 10px rgba(31, 68, 113, 0.07) !important;
+ margin-bottom: 12px !important;
+ padding: 16px !important;
+ border: 1px solid rgba(71, 111, 164, 0.05) !important;
+ border-radius: 12px !important;
+ box-shadow: 0 7px 20px rgba(55, 85, 126, 0.08) !important;
}
/deep/ .todo-item-header {
@@ -586,7 +596,7 @@ const todo = {
min-width: 0;
align-items: center;
justify-content: space-between;
- margin-bottom: 8px;
+ margin-bottom: 12px;
}
/deep/ .todo-item-title {
@@ -598,22 +608,22 @@ const todo = {
/deep/ .todo-title-icon {
display: flex;
- flex: 0 0 24px;
- width: 24px;
- height: 24px;
- margin-right: 8px;
+ flex: 0 0 38px;
+ width: 38px;
+ height: 38px;
+ margin-right: 10px;
align-items: center;
justify-content: center;
- border-radius: 6px;
+ border-radius: 10px;
color: #438df5;
- font-size: 15px;
+ font-size: 21px;
background: #edf5ff;
}
/deep/ .todo-title-text {
overflow: hidden;
color: #26364d;
- font-size: 14px;
+ font-size: 15px;
font-weight: 600;
line-height: 22px;
text-overflow: ellipsis;
@@ -632,7 +642,19 @@ const todo = {
}
/deep/ .table-column {
- padding: 3px 0 !important;
+ display: grid !important;
+ width: 100% !important;
+ padding: 4px 0 !important;
+ align-items: center;
+ grid-template-columns: 72px minmax(0, 1fr);
+ column-gap: 8px;
+ }
+
+ /deep/ .table-list-container .table-list-item .table-list-columns {
+ display: flex;
+ flex-direction: column;
+ flex-wrap: nowrap;
+ row-gap: 2px;
}
/deep/ .table-column .label,
@@ -642,16 +664,36 @@ const todo = {
line-height: 19px !important;
}
+ /deep/ .table-column .label {
+ width: 72px;
+ max-width: none;
+ color: #98a3b3 !important;
+ }
+
+ /deep/ .table-column .value {
+ overflow: hidden;
+ color: #56657a !important;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
+
/deep/ .table-list-container .table-list-item .item-actions {
- margin-top: 8px !important;
- padding-top: 7px !important;
+ margin-top: 12px !important;
+ padding-top: 12px !important;
border-top-color: #edf1f6 !important;
}
/deep/ .table-list-container .table-list-item .action-btn {
- padding: 0 !important;
+ min-width: 92px;
+ height: 32px;
+ padding: 0 14px !important;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ box-sizing: border-box;
+ border-radius: 16px;
color: #2783ef !important;
- background: transparent !important;
+ background: #edf5ff !important;
font-size: 13px !important;
}