南骏 池
2025-03-18 b25ccfc37c72528aca09ccd87cabded453b58620
Images/Style.css
@@ -4,7 +4,7 @@
    font-family: Microsoft YaHei,Helvitica,Verdana,Arial,san-serif;
    padding: 0px;
    margin: 0px;
    /*font-family: '微软雅黑', 'Microsoft YaHei', sans-serif;*/
}
a, a:hover {
@@ -325,7 +325,11 @@
.van-tab-left .van-tab {
    -webkit-justify-content: left !important;
    justify-content: left !important;
    justify-content: left !important
}
.van-tab {
    font-size: .2733rem;
}
.mySolid .van-cell::after {
@@ -333,4 +337,195 @@
}
.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: 600px) {
    .van-cell {
        font-size: .33rem; /* 更小的字体大小 */
        line-height: .50rem;
        padding: .020rem .0800rem; /* 更小的内边距 */
    }
}
/* 当屏幕宽度大于600px且小于或等于1024px时应用的样式 */
@media (min-width: 601px) and (max-width: 1600px) {
    .van-cell {
        font-size: .25rem; /* 中等字体大小 */
        line-height: .45rem;
        padding: .025rem .0900rem; /* 中等内边距 */
    }
    /* 减少左侧标题的字体大小并使颜色更淡 */
    .van-field__label {
        color: #9c9898; /* 更淡的颜色 */
        margin-right: 0rem;
        font-size: .20rem; /* 字体大小减小 */
    }
    /* 增加右侧输入区域的字体大小并加深颜色 */
    .van-cell__value {
        color: #333; /* 深色 */
        font-size: .30rem; /* 字体大小增大 */
    }
    .van-cell--clickable {
        cursor: pointer;
        font-size: .30rem; /* 字体大小增大 */
        font-weight: bold; /* 字体加粗 */
    }
    .van-checkbox__icon {
        font-size: 0.28rem;
    }
}
.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: blue !important; /* 勾选框的颜色设置为蓝色 */
}
/* 保持字体颜色不变 */
.van-checkbox__label {
    color: inherit !important; /* 字体颜色继承父级样式 */
}
/* 确保禁用状态下勾选框仍然显示为蓝色 */
.van-checkbox--disabled .van-checkbox__icon .van-icon {
    background-color: transparent !important; /* 移除禁用状态下的灰色背景 */
    border-color: blue !important; /* 设置禁用状态下的边框颜色为蓝色 */
}
.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: .33rem;
    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);
}