The final phase of the election campaign was dominated by Trump’s trade war and the cost of living.