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:3
*/
import {FlexPluginBase} from '../../../src/plugin/Layout/FlexPluginBase';
export default class Layout1_3 extends FlexPluginBase {
name = '1:3 布局';
isBaseComponent = false;
pluginIcon = 'layout-2cols-plugin';
description = '常见布局:1:3 布局(基于 CSS Flex 实现的布局容器)。';
tags = ['常见布局'];
order = 202;
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: 3,
display: 'block'
}
}
],
alignItems: 'stretch'
};
}