RecommendStore.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <template>
  2. <div class="container marketing">
  3. <div class="toggle-store">
  4. <toggle-store />
  5. </div>
  6. <div class="carousel">
  7. <carousel />
  8. </div>
  9. </div>
  10. </template>
  11. <script>
  12. import ToggleStore from './ToggleStore.vue'
  13. import Carousel from './Carousel.vue'
  14. export default {
  15. name: 'recommend-store',
  16. components: {
  17. ToggleStore,
  18. Carousel
  19. },
  20. computed: {
  21. providerType () {
  22. return this.$route.path === '/provider/home' ? 'agency' : 'original'
  23. }
  24. }
  25. }
  26. </script>
  27. <style lang="scss" scoped>
  28. @import '~assets/scss/variables';
  29. .marketing {
  30. width: 1190px;
  31. min-height: 360px;
  32. padding-top: 20px!important ;
  33. overflow: hidden;
  34. .toggle-store {
  35. float: left;
  36. margin-right: 15px;
  37. width: 220px;
  38. height: 402px
  39. }
  40. .carousel {
  41. width: 955px;
  42. min-height: 400px;
  43. display: inline-block;
  44. float: left;
  45. border: 1px solid #D6D3CE;
  46. }
  47. /*.carousel_670 {*/
  48. /*width: 670px;*/
  49. /*min-height: 360px;*/
  50. /*display: inline-block;*/
  51. /*float: left;*/
  52. /*border: 1px solid #D6D3CE;*/
  53. /*}*/
  54. .new-store {
  55. width: 280px;
  56. min-height: 360px;
  57. float: left;
  58. display: inline-block;
  59. }
  60. }
  61. </style>