foot.vue 744 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <div id="foot">
  3. <el-row>
  4. <el-col :span="24" class="foot">
  5. <div class="div">
  6. <p v-if="info" v-html="info.content"></p>
  7. </div>
  8. </el-col>
  9. </el-row>
  10. </div>
  11. </template>
  12. <script>
  13. export default {
  14. name: 'foot',
  15. props: {
  16. info: null,
  17. },
  18. components: {},
  19. data: () => ({}),
  20. created() {},
  21. computed: {},
  22. methods: {},
  23. };
  24. </script>
  25. <style lang="less" scoped>
  26. /deep/.foot p p {
  27. padding: 0;
  28. margin: 0;
  29. }
  30. .foot {
  31. width: 100%;
  32. min-height: 120px;
  33. background-color: rgba(0, 0, 0, 0.4);
  34. overflow: hidden;
  35. }
  36. .foot .div {
  37. width: 650px;
  38. margin: 0 auto;
  39. }
  40. .foot p {
  41. float: left;
  42. color: #858f9b;
  43. font-size: 14px;
  44. margin-right: 24px;
  45. line-height: 30px;
  46. }
  47. </style>