/* pages/circle/circle.wxss */ .top-view { position: sticky; top: 0px; z-index: 999; .title-view { margin: 10px; background-color: #f0f0f0; height: 70px; 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; } } } .item-view { margin: 10px; height: 90px; 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-down { display: flex; flex-direction: row; justify-content: space-between; align-items: center; height: 50%; width: 100%; align-content: center; text { color: #333; font-size: 13px; } .price { color: red; font-size: 15px; } } .item-view-up { border-bottom: 1px solid #ddd; } } .right { background-color: red; height: inherit; width: 65px; color: white; display: flex; align-items: center; justify-content: center; }