🎈 perf(登陆页面): 调整登陆页面样式

This commit is contained in:
xuan 2022-10-28 17:37:43 +08:00
parent c0d3f61806
commit aa68e2ae94
3 changed files with 9 additions and 4 deletions

View File

@ -65,7 +65,9 @@ page {
color: #909090; color: #909090;
} }
&-button { &-button {
height: 90px;
margin-top: 120px; margin-top: 120px;
font-size: 32px;
} }
} }
.isRememberPwd { .isRememberPwd {

View File

@ -1,3 +1,4 @@
import { formatMillionYuan, toDecimal2 } from '@/common/format'
import NormalButton from '@/components/normalButton' import NormalButton from '@/components/normalButton'
import { View, Text } from '@tarojs/components' import { View, Text } from '@tarojs/components'
import { memo } from 'react' import { memo } from 'react'
@ -22,7 +23,9 @@ export default props => {
<Text className={styles.moneyText}></Text> <Text className={styles.moneyText}></Text>
<Text className={styles.moneyNumber}> <Text className={styles.moneyNumber}>
<Text className={styles.unit}>¥</Text> <Text className={styles.unit}>¥</Text>
{amount.toFixed(2)} {Number(Number(amount)
.toFixed(2))
.toLocaleString()}
</Text> </Text>
</View> </View>
<View className={styles.bottomRight}> <View className={styles.bottomRight}>

View File

@ -52,9 +52,9 @@ const ShoppingCartContainer: FC<InternalContainer> = () => {
// 管理 // 管理
const onStartToManage = () => { const onStartToManage = () => {
if (isManageStatus) { // if (isManageStatus) {
handleSelectAllCheckbox(false) // 取消全选 // handleSelectAllCheckbox(false) // 取消全选
} // }
dispatch({ type: ShoppingDispatchType.UPDATE_MANAGE_STATUS, data: !isManageStatus }) dispatch({ type: ShoppingDispatchType.UPDATE_MANAGE_STATUS, data: !isManageStatus })
} }