yujialong 3 months ago
parent 6ccd9ddcaa
commit 6e5d873970
  1. 3
      src/pages/ListenType/MainType/index.less
  2. 5
      src/pages/ListenType/MainType/index.tsx

@ -21,13 +21,12 @@
height: 100%;
display: flex;
flex-direction: column;
margin: 0 .5rem 0 0;
.title {
width: 100%;
height: 1.0625rem;
line-height: 1.0625rem;
font-size: .75rem;
font-size: .8rem;
color: rgba(0, 0, 0, .6);
text-align: center;
margin: auto;

@ -202,13 +202,10 @@ export default function MainType() {
>
<View
className='title'
style={chooseType === index? {color: '#3ba366', fontSize: '1rem', fontWeight: '600'} : {}}
style={chooseType === index? {color: '#3ba366', fontWeight: '600'} : {}}
>
{item.class_name}
</View>
{
chooseType === index && <View className='line'></View>
}
</View>
))
}

Loading…
Cancel
Save