You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
434 lines
8.4 KiB
434 lines
8.4 KiB
.cc-page-wrap {
|
|
padding: 16px 20px 100px 20px;
|
|
}
|
|
|
|
// 查询类型行
|
|
.cc-query-dropdowns {
|
|
height: 48px;
|
|
// padding: 0 20px;
|
|
background: #fff;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
uni-picker {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.uni-picker {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.dropdown {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
color: #595959;
|
|
image {
|
|
flex-shrink: 0;
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-left: 8px;
|
|
margin-top: 4px;
|
|
}
|
|
.d-text {
|
|
max-width: 100px;
|
|
white-space:nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 检索样式
|
|
.cc-search {
|
|
padding: 12px 25px;
|
|
background: #fff;
|
|
border-top: 1px solid #f0f0f0;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
.search-box {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 16px;
|
|
background: #f7f8fa;
|
|
border-radius: 8px;
|
|
input {
|
|
width: 100%;
|
|
border: none;
|
|
border-radius: 5px;
|
|
padding-left: 13px;
|
|
}
|
|
image {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.cc-tabs {
|
|
height: 48px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
background-color: #fff;
|
|
.tab {
|
|
flex: 1;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
color: #595959;
|
|
cursor: pointer;
|
|
&.active {
|
|
color: #00B39D;
|
|
.tab-text {
|
|
position: relative;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 3px;
|
|
background: #00B39D;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.uni-card {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
// 卡片
|
|
.cc-card {
|
|
padding: 16px 20px;
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
// box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0px 2px 8px 0px #0000000F;
|
|
margin-bottom: 16px;
|
|
&:nth-last-child(1) {
|
|
margin-bottom: 0;
|
|
}
|
|
.card-header {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #262626;
|
|
padding-bottom: 16px;
|
|
}
|
|
// background-color: white;
|
|
// padding: 20px;
|
|
// border-radius: 10px;
|
|
// box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
.form-title {
|
|
font-size: 18px;
|
|
padding-bottom: 16px;
|
|
}
|
|
.form-item {
|
|
.form-label {
|
|
font-size: 14px;
|
|
color: #595959;
|
|
margin-bottom: 6px;
|
|
display: block;
|
|
}
|
|
margin-bottom: 20px;
|
|
.form-content {
|
|
position: relative;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
.form-input {
|
|
width: 100%;
|
|
height: 30px;
|
|
border-radius: 5px;
|
|
font-size: 16px;
|
|
color: #262626;
|
|
}
|
|
.form-select {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 0;
|
|
color: #00B39D;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 底部按钮
|
|
.cc-operation-buttons {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 80px;
|
|
padding: 16px 20px;
|
|
background: #fff;
|
|
border-top: 1px solid #f0f0f0;
|
|
.buttons-group {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
.button {
|
|
cursor: pointer;
|
|
}
|
|
.primary-button {
|
|
flex: 1;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
background-color: #00B39D;
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// UI
|
|
.uni-checkbox {
|
|
display: none;
|
|
}
|
|
|
|
// 表单
|
|
.cc-form-card {
|
|
background-color: white;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
.form-title {
|
|
font-size: 18px;
|
|
padding-bottom: 16px;
|
|
}
|
|
.form-item {
|
|
.form-label {
|
|
font-size: 14px;
|
|
color: #595959;
|
|
margin-bottom: 6px;
|
|
display: block;
|
|
}
|
|
margin-bottom: 20px;
|
|
.form-content {
|
|
position: relative;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
.form-input {
|
|
width: 100%;
|
|
height: 30px;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
.form-select {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 0;
|
|
color: #00B39D;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.cc-project-list {
|
|
padding: 0 20px 95px;
|
|
&.no-bottom {
|
|
padding-bottom: 15px;
|
|
}
|
|
.project-card {
|
|
background-color: #fff;
|
|
padding: 20px 0 0 0;
|
|
margin-top: 10px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
margin-top: 15px;
|
|
.attr-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: #262626;
|
|
padding: 0 20px 20px 20px;
|
|
padding-bottom: 15px;
|
|
.attr-title {
|
|
font-size: 16px;
|
|
color: #595959;
|
|
}
|
|
.attr-value {
|
|
&.no-done {
|
|
color: #FF0000;
|
|
}
|
|
}
|
|
}
|
|
.expand-btn {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #00b39d;
|
|
margin-bottom: 16px;
|
|
.btn {
|
|
line-height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
image {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-left: 8px;
|
|
}
|
|
&.no-open {
|
|
image {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.operate-buttons {
|
|
border-top: 1px solid #f0f0f0;
|
|
display: flex;
|
|
height: 48px;
|
|
box-sizing: border-box;
|
|
.buttons-group {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
&:nth-child(1) {
|
|
.button {
|
|
border-right: 1px solid #f0f0f0;
|
|
&:nth-last-child(1) {
|
|
border-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.button {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
&.primary-button__text {
|
|
color: #00B39D;
|
|
}
|
|
&.error-button__text {
|
|
color: #E04040;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.project-title {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
.cc-form-card {
|
|
background-color: white;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
.form-title {
|
|
font-size: 18px;
|
|
padding-bottom: 16px;
|
|
}
|
|
.form-tips {
|
|
font-size: 14px;
|
|
color: #8C8C8C;
|
|
margin-top: 5px;
|
|
}
|
|
.form-item {
|
|
// 文件上传
|
|
.uni-file-picker {
|
|
.uni-file-picker__header {
|
|
display: none;
|
|
}
|
|
.uni-file-picker__files {
|
|
.files-button {
|
|
width: 72px;
|
|
height: 72px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #e7e7e7;
|
|
border-radius: 4px;
|
|
font-size: 0;
|
|
uni-button {
|
|
display: none;
|
|
}
|
|
&::after {
|
|
content: '+';
|
|
font-size: 38px;
|
|
color: #00B39D;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.form-label {
|
|
font-size: 14px;
|
|
color: #595959;
|
|
margin-bottom: 6px;
|
|
display: block;
|
|
}
|
|
margin-bottom: 20px;
|
|
.form-content {
|
|
position: relative;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
.form-input {
|
|
width: 100%;
|
|
height: 30px;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
.form-select {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 0;
|
|
color: #00B39D;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 按钮
|
|
.cc-btn {
|
|
cursor: pointer;
|
|
&.cc-default-btn {
|
|
height: 48px;
|
|
line-height: 46px;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
border-radius: 8px;
|
|
border: 1px solid #f0f0f0;
|
|
}
|
|
&.cc-primary-btn {
|
|
height: 48px;
|
|
line-height: 48px;
|
|
font-size: 16px;
|
|
color: #fff;
|
|
text-align: center;
|
|
background: #00b39d;
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
|
|
|
|
// 复选框
|
|
.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .checkbox__inner {
|
|
border-color: #00b39d !important;
|
|
background-color: #00b39d !important;
|
|
}
|
|
.uni-data-checklist .checklist-group .checklist-box.is--default.is-checked .checklist-text {
|
|
color: unset !important;
|
|
}
|
|
.uni-data-checklist .checklist-group .checklist-box .checklist-text {
|
|
margin-left: 12px !important;
|
|
}
|
|
.uni-data-checklist .checklist-group .checklist-box .checkbox__inner .checkbox__inner-icon {
|
|
top: 2px !important;
|
|
}
|