2. He/she likes you and you don't like each other. Then keep perfunctory about ordinary things and show some concern about important things.
You like her/him, but the other person doesn't like you. In this case, you just need to control your friendship, try not to disturb each other's life, and show concern occasionally. Generally speaking, the other party will tacitly say that they don't know you have a good impression, and friendship can go on slowly.
4. Both sides like each other, and then, well, they flirt slowly, from friends to lovers, and work hard all their lives.