min-height.uvue 374 字节
Newer Older
DCloud-yinjiacheng's avatar
DCloud-yinjiacheng 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<template>
	<view style="flex-grow: 1;">
		<view>
			<text>min-height: 500rpx</text>
			<view class="common" style="min-height: 500rpx;">
				<text>height: 100rpx</text>
			</view>
		</view>
	</view>
</template>

<script>

</script>

<style>
	.common {
		width: 500rpx;
		height: 100rpx;
		background-color: red;
		justify-content: center;
		align-items: center;
	}
</style>