High-power continuous-wave ultraviolet lasers are useful for many applications. As ultraviolet laser sources, the wavelength switching capability and compact structure are very important to extend the applicability and improve the flexibility in practical applications. In this work, we present two simple and relatively compact schemes by laser diode pumping to obtain a watt-level single-wavelength 348.7-nm laser and discrete wavelength tunable ultraviolet lasers around 349 nm (from 334.7 to 364.5 nm) by intracavity frequency doubling based on Pr3+:YLF and $\unicode{x3b2}$-BBO crystals. The maximum output power of the single-wavelength 348.7-nm laser is 1.033 W. The output powers of the discrete wavelength tunable lasers are at the level of tens of milliwatts, except for two peaks at 348.7 and 360.3 nm with output powers of approximately 500 mW. In addition, simulations are carried out to explain the experimental results and clarify the tuning mechanisms.