<template>
  <div class="header-bar">
    <div class="inner">
      <div class="header-top">
        <h2>会员中心</h2>
      </div>
      <div class="u-info">
        <div class="info-content">
          <div class="u-icon-wrap">
            <img src=""
                 alt="">
          </div>
          <div class="right-text">
            <p>Mickey(用户名)</p>
            <p>邀请码:1234455<span>复制</span></p>
          </div>
        </div>
        <div class="ad-bar">
          <div class="ad-inner">
            <div>累计收益:¥ 20002</div>
            <div>
              <span class="btn">提现</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>

/**
* @author: 过飞
* @createData: 2020年09月17日 13:42:29
* @version：v1.0
*
* @desc: 功能描述
*/
export default {
  name: '',

  components: {},

  mixins: [],

  props: {},

  data() {
    return {

    }
  },

  computed: {},

  watch: {},

  created() { },

  mounted() { },

  methods: {}

}
</script>
<style lang="scss" scoped >
.header-bar {
  color: #fff;
  background-color: #f74146;
  .inner {
    .header-top {
      display: flex;
      justify-content: center;
      & > h2 {
        font-size: 18px;
      }
    }
    .u-info {
      .info-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        .u-icon-wrap {
          width: 50px;
          height: 50px;
          margin: 0 10px 0;
          & > img {
            display: block;
            width: 100%;
            height: 100%;
            background-color: #eee;
          }
        }
        .right-text {
          flex: 1;
          & > p {
            margin: 0;
          }
          & > p:nth-child(2) {
            font-size: 14px;
            margin-top: 10px;
          }
        }
      }
      .ad-bar {
        display: flex;
        padding: 0 10px;
        height: 40px;
        align-items: center;
        .ad-inner {
          color: #b87a19;
          flex: 1;
          display: flex;
          justify-content: space-between;
          padding: 0 10px;
          .btn {
            font-size: 12px;
            padding: 6px 10px;
            border-radius: 12px;
            background-color: #fbbc51;
          }
        }
      }
    }
  }
}
</style>
