feat: 加群+一些bug+样式+job list改default sort

This commit is contained in:
chashaobao
2025-08-15 00:41:44 +08:00
parent 33ef940d6e
commit 943f921e56
6 changed files with 61 additions and 13 deletions

View File

@ -654,6 +654,11 @@
&.highlight {
color: @blHighlightColor;
}
.highlight-span {
color: @blHighlightColor;
display: inline;
}
}
&__button {

View File

@ -26,7 +26,7 @@ interface Item {
title: string;
price: string;
amt: number;
contents: { content: string; highlight?: boolean }[];
contents: { content: string; highlight?: boolean; inlineHighlight?: string }[];
badge?: string;
}
@ -52,9 +52,8 @@ const LIST: Item[] = [
amt: 48,
badge: '限时体验',
contents: [
{ content: '-通告每日优先展示' },
{ content: '-每天可查看20个主播详情' },
{ content: '-每天可主动联系10个主播', highlight: true },
{ content: '-通告每日优先展示', highlight: true },
{ content: '-每天可查看20个主播详情', inlineHighlight: '可主动联系10个' },
// { content: '-播络可代为联系20个主播高成功率', highlight: true },
{ content: '-有效期一个月' },
],
@ -66,9 +65,8 @@ const LIST: Item[] = [
amt: 96,
badge: '6.7折',
contents: [
{ content: '-通告每日优先展示' },
{ content: '-每天可查看20个主播详情' },
{ content: '-每天可主动联系10个主播' },
{ content: '-通告每日优先展示', highlight: true },
{ content: '-每天可查看20个主播详情', inlineHighlight: '可主动联系10个' },
// { content: '-播络可代为联系60个主播高成功率', highlight: true },
{ content: '-有效期一个季度' },
],
@ -161,6 +159,7 @@ export default function CompanyPublishJobBuy(props: IProps) {
key={i.content}
>
{i.content}
{i.inlineHighlight && <div className="highlight-span">{i.inlineHighlight}</div>}
</div>
))}
</div>