App.vue 662 B

1234567891011121314151617181920212223242526272829303132333435
  1. <script setup>
  2. import zhCN from 'ant-design-vue/es/locale/zh_CN'
  3. // import myMain from '@/components/dataV/myMain.vue'
  4. import AdaptiveView from '@/components/AdaptiveView/index.vue'
  5. </script>
  6. <template>
  7. <a-config-provider :locale="zhCN">
  8. <AdaptiveView>
  9. <router-view />
  10. </AdaptiveView>
  11. </a-config-provider>
  12. </template>
  13. <style lang="scss">
  14. body {
  15. margin: 0;
  16. }
  17. .w_1200 {
  18. width: 1200px;
  19. margin: 0 auto;
  20. }
  21. .textOver {
  22. overflow: hidden;
  23. text-overflow: ellipsis;
  24. white-space: nowrap;
  25. }
  26. .textMore {
  27. display: -webkit-box;
  28. -webkit-line-clamp: 2;
  29. -webkit-box-orient: vertical;
  30. overflow: hidden;
  31. text-overflow: ellipsis;
  32. }
  33. </style>