@charset "utf-8"; @import "base"; $imgUrlDev: '../img/'; $imgUrl: '../images/'; #app { height: 100%; } .navigator { order: 1; width: 100%; height: 2rem; position: fixed; bottom: 0; left: 0; right: 0; z-index: 2019; ul { @include dispFlex(); height: 100%; background-color: #ffffff; box-shadow: 0rem 0rem 0.12rem 0rem rgba(196, 196, 196, 0.87); justify-content: center; align-items: center; li { position: relative; @include boxFlex(); text-align: center; a { display: block; .cart { position: absolute; left: 50%; top: -8px; margin-left: -2px; color: #fff; font-size: 12px; font-weight: 500; text-align: center; padding: 0 3px; min-width: 16px; line-height: 14px; border: 1px solid #fff; border-radius: 16px; background-color: #f44; transform: translateX(50%); transform-origin: 100%; } i { width: 26px; height: 26px; display: block; margin: 0 auto; color: #d5d5d5; font-size: 25px; text-align: center; } .ico-1 { background: url("#{$imgUrl}home/i1.png") no-repeat center center; background-size: cover; } .ico-2 { background: url("#{$imgUrl}home/i2.png") no-repeat center center; background-size: cover; } .ico-3 { background: url("#{$imgUrl}home/i3.png") no-repeat center center; background-size: cover; } .ico-4 { background: url("#{$imgUrl}home/i4.png") no-repeat center center; background-size: cover; } .ico-5 { background: url("#{$imgUrl}home/i5.png") no-repeat center center; background-size: cover; } p { margin-top: 0.133rem; font-size: 10px; color: #adadad; } } &.curr { i{ color: #57a1f4; } .ico-1 { background: url("#{$imgUrl}home/i1_s.png") no-repeat center center; background-size: cover; } .ico-2 { background: url("#{$imgUrl}home/i2_s.png") no-repeat center center; background-size: cover; } .ico-3 { background: url("#{$imgUrl}home/i3_s.png") no-repeat center center; background-size: cover; } .ico-4 { background: url("#{$imgUrl}home/i4_s.png") no-repeat center center; background-size: cover; } .ico-5 { background: url("#{$imgUrl}home/i5_s.png") no-repeat center center; background-size: cover; } p { color: #4e8eee; } } } } }