/* compontents/tarbar/tarbar.wxss */ /*菜单*/ .menu{ position: fixed; top: 0; left: 0; width: 100%; z-index: 99; background: #FAF8FB; } .nav{ display: flex; padding: 16rpx 0; } .top-btn{ flex: 1; padding-bottom: 9rpx; text-align: center; position: relative; 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; }