| 1234567891011121314151617181920212223242526272829303132333435 |
- <template>
- <view class="shop-card-box" @click="handleClick">
- <!-- 封面 -->
- <image :src="item.cover" class="shop-img"></image>
- <view class="card-right-box">
- <!-- 名称 -->
- <view class="card-title">{{item.name}}</view>
- <!-- 简介 -->
- <view class="card-content">{{item.intro}}</view>
- <!-- 共计 -->
- <view class="card-price">¥{{item.price}}</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>
|