goodkind.vue 730 字节
<template>
	<view class="container">
		<view class="goodkind flexone">
			
			<view class="goodkinditem" v-for="(item,index) in wantlist" :key="index" @click="sanji(item.id)">
				<img :src="item.image" alt="" class="goodkindimg">
				<view class="wantname">{{item.name}}</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	
	    export default {
			 props: ["wantlist"],
	        data() {
	            return {
	                
	            }
	        },
	        onLoad() {
	        },
	        methods: {
	           sanji(id){
				   uni.navigateTo({
				   	url:"/pages/xinyuan/sanjikind?sanid="+id
				   })
			   }
	      
	        }
	
	    }
</script>

<style>
	@import url("../style/goodkind.css");
</style>