foot.vue 745 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <div id="foot">
  3. <el-row>
  4. <el-col :span="24" class="foot">
  5. <div class="w_1200">
  6. <el-col :span="24" v-html="topInfo.content"></el-col>
  7. <el-col :span="24">{{topInfo.domain}}</el-col>
  8. </div>
  9. </el-col>
  10. </el-row>
  11. </div>
  12. </template>
  13. <script>
  14. export default {
  15. name: 'foot',
  16. props: {
  17. topInfo: null,
  18. },
  19. components: {},
  20. data: () => ({}),
  21. created() { },
  22. computed: {},
  23. methods: {},
  24. };
  25. </script>
  26. <style lang="less" scoped>
  27. .w_1200 {
  28. width: 1200px;
  29. margin: 0 auto;
  30. }
  31. p {
  32. margin: 0;
  33. padding: 0;
  34. }
  35. .foot {
  36. min-height: 100px;
  37. padding: 10px 0;
  38. text-align: center;
  39. color: #fff;
  40. background-color: rgba(0, 0, 0, 0.5);
  41. }
  42. .text {
  43. padding: 5px 0;
  44. }
  45. </style>