<template>
  <div class="dm-wrap short-msg">
    <div class="title flex_between">
      <div class="flex_between">
        <img :src="require('@/assets/img/icon-talk.png')" class="img" />
        <h2>短信</h2>
      </div>
    </div>
    <short-msg-sum v-bind="$attrs" />
  </div>
</template>

<script>
import shortMsgSum from './short-msg-sum.vue';
export default {
  name: 'short-msg',
  components: { shortMsgSum },
  inheritAttrs: false
};
</script>

<style lang="scss" scoped>
.short-msg {
  padding: 22px 20px 30px !important;
  font-family: PingFangSC-Regular, PingFang SC;
  .title {
    height: 22px;
    margin-bottom: 20px;
    line-height: 22px;
    h2 {
      font-size: 16px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 700;
      color: #303133;
      margin-left: 2px;
    }
  }
  .img {
    transform: scale(0.5);
  }
  .flex_between {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
</style>
