@import (reference) 'dingtalk-theme/dingtalk-x/mob.less';
|
|
.flow {
|
&-container {
|
background-color: @common_bg_color;
|
height: calc(100vh - 48px);
|
}
|
|
&-header {
|
margin-bottom: 16px;
|
}
|
|
&-title {
|
font-size: 18px;
|
margin: 0;
|
padding: 8px 0;
|
font-weight: bold;
|
}
|
|
&-tab-container {
|
background-color: #ffffff;
|
position: sticky;
|
top: 44px;
|
z-index: 10;
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
|
}
|
|
&-loading {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
min-height: 200px;
|
color: @common_level2_base_color;
|
font-size: 15px;
|
}
|
|
&-content {
|
background-color: @common_bg_z1_color;
|
border-radius: 8px;
|
padding: 16px;
|
margin: 12px;
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
|
}
|
|
&-progress {
|
background-color: @common_bg_z1_color;
|
border-radius: 8px;
|
padding: 16px;
|
margin: 12px;
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
|
|
&-item {
|
position: relative;
|
padding-left: 20px;
|
padding-bottom: 24px;
|
|
&:last-child {
|
padding-bottom: 0;
|
}
|
|
&:not(:last-child)::before {
|
content: '';
|
position: absolute;
|
top: 16px;
|
left: 7px;
|
width: 1px;
|
height: calc(100% - 16px);
|
background-color: #e8e8e8;
|
}
|
}
|
|
&-dot {
|
position: absolute;
|
left: 0;
|
top: 6px;
|
width: 14px;
|
height: 14px;
|
border-radius: 50%;
|
background-color: #e8e8e8;
|
border: 2px solid @common_bg_z1_color;
|
}
|
|
&-content {
|
padding-left: 12px;
|
}
|
|
&-title {
|
font-size: 16px;
|
line-height: 24px;
|
font-weight: 500;
|
}
|
|
&-time {
|
font-size: 14px;
|
line-height: 20px;
|
color: @common_level2_base_color;
|
margin-top: 4px;
|
}
|
|
&-done {
|
.flow-progress-dot {
|
background-color: #52c41a;
|
}
|
}
|
|
&-process {
|
.flow-progress-dot {
|
background-color: #1A6FB8;
|
}
|
|
.flow-progress-title {
|
color: #1A6FB8;
|
}
|
}
|
|
&-wait {
|
.flow-progress-dot {
|
background-color: #d9d9d9;
|
}
|
|
.flow-progress-title {
|
color: @common_level2_base_color;
|
}
|
}
|
}
|
|
&-empty {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
min-height: 200px;
|
color: @common_level2_base_color;
|
font-size: 16px;
|
}
|
|
&-footer {
|
margin-top: 24px;
|
padding: 0 8px;
|
}
|
|
&-tab-container {
|
& .dtm-tab-item-text {
|
font-size: 16px;
|
}
|
& .dtm-tab-item-text--active {
|
color: #1A6FB8 !important;
|
}
|
& .dtm-tab-item-active-line {
|
background-color: #1A6FB8 !important;
|
}
|
& .dtm-tab-scroll-container {
|
// 文字不能折行超出部分继续在右侧,可以滚动查看
|
white-space: nowrap;
|
overflow-x: auto;
|
text-overflow: ellipsis;
|
}
|
}
|
|
&-bottom-button {
|
position: fixed;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
background-color: #ffffff;
|
padding: 12px 12px;
|
}
|
}
|
|
/* 自定义标签栏样式 */
|
.custom-tab-bar {
|
display: flex;
|
width: 100%;
|
height: 44px;
|
background-color: #ffffff;
|
align-items: center;
|
justify-content: space-around;
|
border-bottom: 1px solid #f5f5f5;
|
}
|
|
.custom-tab {
|
flex: 1;
|
height: 44px;
|
line-height: 44px;
|
text-align: center;
|
font-size: 15px;
|
color: #666666;
|
transition: all 0.3s;
|
position: relative;
|
|
&-active {
|
color: #1A6FB8 !important;
|
font-weight: 500;
|
|
&::after {
|
content: '';
|
position: absolute;
|
bottom: 0;
|
left: 50%;
|
width: 40px;
|
height: 3px;
|
background-color: #1A6FB8;
|
transform: translateX(-50%);
|
border-radius: 2px;
|
}
|
}
|
}
|
|
.joint-handle-dept-tags {
|
display: flex;
|
flex-wrap: wrap;
|
gap: 8px;
|
padding: 8px 0;
|
|
.user-tag {
|
margin: 0;
|
}
|
}
|