ProductInfo.vue 861 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <!-- 商品 -->
  3. <view class="div commodity-wrapper">
  4. <!-- 轮播图 -->
  5. <info-goods-swipe></info-goods-swipe>
  6. <!-- 商品信息 -->
  7. <info-item></info-item>
  8. <!-- 购买 -->
  9. <info-buy></info-buy>
  10. <!-- 推荐商品 -->
  11. <recommend-item></recommend-item>
  12. <view class="div" style="height:0.25rem; background-color: #F0F2F5"></view>
  13. </view>
  14. </template>
  15. <script>
  16. import InfoGoodsSwipe from './InfoGoodsSwipe'
  17. import InfoItem from './InfoItem'
  18. import InfoBuy from './InfoBuy'
  19. import RecommendItem from './RecommendItem'
  20. import { mapState, mapMutations } from 'vuex'
  21. export default {
  22. data () {
  23. return {}
  24. },
  25. created () {},
  26. components: {
  27. InfoGoodsSwipe,
  28. InfoItem,
  29. InfoBuy,
  30. RecommendItem
  31. },
  32. computed: mapState({
  33. }),
  34. mounted () {},
  35. methods: {}
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. </style>