<template>
  <div class="setting">
    <div style="text-align: center;">
      <img src="../assets/setting_toppic.jpg" style="display: inline-block;max-width:100%;"> </img>
    </div>


    <div class="setting_userinfo">

      <div class="setting_userinfo_avatar">耀</div>
      <div class="setting_userinfo_name">
        <div class="setting_userinfo_name_id">longjoedyy</div>
        <div class="setting_userinfo_name_name">邓永耀</div>
      </div>
    </div>

    <!-- <div class="setting_liubai"></div> -->

    <div class="setting_list">
      <!-- <div class="setting_list_item setting_list_item_border">
        <div class="setting_list_item_icon">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-youjian"></use>
          </svg>
        </div>
        <div class="setting_list_item_name">内部邮件</div>
        <div class="setting_email_noread">未读 13</div>
        <div class="setting_list_item_right">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-iconfontjiantou2"></use>
          </svg>
        </div>
      </div> -->

      <div class="setting_list_item ">
        <div class="setting_list_item_icon setting_icon_bg_blue">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-ICON-fenpeijiaose"></use>
          </svg>
        </div>
        <div class="setting_list_item_text setting_list_item_border">
          <div class="setting_list_item_name">审批代理</div>
          <div class="setting_list_item_right">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>
      </div>

      <div class="setting_list_item ">
        <div class="setting_list_item_icon setting_icon_bg_green">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-huaban"></use>
          </svg>
        </div>

        <div class="setting_list_item_text setting_list_item_border">
          <div class="setting_list_item_name">推送资讯</div>
          <div class="setting_list_item_right">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>
      </div>

      <div class="setting_list_item ">
        <div class="setting_list_item_icon setting_icon_bg_orange">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-xiugaimima"></use>
          </svg>
        </div>

        <div class="setting_list_item_text setting_list_item_border">
          <div class="setting_list_item_name">修改密码</div>
          <div class="setting_list_item_right">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>
      </div>

      <div class="setting_list_item ">
        <div class="setting_list_item_icon setting_icon_bg_red">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-guanyu"></use>
          </svg>
        </div>

        <div class="setting_list_item_text setting_list_item_border">
          <div class="setting_list_item_name">关于</div>
          <div class="setting_list_item_right">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>
      </div>

      <div class="setting_relogin">退出当前帐号</div>
    </div>

    <!-- 底部按钮 -->
    <div class="todolist-tab">
      <div class="todolist-tab-btn">
        <div class="todolist-tab-icon">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-home"></use>
          </svg>
        </div>
        首页
      </div>
      <div class="todolist-tab-btn  ">
        <div class="todolist-tab-icon">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-format-list-bulleted"></use>
          </svg>
        </div>
        <div class="todolist-tab-count">9</div>
        待办
      </div>


      <div class="todolist-tab-btn">
        <div class="todolist-tab-icon">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-google-drive"></use>
          </svg>
        </div>
        功能
      </div>

      <div class="todolist-tab-btn">
        <div class="todolist-tab-icon">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-email-outline"></use>
          </svg>
        </div>
        <div class="todolist-tab-count">5</div>
        消息
      </div>

      <div class="todolist-tab-btn todolist-tab-btn-on">
        <div class="todolist-tab-icon">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-account"></use>
          </svg>
        </div>
        我的
      </div>
    </div>

  </div>
</template>
<script>
  export default {
    name: 'setting'
  }

</script>
<style>
  body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-family: "微软雅黑";
  }

  .setting_userinfo {
    display: flex;
    position: relative;
    top: -40px;
    /* left:10px; */
  }

  .setting_userinfo_avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    background-color: #c2c2c2;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    margin-left: 10px;
    overflow: hidden;
    border: 4px solid rgb(255, 255, 255, 0.8);
    box-shadow: 0 0px 7px rgba(0, 0, 0, 0.3);
  }

  .setting_userinfo_name {
    padding: 15px 10px;
  }

  .setting_userinfo_name_name {
    font-size: 18px;
    font-weight: bold;
    line-height: 45px;
    color: #666;
  }

  .setting_userinfo_name_id {
    color: #fff;
    font-size: 14px;
    line-height: 14px;
  }

  .setting_list {
    background-color: #ffffff;
    width: 100%;
    position: relative;
    top: -40px;
  }

  .setting_list_item {
    display: flex;
    color: #606060;
    font-size: 15px;
    font-weight: bold;
    line-height: 55px;
    padding: 0 0 0 20px;
    align-items: center;
  }

  .setting_list_item_icon {
    flex: 0 0 35px;
    /* width: 35px;
    height: 35px; */
    font-size: 20px;
    line-height: 35px;

    color: #fff;
    border-radius: 50%;
    text-align: center;
  }

  .setting_icon_bg_blue {
    background-color: #00aaee;
  }

  .setting_icon_bg_green {
    background-color: #47cc47;
  }

  .setting_icon_bg_orange {
    background-color: #ff9800;
  }

  .setting_icon_bg_red {
    background-color: #ff6f61;
  }





  .setting_liubai {
    width: 100%;
    height: 10px;
    background-color: rgb(246, 246, 246);
  }

  .setting_list_item_text {
    display: flex;
    flex:0 0 78%;
    margin:0 0 0 15px;
  }

  .setting_list_item_border {
    border-bottom: 1px solid #f0f0f0;
  }

  .setting_list_item_right {
    color: #9b9b9b;
    font-size: 15px;
    position: absolute;
    right: 20px;
  }

  .setting_relogin {
    background-color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    color: #e14123;
    /* padding: 18px; */
    text-align: center;
    margin: 50px 0;
  }


  .todo-tab {
    display: flex;
    position: fixed;
    bottom: 0;
    background-color: #ffffff;
    width: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 5px 0 2px 0;
    box-shadow: 0 -1px 3px #f1f1f1
  }

  .todo-tab-btn {
    font-size: 13px;
    width: 25%;
    text-align: center
  }

  .todo-tab-btn-on {
    color: #ff7f50
  }

  .todo-tab-icon {
    font-size: 23px;
  }

  .todo-tab-count {
    position: absolute;
    margin-left: 16%;
    bottom: 35px;
    font-size: 13px;
    line-height: 15px;
    width: 15px;
    font-weight: bold;
    color: #fff;
    border-radius: 50%;
    padding: 3px;
    text-align: center;
    background-color: #fc4f4f
  }

  .setting_email_noread {
    font-size: 13px;
    color: #888;
    position: absolute;
    right: 40px;
    text-align: center;
  }

  /* 底部栏 */
  .todolist-tab {
    color: #666;
    display: flex;
    position: fixed;
    bottom: 0;
    background-color: #ffffff;
    width: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 5px 0 2px 0;
    box-shadow: 0 -1px 3px #f1f1f1
  }

  .todolist-tab-btn {
    font-size: 13px;
    width: 25%;
    text-align: center
  }

  .todolist-tab-btn-on {
    color: #46a4da
  }

  .todolist-tab-icon {
    font-size: 23px;
  }

  .todolist-tab-count {
    position: absolute;
    margin-left: 14%;
    bottom: 30px;
    font-size: 12px;
    line-height: 12px;
    width: 12px;
    font-weight: bold;
    color: #fff;
    border-radius: 50%;
    padding: 3px;
    text-align: center;
    background-color: #fc4f4f
  }

</style>
