mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added balance count card
This commit is contained in:
BIN
luckydiamond/src/assets/icons/icon-deepslate_diamond_ore.png
Normal file
BIN
luckydiamond/src/assets/icons/icon-deepslate_diamond_ore.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
@@ -12,7 +12,11 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
<div class="header__balance">
|
<div class="header__balance">
|
||||||
<h1>25000</h1>
|
<div class="header__balance--content">
|
||||||
|
<div class="balance__count">
|
||||||
|
<h2><img src="../assets/icons/icon-deepslate_diamond_ore.png">{{ balance }}</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
@@ -20,7 +24,12 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'Header-Element-page'
|
name: 'Header-Element-page',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
balance: 25000
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -93,4 +102,21 @@ export default {
|
|||||||
bottom: -7px;
|
bottom: -7px;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
.balance__count {
|
||||||
|
border-radius: 9px;
|
||||||
|
padding: 10px 10px;
|
||||||
|
background: #22252F;
|
||||||
|
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
|
.balance__count h2 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
color: #fff;
|
||||||
|
font-family: Montserrat Alternates;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.balance__count h2 img {
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user