hot-sell.vue 697 B

1234567891011121314151617181920212223242526272829303132333435
  1. <route lang="json5">
  2. {
  3. layout: 'default',
  4. style: {
  5. navigationBarTitleText: '%home.hotSelling%',
  6. },
  7. }
  8. </route>
  9. <template>
  10. <view class="hot-selling">
  11. <HotTags v-bind:current-tag="currentTag"></HotTags>
  12. <ProductList></ProductList>
  13. </view>
  14. </template>
  15. <script lang="ts" setup>
  16. import HotTags from '@/components/hot-tags/hot-tags.vue'
  17. import ProductList from '@/components/product-list/product-list.vue'
  18. const currentTag = ref(0)
  19. //
  20. </script>
  21. <style lang="scss" scoped>
  22. .hot-selling {
  23. box-sizing: border-box;
  24. display: flex;
  25. flex-direction: column;
  26. align-items: flex-start;
  27. justify-content: center;
  28. padding: 24rpx 0 44rpx 32rpx;
  29. }
  30. </style>