解决方案:
.name-list-detail{height:42px;border-bottom: 1px solid #E4E4E4;background: #fff;}
.name-list-detail p{border-right: 1px solid #E4E4E4;height:100%;line-height: 21px;display: flex;align-items: center;justify-content: space-around;flex-direction: column;}