<template>
	<!-- 数学-计算特训card -->
	<view class="card" @click="handleClick(item)">
	  <image :src="item.cover" mode="aspectFill" class="cover" />
	  <view class="name">{{ item.name }}</view>
	</view>
</template>

<script setup>
import ezyActiveVue from "@/components/ezyActive/ezyActive.vue";
const porps = defineProps({
  item: {
    type: Object
  }
})
// 跳转详情页面
function handleClick(item) {
	console.log('item',item.ziliaoId);
	uni.navigateTo({
		url: `/pages/chanpinZiliao/shuxue/jstxInfo?ziliaoId=${item.ziliaoId}`
	})
}
</script>

<style>
</style>