.code { background-color: #d9d9d9; z-index: 99; position: sticky; top: 80rpx; left: 0; } .code-title { display: flex; justify-content: space-around; height: 50rpx; } .list { margin: 20rpx; background-color: #fff; border-radius: 20rpx; border: 1px solid #eeeeee; display: flex; position: relative; } .card-id { position: absolute; right: 10rpx; top: 5rpx; height: 30rpx; line-height: 30rpx; width: 30rpx; text-align: center; color: #eeeeee; background-color: #ddd844; border-radius: 50%; font-size: 10px; } .list-left { flex: 1; padding: 20rpx; position: relative; } .list-right { width: 100rpx; border-left: 1px solid #eeeeee; display: flex; align-items: center; justify-content: center; }