I built a loft bed for my niece last year. I looked at a lot of online plans and combined them. I'll see if I can dig out my sketches. One suggestion is to make the bed and the desk as separate pieces. That way you can complete them as separate projects and can keep the desk even if the bed has lost its usefulness as the kid gets older. In the short term, you can just do a desktop without the drawers if you want to provide a simple working space while you finish the desk. I built the bed at my house and needed to move it to hers, so much of the design was to ensure I could take it apart, transport easily, and re-assemble. Here it is nearly done before I painted it.
