This commit is contained in:
chashaobao
2025-10-26 22:23:14 +08:00
parent a179654898
commit fde2027588
14 changed files with 104 additions and 34 deletions

View File

@ -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}