|
|
@ -151,7 +151,7 @@ const FeatureRecommended: FC<Props> = (props) => { |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<View className={styles.feature}> |
|
|
|
<View className={styles.feature}> |
|
|
|
<Swiper nextMargin='30px' style={{height: '450rpx'}}> |
|
|
|
<Swiper nextMargin='30px' style={{height: '390rpx'}} circular autoplay> |
|
|
|
{ |
|
|
|
{ |
|
|
|
data.map(d => <SwiperItem key={d.url}> |
|
|
|
data.map(d => <SwiperItem key={d.url}> |
|
|
|
<Image |
|
|
|
<Image |
|
|
@ -160,7 +160,8 @@ const FeatureRecommended: FC<Props> = (props) => { |
|
|
|
onClick={() => jump(d.url)} src={d.titleUrl}/> |
|
|
|
onClick={() => jump(d.url)} src={d.titleUrl}/> |
|
|
|
{ |
|
|
|
{ |
|
|
|
d.data.length > 0 && d.data.map((c, index) => <View |
|
|
|
d.data.length > 0 && d.data.map((c, index) => <View |
|
|
|
className='flex mb-3' |
|
|
|
className='flex' |
|
|
|
|
|
|
|
style={{marginBottom: '16rpx'}} |
|
|
|
key={c.id} |
|
|
|
key={c.id} |
|
|
|
onClick={() => jump(d.detailsUrl + c.path, c.id, d.type)}> |
|
|
|
onClick={() => jump(d.detailsUrl + c.path, c.id, d.type)}> |
|
|
|
<View style={{position: 'relative'}}> |
|
|
|
<View style={{position: 'relative'}}> |
|
|
|