.contentView{ position: fixed; left: 0; right: 0; top: 0; z-index: 999; background-color: #E02F73; } .navBarBox{ display: flex; width: 100%; background-color: #E02F73; } .navBar { display: flex; width: 94%; margin-left: 3%; padding-bottom: 10rpx; display: flex; flex-direction: row; justify-content: space-between; align-items: center } .logo { width: 50rpx; height: 50rpx; margin-left: 6rpx; } .textlable{ flex-direction:column; margin-left: 20rpx; } .textlableR{ flex-direction:column; margin-left: 20rpx; } .lableTR{ font-size: 32rpx; color: white; } .lableT{ font-size: 30rpx; color: white; } .lableB{ font-size: 22rpx; color: white; } .leftconten{ display: flex; flex-direction: row; justify-content:flex-start; } .rightconten{ display: flex; flex-direction: row; justify-content:flex-end; } .mycart { margin-right: 10rpx; width: 50rpx; height: 50rpx; }