fix admin and montzar

This commit is contained in:
mahmood
2026-09-16 11:59:35 +03:30
parent 262122cb3a
commit 4743cfb89f
96 changed files with 204 additions and 381 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
</template>
<template v-slot:title>
<div class="p-8 text-justify">نسخه جدید هنزا منتشر شد!</div>
<div class="p-8 text-justify">نسخه جدید منتزر منتشر شد!</div>
</template>
<template v-slot:button>
-5
View File
@@ -1,5 +0,0 @@
<svg width="50" height="60" viewBox="0 0 50 60" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M24.5418 36.9838C24.35 29.7584 19.4608 27.4767 11.5039 26.9062C19.2691 26.621 24.35 23.959 24.5418 16.8286C24.7335 24.0541 29.7185 26.7161 37.5796 26.9062C29.7185 27.4767 24.7335 29.7584 24.5418 36.9838Z" fill="#8D6A46"/>
<path d="M11.1205 24.7187V43.2577C11.1205 49.3422 9.68252 53.5254 6.99826 55.9022C5.09894 57.4716 2.8184 58.5205 0.383466 58.9445L0 58.279C2.15045 57.1267 3.84105 55.2825 4.79333 53.05C5.84786 50.6733 6.32719 47.4408 6.32719 43.2577V5.13388C6.33048 4.54788 6.21314 3.96739 5.98237 3.42793C5.75159 2.88847 5.41223 2.40139 4.98506 1.99651C4.5579 1.5714 4.04974 1.23479 3.49016 1.00629C2.93057 0.77778 2.33075 0.661938 1.7256 0.665502H0.881972V0H16.5082V0.665502H15.5496C14.9804 0.654544 14.415 0.758455 13.8877 0.970921C13.3603 1.18339 12.882 1.49997 12.4818 1.90144C11.645 2.70812 11.1337 3.78985 11.0438 4.94373V23.3877" fill="#1F2E54"/>
<path d="M38.3472 23.4834V5.03944C38.2934 3.87641 37.7762 2.78216 36.9092 1.99714C36.509 1.59567 36.0307 1.27909 35.5034 1.06662C34.976 0.854159 34.4106 0.750247 33.8415 0.761205H32.8828V0.0957031H48.5091V0.761205H47.6463C47.0384 0.762605 46.437 0.88443 45.8772 1.11953C45.3175 1.35462 44.8108 1.69825 44.3868 2.13024C43.9596 2.53513 43.6203 3.02221 43.3895 3.56167C43.1587 4.10113 43.0414 4.68162 43.0447 5.26761V43.3914C43.0447 47.5745 43.524 50.807 44.5785 53.1838C45.5308 55.4162 47.2214 57.2605 49.3719 58.4127L48.9884 59.0782C46.5535 58.6542 44.2729 57.6053 42.3736 56.0359C39.6893 53.6591 38.3472 49.476 38.2513 43.3914V24.7193" fill="#1F2E54"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

+9 -18
View File
@@ -2,24 +2,7 @@
<template>
<Spin :spinning="spinning" :tip="tip" :size="(size as 'small' | 'default' | 'large')" :delay="delay" :class="fixed ? '!max-h-screen !fixed' : ''">
<template #indicator>
<svg v-if="!indicator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 114.39 137.84">
<g>
<g>
<path
d="M26.69,62.76c18.5,0,29.8,6.86,30.14,23.67C57.17,69.62,68.47,62.76,87,62.76v0c-18.5,0-29.8-6.86-30.14-23.67-.34,16.81-11.64,23.67-30.14,23.67"
style="fill: #896b43"
/>
<path
d="M25.54,57.76v43.42q-.16,21.22-9.45,29.52-5.64,5-15.26,7.13L0,136.34a24.6,24.6,0,0,0,11.11-12.27q3.64-8.29,3.65-22.89V12.11a10,10,0,0,0-3.07-7.38A10.23,10.23,0,0,0,4.14,1.66h-2V0H38.31V1.66H36.15a10.14,10.14,0,0,0-7.22,2.9,10.73,10.73,0,0,0-3.4,7.21V54.89"
style="fill: #21284e"
/>
<path
d="M88.86,54.9V11.78a10.71,10.71,0,0,0-3.4-7.21,10.14,10.14,0,0,0-7.22-2.9H76.08V0h36.16V1.67h-2a10.27,10.27,0,0,0-7.55,3.07,10,10,0,0,0-3.07,7.38v89.07q0,14.6,3.65,22.89a24.64,24.64,0,0,0,11.11,12.27l-.83,1.49q-9.61-2.16-15.26-7.13-9.28-8.3-9.45-29.52V57.77"
style="fill: #21284e"
/>
</g>
</g>
</svg>
<img v-if="!indicator" src="/img/montzar-logo.png" alt="Montzar" class="spinner-brand" width="48" height="48" />
<div class="loading" v-else>
<div class="effect-1 effects"></div>
<div class="effect-2 effects"></div>
@@ -116,6 +99,14 @@ withDefaults(
opacity: 1;
}
}
.spinner-brand {
display: block;
width: 48px;
height: 48px;
object-fit: contain;
border-radius: 8px;
}
.ant-spin-text {
color: @primary;
}
@@ -200,7 +200,7 @@
</template>
<template v-slot:title>
<div class="p-8 text-justify">
برای دسترسی به تمامی امکانات نرم افزار هنزاگلد، ابتدا گزینه ورود/ثبت نام را لمس کنید و در صورت نداشتن حساب کاربری، ثبت نام نمایید.
برای دسترسی به تمامی امکانات نرم افزار منتزر، ابتدا گزینه ورود/ثبت نام را لمس کنید و در صورت نداشتن حساب کاربری، ثبت نام نمایید.
</div>
</template>
<template v-slot:button>
@@ -1,6 +1,6 @@
<!--
Ported from legacy henza_pwa/src/components/slider/homeSlider.vue.
`$prefix` (legacy global property, always the compile-time-constant 'henza'
`$prefix` (legacy global property, always the compile-time-constant 'montzar'
from themeConfig) is inlined directly here rather than re-registered as a
global — same resolved value, no behavior change.
-->
@@ -26,7 +26,7 @@
:closable="false"
@close="setAutoPlay"
height="60%"
class="henza-rounded-drawer rtl text-white bg-primaryLighten whitespace-pre-wrap text[13px]"
class="montzar-rounded-drawer rtl text-white bg-primaryLighten whitespace-pre-wrap text[13px]"
>
{{ data.slideContent.text }}
</Drawer>
@@ -14,7 +14,7 @@
<img @click="showPopup(item)" v-lazy="item" class="block w-auto object-cover z-0 pb-1" :style="`height:${height}`" />
</SwiperSlide>
<transition name="slideUp" mode="out-in">
<svg alt="هنزا" class="absolute bottom-0 z-[2] m-auto pointer-events-none w-full h-[90px]" v-if="flagSvg">
<svg alt="منتزر" class="absolute bottom-0 z-[2] m-auto pointer-events-none w-full h-[90px]" v-if="flagSvg">
<path fill="#FFFFFF" class="w-full h-[90px]" :d="whiteShape" />
<path fill="#3E5279" class="w-full h-[90px]" :d="curvedShape" />
</svg>
+3 -3
View File
@@ -21,7 +21,7 @@ import { defineStore } from 'pinia'
import { api } from '../api/client'
import shippingArt from '../assets/img/shipping-and-delivery.png'
import competitionArt from '../assets/img/sports-and-competition.png'
import brandArt from '../assets/img/henza.svg'
import brandArt from '../assets/img/montzar-logo.png'
export interface Slide {
text: string | undefined
@@ -46,13 +46,13 @@ const PLACEHOLDER_SLIDES: Slide[] = [
{
type: 'popup',
src: competitionArt,
text: 'جدیدترین محصولات هنزاگلد را در بخش محصولات جدید ببینید.',
text: 'جدیدترین محصولات منتزر را در بخش محصولات جدید ببینید.',
link: undefined,
},
{
type: 'popup',
src: brandArt,
text: 'هنزاگلد، همراه شما در خرید و فروش طلا.',
text: 'منتزر، همراه شما در خرید و فروش طلا.',
link: undefined,
},
]
+3 -3
View File
@@ -27,7 +27,7 @@
<span v-if="cart.items.length" class="home__badge">{{ cart.items.length }}</span>
</router-link>
<img src="/img/henza1.svg" alt="هنزاگلد" class="home__logo" />
<img src="/img/montzar-logo.png" alt="منتزر" class="home__logo" />
<router-link :to="{ name: 'search' }" class="home__iconBtn" aria-label="جستجو">
<Icon icon="vuesax-linear:search-normal-1" size="21" />
@@ -55,7 +55,7 @@
<section v-if="featured" class="home__section">
<SectionHead
title="برگزیده هنزا"
title="برگزیده منتزر"
subtitle="انتخاب‌شده از میان مجموعه‌های موجود"
action-label="همه محصولات"
@action="goSearch"
@@ -161,7 +161,7 @@ const newestProducts = computed(() => products.value.slice(5, 13))
// exists). Each slide deep-links into search filtered by that category, so the
// artwork is decorative but the destination is genuine.
const SLIDE_COPY = [
{ eyebrow: 'مجموعه هنزا', cta: 'دیدن مجموعه' },
{ eyebrow: 'مجموعه منتزر', cta: 'دیدن مجموعه' },
{ eyebrow: 'انتخاب سردبیر', cta: 'مشاهده' },
{ eyebrow: 'پیشنهاد این هفته', cta: 'بررسی کنید' },
]
@@ -137,7 +137,7 @@
</template>
<template v-slot:title>
<div class="p-8 text-justify">
برای دسترسی به تمامی امکانات نرم افزار هنزاگلد، ابتدا گزینه ورود/ثبت نام را لمس کنید و در
برای دسترسی به تمامی امکانات نرم افزار منتزر، ابتدا گزینه ورود/ثبت نام را لمس کنید و در
صورت نداشتن حساب کاربری، ثبت نام نمایید.
</div>
</template>
+1 -1
View File
@@ -28,7 +28,7 @@
<div class="auth__mark" aria-hidden="true">
<Icon icon="vuesax-linear:security-user" size="28" />
</div>
<h2 class="auth__title">ورود به هنزاگلد</h2>
<h2 class="auth__title">ورود به منتزر</h2>
<p class="auth__sub">
{{ body.step === 1 ? 'شماره موبایل خود را وارد کنید' : 'رمز یکبارمصرف را وارد کنید' }}
</p>