This commit is contained in:
chashaobao
2025-12-27 16:21:33 +08:00
parent 365f3f6dd6
commit 14853bcda2
8 changed files with 38 additions and 6 deletions

View File

@ -17,4 +17,25 @@
border-radius: 16px;
margin-top: 24px;
}
&__recommend {
display: inline-flex;
line-height: 36px;
padding: 0 8px;
height: 36px;
background: rgb(255, 80, 81);
border-radius: 4px;
font-size: 24px;
color: #fff;
align-items: center;
gap: 6px;
position: absolute;
left: 208px;
top: 8px;
width: 128px;
&-cell {
position: relative;
}
}
}

View File

@ -1,6 +1,7 @@
import { Image } from '@tarojs/components';
import { Cell } from '@taroify/core';
import { GoodJob } from '@taroify/icons';
import { useCallback } from 'react';
import MaterialCard from '@/components/material-card';
@ -34,7 +35,15 @@ export default function AnchorFragment() {
<Cell
isLink
align="center"
title="免费领主播会员"
title={
<div className={`${PREFIX}__recommend-cell`}>
<div className={`${PREFIX}__recommend`}>
<GoodJob />
</div>
</div>
}
className={`${PREFIX}__cell`}
onClick={handleClickInviteOperations}
/>