This commit is contained in:
parent
a5a4240c7d
commit
a78875ea4b
|
|
@ -42,7 +42,7 @@ export const Card: React.FC<ArticleData> = (articleData) => {
|
||||||
className="cursor-pointer rounded border border-[#243c5a] overflow-hidden"
|
className="cursor-pointer rounded border border-[#243c5a] overflow-hidden"
|
||||||
>
|
>
|
||||||
<figure
|
<figure
|
||||||
style={{ width: '100%', minHeight: "246px" }}
|
style={{ width: '100%', minHeight: "246px", position: 'relative' }}
|
||||||
>
|
>
|
||||||
<img src={
|
<img src={
|
||||||
(
|
(
|
||||||
|
|
@ -55,7 +55,7 @@ export const Card: React.FC<ArticleData> = (articleData) => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{/* 🔥 根据 model_parameter 来决定是否显示感叹号 */}
|
{/* 只在 model_parameter 无效时显示感叹号 */}
|
||||||
{(!articleData.model_parameter) && (
|
{(!articleData.model_parameter) && (
|
||||||
<div style={{
|
<div style={{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
|
|
@ -71,6 +71,7 @@ export const Card: React.FC<ArticleData> = (articleData) => {
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
fontSize: '16px',
|
fontSize: '16px',
|
||||||
|
zIndex: 2, // 保证盖在图片上面
|
||||||
}}>
|
}}>
|
||||||
!
|
!
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue