First make sure you have it turned on. iCloud Music Library.
Open Music, create a new playlist, add all songs to it, and name it one-click download. Click on the previously created playlist, click on the Xiaoyun icon, and you can download it with one click.