Question: do party pokemon gain evs?
Answer: From what I have found, each party member will gain EVs even if they did not participate in battle, If you don't want to be constantly updating your party, this leads two effective strategies to be: Farming money to buy Vitamins. Vitamins are items that increase EVs all the way up to the max amount.