南骏 池
2025-03-22 85c83ac4dff8c054d31d50cd0ab8803c202b55ce
1.IQC检验项目整体挪用。
2.图片样式调整。
3.列表title靠左
已修改5个文件
496 ■■■■ 文件已修改
H5/LLJ/Add.aspx 240 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/LLJ/List.aspx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Images/Style.css 246 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Mst.master 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Scripts/config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/LLJ/Add.aspx
@@ -11,246 +11,6 @@
                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>
H5/LLJ/List.aspx
@@ -13,6 +13,10 @@
                color: #1989fa; /* 设置字体颜色为蓝色 */
            }
            .van-cell__title {
                text-align: left;
            }
            </style>
</asp:Content>
Images/Style.css
@@ -555,3 +555,249 @@
    font-size: .25rem;
    line-height: .25rem;
}
/*IQC检验整体样式 20250322 池南骏*/
.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: 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 池南骏*/
Mst.master
@@ -14,7 +14,7 @@
    <script src="/scripts/config.js?<%=1236 %>"></script>
    <link href="/scripts/vant/vant.css" rel="stylesheet" />
    <script src="/scripts/vant/vant.js"></script>
    <link href="/Images/Style.css?<%=16991 %>" rel="stylesheet" />
    <link href="/Images/Style.css?<%=16992 %>" rel="stylesheet" />
    <script src="/Scripts/uni.webview.1.5.2.js"></script>
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
Scripts/config.js
@@ -1,5 +1,5 @@
var APIURL = "http://192.168.1.145:83/api/";
//var APIURL = "http://localhost:5204/api/";
//var APIURL = "http://192.168.1.145:83/api/";
var APIURL = "http://localhost:5204/api/";
var APIURL_PC = "http://192.168.1.145:81/";
var APIURL_IMAGE = APIURL_PC+"upload/";
var ISNEEDLOGIN = true;