提交 aef1f0ce 编写于 作者: KK's avatar KK

搜索表单——调整样式&参数名称

上级 295f2b36
......@@ -92,3 +92,13 @@ ${css.getCssStyle()}
}
</#if>
</#list>
<#if view.hasPSControl('searchform')>
//搜索表单按钮
.search-btn{
display: flex;
margin-bottom: 15px;
.search-btn-item{
width: 50%;
}
}
</#if>
\ No newline at end of file
......@@ -81,8 +81,8 @@
</ion-header>
<#-- 搜索表单:BEGIN -->
<#if view.hasPSControl('searchform')>
<ion-menu side="start" content-id="main-content" ref='menu'>
<#if view.hasPSControl('c')>
<ion-menu side="start" content-id="main-content" ref='searchform<#if view.getName()??>${view.getName()}</#if>'>
<ion-header>
<ion-toolbar translucent>
<ion-title>条件搜索</ion-title>
......@@ -91,12 +91,12 @@
<ion-content>
${P.getCtrlCode('searchform', 'CONTROL.html').code}
</ion-content>
<div>
<ion-button shape="round" size="small" expand="full" color="light">重置</ion-button>
</div>
<div>
<ion-button shape="round" size="small" expand="full">搜索</ion-button>
<ion-footer>
<div class="search-btn">
<ion-button class="search-btn-item" shape="round" size="small" expand="full" color="light">重置</ion-button>
<ion-button class="search-btn-item" shape="round" size="small" expand="full">搜索</ion-button>
</div>
</ion-footer>
</ion-menu>
</#if>
<#-- 搜索表单:END -->
......
......@@ -193,7 +193,7 @@
* @memberof ${srfclassname('${view.name}')}Base
*/
public openSearchform() {
let xData :any = this.$refs.menu;
let xData :any = this.$refs.searchform<#if view.getName()??>${view.getName()}</#if>;
if(xData){
xData.open();
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册