|
|
@ -131,7 +131,7 @@ const options = computed(() => {
|
|
|
|
<n-avatar
|
|
|
|
<n-avatar
|
|
|
|
:src="(useInfo.usericon && getImgUrl(useInfo.usericon)) || defaultAvatar"
|
|
|
|
:src="(useInfo.usericon && getImgUrl(useInfo.usericon)) || defaultAvatar"
|
|
|
|
round
|
|
|
|
round
|
|
|
|
style="width: 53px; height: 53px"
|
|
|
|
style="width: 40px; height: 40px"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<div style="margin-left: 12px">
|
|
|
|
<div style="margin-left: 12px">
|
|
|
|
<span style="display: block" class="user-name">{{ useInfo.username }}</span>
|
|
|
|
<span style="display: block" class="user-name">{{ useInfo.username }}</span>
|
|
|
@ -140,7 +140,7 @@ const options = computed(() => {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="trigger">
|
|
|
|
<div class="trigger">
|
|
|
|
<span>{{ currentCompanyName }}</span>
|
|
|
|
<span>{{ currentCompanyName }}</span>
|
|
|
|
<span style="cursor: pointer" @click="changeFlag = !changeFlag"><SvgIcon name="switchCompany" size="24" /></span>
|
|
|
|
<span style="cursor: pointer" @click="changeFlag = !changeFlag"><SvgIcon name="switchCompany" size="18" /></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item">
|
|
|
|
<div class="item">
|
|
|
|
<span>AI设置开关</span>
|
|
|
|
<span>AI设置开关</span>
|
|
|
@ -149,19 +149,20 @@ const options = computed(() => {
|
|
|
|
<div class="trigger">
|
|
|
|
<div class="trigger">
|
|
|
|
联系我们
|
|
|
|
联系我们
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<n-divider style="margin-top: 0px; margin-bottom: 10px; padding: 0 22px" />
|
|
|
|
<n-divider style="margin-top: 0px; margin-bottom: 0px; padding: 0 22px" />
|
|
|
|
<div class="trigger" @click="logOut">
|
|
|
|
<div class="trigger" @click="logOut">
|
|
|
|
退出登录
|
|
|
|
退出登录
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-show="changeFlag"
|
|
|
|
v-show="changeFlag"
|
|
|
|
class="container sub-container"
|
|
|
|
class="container sub-container"
|
|
|
|
style="position: absolute; right: 17vw; width: 11.5vw; padding: 24px 0"
|
|
|
|
style="position: absolute; right: 15vw;top:7vh; width: 163px; padding: 24px 0;border-radius:0;height:144px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-for="option in options"
|
|
|
|
v-for="option in options"
|
|
|
|
:key="option.key"
|
|
|
|
:key="option.key"
|
|
|
|
class="trigger"
|
|
|
|
class="trigger"
|
|
|
|
|
|
|
|
style="margin-top: -84px;"
|
|
|
|
@click="handleSelect(option)"
|
|
|
|
@click="handleSelect(option)"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{{ option.label }}
|
|
|
|
{{ option.label }}
|
|
|
@ -176,11 +177,9 @@ const options = computed(() => {
|
|
|
|
.header {
|
|
|
|
.header {
|
|
|
|
.user-name {
|
|
|
|
.user-name {
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.depart-name {
|
|
|
|
.depart-name {
|
|
|
|
font-size: 12px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -196,25 +195,27 @@ const options = computed(() => {
|
|
|
|
border-radius: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: #ffffff;
|
|
|
|
background-color: #ffffff;
|
|
|
|
width: 16vw;
|
|
|
|
width: 240px;
|
|
|
|
|
|
|
|
height: 225px;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
.header {
|
|
|
|
.header {
|
|
|
|
border-radius: 10px 10px 0px 0px;
|
|
|
|
border-radius: 10px 10px 0px 0px;
|
|
|
|
background: linear-gradient(122deg, #4867ff 5%, #a0b3ff 100%);
|
|
|
|
background: url("../../../assets/images/actorbg.png") no-repeat;
|
|
|
|
|
|
|
|
background-size: 100%;
|
|
|
|
padding: 10px 20px;
|
|
|
|
padding: 10px 20px;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
color: #ffffff;
|
|
|
|
color: #ffffff;
|
|
|
|
height: 80px;
|
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.trigger,
|
|
|
|
.trigger,
|
|
|
|
.item {
|
|
|
|
.item {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 13px 20px;
|
|
|
|
padding: 9px 17px;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #333333;
|
|
|
|
color: #333333;
|
|
|
|
font-size: 13px;
|
|
|
|
font-size: 13px;
|
|
|
|