vendor: amis 6.13.0 base (fork root)

This commit is contained in:
2026-06-16 22:14:57 +08:00
commit 8c8e4247a9
3840 changed files with 2467374 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
/**
* @file Flex 常见布局 1:1 左右均分
*/
import {FlexPluginBase} from '../../../src/plugin/Layout/FlexPluginBase';
export default class Layout1_1 extends FlexPluginBase {
name = '左右均分';
isBaseComponent = false;
pluginIcon = 'layout-2cols-plugin';
description = '常见布局:左右均分布局(基于 CSS Flex 实现的布局容器)。';
tags = ['常见布局'];
order = 200;
scaffold: any = {
type: 'flex',
className: 'p-1',
items: [
{
type: 'wrapper',
size: 'xs',
body: [],
style: {
flex: '1 1 auto',
flexBasis: 'auto',
flexGrow: 1,
display: 'block'
}
},
{
type: 'wrapper',
size: 'xs',
body: [],
style: {
flex: '1 1 auto',
flexBasis: 'auto',
flexGrow: 1,
display: 'block'
}
}
],
alignItems: 'stretch'
};
}