2023-12-10 14:12:33 +00:00
|
|
|
|
<!-- 分类展示:first-one 风格 -->
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<template>
|
|
|
|
|
<view class="ss-flex-col">
|
2023-12-10 14:12:33 +00:00
|
|
|
|
<view class="goods-box" v-for="item in pagination.list" :key="item.id">
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<s-goods-column
|
|
|
|
|
size="sl"
|
|
|
|
|
:data="item"
|
|
|
|
|
@click="sheep.$router.go('/pages/goods/index', { id: item.id })"
|
2023-12-10 14:12:33 +00:00
|
|
|
|
/>
|
2022-11-22 07:45:36 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import sheep from '@/sheep';
|
2023-12-10 14:12:33 +00:00
|
|
|
|
|
2022-11-22 07:45:36 +00:00
|
|
|
|
const props = defineProps({
|
|
|
|
|
pagination: Object,
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.goods-box {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
</style>
|