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

向导视图——代码位置调整

上级 c8470ca4
<template>
<div class="app-wizard">
<#if ctrl.getPSDEWizard?? && ctrl.getPSDEWizard()?? && ctrl.getPSDEWizard().getPSDEWizardSteps?? && ctrl.getPSDEWizard().getPSDEWizardSteps()??>
<van-steps class="wizard-steps" :active="wizardForms.indexOf(activeForm)" finish-status="success">
<#list ctrl.getPSDEWizard().getPSDEWizardSteps() as step>
<van-step >${step.getTitle()}</van-step>
</#list>
</van-steps>
</#if>
<template class="app-wizard-content">
<#if ctrl.getPSDEEditForms()??>
<#list ctrl.getPSDEEditForms() as form>
......@@ -31,11 +24,6 @@
</#list>
</#if>
</template>
<ion-footer class="app-wizard-footer">
<ion-button :disabled="isDisabled('PREV')" @click="onClickPrev()" type="primary">上一步</ion-button>
<ion-button :disabled="isDisabled('NEXT')" @click="onClickNext()" type="primary">下一步</ion-button>
<ion-button :disabled="isDisabled('FINISH')" @click="onClickFinish()" type="primary">完成</ion-button>
</ion-footer>
</div>
</template>
<#ibizinclude>
......
<#if view.hasPSControl('wizardpanel')>
<#assign wizardpanel = view.getPSControl('wizardpanel')>
<#if ctrl.getPSDEWizard?? && ctrl.getPSDEWizard()?? && ctrl.getPSDEWizard().getPSDEWizardSteps?? && ctrl.getPSDEWizard().getPSDEWizardSteps()??>
<#assign view_header_botton>
<van-steps class="wizard-steps" :active="wizardForms.indexOf(activeForm)" finish-status="success">
<#list ctrl.getPSDEWizard().getPSDEWizardSteps() as step>
<van-step >${step.getTitle()}</van-step>
</#list>
</van-steps>
</#if>
</#assign>
<#assign view_footer>
<ion-button :disabled="isDisabled('PREV')" @click="onClickPrev()" type="primary">上一步</ion-button>
<ion-button :disabled="isDisabled('NEXT')" @click="onClickNext()" type="primary">下一步</ion-button>
<ion-button :disabled="isDisabled('FINISH')" @click="onClickFinish()" type="primary">完成</ion-button>
</#assign>
</#if>
<#ibizinclude>
../@MACRO/WIZARD.vue.ftl
../@MACRO/VIEW_LAYOUT_BASE.ftl
</#ibizinclude>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册