mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-12 04:16:50 +08:00
style:修改进度条显示问题
This commit is contained in:
@@ -81,23 +81,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="
|
style="font-size: 14px;font-weight: 500;color: #277aff;margin-left: 10px;color:#677d86;">
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 500;
|
|
||||||
color: #277aff;
|
|
||||||
margin-left: 10px;
|
|
||||||
"
|
|
||||||
:style="{
|
|
||||||
color: {
|
|
||||||
0: 'rgba(238, 112, 108, 1)',
|
|
||||||
1: 'rgba(255, 151, 38, 1)',
|
|
||||||
2: 'rgba(39, 122, 255, 1)',
|
|
||||||
3: 'rgba(59, 94, 251, 1)',
|
|
||||||
4: 'rgba(57, 219, 183, 1)',
|
|
||||||
5: 'rgba(57, 219, 183, 1)',
|
|
||||||
}[parseInt(value.currentRatio / 20)],
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
{{ value.currentRatio }}%
|
{{ value.currentRatio }}%
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -234,18 +218,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style="font-size: 14px; font-weight: 500; margin-left: 10px"
|
style="font-size: 14px; font-weight: 500; margin-left: 10px;color:#677d86;">
|
||||||
:style="{
|
|
||||||
color: {
|
|
||||||
0: 'rgba(238, 112, 108, 1)',
|
|
||||||
1: 'rgba(255, 151, 38, 1)',
|
|
||||||
2: 'rgba(39, 122, 255, 1)',
|
|
||||||
3: 'rgba(59, 94, 251, 1)',
|
|
||||||
4: 'rgba(57, 219, 183, 1)',
|
|
||||||
5: 'rgba(57, 219, 183, 1)',
|
|
||||||
}[parseInt((data.totalProgress * 100) / 20)],
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
{{ parseInt(data.totalProgress * 100) }}%
|
{{ parseInt(data.totalProgress * 100) }}%
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -277,19 +250,7 @@
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #277aff;
|
color: #277aff;
|
||||||
margin-left: 10px;
|
margin-left: 10px;color:#677d86;">
|
||||||
"
|
|
||||||
:style="{
|
|
||||||
color: {
|
|
||||||
0: 'rgba(238, 112, 108, 1)',
|
|
||||||
1: 'rgba(255, 151, 38, 1)',
|
|
||||||
2: 'rgba(39, 122, 255, 1)',
|
|
||||||
3: 'rgba(59, 94, 251, 1)',
|
|
||||||
4: 'rgba(57, 219, 183, 1)',
|
|
||||||
5: 'rgba(57, 219, 183, 1)',
|
|
||||||
}[parseInt((data.compulsoryProgress * 100) / 20)],
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
{{ parseInt(data.compulsoryProgress * 100) }}%
|
{{ parseInt(data.compulsoryProgress * 100) }}%
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ function toUnTask() { }
|
|||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
#app div:nth-child(1) {
|
#app div:nth-child(1) {
|
||||||
background: rgba(0, 0, 0, 0) !important;
|
// background: rgba(0, 0, 0, 0) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal {}
|
.modal {}
|
||||||
|
|||||||
Reference in New Issue
Block a user