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

按钮ui调整

上级 0104ce77
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<#elseif ctrl.getToolbarStyle() == 'MOBWFACTIONMENU'> <#elseif ctrl.getToolbarStyle() == 'MOBWFACTIONMENU'>
<app-mob-button <app-mob-button
v-show="${(ctrl.getName()?lower_case)}Models.${item.name}.visabled" v-show="${(ctrl.getName()?lower_case)}Models.${item.name}.visabled"
className="app-quick-toolbar-item" class="app-quick-toolbar-item"
iconName="<#if item.isShowIcon()><#if item.getPSSysImage()??><@setIcon item /></#if></#if>" iconName="<#if item.isShowIcon()><#if item.getPSSysImage()??><@setIcon item /></#if></#if>"
text="<#if item.isShowCaption()><#if langbase??>$t('${langbase}.${item.name}.caption')<#else>'${item.getCaption()}'</#if></#if>" text="<#if item.isShowCaption()><#if langbase??>$t('${langbase}.${item.name}.caption')<#else>'${item.getCaption()}'</#if></#if>"
:disabled="${(ctrl.getName())?lower_case}Models.${item.name}.disabled" :disabled="${(ctrl.getName())?lower_case}Models.${item.name}.disabled"
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<#else> <#else>
<app-mob-button <app-mob-button
className="app-view-toolbar-button" class="app-view-toolbar-button"
iconName="<#if item.isShowIcon()><#if item.getPSSysImage()??><@setIcon item /></#if></#if>" iconName="<#if item.isShowIcon()><#if item.getPSSysImage()??><@setIcon item /></#if></#if>"
:text="<#if item.isShowCaption()><#if langbase??>$t('${langbase}.${item.name}.caption')<#else>'${item.getCaption()}'</#if><#else>''</#if>" :text="<#if item.isShowCaption()><#if langbase??>$t('${langbase}.${item.name}.caption')<#else>'${item.getCaption()}'</#if><#else>''</#if>"
v-show="${(ctrl.getName())?lower_case}Models.${item.name}.visabled" v-show="${(ctrl.getName())?lower_case}Models.${item.name}.visabled"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</#ibizinclude> </#ibizinclude>
<#if ctrl.getToolbarStyle()?? && ctrl.getToolbarStyle() != 'MOBBOTTOMMENU'> <#if ctrl.getToolbarStyle()?? && ctrl.getToolbarStyle() != 'MOBBOTTOMMENU'>
<app-mob-button <app-mob-button
className="app-view-toolbar-button" class="app-view-toolbar-button"
iconName="<#if item.isShowIcon()><#if item.getPSSysImage()??><@setIcon item /></#if></#if>" iconName="<#if item.isShowIcon()><#if item.getPSSysImage()??><@setIcon item /></#if></#if>"
<#if item.isShowCaption()><#if langbase??>:text="$t('${langbase}.${item.name}.caption')"<#else>text='${item.getCaption()}'</#if></#if>" <#if item.isShowCaption()><#if langbase??>:text="$t('${langbase}.${item.name}.caption')"<#else>text='${item.getCaption()}'</#if></#if>"
@click="${ctrl.name}Models.${item.name}.isshow=!${ctrl.name}Models.${item.name}.isshow" /> @click="${ctrl.name}Models.${item.name}.isshow=!${ctrl.name}Models.${item.name}.isshow" />
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<app-mob-button <app-mob-button
iconName="<#if toolbarItem.isShowIcon()><#if toolbarItem.getPSSysImage()??> <@setIcon item /><#else>reorder-four-outline</#if></#if>" iconName="<#if toolbarItem.isShowIcon()><#if toolbarItem.getPSSysImage()??> <@setIcon item /><#else>reorder-four-outline</#if></#if>"
<#if toolbarItem.isShowCaption()><#if langbase??>:text="$t('${langbase}.${toolbarItem.name}.caption')"<#else>text='${toolbarItem.getCaption()}'</#if></#if> <#if toolbarItem.isShowCaption()><#if langbase??>:text="$t('${langbase}.${toolbarItem.name}.caption')"<#else>text='${toolbarItem.getCaption()}'</#if></#if>
className="app-view-toolbar-button" /> class="app-view-toolbar-button" />
</ion-item> </ion-item>
</#list> </#list>
</ion-list> </ion-list>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<app-mob-button <app-mob-button
v-if="getToolBarLimit" v-if="getToolBarLimit"
iconName="chevron-up-circle-outline" iconName="chevron-up-circle-outline"
className="app-view-toolbar-button" class="app-view-toolbar-button"
@click="popUpGroup(true)" /> @click="popUpGroup(true)" />
<van-popup v-if="getToolBarLimit" class="popup" v-model="showGrop" round position="bottom"> <van-popup v-if="getToolBarLimit" class="popup" v-model="showGrop" round position="bottom">
<div class="container"> <div class="container">
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
${ctrl.render.code} ${ctrl.render.code}
<app-mob-button <app-mob-button
v-if="!isTempMode && !allLoaded && needLoadMore" v-if="!isTempMode && !allLoaded && needLoadMore"
className="loadmore_btn" class="loadmore_btn"
:text="$t('app.button.loadmore')" :text="$t('app.button.loadmore')"
@click="loadBottom" /> @click="loadBottom" />
</template> </template>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="app-form-item-button" v-show="detailsModel.${item.name}.visible"> <div class="app-form-item-button" v-show="detailsModel.${item.name}.visible">
<app-mob-button <app-mob-button
v-if="detailsModel.${item.name}.visible" v-if="detailsModel.${item.name}.visible"
:className="app-form-button <#if item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>" :class="app-form-button <#if item.getPSSysCss()??>${item.getPSSysCss().getCssName()}</#if>"
text="${item.caption}" text="${item.caption}"
style='<#if item.getHeight() gt 0>height: ${item.getHeight()}px;</#if>' style='<#if item.getHeight() gt 0>height: ${item.getHeight()}px;</#if>'
<#if item.getPSSysImage()??> <#if item.getPSSysImage()??>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<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')>
<app-mob-button <app-mob-button
className="filter-btn" class="filter-btn"
size="small" size="small"
slot="end" slot="end"
text="过滤" text="过滤"
...@@ -40,7 +40,7 @@ ${P.getCtrlCode('pickupviewpanel', 'CONTROL.html').code} ...@@ -40,7 +40,7 @@ ${P.getCtrlCode('pickupviewpanel', 'CONTROL.html').code}
</#if> </#if>
<div class="selectedCount" <#if isTreeView>@click="select_click"</#if>>已选择:{{viewSelections.length}}<ion-icon name="chevron-up-outline"></ion-icon></div> <div class="selectedCount" <#if isTreeView>@click="select_click"</#if>>已选择:{{viewSelections.length}}<ion-icon name="chevron-up-outline"></ion-icon></div>
<app-mob-button <app-mob-button
className="pick-btn" class="pick-btn"
:text="$t('app.button.confirm')" :text="$t('app.button.confirm')"
:disabled="viewSelections.length === 0" :disabled="viewSelections.length === 0"
@click="onClickOk"/> @click="onClickOk"/>
...@@ -50,12 +50,12 @@ ${P.getCtrlCode('pickupviewpanel', 'CONTROL.html').code} ...@@ -50,12 +50,12 @@ ${P.getCtrlCode('pickupviewpanel', 'CONTROL.html').code}
<ion-toolbar style="text-align: center;"> <ion-toolbar style="text-align: center;">
<div class="mobpickupview_button"> <div class="mobpickupview_button">
<app-mob-button <app-mob-button
className="pick-btn" class="pick-btn"
color="medium" color="medium"
:text="$t('app.button.cancel')" :text="$t('app.button.cancel')"
@click="onClickCancel"/> @click="onClickCancel"/>
<app-mob-button <app-mob-button
className="pick-btn" class="pick-btn"
:text="$t('app.button.confirm')" :text="$t('app.button.confirm')"
:disabled="viewSelections.length === 0" :disabled="viewSelections.length === 0"
@click="onClickOk" /> @click="onClickOk" />
......
...@@ -68,7 +68,7 @@ ${P.getCtrlCode('mdctrl', 'CONTROL.html').code} ...@@ -68,7 +68,7 @@ ${P.getCtrlCode('mdctrl', 'CONTROL.html').code}
${P.getCtrlCode(batchToolbar, 'CONTROL.html').code} ${P.getCtrlCode(batchToolbar, 'CONTROL.html').code}
</@ibizindent> </@ibizindent>
<app-mob-button <app-mob-button
className="app-view-toolbar-button" class="app-view-toolbar-button"
iconName="arrow-undo-outline" iconName="arrow-undo-outline"
:text="$t('app.button.cancel')" :text="$t('app.button.cancel')"
@click="cancelSelect" /> @click="cancelSelect" />
......
...@@ -113,14 +113,14 @@ ...@@ -113,14 +113,14 @@
<ion-footer> <ion-footer>
<div class="search-btn"> <div class="search-btn">
<app-mob-button <app-mob-button
className="search-btn-item" class="search-btn-item"
:text="$t('app.searchForm.searchButton.reset')" :text="$t('app.searchForm.searchButton.reset')"
color="light" color="light"
shape="round" shape="round"
size="small" size="small"
@click="onReset" /> @click="onReset" />
<app-mob-button <app-mob-button
className="search-btn-item" class="search-btn-item"
shape="round" shape="round"
size="small" size="small"
:text="$t('app.searchForm.searchButton.search')" :text="$t('app.searchForm.searchButton.search')"
......
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
<#assign view_footer> <#assign view_footer>
<div class="option-wf-view-btnbox"> <div class="option-wf-view-btnbox">
<app-mob-button <app-mob-button
className="option-btn medium" class="option-btn medium"
color="medium" color="medium"
:text="$t('app.button.cancel')" :text="$t('app.button.cancel')"
@click="onClickCancel" /> @click="onClickCancel" />
<app-mob-button <app-mob-button
className="option-btn success" class="option-btn success"
:text="$t('app.button.confirm')" :text="$t('app.button.confirm')"
@click="onClickOk" /> @click="onClickOk" />
</div> </div>
......
...@@ -6,12 +6,12 @@ ${P.getCtrlCode('form', 'CONTROL.html').code} ...@@ -6,12 +6,12 @@ ${P.getCtrlCode('form', 'CONTROL.html').code}
<#assign view_footer> <#assign view_footer>
<div class="option-view-btnbox"> <div class="option-view-btnbox">
<app-mob-button <app-mob-button
className="option-btn medium" class="option-btn medium"
color="medium" color="medium"
:text="$t('app.button.cancel')" :text="$t('app.button.cancel')"
@click="back" /> @click="back" />
<app-mob-button <app-mob-button
className="option-btn success" class="option-btn success"
:text="$t('app.button.confirm')" :text="$t('app.button.confirm')"
@click="save" /> @click="save" />
</div> </div>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
iconName = "<@setIcon item />" iconName = "<@setIcon item />"
</#if> </#if>
<#if item.isShowCaption()> <#if item.isShowCaption()>
<#if item.getLabelPSSysCss()??>className="${item.getLabelPSSysCss().getCssName()}"</#if> <#if item.getLabelPSSysCss()??>class="${item.getLabelPSSysCss().getCssName()}"</#if>
<#if item.getLabelPSSysCss()??> style="${item.getLabelPSSysCss().getRawCssStyle()}"</#if> <#if item.getLabelPSSysCss()??> style="${item.getLabelPSSysCss().getRawCssStyle()}"</#if>
text="${item.getCaption()}" text="${item.getCaption()}"
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册