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

@ -30,10 +30,10 @@ export default function GroupOwnerCertification() {
const { authCode } = await generateGroupAuthCode();
return getCommonShareMessage({
useCapture: false,
title: `群主测试 ${authCode}`,
title: `我在认证群主,宝子帮我点击下 ${authCode}`,
inviteCode,
params: { authCode },
path: PageUrl.GroupOwnerCertificate,
path: PageUrl.Job,
imageUrl: 'https://publiccdn.neighbourhood.com.cn/img/share-group-owner-certificate.png',
});
});

View File

@ -28,4 +28,19 @@
position: absolute;
}
}
&__tab-icon {
width: 32px;
height: 32px;
border-radius: 50%;
background: rgba(255, 80, 81, 0.16);
display: inline-flex;
justify-content: center;
align-items: center;
margin-right: 8px;
> image {
width: 14.4px;
height: 19.2px;
}
}
}

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}