fix(user-center): 单独弱化实际到账金额
This commit is contained in:
1 parent
d4e33706cf
commit
3cedcd1bc2
2 files changed
+17
-9
No files matched your search
@@ -899,8 +899,6 @@ body.uc-modal-open {
|
|||||||
gap: 12px;
|
gap: 12px;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
color: var(--muted-color, #7f8790);
|
|
||||||
font-size: 13px;
|
|
||||||
border-bottom: 1px solid var(--muted-border-color, rgba(0,0,0,.08));
|
border-bottom: 1px solid var(--muted-border-color, rgba(0,0,0,.08));
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@@ -913,15 +911,18 @@ body.uc-modal-open {
|
|||||||
}
|
}
|
||||||
.uc-withdraw-history__amount {
|
.uc-withdraw-history__amount {
|
||||||
min-width: 84px;
|
min-width: 84px;
|
||||||
color: var(--muted-color, #737b84);
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-size: 13px;
|
font-weight: 700;
|
||||||
font-weight: 600;
|
}
|
||||||
|
.uc-withdraw-history__net {
|
||||||
|
margin-left: 4px;
|
||||||
|
color: var(--muted-2-color, #9aa1a8);
|
||||||
|
font-size: .78em;
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
.uc-withdraw-history__number,
|
.uc-withdraw-history__number,
|
||||||
.uc-withdraw-history__meta {
|
.uc-withdraw-history__meta {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
color: var(--muted-2-color, #9aa1a8);
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|||||||
+10
-3
@@ -859,9 +859,16 @@
|
|||||||
badge.classList.add(status === 'rejected' ? 'c-red' : (status === 'completed' ? 'c-green' : 'c-blue'));
|
badge.classList.add(status === 'rejected' ? 'c-red' : (status === 'completed' ? 'c-green' : 'c-blue'));
|
||||||
var gross = text(item && (item.gross_amount || item.amount));
|
var gross = text(item && (item.gross_amount || item.amount));
|
||||||
var net = text(item && item.amount);
|
var net = text(item && item.amount);
|
||||||
var amountText = formatGrossAmount(gross);
|
var amount = document.createElement('span');
|
||||||
if (net !== '') amountText += '(实际到账:' + formatNetAmount(net) + '元)';
|
amount.className = 'uc-withdraw-history__amount em12';
|
||||||
appendText(row, amountText, 'uc-withdraw-history__amount em12');
|
amount.appendChild(document.createTextNode(formatGrossAmount(gross)));
|
||||||
|
if (net !== '') {
|
||||||
|
var netText = document.createElement('span');
|
||||||
|
netText.className = 'uc-withdraw-history__net';
|
||||||
|
netText.textContent = '(实际到账:' + formatNetAmount(net) + '元)';
|
||||||
|
amount.appendChild(netText);
|
||||||
|
}
|
||||||
|
row.appendChild(amount);
|
||||||
var number = document.createElement('span');
|
var number = document.createElement('span');
|
||||||
number.className = 'uc-withdraw-history__number muted-2-color em09';
|
number.className = 'uc-withdraw-history__number muted-2-color em09';
|
||||||
var numberLabel = document.createElement('span');
|
var numberLabel = document.createElement('span');
|
||||||
|
|||||||
Reference in new issue
Block a user