<template>
	<view>
		<assess />
	</view>
</template>

<script>
	import assess from '@/component/assess.vue'  // 评价列表
	export default{
		components: {
			assess
		},
		data(){
			return {
				goodId: 0,
				store_id: 0
			}
		},
		onLoad(options) {
			this.goodId = options.goodId;  // 商品Id
			this.store_id =  options.store_id;
			this.getassess();
		},
		methods: {
			getassess() {
				this.request({
					url: '?do=getevaluategoods',
					method: 'post',
					data: {
						goodsid: this.goodId
					},
					success: function(res) {
						console.log(res);
					}
				})
			}
		}
	}
</script>

<style>
</style>
