changes of boursecu

This commit is contained in:
2026-06-29 11:20:02 +02:00
parent 809bd69068
commit 2583becda7
21 changed files with 748 additions and 261 deletions
@@ -121,9 +121,3 @@ function formatMetalTotal(metal: WalletMetalTotal) {
return `${formatWeightAmount(resolveSummaryMetalWeight(metal, inventoryCards.value))}${metal.unit}`
}
</script>
<style scoped lang="less">
.assets-section--boursecu {
background-color: #eff5f3;
}
</style>
@@ -173,7 +173,6 @@ onClickOutside(rootRef, () => {
margin-bottom: 16px;
padding: 16px 18px;
border-radius: 12px;
background-color: #eff5f3;
.boursecu-assets__row {
justify-content: flex-start;
@@ -40,7 +40,7 @@
:value="displayGoldVal"
class="o-text !text-xl font-bold"
:class="isBoursecu ? 'price-odometer--boursecu' : ''"
style="font-family: iran-sans; direction: ltr"
style="direction: ltr"
/>
<span :class="isBoursecu ? 'price-unit--boursecu' : ''">ریال</span>
</div>
@@ -41,7 +41,6 @@
:value="displayGoldVal"
class="dhome-hero-price__odometer o-text"
:class="{ 'dhome-hero-price__odometer--boursecu': isBoursecu }"
style="font-family: iran-sans"
/>
<span class="dhome-hero-price__unit" :class="{ 'dhome-hero-price__unit--boursecu': isBoursecu }">ریال</span>
</div>
@@ -34,16 +34,16 @@ const showSkeleton = computed(() => Boolean(getToken()) && !userInfo.value)
<HomeSkeleton v-if="showSkeleton" />
<template v-if="showContent">
<section class="dhome-hero-row">
<DesktopLivePrice />
<DesktopPriceRange />
</section>
<DesktopAssetsMetrics
@open-gold-modal="ctx.openGoldModal"
@open-rial-modal="ctx.openRialModal"
/>
<section class="dhome-hero-row">
<DesktopLivePrice />
<DesktopPriceRange />
</section>
<section class="dhome-main-grid">
<DesktopChartSection />
<DesktopQuickActionsPanel />
@@ -9,12 +9,12 @@ export const boursecuHomeLayoutConfig: HomeLayoutConfig = {
wrapperClass: 'rounded-lg mt-5',
outerSections: [
{ id: 'assets' },
{ id: 'currentPrice' },
{ id: 'boursecuQuickActions' },
{ id: 'limitedPriceAlert' },
],
sections: [
{ id: 'marketClosed' },
{ id: 'currentPrice' },
{ id: 'priceChart' },
{ id: 'priceStats' },
],