change font,loginLogo,text,... for boursemes
This commit is contained in:
@@ -97,7 +97,11 @@
|
||||
<div class="main_in" @click="setRoute('buyProduct')">
|
||||
<div
|
||||
class="circle_in"
|
||||
:class="getConfigApp('name') === 'goldenramin' ? 'is-goldenramin-nav-logo' : 'text-white'"
|
||||
:class="isBoursecuNavLogo
|
||||
? 'is-boursecu-nav-logo'
|
||||
: isWhiteNavLogo
|
||||
? 'is-white-nav-logo'
|
||||
: 'text-white'"
|
||||
>
|
||||
<div class="circle_into" @click="popVisible = !popVisible">
|
||||
<div v-if="getConfigApp('name')=='garoosi'"
|
||||
@@ -151,7 +155,7 @@ import BasicButton from '@/components/BasicPacks/BasicButton.vue'
|
||||
import type {Transaction} from '@/models/transaction'
|
||||
import BasicIcon from '@/components/BasicPacks/BasicIcon.vue'
|
||||
import {useConfigStore} from "@/store/configStore";
|
||||
import {getConfigApp} from "@/utils/config";
|
||||
import {getConfigApp, isBoursecuProject} from "@/utils/config";
|
||||
|
||||
/*onMounted(async () => {
|
||||
const c = await document.getElementById("canvas1");
|
||||
@@ -168,6 +172,9 @@ const currentRoute = computed(() => router.currentRoute.value.name)
|
||||
const hideMenu = computed(() => !!router.currentRoute.value.meta.hideMenu)
|
||||
const config = useConfigStore()
|
||||
const popVisible = ref(false)
|
||||
const whiteNavLogoProjects = ['goldenramin']
|
||||
const isWhiteNavLogo = computed(() => whiteNavLogoProjects.includes(getConfigApp('name')))
|
||||
const isBoursecuNavLogo = computed(() => isBoursecuProject())
|
||||
|
||||
function setNavColor(val: string) {
|
||||
if (currentRoute.value === val) {
|
||||
@@ -268,13 +275,21 @@ function setRoute(val: string) {
|
||||
}
|
||||
}
|
||||
|
||||
/* فقط goldenramin: فقط دایرهٔ داخلی سفید؛ حلقهٔ بیرونی همان primary میماند */
|
||||
.circle_in.is-goldenramin-nav-logo {
|
||||
/* goldenramin: فقط دایرهٔ داخلی سفید؛ حلقهٔ بیرونی همان primary میماند */
|
||||
.circle_in.is-white-nav-logo {
|
||||
.circle_into {
|
||||
background: #fff !important;
|
||||
border-color: rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
}
|
||||
|
||||
/* boursecu: دایرهٔ داخلی با رنگ برند */
|
||||
.circle_in.is-boursecu-nav-logo {
|
||||
.circle_into {
|
||||
background: #133050 !important;
|
||||
border-color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main {
|
||||
|
||||
Reference in New Issue
Block a user