footer.vue 527 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <span> {{ copyright }}</span>
  3. </template>
  4. <script>
  5. import config from '@frame/config';
  6. export default {
  7. data() {
  8. return {
  9. copyright: config.copyright,
  10. };
  11. },
  12. };
  13. </script>
  14. <style lang="less">
  15. .el-footer {
  16. height: 48px;
  17. line-height: 48px;
  18. text-align: center;
  19. font-size: 12px;
  20. color: #999;
  21. background: #fff;
  22. -webkit-box-shadow: 4px 4px 40px 0 rgba(0, 0, 0, 0.05);
  23. box-shadow: 4px 4px 40px 0 rgba(0, 0, 0, 0.05);
  24. width: 100%;
  25. }
  26. .footer {
  27. border-top: solid 1px #e6e6e6;
  28. }
  29. </style>