<template>
  <div>
    <!-- 普通用户头部   identityLabel !== `admin` &&-->
    <div
      v-show="
        identityLabel !== `support` &&
        identityLabel !== `verifier` &&
        identityLabel !== `admin` &&
        identityLabel !== `accounting`
      "
    >
      <ul class="headList2">
        <!-- 首页 -->
        <li @click="handelJump(`/`)">{{ $t(`menu.homePage`) }}</li>
        <!-- 账户升级 -->
        <li @click="handelJump(`/AccountUpgrade`)">
          {{ $t("menu.upgrade") }}
        </li>
        <!-- 退出 -->
        <li @click="handelExit">{{ $t("login.exit") }}</li>
        <!-- 联系客服 -->
        <li @click="handelHelp">{{ $t("login.customerService") }}</li>
        <!-- 用户名 退出 -->
        <li v-show="!loginstatus">
          <el-dropdown
            trigger="click"
            :modal-append-to-body="true"
            szie="small"
            class="loginMenu"
          >
            <!-- style="text-transform: none;" 用户名取消首字母大写 -->
            <span class="el-dropdown-link" style="text-transform: none">
              {{ userName }}<i class="el-icon-arrow-down el-icon--right"></i>
            </span>
            <!-- 退出 -->
            <!-- <el-dropdown-menu slot="dropdown" class="header-new-dro">
                <el-dropdown-item @click.native="handelExit">
                  {{ $t("login.exit") }}</el-dropdown-item
                >
              </el-dropdown-menu> -->
            <!-- 个人资料 -->
            <el-dropdown-menu slot="dropdown" class="header-new-dro">
              <el-dropdown-item @click.native="handelPeople">
                {{ $t(`login.personalData`) }}</el-dropdown-item
              >
              <!-- 订阅中心 -->
              <!-- <el-dropdown-item @click.native="handelJump(`/subscribe`)">
                  {{ $t(`login.subscribeCenter`) }}</el-dropdown-item
                >           -->
              <!-- 支付历史改为转账记录 -->
              <el-dropdown-item @click.native="handelJump(`/payHistories`)">
                {{ $t(`login.payHistories`) }}</el-dropdown-item
              >
              <!-- 提现记录 -->
              <el-dropdown-item
                @click.native="handelJump(`/withdrawalRecords`)"
              >
                {{ $t(`pay.withdrawalRecords`) }}</el-dropdown-item
              >
              <!-- 消费记录 -->
              <el-dropdown-item
                @click.native="handelJump(`/ConsumptionRecords`)"
              >
                {{ $t(`pay.consumption`) }}</el-dropdown-item
              >
              <!-- 充值 -->
              <el-dropdown-item
                @click.native="handelJump(`/Recharge`)"
                style="font-family: Arial, sans-serif; font-size: 13px"
              >
                {{ $t(`pay.Recharge1`) }}</el-dropdown-item
              >
            </el-dropdown-menu>
          </el-dropdown>
        </li>

        <!-- 余额 -->
        <!-- <li>{{ $t(`login.balance`) }} :<span>***</span> </li> -->
        <!--充值 -->
        <!-- <li>{{ $t(`login.Recharge`) }}</li> -->
        <!-- 提现 -->
        <!-- <li>{{ $t(`login.Withdrawal`) }} </li> -->
        <!-- 用户名 退出 -->
        <!-- <li v-show="!loginstatus">
            <el-dropdown
              trigger="click"
              :modal-append-to-body="true"
              szie="small"
              class="loginMenu"
            >
              <span class="el-dropdown-link">
                {{ userName }}<i class="el-icon-arrow-down el-icon--right"></i>
              </span>
              <el-dropdown-menu slot="dropdown" class="header-new-dro">
                <el-dropdown-item @click.native="handelExit">
                  {{ $t("login.exit") }}</el-dropdown-item
                >
              </el-dropdown-menu>
            </el-dropdown>
          </li> -->
        <!-- 当前等级-->
        <!-- <li>{{ $t(`login.currentLevel`) }} : L3<span></span> </li> -->

        <!-- 个人中心 -->
        <!-- <li>
            <el-dropdown
              trigger="click"
              :modal-append-to-body="true"
              szie="small"
              class="loginMenu"
            >
              <span class="el-dropdown-link">
                {{ $t("login.personal")
                }}<i class="el-icon-arrow-down el-icon--right"></i>
              </span>
             
              <el-dropdown-menu slot="dropdown" class="header-new-dro">
                <el-dropdown-item @click.native="handelPeople">
                  {{ $t(`login.personalData`) }}</el-dropdown-item
                >
               
                <el-dropdown-item @click.native="handelJump(`/subscribe`)">
                  {{ $t(`login.subscribeCenter`) }}</el-dropdown-item
                >          
            
                <el-dropdown-item @click.native="handelJump(`/payHistories`)">
                  {{ $t(`login.payHistories`) }}</el-dropdown-item
                >
              </el-dropdown-menu>
            </el-dropdown>
          </li> -->
        <!-- 帮助 修改为联系客服-->
        <!-- <li class="help">
            <el-dropdown
              trigger="click"
              :modal-append-to-body="true"
              szie="small"
              class="loginMenu"
            >
              <span class="el-dropdown-link">
                {{ $t("login.customerService")
                }}<i class="el-icon-arrow-down el-icon--right"></i>
              </span>
              <el-dropdown-menu slot="dropdown" class="header-new-dro">
                <el-dropdown-item @click.native="handelHelp">
                  {{ $t(`login.feedback`) }}</el-dropdown-item
                >
              
              </el-dropdown-menu>
            </el-dropdown>
          </li> -->
        <!-- 后台页面 -->
        <!-- <li class="help">
            <el-dropdown
              trigger="click"
              :modal-append-to-body="true"
              szie="small"
              class="loginMenu"
            >
              <span class="el-dropdown-link">
                {{ $t("login.backgroundPage")
                }}<i class="el-icon-arrow-down el-icon--right"></i>
              </span>        
          <el-dropdown-menu slot="dropdown" class="header-new-dro">
            
              <el-dropdown-item
                  v-show="
                    identityLabel == `support` ||
                    identityLabel == `verifier` ||
                    identityLabel == `admin`
                  "
                  @click.native="handelJump(`/HelpBackstage`)"
                >
                  {{ $t(`login.backstage`) }}</el-dropdown-item
                >
           
              <el-dropdown-item
                  v-show="identityLabel == `verifier` || identityLabel == `admin`"
                  @click.native="handelJump(`/subscribeBoard`)"
                >
                  {{ $t(`login.subscribeBoard`) }}</el-dropdown-item
                >
            
            
              <el-dropdown-item
                  v-show="
                    identityLabel == `accounting` || identityLabel == `admin`
                  "
                  @click.native="handelJump(`/payManagement`)"
                >
                  {{ $t(`login.payManagement`) }}</el-dropdown-item
                >
             
              <el-dropdown-item @click.native="handelJump(`/BackendWithdrawal`)">
                    {{ $t(`login.backendWithdrawal`) }}</el-dropdown-item
                  >
             
                <el-dropdown-item v-show=" identityLabel == `support`||identityLabel == `admin` " @click.native="handelJump(`/DataMonitoring`)">   {{ $t(`menu.dataMonitoring`) }}</el-dropdown-item
                  >
             
                <el-dropdown-item
                    @click.native="handelJump(`/BackgroundAddress`)"
                  >
                    {{ $t(`login.backgroundAddress`) }}</el-dropdown-item
                  > 
                
                <el-dropdown-item @click.native="handelJump(`/BackendPayment`)">
                    {{ $t(`login.backendPayment`) }}</el-dropdown-item
                  >
            
              <el-dropdown-item @click.native="handelJump(`/BackendRefund`)">
                    {{ $t(`login.backendRefund`) }}</el-dropdown-item
                  >
                <el-dropdown-item @click.native="handelJump(`/messageBoard`)">
                  {{ $t("message.backstage") }}</el-dropdown-item
                >

              </el-dropdown-menu>
         
            </el-dropdown>
          </li> -->
        <!-- 留言板后台   -->
        <!-- <li
            v-show="
              identityLabel == `support` ||
              identityLabel == `verifier` ||
              identityLabel == `admin`
            "
            @click="handelJump(`/messageBoard`)"
          >
            {{ $t("message.backstage") }}
          </li> -->

        <!-- 语言 -->
        <li class="langs" @click="handelSwitching">{{ langs }}</li>

        <!-- <li >
            <el-dropdown trigger="click" szie="small" class="loginMenu">
              <span class="el-dropdown-link">
                切换中英文<i class="el-icon-arrow-down el-icon--right"></i>
              </span>
              <el-dropdown-menu slot="dropdown" class="header-new-dro">
                <el-dropdown-item @click.native="handelExit">
                  中文
                </el-dropdown-item
                >
                <el-dropdown-item @click.native="handelExit">
                  中文
                </el-dropdown-item
                >
              </el-dropdown-menu>
            </el-dropdown>
          </li> -->
      </ul>
    </div>
    <!-- 技术人员登录后 头部 support、verifier-->
    <div v-show="identityLabel == `support` || identityLabel == `verifier`">
      <ul class="headList2">
        <!-- 首页 -->
        <li @click="handelJump(`/`)">{{ $t(`menu.homePage`) }}</li>
        <!-- 退出 -->
        <li @click="handelExit">{{ $t("login.exit") }}</li>
        <!-- 联系客服 -->
        <li @click="handelHelp">{{ $t("login.customerService") }}</li>
        <!-- 用户名 退出 -->
        <li v-show="!loginstatus">
          <el-dropdown
            trigger="click"
            :modal-append-to-body="true"
            szie="small"
            class="loginMenu"
          >
            <span class="el-dropdown-link" style="text-transform: none">
              {{ userName }}<i class="el-icon-arrow-down el-icon--right"></i>
            </span>
            <!-- 个人资料 -->
            <el-dropdown-menu slot="dropdown" class="header-new-dro">
              <el-dropdown-item @click.native="handelPeople">
                {{ $t(`login.personalData`) }}</el-dropdown-item
              >
              <!-- 订阅中心 -->
              <!-- <el-dropdown-item @click.native="handelJump(`/subscribe`)">
                    {{ $t(`login.subscribeCenter`) }}</el-dropdown-item
                  >           -->
              <!-- 支付历史 -->
              <el-dropdown-item @click.native="handelJump(`/payHistories`)">
                {{ $t(`login.payHistories`) }}</el-dropdown-item
              >
              <!-- 提现记录 -->
              <el-dropdown-item
                @click.native="handelJump(`/withdrawalRecords`)"
              >
                {{ $t(`pay.withdrawalRecords`) }}</el-dropdown-item
              >
              <!-- 消费记录 -->
              <el-dropdown-item
                @click.native="handelJump(`/ConsumptionRecords`)"
              >
                {{ $t(`pay.consumption`) }}</el-dropdown-item
              >
              <!-- 充值 -->
              <el-dropdown-item
                @click.native="handelJump(`/Recharge`)"
                style="font-family: Arial, sans-serif; font-size: 13px"
              >
                {{ $t(`pay.Recharge1`) }}</el-dropdown-item
              >
            </el-dropdown-menu>
          </el-dropdown>
        </li>

        <!-- 后台页面 后台管理-->
        <li class="help">
          <el-dropdown
            trigger="click"
            :modal-append-to-body="true"
            szie="small"
            class="loginMenu"
          >
            <span class="el-dropdown-link">
              {{ $t("login.backgroundPage")
              }}<i class="el-icon-arrow-down el-icon--right"></i>
            </span>

            <el-dropdown-menu slot="dropdown" class="header-new-dro">
              <!-- 数据监控 改为数据统计后台 访问统计-->
              <!-- <el-dropdown-item
                    @click.native="handelJump(`/DataMonitoring`)"
                  >
                    {{ $t(`menu.dataMonitoring`) }}</el-dropdown-item
                  > -->
              <!-- 订阅管理后台 改为订阅后台页面  消息订阅-->
              <!-- <el-dropdown-item
                    v-show="identityLabel == `verifier` || identityLabel == `admin`"
                    @click.native="handelJump(`/subscribeBoard`)"
                  >
                    {{ $t(`login.subscribeBoard`) }}</el-dropdown-item
                  > -->
              <!-- 帮助中心后台改为客服后台  客服中心-->
              <el-dropdown-item
                v-show="
                  identityLabel == `support` ||
                  identityLabel == `verifier` ||
                  identityLabel == `admin`
                "
                @click.native="handelJump(`/HelpBackstage`)"
              >
                {{ $t(`login.backstage`) }}</el-dropdown-item
              >
            </el-dropdown-menu>
          </el-dropdown>
        </li>
        <!-- 语言 -->
        <li class="langs" @click="handelSwitching">{{ langs }}</li>
      </ul>
    </div>
    <!-- 财务用户头部   accounting -->
    <div v-show="identityLabel == `accounting`">
      <ul class="headList2">
        <!-- 首页 -->
        <li @click="handelJump(`/`)">{{ $t(`menu.homePage`) }}</li>
        <!-- 退出 -->
        <li @click="handelExit">{{ $t("login.exit") }}</li>
        <!-- 联系客服 -->
        <li @click="handelHelp">{{ $t("login.customerService") }}</li>
        <!-- 用户名 个人资料 -->
        <li v-show="!loginstatus">
          <el-dropdown
            trigger="click"
            :modal-append-to-body="true"
            szie="small"
            class="loginMenu"
          >
            <span class="el-dropdown-link" style="text-transform: none">
              {{ userName }}<i class="el-icon-arrow-down el-icon--right"></i>
            </span>
            <!-- 个人资料 -->
            <el-dropdown-menu slot="dropdown" class="header-new-dro">
              <el-dropdown-item @click.native="handelPeople">
                {{ $t(`login.personalData`) }}</el-dropdown-item
              >
              <!-- 订阅中心 -->
              <!-- <el-dropdown-item @click.native="handelJump(`/subscribe`)">
                    {{ $t(`login.subscribeCenter`) }}</el-dropdown-item
                  >           -->
              <!-- 支付历史 -->
              <el-dropdown-item @click.native="handelJump(`/payHistories`)">
                {{ $t(`login.payHistories`) }}</el-dropdown-item
              >
              <!-- 提现记录 -->
              <el-dropdown-item
                @click.native="handelJump(`/withdrawalRecords`)"
              >
                {{ $t(`pay.withdrawalRecords`) }}</el-dropdown-item
              >
              <!-- 消费记录 -->
              <el-dropdown-item
                @click.native="handelJump(`/ConsumptionRecords`)"
              >
                {{ $t(`pay.consumption`) }}</el-dropdown-item
              >
              <!-- 充值 -->
              <el-dropdown-item
                @click.native="handelJump(`/Recharge`)"
                style="font-family: Arial, sans-serif; font-size: 13px"
              >
                {{ $t(`pay.Recharge1`) }}</el-dropdown-item
              >
            </el-dropdown-menu>
          </el-dropdown>
        </li>
        <!-- 财务管理 -->
        <li class="help">
          <el-dropdown
            trigger="click"
            :modal-append-to-body="true"
            szie="small"
            class="loginMenu"
          >
            <span class="el-dropdown-link">
              {{ $t("login.finance")
              }}<i class="el-icon-arrow-down el-icon--right"></i>
            </span>
            <el-dropdown-menu slot="dropdown" class="header-new-dro">
              <!-- 支付管理后台 改为充值后台页面 数据中心-->
              <!-- <el-dropdown-item             
                    @click.native="handelJump(`/payManagement`)"
                  >
                    {{ $t(`login.paymentBackend`) }}</el-dropdown-item
                  > -->
              <!-- 后台提现  改为提现后台页面 提现订单-->
              <el-dropdown-item
                @click.native="handelJump(`/BackendWithdrawal`)"
              >
                {{ $t(`login.backendWithdrawal`) }}</el-dropdown-item
              >
              <!-- 后台确认支付 转账确认 -->
              <!-- <el-dropdown-item @click.native="handelJump(`/BackendPayment`)">
                      {{ $t(`login.backendPayment`) }}</el-dropdown-item
                    > -->
              <!-- 后台退款  退款确认-->
              <!-- <el-dropdown-item @click.native="handelJump(`/BackendRefund`)">
                      {{ $t(`login.backendRefund`) }}</el-dropdown-item
                    > -->

              <!-- 后台地址管理 收款地址 -->
              <el-dropdown-item
                @click.native="handelJump(`/BackgroundAddress`)"
              >
                {{ $t(`login.backgroundAddress`) }}</el-dropdown-item
              >
              <!--充值记录 -->
              <el-dropdown-item @click.native="handelJump(`/RechargeRecord`)">
                {{ $t(`login.RechargeRecord`) }}</el-dropdown-item
              >
            </el-dropdown-menu>
            <!--  -->
          </el-dropdown>
        </li>

        <!-- 语言 -->
        <li class="langs" @click="handelSwitching">{{ langs }}</li>
      </ul>
    </div>
    <!-- 管理员登录 -->
    <div v-show="identityLabel == `admin`">
      <ul class="headList2">
        <!-- 首页 -->
        <!-- <li @click="handelJump(`/`)">{{ $t(`menu.homePage`) }}</li> -->
        <!-- 账户升级 -->
        <!-- <li @click="handelJump(`/AccountUpgrade`)">
              {{ $t("menu.upgrade") }}
            </li> -->
        <!-- 退出 -->
        <!-- <li @click="handelExit">{{ $t("login.exit") }}</li> -->
        <!-- 联系客服 -->
        <!-- <li @click="handelHelp">{{ $t("login.customerService") }}</li> -->
        <!-- 用户名 退出 -->
        <li v-show="!loginstatus">
          <!-- <el-dropdown
                trigger="click"
                :modal-append-to-body="true"
                szie="small"
                class="loginMenu"
              >
                <span class="el-dropdown-link" style="text-transform: none">
                 
                  {{ userName
                  }}<i class="el-icon-arrow-down el-icon--right"></i>
                </span> -->
          <!-- 退出 -->
          <!-- <el-dropdown-menu slot="dropdown" class="header-new-dro">
                    <el-dropdown-item @click.native="handelExit">
                      {{ $t("login.exit") }}</el-dropdown-item
                    >
                  </el-dropdown-menu> -->
          <!-- 个人资料 -->
          <!-- <el-dropdown-menu slot="dropdown" class="header-new-dro">
                  <el-dropdown-item @click.native="handelPeople">
                    {{ $t(`login.personalData`) }}</el-dropdown-item
                  > -->
          <!-- 站内信 -->
          <!-- <el-dropdown-item  @click.native="handelJump(`/subscriptionLetter`)">
                    {{ $t(`login.subscriptionLetter`) }}</el-dropdown-item
                  > -->
          <!-- 订阅与告警 -->
          <!-- <el-dropdown-item @click.native="handelJump(`/Alarm`)">
                      {{ $t(`login.Alarm`) }}</el-dropdown-item
                    >   -->
          <!-- 订阅中心 -->
          <!-- <el-dropdown-item @click.native="handelJump(`/subscribe`)">
                      {{ $t(`login.subscribeCenter`) }}</el-dropdown-item
                    >           -->
          <!-- 支付历史 -->
          <!-- <el-dropdown-item @click.native="handelJump(`/payHistories`)">
                    {{ $t(`login.payHistories`) }}</el-dropdown-item
                  > -->
          <!-- 提现记录 -->
          <!-- <el-dropdown-item
                    @click.native="handelJump(`/withdrawalRecords`)"
                  >
                    {{ $t(`pay.withdrawalRecords`) }}</el-dropdown-item
                  > -->
          <!-- 消费记录 -->
          <!-- <el-dropdown-item
                    @click.native="handelJump(`/ConsumptionRecords`)"
                  >
                    {{ $t(`pay.consumption`) }}</el-dropdown-item
                  > -->
          <!-- 充值 -->
          <!-- <el-dropdown-item
                    @click.native="handelJump(`/Recharge`)"
                    style="font-family: Arial, sans-serif; font-size: 13px"
                  >
                    {{ $t(`pay.Recharge1`) }}</el-dropdown-item
                  >
                </el-dropdown-menu>
              </el-dropdown> -->
        </li>
        <!-- 后台管理 -->
        <li class="help">
          <!-- <el-dropdown
                trigger="click"
                :modal-append-to-body="true"
                szie="small"
                class="loginMenu"
              >
                <span class="el-dropdown-link">
                  {{ $t("login.backgroundPage")
                  }}<i class="el-icon-arrow-down el-icon--right"></i>
                </span>

                <el-dropdown-menu slot="dropdown" class="header-new-dro"> -->
          <!-- 数据监控 改为数据统计后台 访问统计-->
          <!-- <el-dropdown-item
                    @click.native="handelJump(`/DataMonitoring`)"
                  >
                    {{ $t(`menu.dataMonitoring`) }}</el-dropdown-item
                  > -->
          <!-- 发布观察报告-->
          <!-- <el-dropdown-item
                    @click.native="handelJump(`/publishObservations`)"
                  >
                    {{ $t(`login.publishObservations`) }}</el-dropdown-item
                  > -->
          <!-- 订阅管理后台 改为订阅后台页面  消息订阅-->
          <!-- <el-dropdown-item
                    v-show="identityLabel == `verifier` || identityLabel == `admin`"
                    @click.native="handelJump(`/subscribeBoard`)"
                  >
                    {{ $t(`login.subscribeBoard`) }}</el-dropdown-item
                  > -->
          <!-- 帮助中心后台改为客服后台  客服中心-->
          <!-- <el-dropdown-item
                    v-show="
                      identityLabel == `support` ||
                      identityLabel == `verifier` ||
                      identityLabel == `admin`
                    "
                    @click.native="handelJump(`/HelpBackstage`)"
                  >
                    {{ $t(`login.backstage`) }}</el-dropdown-item
                  >
                </el-dropdown-menu>
              </el-dropdown> -->
        </li>
        <!-- 财务管理 -->
        <!-- <li class="help">
              <el-dropdown
                trigger="click"
                :modal-append-to-body="true"
                szie="small"
                class="loginMenu"
              >
                <span class="el-dropdown-link">
                  {{ $t("login.finance")
                  }}<i class="el-icon-arrow-down el-icon--right"></i>
                </span>
                <el-dropdown-menu slot="dropdown" class="header-new-dro"> -->
        <!-- 支付管理后台 改为充值后台页面  充值确认 数据中心 -->
        <!-- <el-dropdown-item             
                      @click.native="handelJump(`/payManagement`)"
                    >
                      {{ $t(`login.paymentBackend`) }}</el-dropdown-item
                    > -->
        <!-- 后台提现  改为提现后台页面 提现确认-->
        <!-- <el-dropdown-item
                    @click.native="handelJump(`/BackendWithdrawal`)"
                  >
                    {{ $t(`login.backendWithdrawal`) }}</el-dropdown-item
                  > -->
        <!-- 后台确认支付 转账确认 -->
        <!-- <el-dropdown-item @click.native="handelJump(`/BackendPayment`)">
                        {{ $t(`login.backendPayment`) }}</el-dropdown-item
                      > -->
        <!-- 后台退款  退款确认-->
        <!-- <el-dropdown-item @click.native="handelJump(`/BackendRefund`)">
                        {{ $t(`login.backendRefund`) }}</el-dropdown-item
                      > -->

        <!-- 后台地址管理 收款地址 -->
        <!-- <el-dropdown-item
                    @click.native="handelJump(`/BackgroundAddress`)"
                  >
                    {{ $t(`login.backgroundAddress`) }}</el-dropdown-item
                  > -->
        <!--充值记录 -->
        <!-- <el-dropdown-item
                    @click.native="handelJump(`/RechargeRecord`)"
                  >
                    {{ $t(`login.RechargeRecord`) }}</el-dropdown-item
                  > -->
        <!-- </el-dropdown-menu>
               
              </el-dropdown> -->
        <!-- </li> -->

        <!-- 语言 -->
        <!-- <li class="langs" @click="handelSwitching">{{ langs }}</li> -->
      </ul>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>