From c5fa3af292602f5b2086b6aac86555a707515591 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期四, 29 五月 2025 15:04:58 +0800 Subject: [PATCH] 1.首检,制热性能多选功能 --- H5/IPQC_SJ/Add.aspx | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 101 insertions(+), 2 deletions(-) diff --git a/H5/IPQC_SJ/Add.aspx b/H5/IPQC_SJ/Add.aspx index c493d56..a479f73 100644 --- a/H5/IPQC_SJ/Add.aspx +++ b/H5/IPQC_SJ/Add.aspx @@ -31,6 +31,51 @@ border-radius: 4px; } + + /* 鏍囬鏍峰紡 */ + .custom-label .van-cell__title { + font-size: 0.28rem !important; + line-height: 1.0; + color: #fff !important; + background-color: #1989fa; /* 鍝佺墝钃濊壊 */ + padding: 0.1rem 0.1rem; + border-radius: 0.12rem; + margin: 0.1rem 0; + } + + /* 澶嶉�夋缁勫鍣� */ + .checkbox-group-wrapper { + padding: 0 0.1rem; + margin: 0.15rem 0; + } + + /* 澶嶉�夋鏂囧瓧鏍峰紡 */ + .van-checkbox__label { + font-size: 0.20rem !important; + line-height: 0.85; + color: #333; + margin-left: 0.1rem; + } + + /* 澶嶉�夋鎺掑垪浼樺寲 */ + .van-checkbox-group--horizontal { + display: flex; + flex-wrap: wrap; + gap: 0.2rem 0.3rem; /* 琛屽垪闂磋窛 */ + } + + /* 澶嶉�夋鍥炬爣璋冩暣 */ + .van-checkbox__icon { + font-size: 0.2rem; + vertical-align: middle; + + } + + /* 閫変腑鐘舵�佹牱寮� */ + .van-checkbox--checked .van-checkbox__label { + color: #1989fa; + } + </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"> @@ -106,6 +151,8 @@ <van-tag type="primary" style="font-size:15px" @click="updateRemarks(formData.guid)">杈撳叆</van-tag> </template> </van-field> + <!-- 鏂板鐐欑儹鎬ц兘鎸夐挳 --> + <van-tag type="primary" style="font-size:15px" @click="openZrPopup">鐐欑儹鎬ц兘</van-tag> <van-dialog v-model="showDialog" title="涓嶅悎鏍兼弿杩�" :show-cancel-button="false" @confirm="remarksConfirm"> <van-field v-model="remarks" @@ -349,7 +396,56 @@ </div> </van-popup> - + <!-- 鏂板鐐欑儹鎬ц兘寮圭獥 --> + <van-popup + v-model="showZr" + closeable + overlay="true" + round + close-icon="close" + class="van-icon-popup" + position="right" + :style="{ + width: '100%', + height: '100%', + boxShadow: '-2px 0 12px rgba(0, 0, 0, 0.1)' + }" + @click-close-icon="closeZrPopup"> + <div class="content-wrapper-jymx"> + <!-- 寮圭獥鍐呭鍖� --> + <van-cell-group> + <div><van-cell title="姘存俯閫夋嫨" class="custom-label" /></div> + <div class="checkbox-group-wrapper"> + <van-checkbox-group + v-model="selectedWater" + :max="5" + direction="horizontal"> + <van-checkbox + v-for="(item, index) in waterOptions" + :key="index" + :name="item.value"> + {{ item.text }} + </van-checkbox> + </van-checkbox-group> + </div> + + <div><van-cell title="娴侀噺閫夋嫨" class="custom-label" /></div> + <div class="checkbox-group-wrapper"> + <van-checkbox-group + v-model="selectedFlow" + :max="5" + direction="horizontal"> + <van-checkbox + v-for="(item, index) in flowOptions" + :key="index" + :name="item.value"> + {{ item.text }} + </van-checkbox> + </van-checkbox-group> + </div> + </van-cell-group> + </div> + </van-popup> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server"> @@ -357,5 +453,8 @@ <%--<comback ></comback>--%> </asp:Content> <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> - <script src="../Js/IPQC_SJ/Add.js?<%=111112111141 %>"></script> + <script src="../Js/IPQC_SJ/Add.js?<%=111112111144 %>"></script> </asp:Content> + + + -- Gitblit v1.9.3