We demonstrated a continuous-wave (CW) ultraviolet laser (UV) at 360 nm generated by intracavity frequency doubling of Pr:YLF laser at 720 nm. It was more compact and simpler than the reported UV laser, because a straight cavity was adopted. The entire length of the laser is 75 mm, and the resonant cavity length is only 25 mm. By using an InGaN laser diode (LD) emitting at 444 nm with a maximum incident power of 3.1W, we achieved the CW UV laser with an output power of 252 mW. The optical to optical conversion efficiency was up to 8.1%, and the output power stability was better than 2% in 2 hours. It can be applied in spectral analysis, material analysis, bioengineering, optoelectronic detection, medical treatment, etc.