样式优化
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// @use '../../scss/common.scss' as *;
|
||||
|
||||
.wallet_page {
|
||||
min-height: 100vh;
|
||||
background-color: #f5f5f5;
|
||||
padding-bottom: 5px;
|
||||
box-sizing: border-box;
|
||||
@@ -305,15 +306,14 @@
|
||||
gap: 4px;
|
||||
width: 100px;
|
||||
|
||||
|
||||
.type_text_tag{
|
||||
.type_text_tag {
|
||||
font-size: 8px;
|
||||
font-weight: normal;
|
||||
color: #FF9500;
|
||||
color: #ff9500;
|
||||
border-radius: 999px !important;
|
||||
padding: 4px;
|
||||
background-color: rgba(#FF9500, 0.1);
|
||||
border: solid 1px #FF9500;
|
||||
background-color: rgba(#ff9500, 0.1);
|
||||
border: solid 1px #ff9500;
|
||||
}
|
||||
|
||||
.transaction_amount {
|
||||
|
||||
@@ -21,8 +21,7 @@ interface Transaction {
|
||||
last_modify_time: string;
|
||||
related_id: number;
|
||||
type_text: string | null;
|
||||
total_balance_after:string;
|
||||
|
||||
total_balance_after: string;
|
||||
}
|
||||
|
||||
// 钱包信息类型
|
||||
@@ -477,7 +476,7 @@ const WalletPage: React.FC = () => {
|
||||
<Text className="currency_symbol">¥</Text>
|
||||
<View className="amount_group">
|
||||
<Text className="main_amount">
|
||||
{(wallet_info.total_balance)?.toFixed(2)}
|
||||
{wallet_info.total_balance?.toFixed(2)}
|
||||
</Text>
|
||||
{/* <Text className="decimal_amount">
|
||||
.
|
||||
@@ -589,10 +588,8 @@ const WalletPage: React.FC = () => {
|
||||
{transaction.type_text}
|
||||
</Text>
|
||||
<Text className="transaction_amount">
|
||||
|
||||
{get_amount_display(transaction)}
|
||||
</Text>
|
||||
|
||||
</View>
|
||||
|
||||
<Text className="balance_info">
|
||||
@@ -606,7 +603,10 @@ const WalletPage: React.FC = () => {
|
||||
// <View className="empty_state">
|
||||
// <Text className="empty_text">暂无交易记录</Text>
|
||||
// </View>
|
||||
<EmptyState text="钱包空空如也,组织球局赚点球费吧" styles={{padding: "unset"}} />
|
||||
<EmptyState
|
||||
text="钱包空空如也,组织球局赚点球费吧"
|
||||
styles={{ padding: "unset" }}
|
||||
/>
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user