fix(user-center): 单独弱化实际到账金额
This commit is contained in:
@@ -899,8 +899,6 @@ body.uc-modal-open {
|
||||
gap: 12px;
|
||||
min-width: 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));
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -913,15 +911,18 @@ body.uc-modal-open {
|
||||
}
|
||||
.uc-withdraw-history__amount {
|
||||
min-width: 84px;
|
||||
color: var(--muted-color, #737b84);
|
||||
text-align: right;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
}
|
||||
.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__meta {
|
||||
min-width: 0;
|
||||
color: var(--muted-2-color, #9aa1a8);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
+10
-3
@@ -859,9 +859,16 @@
|
||||
badge.classList.add(status === 'rejected' ? 'c-red' : (status === 'completed' ? 'c-green' : 'c-blue'));
|
||||
var gross = text(item && (item.gross_amount || item.amount));
|
||||
var net = text(item && item.amount);
|
||||
var amountText = formatGrossAmount(gross);
|
||||
if (net !== '') amountText += '(实际到账:' + formatNetAmount(net) + '元)';
|
||||
appendText(row, amountText, 'uc-withdraw-history__amount em12');
|
||||
var amount = document.createElement('span');
|
||||
amount.className = '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');
|
||||
number.className = 'uc-withdraw-history__number muted-2-color em09';
|
||||
var numberLabel = document.createElement('span');
|
||||
|
||||
Reference in New Issue
Block a user