The duo’s smiling visages stood in stark contrast to the months of acrimony and bitter takedowns on the campaign trail.