Commit c220d975 by 姜雷

修改失效图标样式

parent d6b5dfab
...@@ -143,7 +143,7 @@ function ShowerAppointment() { ...@@ -143,7 +143,7 @@ function ShowerAppointment() {
{showState == 1 && showerControlConfig.balances.length && ( {showState == 1 && showerControlConfig.balances.length && (
<View className='ShowerAppointment-Account'> <View className='ShowerAppointment-Account'>
{showerControlConfig.balances.map(item => ( {showerControlConfig.balances.map(item => (
<View className='ShowerAppointment-Account-item'> <View key={item.serviceId} className='ShowerAppointment-Account-item'>
<Text className='name'>{item.serviceName}</Text> <Text className='name'>{item.serviceName}</Text>
<Text>{item.amount.toFixed(2)}</Text> <Text>{item.amount.toFixed(2)}</Text>
</View> </View>
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
.AppointermentCard-Time { .AppointermentCard-Time {
background-color: #e2e2e6; background-color: #e2e2e6;
} }
.AppointermentCard-Dis-Icon { }
position: absolute; .AppointermentCard-Dis-Icon {
width: 262px; position: absolute;
height: 246px; width: 262px;
right: 0; height: 246px;
bottom: 0; right: 0;
} bottom: 0;
} }
.AppointermentCard-Title { .AppointermentCard-Title {
line-height: 40px; line-height: 40px;
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
color: #6180f4; color: #6180f4;
background-color: #fafafe; background-color: #fafafe;
border-radius: 0 0 16px 16px; border-radius: 0 0 16px 16px;
text:last-child{ text:last-child {
display: inline-block; display: inline-block;
margin-left: 20px; margin-left: 20px;
width: 300px; width: 300px;
......
...@@ -11,7 +11,9 @@ const AppointermentCard = (props: PageOwnProps) => { ...@@ -11,7 +11,9 @@ const AppointermentCard = (props: PageOwnProps) => {
const { data } = props; const { data } = props;
return ( return (
<View <View
className={`AppointermentCard ${data.status === 5 ? 'disabled' : ''}`}> className={`AppointermentCard ${
data.status === 5 || data.status === 8 ? 'disabled' : ''
}`}>
<View className='AppointermentCard-Title'>我的预约</View> <View className='AppointermentCard-Title'>我的预约</View>
<View className='AppointermentCard-row'> <View className='AppointermentCard-row'>
<Text>设备编码:</Text> <Text>设备编码:</Text>
......
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