Sandstone is the direct record of mountain uplift in the basin, and its detrital components have a good effect in analyzing orogenic belts and tectonic setting of sedimentary provenances. Some conclusions have been reached: 1) on the basis of spatial distribution features of the detrital components of sandstones, the authors believe that the middle Jurassic Shaximiao Formation in the study area was effected by the western Longmenshan orogenic belt and the northern Micang-Daba orogenic belt simultaneously; 2) according to the vertical correlation of the detrital components and the analysis of compositional maturity of sandstones in a single well, the authors have found that near the boundary between Qianfoya Formation and Shaximiao Formation, the provenance had a significant change, suggesting that there existed an important sedimentary transformation event in western Sichuan area at that time, which was closely connected with the tectonic evolution of Micang-Daba Mountain; and 3) the detrital components of sandstones reflect the activity of the orogenic belts around the basin. With relatively stable structures, sandstones had a high compositional maturity from the early Jurassic to the middle Jurassic.