display montzar
This commit is contained in:
Vendored
+1
@@ -7,6 +7,7 @@ export {}
|
|||||||
|
|
||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
|
AAffix: typeof import('ant-design-vue/es')['Affix']
|
||||||
AButton: typeof import('ant-design-vue/es')['Button']
|
AButton: typeof import('ant-design-vue/es')['Button']
|
||||||
ADivider: typeof import('ant-design-vue/es')['Divider']
|
ADivider: typeof import('ant-design-vue/es')['Divider']
|
||||||
AForm: typeof import('ant-design-vue/es')['Form']
|
AForm: typeof import('ant-design-vue/es')['Form']
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -78,7 +78,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- <canvas ref="canvas" id="canvas1" width="400" height="80" class="w-full"></canvas>-->
|
<!-- <canvas ref="canvas" id="canvas1" width="400" height="80" class="w-full"></canvas>-->
|
||||||
<div class="bottom-appbar w-auto mx-auto">
|
<div class="bottom-appbar w-auto mx-auto">
|
||||||
<div class="tabs">
|
<div class="tabs"
|
||||||
|
:class="userStore.getValueByKey('display_montzar') === 'true' ? 'bottom-1rem' : 'bottom-0' "
|
||||||
|
>
|
||||||
<div :class="setNavColor('home')" class="tab" @click="setRoute('home')">
|
<div :class="setNavColor('home')" class="tab" @click="setRoute('home')">
|
||||||
<Icon icon="vuesax-linear:home" />
|
<Icon icon="vuesax-linear:home" />
|
||||||
<div class="text-xs mt-1 font-bold">صفحه اصلی</div>
|
<div class="text-xs mt-1 font-bold">صفحه اصلی</div>
|
||||||
@@ -111,16 +113,34 @@
|
|||||||
<Icon icon="vuesax-linear:setting-2" />
|
<Icon icon="vuesax-linear:setting-2" />
|
||||||
<div class="text-xs mt-1 font-bold">تنظیمات</div>
|
<div class="text-xs mt-1 font-bold">تنظیمات</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<!-- <div class="w-[80px] h-[80px] border-1">
|
|
||||||
|
|
||||||
</div>-->
|
<div
|
||||||
|
v-if ="userStore.getValueByKey('display_montzar') === 'true' "
|
||||||
|
class ="bottom-0 flex justify-center text-[9px] fixed left-0 right-0 "
|
||||||
|
style ="box-shadow: 0px 3.75px 16px 0px #00000030"
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="https://montzar.ir"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="flex items-center gap-1 text-inherit no-underline"
|
||||||
|
>
|
||||||
|
<div class="flex justify-center py-1 items-center">
|
||||||
|
<div>توسعه و طراحی توسط</div>
|
||||||
|
<img src="/logo-montzar.png" alt="" class="h-3" />
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="circle">
|
<div class="circle">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -131,7 +151,8 @@ import router from '@/router'
|
|||||||
import BasicButton from '@/components/BasicPacks/BasicButton.vue'
|
import BasicButton from '@/components/BasicPacks/BasicButton.vue'
|
||||||
import type { Transaction } from '@/models/transaction'
|
import type { Transaction } from '@/models/transaction'
|
||||||
import BasicIcon from '@/components/BasicPacks/BasicIcon.vue'
|
import BasicIcon from '@/components/BasicPacks/BasicIcon.vue'
|
||||||
import {useConfigStore} from "@/store/configStore";
|
import {useConfigStore } from "@/store/configStore";
|
||||||
|
import { useUserStore } from "@/store/userStore";
|
||||||
|
|
||||||
/*onMounted(async () => {
|
/*onMounted(async () => {
|
||||||
const c = await document.getElementById("canvas1");
|
const c = await document.getElementById("canvas1");
|
||||||
@@ -144,9 +165,9 @@ import {useConfigStore} from "@/store/configStore";
|
|||||||
ctx.lineTo(400,20)
|
ctx.lineTo(400,20)
|
||||||
ctx.stroke();
|
ctx.stroke();
|
||||||
})*/
|
})*/
|
||||||
|
const userStore = useUserStore()
|
||||||
const currentRoute = computed(() => router.currentRoute.value.name)
|
const currentRoute = computed(() => router.currentRoute.value.name)
|
||||||
const config=useConfigStore()
|
const config=useConfigStore()
|
||||||
|
|
||||||
const popVisible = ref(false)
|
const popVisible = ref(false)
|
||||||
|
|
||||||
function setNavColor(val: string) {
|
function setNavColor(val: string) {
|
||||||
@@ -184,10 +205,8 @@ function setRoute(val: string) {
|
|||||||
.tabs {
|
.tabs {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 90%;
|
height: 90%;
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: white;
|
background: white;
|
||||||
//background-color: red;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 400;
|
z-index: 400;
|
||||||
|
|||||||
Reference in New Issue
Block a user