<template>
<!-- #ifdef APP -->
<scroll-view style="flex: 1">
<!-- #endif -->
<view style="flex-grow: 1">
<view>
<text>align-items: center</text>
<view class="common" style="align-items: center">
<view style="width: 50px; height: 50px; background-color: red"></view>
<view style="width: 50px; height: 50px; background-color: green"></view>
<view style="width: 50px; height: 50px; background-color: blue"></view>
</view>
</view>
<view>
<text>align-items: flex-start</text>
<view class="common" style="align-items: flex-start">
<view style="width: 50px; height: 50px; background-color: red"></view>
<view style="width: 50px; height: 50px; background-color: green"></view>
<view style="width: 50px; height: 50px; background-color: blue"></view>
</view>
</view>
<view>
<text>align-items: flex-end</text>
<view class="common" style="align-items: flex-end">
<view style="width: 50px; height: 50px; background-color: red"></view>
<view style="width: 50px; height: 50px; background-color: green"></view>
<view style="width: 50px; height: 50px; background-color: blue"></view>
</view>
</view>
<view>
<text>align-items: stretch</text>
<view class="common" style="align-items: stretch">
<view style="width: 50px; background-color: red"></view>
<view style="width: 50px; background-color: green"></view>
<view style="width: 50px; background-color: blue"></view>
</view>
</view>
</view>
<!-- #ifdef APP -->
</scroll-view>
<!-- #endif -->
</template>
<style>
.common {
width: 250px;
height: 250px;
background-color: gray;
flex-direction: row;
}
</style>