On LX, U earns 100% (so 600 miles).
On LH, U earns 50% (so 300 miles).
Operating airline applies, so it depends whether you're on an LH or LX aircraft, and I think it could be either on ZRH-FRA. And it also depends which fare bucket U maps into on each airline. Annoying, isn't it?