
<import name="flex-row" src="../Common/ui/h-ui/basic/c_flex_row"></import>
<import name="flex-col" src="../Common/ui/h-ui/basic/c_flex_col"></import>
<template>
<div class="container">
<flex-row h-style="margin-top: 30px;margin-bottom: 30px;">
<flex-col bg-color="bg-primary" justify="center">
<text>A</text>
</flex-col>
<flex-col bg-color="bg-info" justify="center">
<text>B</text>
</flex-col>
<flex-col bg-color="bg-primary" justify="center">
<text>C</text>
</flex-col>
</flex-row>
</div>
</template>
<style lang="less">
@import '../Common/styles/container.less';
.container text {
color: #ffffff;
}
</style>

<import name="flex-row" src="../Common/ui/h-ui/basic/c_flex_row"></import>
<import name="flex-col" src="../Common/ui/h-ui/basic/c_flex_col"></import>
<template>
<div class="container">
<flex-row h-style="margin-top: 30px;margin-bottom: 30px;">
<flex-col width="3" bg-color="bg-primary" justify="center">
<text>A</text>
</flex-col>
<flex-col width="6" bg-color="bg-info" justify="center">
<text>B</text>
</flex-col>
<flex-col width="2" bg-color="bg-primary" justify="center">
<text>C</text>
</flex-col>
<flex-col width="1" bg-color="bg-info" justify="center">
<text>D</text>
</flex-col>
</flex-row>
</div>
</template>
<style lang="less">
@import '../Common/styles/container.less';