很有可能是没有设置
margin-left: auto;
.semesterBnt{ width: 100px; height: 28px; justify-content: flex-end; margin-left: auto; }