.navigation { width: 188rpx; // margin-right: 2rpx; border-right: 2rpx solid #eaeaea; max-height: 100vh; view{ height: 97rpx; font-size: 28rpx; color: #333; border-bottom: 2rpx solid #eaeaea; line-height: 97rpx; font-weight: bold; text-align: center; box-sizing: border-box; } .on{ border-left: 5rpx solid #56CC84; color:#56CC84; } }