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

@ -13,6 +13,21 @@
.taroify-cell__value {
color: @blColor;
}
&-icon {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 80, 81, 0.16);
display: inline-flex;
justify-content: center;
align-items: center;
margin-right: 16px;
> image {
width: 18px;
height: 24px;
}
}
}
&__go-publish-cell {
@ -24,4 +39,6 @@
color: @blHighlightColor;
}
}
}

View File

@ -1,3 +1,5 @@
import { Image } from '@tarojs/components';
import { Cell } from '@taroify/core';
import classNames from 'classnames';
import { useCallback } from 'react';
@ -27,7 +29,14 @@ export default function CompanyFragment() {
<Cell
isLink
align="center"
title="发通告,让主播主动报单"
title={
<div>
<div className={`${PREFIX}__cell-icon`}>
<Image src="https://publiccdn.neighbourhood.com.cn/img/lightning.svg" />
</div>
</div>
}
className={classNames(`${PREFIX}__cell`, `${PREFIX}__go-publish-cell`)}
onClick={handlePublishJob}
>