style(工作报告组件): 调整字体样式
This commit is contained in:
parent
4e3f6af963
commit
471c957f6e
@ -94,20 +94,19 @@ watch(
|
|||||||
(newType) => {
|
(newType) => {
|
||||||
if (newType == 'In Progress') {
|
if (newType == 'In Progress') {
|
||||||
backgroundImage.value = 'linear-gradient(112deg, #759CFF 5.66%, #3D73FF 42.49%)'
|
backgroundImage.value = 'linear-gradient(112deg, #759CFF 5.66%, #3D73FF 42.49%)'
|
||||||
fontSize.value = '1.1em'
|
fontSize.value = '0.9em'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newType == 'Pending') {
|
if (newType == 'Pending') {
|
||||||
backgroundImage.value = 'linear-gradient(112deg, #FF7578 5.66%, #FF3D40 42.49%)'
|
backgroundImage.value = 'linear-gradient(112deg, #FF7578 5.66%, #FF3D40 42.49%)'
|
||||||
fontSize.value = '1.1em'
|
fontSize.value = '1em'
|
||||||
}
|
}
|
||||||
if (newType == 'Completed') {
|
if (newType == 'Completed') {
|
||||||
backgroundImage.value = 'linear-gradient(112deg, #75FF98 5.66%, #3DFF54 42.49%)'
|
backgroundImage.value = 'linear-gradient(112deg, #75FF98 5.66%, #3DFF54 42.49%)'
|
||||||
fontSize.value = '1.1em'
|
fontSize.value = '1em'
|
||||||
}
|
}
|
||||||
if (newType == 'Out Of Account') {
|
if (newType == 'Out Of Account') {
|
||||||
backgroundImage.value = 'linear-gradient(112deg, #BDBDBD 5.66%, #AEAEAE 42.49%)'
|
backgroundImage.value = 'linear-gradient(112deg, #BDBDBD 5.66%, #AEAEAE 42.49%)'
|
||||||
fontSize.value = '0.9em'
|
fontSize.value = '0.7em'
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
},
|
},
|
||||||
@ -123,7 +122,6 @@ watch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
.type {
|
.type {
|
||||||
font-size: 0.9em;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
@ -148,7 +146,7 @@ watch(
|
|||||||
|
|
||||||
@media screen and (min-width: 360px) {
|
@media screen and (min-width: 360px) {
|
||||||
* {
|
* {
|
||||||
font-size: 12px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user