提交 7468d06a 编写于 作者: LUCIFER-ZHU's avatar LUCIFER-ZHU

update: 更新

上级 799e6a9e
{{#eq item.psLayoutPos 'FLEX'}} {{#eq item.psLayoutPos 'FLEX'}}
<div style="flex-grow: {{#if item.psLayoutPos.grow}}{{item.psLayoutPos.grow}}{{else}}0{{/if}};" {{#if item.psSysCss}}class="{{item.psSysCss.cssName}}"{{/if}}> <div style="flex-grow: {{#if item.psLayoutPos.grow}}{{item.psLayoutPos.grow}}{{else}}0{{/if}};" {{#if item.psSysCss}}class="{{item.psSysCss.cssName}}"{{/if}}>
<a-tabs class="app-form-page"> <AppFormTabpanel>
{{#each item.psDEFormPages as | formPage | }} {{#each item.psDEFormPages as | formPage | }}
{{>(lookup . 'formPage.detailType') item=formPage }} {{>(lookup . 'formPage.detailType') item=formPage }}
{{/each}} {{/each}}
</a-tabs> </AppFormTabpanel>
</div> </div>
{{else}} {{else}}
<a-col <a-col
{{> @macro/front-end/widgets/common/layout-pos.hbs item=item.psLayoutPos}} > {{> @macro/front-end/widgets/common/layout-pos.hbs item=item.psLayoutPos}} >
<a-tabs class="app-form-page"> <AppFormTabpanel>
{{#each item.psDEFormPages as | formPage | }} {{#each item.psDEFormPages as | formPage | }}
{{>(lookup . 'formPage.detailType') item=formPage }} {{>(lookup . 'formPage.detailType') item=formPage }}
{{/each}} {{/each}}
</a-tabs> </AppFormTabpanel>
</a-col> </a-col>
{{/eq}} {{/eq}}
\ No newline at end of file
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam, IParam } from "@core"; import { IActionParam, IParam } from "@core";
interface FormGroupProps{ interface FormButtonProps{
visible: boolean; visible: boolean;
cssClass?: string; cssClass?: string;
imagePath?: string; imagePath?: string;
...@@ -9,7 +9,7 @@ interface FormGroupProps{ ...@@ -9,7 +9,7 @@ interface FormGroupProps{
labelCssName?: string; labelCssName?: string;
caption: string caption: string
} }
const props = withDefaults(defineProps<FormGroupProps>(), { const props = withDefaults(defineProps<FormButtonProps>(), {
visible: true, visible: true,
}); });
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam, IParam } from "@core"; import { IActionParam, IParam } from "@core";
interface FormGroupProps{ interface FormIframeProps{
visible: boolean; visible: boolean;
iFrameUrl: string iFrameUrl: string
} }
const props = withDefaults(defineProps<FormGroupProps>(), { const props = withDefaults(defineProps<FormIframeProps>(), {
visible: true, visible: true,
}); });
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam, IParam } from "@core"; import { IActionParam, IParam } from "@core";
interface FormGroupProps{ interface FormPageProps{
visible: boolean; visible: boolean;
cssClass?: string; cssClass?: string;
imagePath?: string; imagePath?: string;
caption: string caption: string
} }
const props = withDefaults(defineProps<FormGroupProps>(), { const props = withDefaults(defineProps<FormPageProps>(), {
visible: true, visible: true,
}); });
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam, IParam } from "@core"; import { IActionParam, IParam } from "@core";
interface FormGroupProps{ interface FormTabPageProps{
visible: boolean; visible: boolean;
caption: string caption: string
} }
const props = withDefaults(defineProps<FormGroupProps>(), { const props = withDefaults(defineProps<FormTabPageProps>(), {
visible: true, visible: true,
}); });
......
<script setup lang="ts">
import { IActionParam, IParam } from "@core";
interface FormTabPanelProps{
}
const props = withDefaults(defineProps<FormTabPanelProps>(), {
});
</script>
<template>
<a-tabs class="app-form-page">
<slot></slot>
</a-tabs>
</template>
<style lang="scss">
</style>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册