Authored by 张文文

导航栏颜色设置

... ... @@ -39,7 +39,11 @@ export default {
return this.yoho.context.env.isChat;
},
stepPercent() {
let percent = this.step / 100;
let percent = 0;
if (this.step > 0) {
percent = 1;
}
this.setIconColor(Math.floor((300 - 34) * (1 - percent) + 34));
return percent;
... ...
... ... @@ -917,6 +917,7 @@ export default {
height: 70px;
font-size: 24px;
line-height: 70px;
font-weight: 500;
display: inline-block;
border-radius: 10px;
box-sizing: border-box;
... ... @@ -939,6 +940,7 @@ export default {
height: 70px;
font-size: 24px;
line-height: 70px;
font-weight: 500;
display: inline-block;
background-color: #222;
color: white;
... ... @@ -985,7 +987,7 @@ export default {
font-size: 28px;
color: #ddd;
position: absolute;
top: 360px;
top: 200px;
}
}
... ...