From f1807500e0dd1640aeec1fdbea4b244b7b5efc0f Mon Sep 17 00:00:00 2001 From: 李宇 <986321569@qq.com> Date: 星期五, 29 一月 2021 17:09:02 +0800 Subject: [PATCH] 修改下拉框宽度 --- src/main/webapp/sys_hazardous_waste.xhtml | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/sys_hazardous_waste.xhtml b/src/main/webapp/sys_hazardous_waste.xhtml index b078069..58f27e9 100644 --- a/src/main/webapp/sys_hazardous_waste.xhtml +++ b/src/main/webapp/sys_hazardous_waste.xhtml @@ -19,7 +19,7 @@ <p:outputLabel value="开始时间:"/> <p:calendar value="#{hazardousWasteController.startTime}" converter="timestampConvert" - pattern="yyyy-MM-dd" locale="zh_CN"/> + pattern="yyyy-MM-dd" locale="zh_CN" /> <p:outputLabel value="结束时间:"/> <p:calendar value="#{hazardousWasteController.endTime}" @@ -29,14 +29,14 @@ <p:outputLabel value="状态:"/> <p:selectOneMenu value="#{hazardousWasteController.status}"> <f:selectItems value="#{hazardousWasteController.statusList}" var="item" - itemLabel="#{item}" itemValue="#{item}"/> + itemLabel="#{item}" itemValue="#{item}" /> </p:selectOneMenu> <p:outputLabel value="确认者:"/> <p:inputText value="#{hazardousWasteController.applyPerson}"/> <p:outputLabel value="单号:"/> - <p:inputText value="#{hazardousWasteController.tid}"/> + <p:inputText value="#{hazardousWasteController.tid}" style="width: 120px"/> <p:outputLabel value="课题组"></p:outputLabel> <p:selectOneMenu value="#{hazardousWasteController.project}" filter="true" filterMatchMode="startsWith"> <f:selectItem itemLabel="不选择课题组" /> @@ -227,7 +227,11 @@ </p:panel> </h:form> </p:tab> - </p:tabView> + <style type="text/css"> + .ui-selectonemenu.ui-widget.ui-state-default.ui-corner-all{ + min-width: 100px !important; + } + </style> </ui:composition> </html> -- Gitblit v1.9.2