foot.vue 1011 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <div id="foot">
  3. <el-row v-show="footInfo.display">
  4. <el-col :span="24" class="main">
  5. <el-col :span="24" class="one">
  6. <div class="w_1200">
  7. <p v-html="footInfo.content"></p>
  8. </div>
  9. </el-col>
  10. </el-col>
  11. </el-row>
  12. </div>
  13. </template>
  14. <script>
  15. import { mapState, createNamespacedHelpers } from 'vuex';
  16. export default {
  17. name: 'foot',
  18. props: {
  19. footInfo: { type: Object, default: () => {} },
  20. },
  21. components: {},
  22. data: function() {
  23. return {};
  24. },
  25. created() {},
  26. methods: {},
  27. computed: {
  28. ...mapState(['user']),
  29. },
  30. metaInfo() {
  31. return { title: this.$route.meta.title };
  32. },
  33. watch: {
  34. test: {
  35. deep: true,
  36. immediate: true,
  37. handler(val) {},
  38. },
  39. },
  40. };
  41. </script>
  42. <style lang="less" scoped>
  43. .main {
  44. .one {
  45. min-height: 30px;
  46. background-color: #3a3637;
  47. color: #999999;
  48. padding: 10px 0;
  49. /deep/p {
  50. p {
  51. margin: 0 0 5px 0;
  52. }
  53. }
  54. }
  55. }
  56. </style>