In the era of public participation in government, public emotions and expectations are important considerations influencing urban construction, planning, and management. A desirable urban environment can make people feel at ease and comfortable and contribute to promoting positive public emotions. However, in the process of rapid urban development, the high-density and overloaded urban built environment has triggered people’s mental tension and anxiety and has contributed to negative emotions. Thus, this study aimed to explore the spatial distribution of public emotions and urban built environments in cities and to thoroughly investigate the correlation between urban built environments and public emotions. Considering the lack of dynamic elements analysis and emotions spatial analysis in previous studies, this study takes Wuhan City as an example, uses social media big data as the basis for text emotion analysis, introduces dynamic traffic elements, and establishes a multidimensional urban built environment measurement index system from five aspects: land use, spatial form, road and traffic, green space and open space, and daily life service facilities. Subsequently, the spatial distribution characteristics of public sentiment and urban built environment elements in Wuhan were analyzed. Finally, a geographically weighted regression method was used to analyze the degree of influence of different urban built environment elements on public emotions. The results showed that public emotions in Wuhan are not homogeneously distributed in terms of score and space and that there are significant differences. The urban built environment has a significant influence on public emotions. Higher land use mix, higher road network density, higher number of public transportation facilities, higher number of public open spaces, lower traffic congestion, and impact of freight transportation play important roles in promoting positive emotions. Therefore, in the process of urban construction, planners and decision makers should purposefully improve the quality of the built environment. Measures can include improving the mix of land functions, alleviating traffic congestion, avoiding the negative effects of freight traffic, rationally constructing green and open spaces, and improving various living facilities. This can help contribute toward improving urban functions and urban environments, and promote the construction of a people-oriented healthy city.