ProductsStep.vue 900 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template lang="pug">
  2. .purchase-step
  3. .products-selector
  4. product-searcher
  5. products-grid
  6. cart
  7. </template>
  8. <script>
  9. import ProductSearcher from '@/components/product/ProductSearcher'
  10. import ProductsGrid from '@/components/product/ProductsGrid'
  11. import Cart from '@/components/product/Cart'
  12. export default {
  13. components: {
  14. ProductSearcher,
  15. ProductsGrid,
  16. Cart
  17. }
  18. }
  19. </script>
  20. <style lang="sass">
  21. .purchase-step
  22. .products-selector
  23. width: calc(100% - 300px)
  24. height: 100%
  25. padding-right: 5px
  26. display: inline-block
  27. .cart-viewer
  28. width: 300px
  29. height: 100%
  30. border-left: 1px solid #d3d3d3
  31. padding-left: 10px
  32. display: inline-block
  33. vertical-align: top
  34. </style>