index.vue 548 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <div class="home-page">
  3. <Carousel />
  4. </div>
  5. </template>
  6. <script>
  7. import Carousel from "./Carousel";
  8. export default {
  9. computed: {
  10. token() {
  11. let token =
  12. (window.localStorage.getItem("webtoken") &&
  13. window.localStorage.getItem("webtoken")) ||
  14. "";
  15. return token;
  16. },
  17. },
  18. components: {
  19. Carousel
  20. },
  21. data() {
  22. return {
  23. };
  24. },
  25. watch: {
  26. },
  27. methods: {
  28. },
  29. mounted() {
  30. },
  31. };
  32. </script>
  33. <style lang="less" scoped>
  34. @import url("./style.less");
  35. </style>