311 lines
5.3 KiB
CSS
311 lines
5.3 KiB
CSS
:root {
|
|
--tab-bar-height: 50px;
|
|
--color-primary: #1867b0;
|
|
--color-black: #000;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
html, body, #app {
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
background-color: #f7f8fa;
|
|
overflow-x: hidden;
|
|
font-size: 16px
|
|
}
|
|
|
|
.main-page {
|
|
height: 100%;
|
|
}
|
|
|
|
.page-wrapper {
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.page-showtabbar .page-wrapper {
|
|
height: calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom));
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#container {
|
|
/*padding: 10px;*/
|
|
display: block;
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.direction-column-field.van-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 10px;
|
|
}
|
|
|
|
.direction-column-field.van-field .van-field__label {
|
|
max-width: 100%;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.form-button-cell {
|
|
background: #f1f1f1 !important;
|
|
}
|
|
|
|
.table-list .table-card {
|
|
margin: 10px;
|
|
border-radius: 10px;
|
|
background: #FFF;
|
|
padding: 15px;
|
|
position: relative;
|
|
}
|
|
|
|
.table-list .table-card .van-cell {
|
|
padding: 5px;
|
|
}
|
|
|
|
.table-list .table-card .van-cell:not(:last-child)::after {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.table-list .table-card .table-card-footer .van-cell__value {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.van-search .van-search__content .van-field__field-wrap {
|
|
width: 100%;
|
|
}
|
|
|
|
.w-e-toolbar {
|
|
z-index: 11 !important;
|
|
}
|
|
|
|
.w-e-text-container {
|
|
z-index: 10 !important;
|
|
}
|
|
|
|
.van-cell-rich-text, .van-cell-rich-text img, .van-cell-rich-text image {
|
|
max-width: 100%;
|
|
white-space: normal;
|
|
}
|
|
|
|
.process-title {
|
|
font-size: 15px;
|
|
color: var(--color-black);
|
|
font-weight: 600;
|
|
margin: 10px 0 10px 0 !important;
|
|
padding: 10px;
|
|
position: relative;
|
|
line-height: 1.1;
|
|
font-family: inherit;
|
|
/*background: #f1f1f1;*/
|
|
}
|
|
|
|
.process-title::before {
|
|
content: "";
|
|
width: 5px;
|
|
background: var(--color-primary);
|
|
display: inline-block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.custom-list-loading {
|
|
background-color: unset;
|
|
}
|
|
|
|
.custom-list-loading .van-icon {
|
|
font-size: 108px;
|
|
}
|
|
|
|
.list-card {
|
|
margin: 20px 10px;
|
|
background: #FFFFFF;
|
|
border-radius: 10px;
|
|
padding: 15px;
|
|
border-bottom: 1px solid #ededed;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.list-card:not(:last-child) {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.list-card-title {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
.list-card-body {
|
|
display: flex;
|
|
}
|
|
|
|
.list-card-body-img {
|
|
flex: 0 0 auto;
|
|
width: 130px;
|
|
height: 90px;
|
|
}
|
|
|
|
.list-card-body-img img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 5px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
|
|
.list-card-body-content {
|
|
flex: 1;
|
|
}
|
|
|
|
|
|
.list-card-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.list-card-footer .van-button {
|
|
|
|
}
|
|
|
|
/*************************覆盖vant默认CSS********************************/
|
|
.van-dropdown-menu__bar{
|
|
box-shadow: unset;
|
|
}
|
|
|
|
|
|
/*****************************申请表单CSS********************************/
|
|
.form-container {
|
|
padding-bottom: 80px;
|
|
background: #f9f9f9;
|
|
}
|
|
|
|
.form-container .form-group {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.form-container .form-actions {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding: 12px 16px;
|
|
background-color: #ffffff;
|
|
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
|
|
z-index: 100;
|
|
}
|
|
|
|
.form-container .form-actions .van-button {
|
|
flex: 1;
|
|
margin: 0 8px;
|
|
border-radius: 4px;
|
|
height: 40px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.form-container .van-cell-group {
|
|
margin-bottom: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.form-container .van-cell-group__title {
|
|
font-size: 15px;
|
|
color: var(--color-black);
|
|
font-weight: 600;
|
|
padding: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.form-container .van-cell-group__title::before{
|
|
content: "";
|
|
width: 5px;
|
|
background: var(--color-primary);
|
|
display: inline-block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.form-container .van-field__label {
|
|
width: 90px;
|
|
color: #323233;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-container .van-field__value {
|
|
color: #323233;
|
|
}
|
|
|
|
.form-container .van-cell {
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.form-container .van-cell:not(:last-child)::after {
|
|
left: 16px;
|
|
right: 16px;
|
|
}
|
|
|
|
.form-container .direction-column-field .van-field__label {
|
|
width: auto;
|
|
}
|
|
|
|
.form-container .direction-column-field .van-field__body {
|
|
display: block;
|
|
}
|
|
|
|
.form-container .direction-column-field .van-field__control {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/***************************查看详情CSS********************************/
|
|
.detail-container {
|
|
background: #f9f9f9
|
|
}
|
|
|
|
.detail-container .van-cell-group__title{
|
|
font-size: 15px;
|
|
color: var(--color-black);
|
|
font-weight: 600;
|
|
padding: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.detail-container .van-cell-group__title::before{
|
|
content: "";
|
|
width: 5px;
|
|
background: var(--color-primary);
|
|
display: inline-block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.detail-container .direction-column-cell{
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.detail-container .direction-column-cell .van-cell__value{
|
|
text-align: left;
|
|
}
|
|
|