Create the corresponding file variable.scss
$home-h1: 50rpx;//首页 父级文字大小
$home-h2: 35rpx;//首页 子级文字大小
Use ↓
<style lang="scss" scoped>
@import '../../static/css/variable.scss';
</style>
Create the corresponding file variable.scss
$home-h1: 50rpx;//首页 父级文字大小
$home-h2: 35rpx;//首页 子级文字大小
Use ↓
<style lang="scss" scoped>
@import '../../static/css/variable.scss';
</style>