/* compontents/tarbar/tarbar.wxss */ /*菜单*/ .menu{ position: fixed; top: 0; left: 0; width: 100%; z-index: 99; background: #FAF8FB; } .top-nav{ white-space: nowrap; } .top-btn{ position: relative; display: inline-block; padding: 12rpx 20rpx; font-size: 36rpx; color: #878787; } .top-hoverd-btn { color: #000; } .striping { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 26rpx; border-bottom: #000 solid 6rpx; display: none; } .top-hoverd-striping { display: block; }