In order to explore the commercial building design method that meets the needs of contemporary consumer behavior, the author proposes a method of applying virtual reality, behavior simulation, and other technologies to commercial building design. First, through a questionnaire survey of commercial buildings in a city, the influencing factors of consumption behavior are explained with the help of SPSS correlation analysis. Then, applying virtual reality technology on this basis, three-dimensional presentation of the commercial building design scheme, taking the design of commercial space signage system as an example, the preset low-brightness color system, and the color and shape are single, the logo set A and the logo set B using high-brightness color system and changeable form are presented, expand 3D dynamic visual and behavioral simulations. At last, relying on ResNet image recognition technology, it analyzes the user’s visual experience and usage effect. Experimental results show: There is a significant correlation between plane layout, spatial identification, familiarity of indoor space, and frequency of use, and visual perception is the main driving factor for choosing commercial buildings; using the comparative analysis of commercial logos, it is found that the average value of the confidence of set B is less than that of set A; in terms of significance, the average time of identifying all categories of logo set A is 0.68 s, and the average identification time of all categories of identification set B is 0.46 s; in terms of discrimination, it takes 0.28 s to correct the misrecognition of all categories of identification set A and 0.11 s to correct the misrecognition of all categories of identification set B, indicating that the design of the identification system uses bright colors and changeable forms, which are easier to use. The results indicate that the elevation, slope, hydrology, transportation conditions, economic indexes and cultural factors are important factors affecting the spatial distribution of traditional villages in a city. The analysis shows that the distribution of traditional villages is affected by natural conditions, social economic conditions, cultural factors and other factors, and the optimal layout of traditional villages can be strengthened from these aspects.