feat:
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { Image } from '@tarojs/components';
|
||||
import Taro, { useDidShow, useLoad, useShareAppMessage } from '@tarojs/taro';
|
||||
|
||||
import { Tabs } from '@taroify/core';
|
||||
@ -156,7 +157,20 @@ export default function Job() {
|
||||
style={{ height: barHeight.current, paddingTop: statusBarHeight.current }}
|
||||
>
|
||||
{JOB_PAGE_TABS.map(tab => (
|
||||
<Tabs.TabPane value={tab.type} title={tab.title} key={tab.type}>
|
||||
<Tabs.TabPane
|
||||
value={tab.type}
|
||||
title={
|
||||
<>
|
||||
{tab.type === JobSourceType.BL ? (
|
||||
<div className={`${PREFIX}__tab-icon`}>
|
||||
<Image src="https://publiccdn.neighbourhood.com.cn/img/lightning.svg" />
|
||||
</div>
|
||||
) : null}
|
||||
{tab.title}
|
||||
</>
|
||||
}
|
||||
key={tab.type}
|
||||
>
|
||||
<JobFragment
|
||||
cityCode={cityCode}
|
||||
sortType={sortType}
|
||||
|
||||
Reference in New Issue
Block a user