From 85c83ac4dff8c054d31d50cd0ab8803c202b55ce Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期六, 22 三月 2025 10:38:17 +0800 Subject: [PATCH] 1.IQC检验项目整体挪用。 2.图片样式调整。 3.列表title靠左 --- Images/Style.css | 246 +++++++++++++++++++++++++++ Scripts/config.js | 4 H5/LLJ/List.aspx | 4 Mst.master | 2 H5/LLJ/Add.aspx | 240 -------------------------- 5 files changed, 253 insertions(+), 243 deletions(-) diff --git a/H5/LLJ/Add.aspx b/H5/LLJ/Add.aspx index 6e29016..59f5f82 100644 --- a/H5/LLJ/Add.aspx +++ b/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; /* 娴佺晠婊氬姩锛坕OS锛� */ - } - .van-uploader__preview-delete-icon{ - font-size: 1.8em; - } </style> </asp:Content> diff --git a/H5/LLJ/List.aspx b/H5/LLJ/List.aspx index d72242e..1740280 100644 --- a/H5/LLJ/List.aspx +++ b/H5/LLJ/List.aspx @@ -13,6 +13,10 @@ color: #1989fa; /* 璁剧疆瀛椾綋棰滆壊涓鸿摑鑹� */ } + .van-cell__title { + text-align: left; + } + </style> </asp:Content> diff --git a/Images/Style.css b/Images/Style.css index 45c6741..387d9ef 100644 --- a/Images/Style.css +++ b/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; /* 娴佺晠婊氬姩锛坕OS锛� */ +} + +.van-uploader__preview-delete-icon { + font-size: 1.8em; +} +/*IQC妫�楠屾暣浣撴牱寮� 20250322 姹犲崡楠�*/ \ No newline at end of file diff --git a/Mst.master b/Mst.master index b1614dc..30a1059 100644 --- a/Mst.master +++ b/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> diff --git a/Scripts/config.js b/Scripts/config.js index 1076362..075e6d8 100644 --- a/Scripts/config.js +++ b/Scripts/config.js @@ -1,5 +1,5 @@ -锘縱ar 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; -- Gitblit v1.9.3