| | |
| | | vertical-align: middle; |
| | | } |
| | | |
| | | .van-popup__close-icon--top-right { |
| | | top: .25rem; |
| | | right: -.00rem; |
| | | } |
| | | |
| | | .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: 80px; |
| | | height: 80px; |
| | | object-fit: cover; |
| | | } |
| | | .van-uploader__upload{ |
| | | width: 80px; |
| | | height: 80px; |
| | | } |
| | | .uploader-container { |
| | | height: auto; |
| | | overflow-y: auto; |
| | | -webkit-overflow-scrolling: touch; /* 流畅滚动(iOS) */ |
| | | } |
| | | .van-uploader__preview-delete-icon{ |
| | | font-size: 1.8em; |
| | | } |
| | | |
| | | </style> |
| | | </asp:Content> |