<template>
  <div class="dm-wrap phone-traffic">
    <div class="title flex_between">
      <div class="flex_between">
        <!-- <img :src="require('@/assets/img/icon-phone.png')" class="img" /> -->
        <h2>积分</h2>
      </div>
    </div>
    <integral-traffic v-bind="$attrs" />
  </div>
</template>

<script>
import integralTraffic from './integral-traffic.vue';
export default {
  name: 'integral',
  components: { integralTraffic },
  inheritAttrs: false
};
</script>

<style lang="scss" scoped>
.phone-traffic {
  padding: 22px 20px 30px !important;
  font-family: PingFangSC-Regular, PingFang SC;
  .title {
    height: 32px;
    margin-bottom: 10px;
    line-height: 32px;
    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;
  }
  .detail {
    padding: 0 10px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 4px;
    height: 32px;
    color: #1890ff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
    &:hover {
      color: #46a6ff;
    }
    i {
      margin-right: 2px;
    }
  }
}
</style>
