lyp
This commit is contained in:
parent
c19960f84b
commit
68bd64e134
@ -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 = {
|
||||
|
@ -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 }) {
|
||||
<Button size="small" type="text" onClick={() => {
|
||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/manual/${data.projId}`)
|
||||
}}><DownloadOutlined /> 操作手册</Button>
|
||||
<Button size="small" type="text" onClick={() => {
|
||||
{
|
||||
isShow && <Button size="small" type="text" onClick={() => {
|
||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/code-zip/${data.projId}`)
|
||||
}}><DownloadOutlined /> 代码压缩包</Button>
|
||||
}
|
||||
{/* <Button size="small" type="text" onClick={() => {
|
||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/code-zip/${data.projId}`)
|
||||
}}><DownloadOutlined /> 代码压缩包</Button>
|
||||
}}><DownloadOutlined /> 代码压缩包</Button> */}
|
||||
<Button size="small" type="text" onClick={() => {
|
||||
window.open(`${Axios.defaults?.baseURL}/route/proj/download/code/${data.projId}`)
|
||||
}}><DownloadOutlined /> 代码文档</Button>
|
||||
|
@ -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'
|
||||
|
@ -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 {
|
||||
|
@ -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'
|
||||
|
@ -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)
|
||||
// }}
|
||||
/>
|
||||
)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user