feat: add start to tab
This commit is contained in:
@ -20,6 +20,15 @@
|
||||
> .taroify-tabs__content {
|
||||
padding-top: var(--tabs-wrap-height);
|
||||
}
|
||||
|
||||
.taroify-tabs__nav .taroify-tabs__tab:nth-child(2) .taroify-badge-wrapper {
|
||||
left: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
&__star {
|
||||
width: 33px;
|
||||
height: 38px;
|
||||
}
|
||||
&__header-image {
|
||||
width: 100%;
|
||||
|
@ -79,7 +79,15 @@ export default function BizService() {
|
||||
</div>
|
||||
</div>
|
||||
</Tabs.TabPane>
|
||||
<Tabs.TabPane value={1} title="免费招">
|
||||
<Tabs.TabPane
|
||||
value={1}
|
||||
title={
|
||||
<>
|
||||
免费招
|
||||
<Image src={require('@/statics/svg/star.svg')} className={`${PREFIX}__star`} />
|
||||
</>
|
||||
}
|
||||
>
|
||||
<SearchCity
|
||||
onSelectCity={handleSelectCity}
|
||||
currentCity={getCurrentCityCode()}
|
||||
|
4
src/statics/svg/star.svg
Normal file
4
src/statics/svg/star.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="33" height="36" viewBox="0 0 33 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.57143 8.57143L12 0L15.4286 8.57143L24 12L15.4286 15.4286L12 24L8.57143 15.4286L0 12L8.57143 8.57143Z" fill="#FF5051"/>
|
||||
<path opacity="0.24" d="M24.6429 27.6429L26.5 23L28.3571 27.6429L33 29.5L28.3571 31.3571L26.5 36L24.6429 31.3571L20 29.5L24.6429 27.6429Z" fill="#FF5051"/>
|
||||
</svg>
|
After Width: | Height: | Size: 390 B |
Reference in New Issue
Block a user