html, body {
|
width: 100%;
|
height: 100%;
|
font-family: Microsoft YaHei,Helvitica,Verdana,Arial,san-serif;
|
padding: 0px;
|
margin: 0px;
|
/* font-family: '宋体', 'Microsoft YaHei', sans-serif;*/
|
}
|
|
a, a:hover {
|
color: #000;
|
}
|
.padTop {
|
height:30px;
|
}
|
.login {
|
width: 100%;
|
background-color: #fff;
|
padding: 0 0.3rem;
|
box-sizing: border-box;
|
overflow: hidden;
|
}
|
|
.login-wrapper {
|
width: 85%;
|
border: 1px solid rgba(187, 187, 187, 1);
|
margin: 0 auto;
|
border-radius: 0.3rem;
|
box-shadow: 0 0 0.533rem rgba(170, 170, 170, 1);
|
}
|
|
.login .avatar {
|
width: 1.2rem;
|
margin: 1rem auto 0.77rem auto;
|
overflow: hidden;
|
}
|
|
.login h1 {
|
height: 0.6933rem;
|
text-align: center;
|
font-size: 0.42rem;
|
margin-top: 1.12rem; color:rgba(170, 170, 170, 1);
|
font-weight: normal;
|
}
|
dl, dt, dd {
|
margin: 0rem;
|
padding: 0rem;
|
}
|
|
dl dt {
|
display: inline-block;
|
float: left;
|
}
|
|
.bg-white {
|
background-color: #fff;
|
}
|
.bg-info {
|
background-color: #0283EF;
|
}
|
|
.font-bold {
|
font-weight: bold;
|
}
|
|
.font-black {
|
color: #000 !important;
|
}
|
|
.font-remark{
|
color: #888888;
|
}
|
|
.font-danger {
|
color: #dc3545 !important;
|
}
|
|
.font-warning {
|
color: #ffc107 !important;
|
}
|
|
.font-info {
|
color: #0960bd !important;
|
}
|
|
.font-white {
|
color: #fff !important;
|
}
|
|
.font {
|
font-size: .3733rem;
|
}
|
|
.font-sm {
|
font-size: .2533rem;
|
}
|
|
.font-lg {
|
font-size: .4267rem;
|
}
|
|
.font-xl {
|
font-size: .48rem;
|
}
|
|
|
.padding {
|
padding: .1067rem;
|
}
|
|
.padding-left {
|
padding-left: .1067rem;
|
}
|
|
.padding-right {
|
padding-right: .1067rem;
|
}
|
|
.padding-top {
|
padding-top: .1067rem;
|
}
|
|
.padding-bottom {
|
padding-bottom: .1067rem;
|
}
|
|
.padding-sm {
|
padding: .0533rem;
|
}
|
|
.padding-sm-left {
|
padding-left: .0533rem;
|
}
|
|
.padding-sm-right {
|
padding-right: .0533rem;
|
}
|
|
.padding-sm-top {
|
padding-top: .0533rem;
|
}
|
|
.padding-sm-bottom {
|
padding-bottom: .0533rem;
|
}
|
|
.padding-lg {
|
padding: .16rem;
|
}
|
|
.padding-lg-top {
|
padding-top: .16rem;
|
}
|
|
.padding-xl {
|
padding: .4267rem;
|
}
|
|
.padding-xl-top {
|
padding-top: .4267rem;
|
}
|
|
.padding-xl-bottom {
|
padding-bottom: .4267rem;
|
}
|
|
.margin {
|
margin: .1067rem !important;
|
}
|
|
.margin-top {
|
margin-top: .1067rem;
|
}
|
|
.margin-sm {
|
margin: .0533rem;
|
}
|
|
.margin-sm-top {
|
margin-top: .0533rem;
|
}
|
|
.margin-sm-left {
|
margin-left: .0533rem;
|
}
|
|
.margin-sm-right {
|
margin-right: .0533rem;
|
}
|
|
.margin-lg {
|
margin: .16rem !important;
|
}
|
|
.margin-lg-top {
|
margin-top: .16rem;
|
}
|
|
.margin-lg-left {
|
margin-left: .16rem;
|
}
|
|
.margin-lg-right {
|
margin-right: .16rem !important;
|
}
|
|
.margin-lg-bottom {
|
margin-bottom: .16rem;
|
}
|
|
|
.flex-col-between {
|
display: flex;
|
flex-wrap: nowarp;
|
flex-direction: column;
|
justify-content: center;
|
margin-bottom: 0rem;
|
margin-top: 0rem;
|
align-content: space-around;
|
}
|
|
.flex-row-between {
|
display: flex;
|
flex-wrap: nowarp;
|
flex-direction: row;
|
justify-content: space-between;
|
margin-bottom: 0rem;
|
margin-top: 0rem;
|
}
|
|
.flex-row-flow {
|
display: flex;
|
flex-wrap: nowarp;
|
flex-direction: row;
|
justify-content: flex-start;
|
margin-bottom: 0rem;
|
margin-top: 0rem;
|
}
|
|
.flex-row-column {
|
display: flex;
|
flex-flow: column;
|
justify-content: space-between;
|
margin-bottom: 0rem;
|
margin-top: 0rem;
|
width: 100%;
|
}
|
|
.text-v-center {
|
display: flex;
|
display: -webkit-flex;
|
align-items: center;
|
}
|
|
.text-center {
|
text-align: center;
|
}
|
|
.text-left {
|
text-align: left;
|
}
|
|
.text-right {
|
text-align: right !important;
|
}
|
|
.clear {
|
display: block;
|
clear: both;
|
}
|
.round-button {
|
position: fixed; /* 定位为固定位置 */
|
right: 20px; /* 距离右边界20像素 */
|
bottom: 20px; /* 距离底部边界20像素 */
|
padding: 20px; /* 内边距 */
|
background-color: #007bff; /* 背景颜色 */
|
color: white; /* 文字颜色 */
|
border-radius: 50px; /* 圆角半径 */
|
cursor: pointer; /* 鼠标悬停时显示指针形状 */
|
user-select: none; /* 禁止选中文本 */
|
z-index: 1000; /* 确保按钮在最上层显示 */
|
text-align: center; /* 文字居中 */
|
}
|
|
.round-button:hover {
|
background-color: #0056b3; /* 鼠标悬停时的背景颜色 */
|
}
|
|
.myinfo dt {
|
display: block;
|
float: left;
|
width: 1.2rem;
|
height: 1.2rem;
|
}
|
|
.myinfo dd {
|
text-align: left;
|
line-height: 0.45rem;
|
padding-left: 1.5rem;
|
}
|
|
.myinfo .van-field__control {
|
text-align: right !important;
|
}
|
|
.emputy {
|
text-align: center;
|
height: 100%;
|
margin-top: 100px;
|
}
|
|
.loading-mask {
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background-color: rgba(0, 0, 0, 0.7);
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
z-index: 9999; /* 确保遮罩在其他内容之上 */
|
}
|
|
|
.van-tab-left .van-tab {
|
-webkit-justify-content: left !important;
|
justify-content: left !important
|
}
|
|
.van-tab {
|
font-size: .2733rem;
|
}
|
|
.mySolid .van-cell::after {
|
border-bottom: .0267rem solid #646566;
|
}
|
.mySolid .van-row {
|
border-bottom: .0267rem solid #646566;
|
}
|
|
/*2025-02-19 池南骏修改
|
begin
|
*/
|
.van-cell {
|
position: relative;
|
display: -webkit-box;
|
display: -webkit-flex;
|
display: flex;
|
box-sizing: border-box;
|
width: 100%;
|
padding: .030rem .1000rem;
|
overflow: hidden;
|
color: #323233;
|
font-size: .28rem;
|
line-height: .45rem;
|
background-color: #fff;
|
align-items: center; /* 垂直居中对齐 */
|
}
|
|
/* 当屏幕宽度小于或等于600px时应用的样式 */
|
@media (max-width: 500px) {
|
.van-cell {
|
font-size: .33rem; /* 更小的字体大小 */
|
line-height: .50rem;
|
padding: .020rem .0800rem; /* 更小的内边距 */
|
}
|
|
/* 减少左侧标题的字体大小并使颜色更淡 */
|
.van-field__label {
|
color: #000000!important; /* 更淡的颜色 */
|
}
|
.van-field--disabled .van-field__label {
|
color: #000000 !important;
|
}
|
|
/*IQC检验整体样式 20250322 池南骏*/
|
.van-popup__close-icon--top-right {
|
top: .35rem;
|
right: -.00rem;
|
}
|
|
|
.van-popup--right {
|
top: 53.5%;
|
right: 0;
|
-webkit-transform: translate3d(0, -50%, 0);
|
transform: translate3d(0, -50%, 0);
|
}
|
|
}
|
|
/* 当屏幕宽度大于600px且小于或等于1024px时应用的样式 */
|
@media (min-width: 500px) and (max-width: 1600px) {
|
|
|
/*IQC检验整体样式 20250322 池南骏*/
|
.van-popup__close-icon--top-right {
|
top: .25rem;
|
right: -.00rem;
|
}
|
|
.van-cell {
|
font-size: .20rem; /* 中等字体大小 */
|
line-height: .23rem;
|
padding: .025rem .0900rem; /* 中等内边距 */
|
}
|
|
/* 减少左侧标题的字体大小并使颜色更淡 */
|
.van-field__label {
|
color: #9c9898; /* 更淡的颜色 */
|
margin-right: 0rem;
|
font-size: .20rem; /* 字体大小减小 */
|
}
|
.van-field--disabled .van-field__label {
|
color: #9c9898 !important;
|
}
|
|
/* 增加右侧输入区域的字体大小并加深颜色 */
|
.van-cell__value {
|
color: #333; /* 深色 */
|
font-size: .25rem; /* 字体大小增大 */
|
}
|
|
.van-cell--clickable {
|
cursor: pointer;
|
font-size: .30rem; /* 字体大小增大 */
|
font-weight: bold; /* 字体加粗 */
|
}
|
|
.van-checkbox__icon {
|
font-size: 0.28rem;
|
}
|
|
.van-popup--right {
|
top: 50%;
|
right: 0;
|
-webkit-transform: translate3d(0, -50%, 0);
|
transform: translate3d(0, -50%, 0);
|
}
|
}
|
|
.van-button--small {
|
height: 100%;
|
padding: 0 .2133rem;
|
font-size: .32rem;
|
align-items: center; /* 垂直居中对齐 */
|
}
|
|
van-field__button {
|
display: flex; /* 使用 Flexbox 布局 */
|
align-items: center; /* 垂直居中对齐 */
|
justify-content: center; /* 水平居中对齐 */
|
height: 100%; /* 按钮高度与父容器一致 */
|
//min-height: 36px; /* 设置最小高度以避免过小 */
|
padding: 0; /* 移除默认内边距 */
|
}
|
|
.van-button {
|
position: relative;
|
display: inline-flex; /* 使用 Flexbox 布局 */
|
align-items: center; /* 垂直居中对齐 */
|
justify-content: center; /* 水平居中对齐 */
|
box-sizing: border-box;
|
height: 100%; /* 按钮高度与父容器一致 */
|
margin: 0;
|
padding: 0.1rem 0.1rem; /* 内边距可以根据需要调整 */
|
font-size: inherit; /* 字体大小继承自父容器 */
|
line-height: normal; /* 调整行高为正常值 */
|
text-align: center;
|
border-radius: 0.2rem; /* 圆角半径 */
|
cursor: pointer;
|
transition: opacity 0.2s;
|
-webkit-appearance: none;
|
white-space: nowrap; /* 防止文字换行 */
|
font-size: .28rem;
|
}
|
|
/* 按钮长度根据内容自适应 */
|
.van-button {
|
min-width: fit-content; /* 按钮宽度根据内容自动调整 */
|
}
|
|
|
/* 设置 checkbox 容器的样式 */
|
.checkbox-container {
|
display: flex; /* 使用 Flexbox 布局 */
|
justify-content: space-between; /* 左右平均分布 */
|
align-items: center; /* 垂直居中对齐 */
|
padding: 0 0px; /* 内边距与 van-field 保持一致 */
|
}
|
|
/* 调整 checkbox 的样式 */
|
.checkbox-container .van-checkbox {
|
flex: 1; /* 让每个 checkbox 占据相等的空间 */
|
text-align: center; /* 文本居中显示 */
|
}
|
|
.van-checkbox__icon--checked .van-icon {
|
color: #1989fa !important; /* 勾选框的颜色设置为蓝色 */
|
}
|
|
/* 保持字体颜色不变 */
|
.van-checkbox__label {
|
color: inherit !important; /* 字体颜色继承父级样式 */
|
}
|
|
/* 确保禁用状态下勾选框仍然显示为蓝色 */
|
.van-checkbox--disabled .van-checkbox__icon .van-icon {
|
background-color: transparent !important; /* 移除禁用状态下的灰色背景 */
|
/*border-color: #1989fa !important;*/ /* 设置禁用状态下的边框颜色为蓝色 */
|
|
}
|
|
.van-icon {
|
font-size: 0.8em;
|
}
|
.van-tabs--line .van-tabs__wrap {
|
height: 0.8rem;
|
}
|
|
/* 2025-02-19 池南骏修改
|
end
|
*/
|
|
/*表格样式 2025-03-13 池南骏新增*/
|
.van-col {
|
font-size: 12px; /* 调整字体大小 */
|
word-wrap: break-word;
|
word-break: break-all;
|
}
|
|
.blue-text {
|
color: #1989fa; /* 设置字体颜色为蓝色 */
|
font-weight: bold; /* 字体加粗 */
|
}
|
|
|
.van-nav-bar__title {
|
max-width: 60%;
|
margin: 0 auto;
|
color: #323233;
|
font-weight: 500;
|
font-size: .32rem;
|
font-weight: bold; /* 字体加粗 */
|
}
|
|
/*表头高度 2025-03-13 池南骏新增*/
|
.van-nav-bar__content {
|
height: 0.9rem;
|
}
|
|
/* 表单字段分隔线 颜色淡一些 */
|
.van-cell-group .van-cell:not(:last-child)::after {
|
border-bottom: 1px solid #eee !important;
|
left: 0;
|
right: 0;
|
}
|
/* 表体tab字段分隔线 颜色淡一些 */
|
.mySolid .van-row {
|
border-bottom: .00267rem solid #b1b1b1;
|
}
|
|
/* 设置表头的输入框比例 */
|
.van-field__label {
|
flex-basis: 25%;
|
}
|
|
/* 全局样式优化 */
|
.content-wrapper {
|
margin: 8px;
|
background: #f8f9fa;
|
border-radius: 8px;
|
padding: 3px;
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
}
|
|
|
|
/* 检验明细页输入框界面样式 */
|
.van-tag {
|
font-size: .25rem;
|
line-height: .40rem
|
}
|
/* 检验明细页输入框界面样式 */
|
|
/*全局按钮缩小*/
|
.van-nav-bar__left, .van-nav-bar__right {
|
font-size: .25rem;
|
}
|
|
/*调整搜索框字体的高度和大小*/
|
.van-search__action {
|
padding: 0 .2133rem;
|
color: #323233;
|
font-size: .25rem;
|
line-height: .25rem;
|
}
|
|
|
.content-wrapper-jymx {
|
margin: 27px;
|
background: #ffffff;
|
border-radius: 8px;
|
padding: 3px;
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
}
|
|
.van-cell__value--alone {
|
color: #323233;
|
text-align: center;
|
}
|
|
.si-container {
|
/* padding: 0.16rem;*/
|
padding: 8px 12px;
|
height: 0.6rem;
|
}
|
|
/* 状态显示组 */
|
.si-status-group {
|
display: flex;
|
gap: 0.08rem;
|
margin-bottom: 0.16rem;
|
}
|
|
.si-status-box {
|
flex: 1;
|
height: 0.6rem;
|
border-radius: 0.08rem;
|
display: flex;
|
overflow: hidden;
|
}
|
|
/* 左侧状态标签 */
|
.si-status__left {
|
width: 1.2rem;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
position: relative;
|
}
|
|
.si-status__left::after {
|
content: '';
|
position: absolute;
|
right: -0.13rem;
|
width: 0.27rem;
|
height: 100%;
|
transform: skewX(-10deg);
|
z-index: 1;
|
}
|
|
/* 右侧数值显示 */
|
.si-status__right {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
padding-left: 0.16rem;
|
background: #fff;
|
//font-weight: bold;
|
}
|
|
/* 状态类型修饰符 */
|
.si-status--ok .si-status__left {
|
background: #07c160;
|
}
|
|
.si-status--ok .si-status__left::after {
|
background: #07c160;
|
}
|
|
.si-status--error .si-status__left {
|
background: #ee0a24;
|
}
|
|
.si-status--error .si-status__left::after {
|
background: #ee0a24;
|
}
|
|
/* 输入框样式 */
|
.si-input-box {
|
height: 0.6rem;
|
border-radius: 0.08rem;
|
display: flex;
|
overflow: hidden;
|
background: #fff;
|
box-shadow: 0 0.02rem 0.04rem rgba(0,0,0,0.05);
|
padding: 8px 12px;
|
}
|
|
.si-input__left {
|
width: 1.2rem;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
background: #e6f7ff;
|
position: relative;
|
}
|
|
.si-input__left::after {
|
content: '';
|
position: absolute;
|
right: 0;
|
top: 50%;
|
transform: translateY(-50%);
|
width: 0.01rem;
|
height: 50%;
|
background: #d9d9d9;
|
}
|
|
/* 统一文字样式 */
|
.si-status__label,
|
.si-input__label,
|
.si-status__right {
|
font-size: 0.20rem;
|
line-height: 0.23rem;
|
}
|
|
.si-input__label {
|
color: #1890ff;
|
}
|
|
.si-status__label {
|
color: #ffffff;
|
}
|
|
.si-status__right {
|
justify-content: center; /* 新增居中 */
|
background: #e3edf7;
|
padding-right: 0.16rem;
|
padding: 8px 12px;
|
}
|
|
/* Vant输入框深度定制 */
|
/*:deep(.si-input-field .van-field__control) {
|
height: 0.6rem !important;
|
font-size: 0.20rem !important;
|
line-height: 0.23rem !important;
|
color: #333;
|
}*/
|
|
.van-icon-popup {
|
font-size: 0.5rem;
|
}
|
|
.inline-title {
|
display: flex;
|
align-items: center;
|
gap: 8px; /* 间距控制 */
|
max-width: 80vw;
|
}
|
|
.release-no {
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.status-tag {
|
flex-shrink: 0; /* 防止被压缩 */
|
font-size: 12px;
|
padding: 2px 6px;
|
}
|
|
/* 覆盖导航栏默认样式 */
|
:deep(.van-nav-bar__title) {
|
max-width: none !important;
|
}
|
|
|
/* 深度覆盖vant样式,换行 */
|
:deep(.wrap-field .van-field__control) {
|
white-space: pre-wrap !important;
|
word-break: break-all !important;
|
line-height: 1.5;
|
min-height: 24px; /* 最小高度保障 */
|
padding: 4px 0; /* 增加垂直间距 */
|
}
|
|
/* 专用内容容器,换行 */
|
.wrap-content {
|
width: 100%;
|
display: block;
|
}
|
|
|
/* .si-input-box {
|
display: flex;
|
align-items: center;
|
padding: 12px 16px;
|
}*/
|
|
.input-container {
|
flex: 1;
|
display: flex;
|
gap: 2px; /* 控制两个输入组之间的间距 */
|
align-items: center;
|
background: #e3edf7;
|
}
|
|
.input-group {
|
display: flex;
|
align-items: center;
|
gap: 8px;
|
flex: 1; /* 使两个输入组均分剩余空间 */
|
padding: 8px 12px;
|
}
|
|
.si-input-field {
|
flex: 1; /* 输入框占据剩余空间 */
|
width: 100%; /* 控制最大宽度 */
|
background: #f7f8fa;
|
border-radius: 4px;
|
padding: 8px 12px;
|
}
|
|
/* 图片上传大小 */
|
.van-uploader__preview-image {
|
width: 50px;
|
height: 50px;
|
object-fit: cover;
|
}
|
|
.van-uploader__upload {
|
width: 50px;
|
height: 50px;
|
}
|
|
.uploader-container {
|
height: auto;
|
overflow-y: auto;
|
-webkit-overflow-scrolling: touch; /* 流畅滚动(iOS) */
|
}
|
|
.van-uploader__preview-delete-icon {
|
font-size: 1.8em;
|
}
|
/*IQC检验整体样式 20250322 池南骏*/
|