This is not intended to be a political discussion, I'm just genuinely curious.
The only one I can recall off the top of my head is when Lincoln (Republican) chose Andrew Johnson (Democrat). Johnson was a Democrat who supported the war effort. Other folks will likely give more detailed responses, and other possible cross-party tickets.