调整素材位置

This commit is contained in:
WenC 2024-04-08 15:57:54 +08:00
parent 8ec42c9d82
commit 882336fa1f
2 changed files with 2 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -3,6 +3,7 @@ import {ICardProj, ICardProjChargeLine} from "../../interfaces/proj/ICardProj.ts
import {Checkbox} from 'antd'; import {Checkbox} from 'antd';
import {useState} from "react"; import {useState} from "react";
import {ProjAdditionalType} from "../../interfaces/proj/IProj.ts"; import {ProjAdditionalType} from "../../interfaces/proj/IProj.ts";
import ProjCardHeadBg from '../../assets/proj-card-head-bg.png';
export default function CardProjType(props: ICardProj) { export default function CardProjType(props: ICardProj) {
@ -90,7 +91,7 @@ export default function CardProjType(props: ICardProj) {
return ( return (
<div className="proj"> <div className="proj">
<div className="proj-head"> <div className="proj-head" style={{backgroundImage: `url(${ProjCardHeadBg})`}}>
<div>{props.head}</div> <div>{props.head}</div>
</div> </div>
<div className="proj-body"> <div className="proj-body">