Commit f6cb6037 authored by Bill's avatar Bill

fix: 修改pc 装修样式

parent 753056c2
......@@ -10,6 +10,7 @@
border-radius: 8px;
background-color: #fff;
width: 227px;
height: 100%;
&-image {
width: 100%;
......@@ -18,7 +19,7 @@
.commodity-info {
padding: 16px;
.commodity-info-name {
font-size: 14px;
line-height: 20px;
......@@ -50,6 +51,7 @@
}
.commodity-info-hasBuy {
margin-top: 12px;
font-size: 12px;
color: #91959B;
}
......
......@@ -48,13 +48,18 @@ const HotCommodityItem: React.FC<Iprops> = (props: Iprops) => {
<div className={styles['hot-commodity-info-tags']}>
{
productData.activityList.map((_item: ActivityListType) => {
return (
<div className={styles['hot-commodity-info-tags-item']} key={_item.id}>
<CustomizeTag
type={'danger'}
name={_item.label}
/>
</div>
<>
{_item.label && (
<div className={styles['hot-commodity-info-tags-item']} key={_item.id}>
<CustomizeTag
type={'danger'}
name={_item.label}
/>
</div>
)}
</>
)
})
}
......
......@@ -60,7 +60,7 @@ const HotCommoditySwiper: React.FC<Iprops> = (props: Iprops) => {
{renderChildren()}
</div>
</div>
<div className={classNames(styles['swiper-next'], { [styles.hidden]: current * 3 <= count })} onClick={onNext}>
<div className={classNames(styles['swiper-next'], { [styles.hidden]: (current + 1) * 3 >= count })} onClick={onNext}>
<RightOutlined style={{fontSize: '20px', color: 'red'}} />
</div>
</div>
......
......@@ -57,6 +57,9 @@
align-items: center;
justify-content: center;
}
.ant-tabs-ink-bar {
display: none;
}
}
.expand-icon {
......
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