The thermal boundary condition at wall is very important for the compressible flow due to the coupling of the energy equation, and a lot of research works about it were carried out in past decades. In most of these works, the wall was assumed as adiabatic or uniform isothermal surface; the flow over a thermal wall with some special temperature distribution was seldom studied. Lagha studied the effect of uniform isothermal wall on the streaks, and pointed out that higher the wall temperature is, the longer the streak (POF, 2011, 23, 015106). So, we designed streamwise stripes of wall temperature distribution on the compressible turbulent boundary layer at Mach 3.0 to learn the effect on the streaks by means of direct numerical simulation in this paper. The mean wall temperature is equal to the adiabatic case approximately, and the width of the temperature stripes is in the same order as the width of the streaks. The streak patterns in near-wall region with different temperature stripes are shown in the paper. Moreover, we find that there is a reduction of friction velocity with the wall temperature stripes when compared with the adiabatic case.