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

按钮ui

上级 684f8c23
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
@click="${ctrl.name}_click({ tag: '${item.name}' }, $event),popUpGroup()" @click="${ctrl.name}_click({ tag: '${item.name}' }, $event),popUpGroup()"
size="large" size="large"
iconName="<#if item.isShowIcon() && item.getPSSysImage()??><@setIcon item /></#if>" /> iconName="<#if item.isShowIcon() && item.getPSSysImage()??><@setIcon item /></#if>" />
<#if item.isShowCaption()><span class="btn-out-text">{{<#if langbase??>$t('${langbase}.${item.name}.caption')<#else>'${item.getCaption()}'</#if>}}</span></#if>
</div> </div>
<#elseif ctrl.getToolbarStyle() == 'MOBWFACTIONMENU'> <#elseif ctrl.getToolbarStyle() == 'MOBWFACTIONMENU'>
<ion-button class="app-quick-toolbar-item" v-show="${(ctrl.getName()?lower_case)}Models.${item.name}.visabled" :disabled="${(ctrl.getName())?lower_case}Models.${item.name}.disabled" @click="${ctrl.name}_click({ tag: '${item.name}' }, $event)" > <ion-button class="app-quick-toolbar-item" v-show="${(ctrl.getName()?lower_case)}Models.${item.name}.visabled" :disabled="${(ctrl.getName())?lower_case}Models.${item.name}.disabled" @click="${ctrl.name}_click({ tag: '${item.name}' }, $event)" >
......
...@@ -124,12 +124,6 @@ ${css.getCssStyle()} ...@@ -124,12 +124,6 @@ ${css.getCssStyle()}
} }
} }
</#if> </#if>
<#if view.isEnableQuickSearch?? && view.isEnableQuickSearch() == true>
.filter-btn{
position: relative;
top: 5px;
}
</#if>
.scroll_tool{ .scroll_tool{
position: absolute; position: absolute;
......
...@@ -3,7 +3,13 @@ ...@@ -3,7 +3,13 @@
<ion-toolbar> <ion-toolbar>
<ion-searchbar style="height: 36px; padding-bottom: 0px;" :placeholder="$t('app.fastsearch')" debounce="500" @ionChange="quickValueChange($event)"></ion-searchbar> <ion-searchbar style="height: 36px; padding-bottom: 0px;" :placeholder="$t('app.fastsearch')" debounce="500" @ionChange="quickValueChange($event)"></ion-searchbar>
<#if view.hasPSControl('searchform')> <#if view.hasPSControl('searchform')>
<ion-button class="filter-btn" size="small" slot="end" @click="openSearchform"><ion-icon slot="end" name="filter-outline"></ion-icon>过滤</ion-button> <app-mob-button
className="filter-btn"
size="small"
slot="end"
text="过滤"
:iconName="filter-outline"
@click="openSearchform" />
</#if> </#if>
</ion-toolbar> </ion-toolbar>
</#assign> </#assign>
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<van-popup get-container="#app" :lazy-render="false" duration="0.2" v-model="searchformState" position="right" class="searchform" style="height: 100%; width: 85%;" > <van-popup get-container="#app" :lazy-render="false" duration="0.2" v-model="searchformState" position="right" class="searchform" style="height: 100%; width: 85%;" >
<ion-header> <ion-header>
<ion-toolbar translucent> <ion-toolbar translucent>
<ion-title>条件搜索</ion-title> <ion-title></ion-title>
</ion-toolbar> </ion-toolbar>
</ion-header> </ion-header>
<div class="searchform_content"> <div class="searchform_content">
...@@ -113,12 +113,16 @@ ...@@ -113,12 +113,16 @@
<ion-footer> <ion-footer>
<div class="search-btn"> <div class="search-btn">
<app-mob-button <app-mob-button
className="search-btn-item" className="search-btn-item"
:text="$t('app.searchButton.reset')" :text="$t('app.searchButton.reset')"
color="light" color="light"
shape="round"
size="small"
@click="onReset" /> @click="onReset" />
<app-mob-button <app-mob-button
className="search-btn-item" className="search-btn-item"
shape="round"
size="small"
:text="$t('app.searchButton.search')" :text="$t('app.searchButton.search')"
@click="onSearch" /> @click="onSearch" />
</div> </div>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册