<template>
    <div class="member_title_breadcrumb">
        <el-breadcrumb
            separator-class="el-icon-arrow-right"
            style="line-height: 40px;font-size: 10px;"
            >
            <el-breadcrumb-item :to="{path:'/member/home'}" replace>{{L['首页']}}</el-breadcrumb-item>
            <!-- <el-breadcrumb-item :to="{path:'/member/home'}" replace>{{L['个人中心']}}</el-breadcrumb-item> -->
            <el-breadcrumb-item v-if="!memberPath">{{memberTitle}}</el-breadcrumb-item>
            <el-breadcrumb-item v-else :to="{path:memberPath}" replace>{{memberTitle}}</el-breadcrumb-item>
            <el-breadcrumb-item>{{memberTitleS}}</el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>

<script setup>
import {ElBreadcrumb,ElBreadcrumbItem} from "element-plus";
import { getCurLanguage } from '@/composables/common.js';
const L = getCurLanguage();
defineProps(["memberTitle","memberPath","memberTitleS"]);
</script>
<style lang="scss">
@use "@/assets/style/theme.scss" as *;
.member_title_breadcrumb{
   
    background: $colorK;
    .el-breadcrumb__item{
        height: 46px;
        line-height: 46px;
    }
    .el-breadcrumb__inner {
        color:#666666!important;
        font-weight: 700!important;
    }
    .is-link{
        color: #666666!important;
        font-weight: 400!important;
        &:hover{
            color: #333333!important;
            font-weight: 700!important;
        }
    }
}

</style>
