Do = Would you mind V-ing ...?
1. Do you mind opening the window?
2. Would you mind giving me a cup of tea?
3. Do you mind playing with me?
Would you mind if S + Ved/V2 …? = Do you mind if S + Vinf …?
1. Would you mind if I listened the music?
2. Do you mind if I smoke here?
3. Would you mind if I left my bag here?