diff --git a/src/components/ai/mod/AiHelperMod.tsx b/src/components/ai/mod/AiHelperMod.tsx index d8f775f..d0a3d52 100644 --- a/src/components/ai/mod/AiHelperMod.tsx +++ b/src/components/ai/mod/AiHelperMod.tsx @@ -8,7 +8,6 @@ import { get } from "../../../util/AjaxUtils.ts"; import { useParams } from "react-router-dom"; import { SearchOutlined } from '@ant-design/icons'; import { - message } from "antd"; type PropsType = { diff --git a/src/components/card/CardProj.tsx b/src/components/card/CardProj.tsx index b2fdb80..2bac3c5 100644 --- a/src/components/card/CardProj.tsx +++ b/src/components/card/CardProj.tsx @@ -27,7 +27,10 @@ import menuImg from '../../static/right/menu.png' import testImg from '../../static/test.jpg' export default function CardProj(props: { item: IProj }) { const nav = useNavigate(); + // const [showZpi,setShowZpi] = useState(false) const data = props.item; + const isShow = data.pay.chargeAdditionals.includes('PKG') + const [messageApi, messageContext] = useMessage(); const [projCategoryId, setProjCategoryId] = useState(data.projCategoryId); const [projCategoryName, setProjCategoryName] = useState(data.projCategoryName); @@ -242,9 +245,14 @@ export default function CardProj(props: { item: IProj }) { - + } + {/* + }}> 代码压缩包 */} diff --git a/src/components/card/CardProjType.tsx b/src/components/card/CardProjType.tsx index fea01c6..454bff5 100644 --- a/src/components/card/CardProjType.tsx +++ b/src/components/card/CardProjType.tsx @@ -3,7 +3,7 @@ import { ICardProj, ICardProjChargeLine } from "../../interfaces/proj/ICardProj. import { Checkbox } from 'antd'; import { useState } from "react"; import { ProjAdditionalType } from "../../interfaces/proj/IProj.ts"; -// import ProjCardHeadBg from '../../assets/proj-card-head-bg.png1'; +// import ProjCardHeadBg from '../../assets/proj-card-head-bg.png1';1 import serveImg from '../../static/serve.png' import useImg from '../../static/use.png' import leftImg from '../../static/createPro/left.png' diff --git a/src/components/card/card-proj-type.css b/src/components/card/card-proj-type.css index eeed5c2..0ace9c0 100644 --- a/src/components/card/card-proj-type.css +++ b/src/components/card/card-proj-type.css @@ -12,7 +12,7 @@ } .projTop { - height: 745px; + /* height: 745px; */ background-color: rgb(255, 255, 255); box-shadow: 0px 7px 7px 0px rgba(30, 30, 30, 0.18); border-radius: 13px; @@ -21,7 +21,7 @@ .proj .proj-head { font-weight: bold; - font-size: 33px; + font-size: 30px; color: #492800; text-align: center; /* background-image: url('./proj-card-head-bg.png'); */ @@ -29,8 +29,8 @@ /* background-repeat: no-repeat; */ /* position: absolute; */ width: 100%; - height: 132px; - line-height: 132px; + /* height: 132px; */ + line-height: 100px; /* left: 38px; */ /* top: -4px; */ @@ -48,7 +48,7 @@ /* background-color: rgba(244, 206, 152, 0.28); */ border-radius: 10px; position: relative; - height: 613px; + height: 450px; } /* .proj .proj-body .line .line-title { @@ -71,7 +71,7 @@ .proj .proj-body .line .line-content ul li { display: flex; align-items: center; - margin-top: 27px; + margin-top: 20px; font-family: PingFang SC; font-weight: 500; font-size: 18px; @@ -113,7 +113,7 @@ /* border-top: 1px dotted var(--color-light); */ /* margin-bottom: 48px; */ position: absolute; - bottom: 45px; + bottom: 10px; left: 70px; /* background-color: #F38F1E; */ @@ -128,7 +128,7 @@ } .chargeline { - margin-top: 20px; + margin-top: 10px; } .chargeCon { diff --git a/src/components/list/ListProj.tsx b/src/components/list/ListProj.tsx index 1f0aace..1b077da 100644 --- a/src/components/list/ListProj.tsx +++ b/src/components/list/ListProj.tsx @@ -1,12 +1,12 @@ import './list-proj.css' import CardProj from "../card/CardProj.tsx"; import { useRef, MutableRefObject, useState, useEffect, useContext } from "react"; -import { Pagination, message, Spin, Image, Empty } from 'antd'; +import { Pagination, message, Spin, Empty } from 'antd'; import { get } from "../../util/AjaxUtils.ts"; import { IndexListContext } from "../../context/IndexListContext.ts"; import { IListPage } from "../../interfaces/listpage/IListPage.ts"; import { IProj } from "../../interfaces/proj/IProj.ts"; -import NoData from "../../assets/no-data.png"; +// import NoData from "../../assets/no-data.png"; import { useLocation } from 'react-router-dom'; import syminga from '../../static/homeimg/homeimga.png' import symingb from '../../static/homeimg/homeimgb.png' diff --git a/src/route/proj/edit/ProjConfigLoginpageShow.tsx b/src/route/proj/edit/ProjConfigLoginpageShow.tsx index 87f1410..fc94572 100644 --- a/src/route/proj/edit/ProjConfigLoginpageShow.tsx +++ b/src/route/proj/edit/ProjConfigLoginpageShow.tsx @@ -467,18 +467,18 @@ export default function ProjConfigLoginpage() { title={item.mainTitle} imgs={item.bgImgs} selected={item.loginpageId == selectedLoginpageId} - handleClick={() => { - setSelectedLoginpageId(item.loginpageId); - // loginpageArray.forEach(loginpage => { - // loginpage.selected = loginpage.id == item.id; - // }) - // setLoginpageArray([ - // ...loginpageArray - // ]) - console.log('选择的id', item.loginpageId); + // handleClick={() => { + // setSelectedLoginpageId(item.loginpageId); + // // loginpageArray.forEach(loginpage => { + // // loginpage.selected = loginpage.id == item.id; + // // }) + // // setLoginpageArray([ + // // ...loginpageArray + // // ]) + // console.log('选择的id', item.loginpageId); - upLoginPage(item.loginpageId) - }} + // upLoginPage(item.loginpageId) + // }} /> ) })