Change the default style of uni-app components

Note that the style must be written on the outermost layer, and the prefix is ​​"/deep/", followed by a space

<style lang='scss' scoped>
.container{
     
     
	.item{
     
     
	}
}
/deep/ uni-progress {
     
     
	width: 160upx;
	
	.uni-progress-bar {
     
     
		border-radius: 6upx;
		.uni-progress-inner-bar {
     
     
			border-radius: 6upx;
		}
	}
}

</style>

Guess you like

Origin blog.csdn.net/Sandersonia/article/details/111599081