当前进度样式更改

This commit is contained in:
xixi 2024-07-16 17:56:28 +08:00
parent 048d06a312
commit 9f2f89268b
7 changed files with 22 additions and 11 deletions

View File

@ -157,11 +157,11 @@ export default function CardProj(props: any) {
<Carousel autoplay dots={false}>
<div>
<img src={downloadUrl(data.loginpage.loginpagePreviewImgs)} width={'249px'} height={'143px'} alt="" />
<img src={downloadUrl(data.loginpage.loginpagePreviewImgs)} height={'143px'} alt="" />
</div>
<div>
<img src={downloadUrl(data.codeTypePage.previewImgs)} width={'249px'} height={'143px'} alt="" />
<img src={downloadUrl(data.codeTypePage.previewImgs)} height={'143px'} alt="" />
</div>

View File

@ -122,7 +122,8 @@
}
.cpb-left-img {
width: 249px;
/* width: 249px; */
width: 290px;
height: 143px;
background: #F5F5F5;
border-radius: 6px;
@ -175,10 +176,10 @@
color: #707070;
}
.threeBtn:hover {
background-color: #e7e7e7;
/* border-radius: 10px; */
}
/* .threeBtn:hover {
background-color: #a81414;
border-radius: 10px;
} */
.threeBtn img {
width: 30px;

View File

@ -36,6 +36,10 @@ import SoftwareManagement from '../../route/proj/edit/ProjConfigModList.tsx'
import SoftwareManagementShow from '../../route/proj/edit/ProjConfigModListShow.tsx'
import DisplayOrder from '../../route/proj/edit/ProjConfigMenuList.tsx'
import DisplayOrderShow from '../../route/proj/edit/ProjConfigMenuListShow.tsx'
import PRODUCTION from '../../static/status/PRODUCTION.png'
import SUBMIT from '../../static/status/SUBMIT.png'
import DONE from '../../static/status/DONE.png'
import ING from '../../static/status/ING.png'
// import aiGif from '../../static/ai.gif'
// type AiHelperType = {
// projId: string;
@ -351,7 +355,7 @@ export default function ProjEditAll() {
onSuccess({ data }) {
console.log('嘻嘻', data);
setcertificate(data.certificates)
setprogress(data.progress == 'PRODUCTION' ? '制作中' : data.progress == 'SUBMIT_FOR_REVIEW' ? '提交审核' : data.progress == 'DONE' ? '已完成' : '等待制作中')
setprogress(data.progress)
console.log('状态判断', data.pay.chargeAdditionals);
// setShowZpi(true)
// const isShow = data.pay.chargeAdditionals.includes('PKG')
@ -1113,11 +1117,17 @@ export default function ProjEditAll() {
setprogressModal(false);
}}>
<div style={{
width: 700,
width: 600,
// marginTop: 20
fontSize:16
fontSize:18,
height:500,
display:'flex',
alignItems:'center',
justifyContent:'center',
flexDirection:'column'
}}>
<SettingFilled spin style={{marginRight:10}} />:{progress}
<img src={progress=='PRODUCTION'?PRODUCTION:progress=='SUBMIT'? SUBMIT:progress=='DONE'? DONE:ING} alt="" width={300}/>
<div style={{marginTop:10}}>{progress=='PRODUCTION'?'您申请的软著正在制作中':progress=='SUBMIT'? '您申请的软著已提交待审核':progress=='DONE'? '您申请的软著已完成':'您申请的软著等待制作中'}</div>
</div>
</Modal>
</div>

BIN
src/static/status/DONE.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 KiB

BIN
src/static/status/ING.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 KiB