<template>
  <view class="sx-card-box">
    <view class="card-head-box" @click="handleClick">
      <!-- 封面 -->
      <image :src="item.cover" class="head-img"></image>
      <view class="head-right-box">
        <!-- 名称 -->
        <view class="head-title">{{item.name}}</view>
        <!-- 简介 -->
        <view class="head-content">{{item.intro}}</view>
        <!-- 共计 -->
        <view class="head-content">￥{{item.price}}</view>
      </view>
    </view>
  </view>
</template>

<script setup>
import ezyActiveVue from "@/components/ezyActive/ezyActive.vue";
const props = defineProps({
  item: {
    type: Object
  }
})

	// 选择产品等级
function handleClick() {
	uni.navigateTo({
		url: '/pages/chanpinShop/cp1/intro'
	})
}

</script>

<style scoped>

</style>