Commit f4e54789 by 姜雷

充值页面显示赠送的豆

parent 2f37f99b
{ {
"name": "wx-school-app", "name": "wx-school-app",
"version": "1.0.6", "version": "1.0.9",
"private": true, "private": true,
"description": "", "description": "",
"scripts": { "scripts": {
......
...@@ -66,15 +66,18 @@ ...@@ -66,15 +66,18 @@
// justify-content: space-between; // justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
.Account-Money-Item { .Account-Money-Item {
display: flex;
flex-direction: column;
justify-content: center;
box-sizing: border-box; box-sizing: border-box;
width: 218px; width: 218px;
height: 160px; height: 160px;
line-height: 160px;
text-align: center; text-align: center;
border: 4px solid #e6ebfd; border: 4px solid #e6ebfd;
border-radius: 24px; border-radius: 24px;
margin-bottom: 20px; margin-bottom: 20px;
margin-right: 15px; margin-right: 15px;
font-size: 32px;
&:nth-child(3n + 3) { &:nth-child(3n + 3) {
margin-right: 0; margin-right: 0;
} }
...@@ -83,6 +86,9 @@ ...@@ -83,6 +86,9 @@
border-color: #6180f4; border-color: #6180f4;
color: #fff; color: #fff;
} }
.giveText {
font-size: 24px;
}
} }
} }
.Account-Payway { .Account-Payway {
......
...@@ -225,7 +225,13 @@ export const AccountComponent = () => { ...@@ -225,7 +225,13 @@ export const AccountComponent = () => {
payConfigId === item.id ? 'selected' : '' payConfigId === item.id ? 'selected' : ''
}`} }`}
onClick={() => setPayConfigId(item.id)}> onClick={() => setPayConfigId(item.id)}>
{item.rechargeMoney.toFixed(2)} <View>{item.rechargeMoney.toFixed(2)}</View>
{item.giveId && (
<View className='giveText'>
{item.giveName}
{item.giveMoney}
</View>
)}
</View> </View>
))} ))}
</View> </View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment