<template>
	<view class="list">
		<view class="list-cell">
			<text class="font-text">{{lable1}}{{value1}}</text>
			<text>{{lable2}}{{value2}}</text>
		</view>
		<view class="list-cell font-sm">
			<text>{{lable3}}{{value3}}</text>
			<text>{{lable4}}{{value4}}</text>
		</view>
		<view class="list-cell font-sm">
			<text class="span" :class="'type-order-'+ type">{{lable5}}{{value5}}</text>
			<text :class="type == '2' ? 'font-order-error' : ''">{{lable6}}{{value6}}</text>
		</view>
	</view>
</template>

<script>
	export default{
		props: [
			'lable1', 'value1',
			'lable2', 'value2',
			'lable3', 'value3',
			'lable4', 'value4',
			'lable5', 'value5',
			'lable6', 'value6',
			'type',
		],
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.list{
		padding: 10rpx 0;
		color: $uni-text-color-grey;
		border-bottom: 2rpx solid #d8d8d8;
		font-size: $uni-font-size-base;
		.list-cell{
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 5rpx 20rpx;
		}
		.span{
			padding: 5rpx 10rpx;
			margin-left: 10rpx;
			border-radius: 10rpx;
		}
		.font-sm{
			font-size: $uni-font-size-sm;
		}
		.font-text{
			color: $uni-text-color;
		}
		.font-order-error{
			color: $uni-color-order-error
		}
		
	}
</style>
