[improvement] IndexBar: add default highlight color and more less vars

This commit is contained in:
陈嘉涵
2019-05-30 16:04:10 +08:00
parent 37ed9bd9ba
commit d67cec269f
7 changed files with 19 additions and 8 deletions
+1
View File
@@ -26,6 +26,7 @@ export default sfc({
if (this.sticky) {
return {
top: `${this.top}px`,
color: this.parent.highlightColor,
zIndex: `${this.parent.zIndex}`
};
}