goodkindone.vue 769 字节
<template>
	<view class="container">
		<view class="goodkind flexone">
			
			<view class="goodkinditem" v-for="(item,index) in wantlistone" :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: ["wantlistone"],
	        data() {
	            return {
	                
	            }
	        },
	        onLoad() {
	
	
	
	        },
	        methods: {
	           sanji(id){
	           		uni.navigateTo({
	           			url:"/pages/xinyuan/sanjikind?sanid="+id
	           		})
	           }
	      
	        }
	
	    }
</script>

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