btn color

This commit is contained in:
caishi 2023-09-21 17:32:48 +08:00
parent a67ea1731c
commit 479534c49f
2 changed files with 14 additions and 10 deletions

View File

@ -29,14 +29,6 @@ function SelfList(props){
}
},[id,source,page])
function getFunc(s){
if(s===true){
getSource();
}
if(s===false){
getNew();
}
}
useEffect(()=>{
if(page===1){
@ -47,6 +39,14 @@ function SelfList(props){
}
},[status])
function getFunc(s){
if(s===true){
getSource();
}
if(s===false){
getNew();
}
}
useEffect(()=>{
if(pathname){
@ -126,8 +126,8 @@ function SelfList(props){
</div>
</div>
<div className="delBoxBtn">
<Button onClick={cancelFunc}>取消</Button>
<Button type="primary" onClick={sureFunc} style={{backgroundColor:"#fff",color:"#466aff"}}>确认</Button>
<Button onClick={cancelFunc} style={{borderColor:"#d9d9d9",color:"rgba(0, 0, 0, 0.65)"}}>取消</Button>
<Button type="primary" onClick={sureFunc} style={{backgroundColor:"#fff"}}>确认</Button>
</div>
</Modal>
<Breadcrumb separator=">" style={{paddingTop:"20px"}}>

View File

@ -1723,6 +1723,10 @@
.ant-btn{
width: 95px;
margin:0px 20px;
&.ant-btn-primary{
color: var(--primary-color);
border-color: var(--primary-color);
}
}
}
}