article-footer.vue 923 Bytes
<template>
  <div class="article-footer-wrapper">
    <div class="tool-bar">
      <WidgetIconBtn class="item" type="msg" text="100" :option="option" @click="onClick"></WidgetIconBtn>
      <WidgetIconBtn class="item" type="fav" text="100" :option="option" @click="onClick"></WidgetIconBtn>
      <WidgetIconBtn class="item" type="star" text="100" :option="option" @click="onClick"></WidgetIconBtn>
    </div>
    <div class="close">收起</div>
  </div>
</template>

<script>
export default {
  name: 'ArticleFooter',
  data() {
    return {
      option: {
        eventName: 'click'
      }
    };
  },
  methods: {
    onClick() {

    }
  },
};
</script>

<style lang="scss" scoped>

.article-footer-wrapper {
  display: flex;
  height: 100px;
}

.tool-bar {
  flex: 1;
}

.close {
  width: 200px;
  color: white;
  font-size: 32px;
  line-height: 100px;
  background-color: #d0021b;
  text-align: center;
}

</style>