border-width.uvue 812 字节
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
<template>
	<view style="flex-grow: 1;">
		<view>
			<text>border-width: 10rpx</text>
			<view class="common" style="border-width: 10rpx;"></view>
		</view>
		
		<view>
			<text>border-left-width: 10rpx</text>
			<view class="common" style="border-left-width: 10rpx;"></view>
		</view>
		
		<view>
			<text>border-top-width: 20rpx</text>
			<view class="common" style="border-top-width: 20rpx;"></view>
		</view>
		
		<view>
			<text>border-right-width: 30rpx</text>
			<view class="common" style="border-right-width: 30rpx;"></view>
		</view>
		
		<view>
			<text>border-bottom-width: 40rpx</text>
			<view class="common" style="border-bottom-width: 40rpx;"></view>
		</view>	
	</view>
</template>

<script>

</script>

<style>
	.common {
		width: 500rpx;
		height: 500rpx;
		background-color: gray;
	}
</style>