uniapp中设置页面背景色、h5端生效、微信小程序内无效设置page
参考原文1. 加上scoped的时候h5页面是生效的,但是微信小程序内不行。<style lang="less" scoped>page{background: #FAFAFB;}</style>2. 可以在App.vue中公共样式中添加个page即可。小程序端生效了...
·
更多推荐
已为社区贡献7条内容
参考原文1. 加上scoped的时候h5页面是生效的,但是微信小程序内不行。<style lang="less" scoped>page{background: #FAFAFB;}</style>2. 可以在App.vue中公共样式中添加个page即可。小程序端生效了...
更多推荐
所有评论(0)