Enhance language selector styling and component

This commit is contained in:
scout 2025-02-26 16:30:07 +08:00
parent 83958e7538
commit 8e00aa80e7

View File

@ -426,7 +426,7 @@ watch(
{{ t("home.nav.businessintroduction") }} {{ t("home.nav.businessintroduction") }}
</div> </div>
<div class="tab-item"> <div class="tab-item">
<n-popselect v-model:value="currentLanguage" :options="languageOptions" trigger="click" <n-popselect v-model:value="currentLanguage" :options="languageOptions" trigger="click"
@update:value="changeLanguage"> @update:value="changeLanguage">
{{ currentLanguageLabel }} {{ currentLanguageLabel }}
@ -731,6 +731,8 @@ watch(
background-repeat: repeat-y; background-repeat: repeat-y;
} }
.divider4 { .divider4 {
position: absolute; position: absolute;
z-index: 3; z-index: 3;
@ -940,3 +942,11 @@ watch(
} }
} }
</style> </style>
<style lang="scss">
.n-base-select-option {
&.n-base-select-option--pending::before {
background: #EAEDFD !important;
}
}
</style>