<template>
	<view class="contentV">
		<view class="titlect">
			<label class="titletext">{{$t('pinglun.suoyoupingf')}}(4000+)</label>
			<view class="rightct">
				<image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
				<label class="">4.9</label>
			</view>
		</view>
		<view class="linect">
			<view class="linev">
				<image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
				<label class="textsize">5</label>
				<view class="progress_box">
					<progress :percent="pgList[0]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
				</view>
			</view>
			<view class="linev">
				<image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
				<label class="textsize">4</label>
				<view class="progress_box">
					<progress :percent="pgList[1]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
				</view>
			</view>
			<view class="linev">
				<image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
				<label class="textsize">3</label>
				<view class="progress_box">
					<progress :percent="pgList[2]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
				</view>
			</view>
			<view class="linev">
				<image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
				<label class="textsize">2</label>
				<view class="progress_box">
					<progress :percent="pgList[3]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
				</view>
			</view>
			<view class="linev">
				<image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
				<label class="textsize">1</label>
				<view class="progress_box">
					<progress :percent="pgList[4]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
				</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pgList: [60, 80, 20,40, 10]
			}
		},
		onShow(){
			this.setProgress()
		},
		methods: {
			setProgress() {
				this.pgList = [60, 80, 20, 40, 100]
			},
		}
	}
</script>

<style>
.contentV{
	width: 100%;
	height: 330rpx;
}
.titlect{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: left;
}
.titletext{
	padding-top: 10rpx;
	padding-left: 10rpx;
	font-size: 40rpx;
	color: #000;
	font-weight:bold;
}
.rightct{
	margin-left: auto;
	margin-right: 30rpx;
	flex-direction: row;
	align-items: center;
}
.xingimage{
	padding-right: 10rpx;
	width: 30rpx;
	height: 30rpx;
}
.linect{
	width: 96%;
	justify-content: center;
	padding:10rpx;
}
.linev{
	display: flex;
	flex-direction: row;
	align-items: center;
}

.progress_box {
	padding-left: 16rpx;
	padding-right: 40rpx;
	width: 100%;
	
}

.textsize{
	font-size: 20rpx;
}


</style>
