feat:
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user