feat:
This commit is contained in:
@ -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',
|
||||
});
|
||||
});
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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