feat:更新家庭账本样式
This commit is contained in:
@@ -21,15 +21,14 @@
|
||||
<span>({{ legerItem.unit }})</span>
|
||||
</div>
|
||||
|
||||
<div class="ledger-amount">
|
||||
<div class="item" style="color: #4169E1;">
|
||||
<i class="fa-solid fa-flag"></i>
|
||||
<span>{{ legerItem.payer }}</span>
|
||||
</div>
|
||||
<div class="item" style="color: #DAA520;">
|
||||
<i class="fa-solid fa-cny"></i>
|
||||
<span>{{ formatAmount(legerItem.totalPrice) }}</span>
|
||||
</div>
|
||||
<div class="ledger-payer" style="color: #4169E1;">
|
||||
<i class="fa-solid fa-flag"></i>
|
||||
<span>{{ legerItem.payer }}</span>
|
||||
</div>
|
||||
|
||||
<div class="ledger-amount" style="color: #DAA520;">
|
||||
<i class="fa-solid fa-cny"></i>
|
||||
<span>{{ formatAmount(legerItem.totalPrice) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -96,7 +95,7 @@ const editClick = async (leger: ILegerItem) => {
|
||||
|
||||
.ledger-item {
|
||||
display: grid;
|
||||
grid-template-columns: 130px 60px 60px 1fr;
|
||||
grid-template-columns: 1fr 60px 50px 50px 60px;
|
||||
gap: 5px;
|
||||
color: #4F4F4F;
|
||||
|
||||
@@ -106,18 +105,10 @@ const editClick = async (leger: ILegerItem) => {
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.ledger-amount {
|
||||
justify-self: right;
|
||||
|
||||
.ledger-payer, .ledger-amount {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
gap: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,9 +77,9 @@ span, input {
|
||||
|
||||
@font-face {
|
||||
font-family: 'CustomFont';
|
||||
src: url('@/assets/font/霞鹜臻楷.ttf') format('truetype');
|
||||
src: url('@/assets/font/custom.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@import "//at.alicdn.com/t/c/font_4793264_befv3sf3zdg.css";
|
||||
@import "//at.alicdn.com/t/c/font_4793264_6bh098pu52x.css";
|
||||
|
||||
Reference in New Issue
Block a user