...
|
...
|
@@ -38,11 +38,16 @@ export default { |
|
|
return parseInt(this.step, 10) / 100;
|
|
|
},
|
|
|
headerStyle() {
|
|
|
let style = {};
|
|
|
|
|
|
this.setIconColor(Math.floor((255 - 68) * (1 - this.stepPercent) + 68));
|
|
|
style.background = `rgba(255,255,255,${this.stepPercent})`;
|
|
|
|
|
|
if (this.stepPercent > 0.98) {
|
|
|
style.borderBottom = '1px solid #efefef';
|
|
|
}
|
|
|
|
|
|
return {
|
|
|
background: `rgba(255,255,255,${this.stepPercent})`
|
|
|
};
|
|
|
return style;
|
|
|
},
|
|
|
blockTranslateY() {
|
|
|
return '-' + parseInt(`0${this.titleStep}`, 10) + '%';
|
...
|
...
|
|