<template>
	<view class="layout">
		<view class="assessHead">
			<span style="padding-right: 10upx;">评价</span>
			<van-rate
			  :value="valueNumber"
			  :size="20"
			  void-color="#ee0a24"
			  void-icon="star"
			  color="#eee"
			/>
		</view>
		 <TextArea :tips="tips" @submitValue="submitValue"/>	
		<view>
			<view>添加图片(最多3张)</view>
			<uploadImage />	
				
		</view>
		<view class="submitRemin">提交</view>
	</view>
</template>

<script>
	import TextArea from '@/component/textarea.vue'
	import uploadImage from '@/component/uploadImage.vue'
	export default {
		components: {
			TextArea,
			uploadImage
		},
		data() {
			return{
				valueNumber: 0,
				imageList:[],
				size: 25,
				goodComment:'',
				
				tips: '五星好评超过20个字就有机会获得积分'
			}
		},
		onUnload() {
			   
		},
		methods: {
			submitValue(e) {
				this.goodComment = e.detail.value;
			},
			
			previewImage() {
				
			}
		}
	}
</script>

<style lang="scss">
	.layout {
		padding: 0 32upx;
		.assessHead {
			padding: 20upx 0;
		}
		.deepHeight {
			height: 108upx;
			width: 108upx;
		}
	}
</style>
