.top-view { position: sticky; top: 0px; z-index: 999; .title-view { margin: 5px; background-color: #f0f0f0; height: 60px; border-radius: 10px; display: flex; align-items: center; align-content: center; flex-direction: column; padding: 5px 10px; .title-view-up, .title-view-down { display: flex; flex-direction: row; justify-content: space-between; align-items: center; height: 50%; width: 100%; align-content: center; text { color: #666; font-size: 13px; } } .title-view-up { border-bottom: 1px solid #ddd; } } .order-info { display: flex; flex-direction: row; justify-content: space-between; margin: 15px 5px; text { color: #333; font-size: 14px; } } } .item-view { margin: 5px; border-radius: 10px; display: flex; align-items: center; align-content: center; flex-direction: column; padding: 5px 10px; border: 1px solid #ddd; .item-view-up, .item-view-mid, .item-view-dwn { display: flex; flex-direction: row; justify-content: space-between; align-items: center; height: 50%; width: 100%; align-content: center; height: 25px; text { color: #333; font-size: 13px; /*超出隐藏*/ overflow: hidden; /*溢出不换行*/ white-space: nowrap; /*溢出显示用省略号*/ text-overflow: ellipsis; text-align: center; } :first-child { text-align: left; } :last-child { text-align: right; } } .item-view-up { border-bottom: 1px solid #ddd; padding-bottom: 5px; } }