.headImg { display: flex; } .tabs { margin-top: -42px; :global { .van-tabs__wrap { height: 42px; } .van-tabs__nav { background-color: rgba(0, 0, 0, 0.68); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .van-tabs__line { background-color: transparent !important; height: 0; width: 0; border: 8px solid transparent; border-bottom-color: #fff; border-radius: 0; } .van-empty__image { width: 100px; height: 114px; } } } .tabContent { position: relative; padding: 12px; box-sizing: border-box; overflow-y: auto; } .itemContent { padding: 12px; border-radius: 12px; background-color: #fff; min-height: 100%; box-sizing: border-box; } .item { display: flex; padding: 10px 0; box-sizing: border-box; align-items: center; .left { width: 32px; margin: 0 21px 0 2px; text-align: center; font-weight: bold; } .center { display: flex; align-items: center; } .right { margin-left: auto; text-align: right; .fraction { font-size: 14px; font-weight: 600; color: #fa6400; margin-bottom: 4px; } .time { font-size: 12px; color: #999; } } &:first-child { padding-top: 0; border-bottom: 1px solid #eee; } &:last-child { padding-bottom: 0; } .user { margin-left: 6px; .userContent{ display: flex; align-items: center; margin-bottom: 4px; } .name { font-size: 15px; color: #333; margin-right: 6px; } .tag { font-size: 12px; background-color: #ffe2b2; color: #ff8c00; border-radius: 4px; margin-right: 4px; padding: 1px 2px; } .times{ font-size: 12px; color: #999; } } }