账单tag样式优化
This commit is contained in:
@@ -16,6 +16,7 @@ interface Transaction {
|
||||
create_time: string;
|
||||
last_modify_time: string;
|
||||
related_id: number;
|
||||
type_text: string;
|
||||
}
|
||||
|
||||
interface History {
|
||||
@@ -372,9 +373,14 @@ const QueryTransactions = () => {
|
||||
</View>
|
||||
</View>
|
||||
<View className="transaction_right">
|
||||
<Text className="transaction_amount">
|
||||
{get_amount_display(transaction)}
|
||||
</Text>
|
||||
<View>
|
||||
<Text className={`type_text_tag ${transaction.type_text === "已提现" ? "success" : ""}`}>
|
||||
{transaction.type_text}
|
||||
</Text>
|
||||
<Text className="transaction_amount">
|
||||
{get_amount_display(transaction)}
|
||||
</Text>
|
||||
</View>
|
||||
<Text className="balance_info">
|
||||
余额 ¥{format_amount(transaction.amount)}
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user