first-one.vue 630 B

12345678910111213141516171819202122232425262728293031323334
  1. <!-- 分类展示:first-one 风格 -->
  2. <template>
  3. <view class="ss-flex-col">
  4. <view class="goods-box" v-for="item in pagination.list" :key="item.id">
  5. <s-goods-column
  6. size="sl"
  7. :data="item"
  8. @click="sheep.$router.go('/pages/goods/index', { id: item.id,merchantId,shopId })"
  9. />
  10. </view>
  11. </view>
  12. </template>
  13. <script setup>
  14. import sheep from '@/sheep';
  15. const props = defineProps({
  16. pagination:{
  17. type: Object,
  18. },
  19. shopId:{
  20. type: String,
  21. },
  22. merchantId:{
  23. type: String,
  24. },
  25. });
  26. </script>
  27. <style lang="scss" scoped>
  28. .goods-box {
  29. width: 100%;
  30. }
  31. </style>