In order to study the transient temperature effect during the construction of a cross-sea bridge off the coast, based on the Hong Kong-Zhuhai-Macao Bridge-Pipe Bridge Crossing Cliff 13-1 Gas Field, a refined analysis was conducted and the prediction of transient temperature gradient and structural response was carried out under the conditions of strong solar radiation and atmospheric convection using the method of combining theoretical research and numerical simulation. Firstly, the partial differential equation of uniform heat flux density on the outer surface of the main girder under the action of solar radiation and atmospheric convection was established. The equation was realized by calculating the solar radiation intensity and the comprehensive heat transfer coefficient, as well as fitting the atmospheric temperature on the outer surface of the main girder, and the equivalent comprehensive temperature at any time on the main girder was obtained. Secondly, a numerical analysis model of the heat conduction of the main girder section was established, and the equivalent comprehensive temperature was input into the numerical model as the temperature field boundary to solve the transient temperature gradient of the section, and the result was verified in comparison with the measured data. Finally, the transient temperature gradient was applied to the girder, and the temperature effect of the main girder during the closing process was also calculated. Construction control measures were also discussed. The research results show that the predicted value of the transient temperature gradient is consistent with the measured value (the maximum deviation is less than 2 °C), and the predicted value is slightly larger than the measured value, which makes the structure safer. During the closing process, the temperature gradient of the main girder has obvious non-linear characteristics: the temperature gradient is relatively high within 0.4 m of the top surface of the roof while tending to zero outside 0.4 m. The best closing time for the main girder is from 21:00 in the evening of the closing day to 6:00 a.m. the next day. For the small angles at both ends of the closure segment during the best closing time, temporary adjustment jacks and temporary counterweights can be adopted to eliminate the small angles at both ends of the closure segment in order to facilitate the welding construction and meet the smoothness requirements of bridge alignment.