默认字体又大又粗,还不能覆盖,不知是哪里的问题,
新建test.vue就可以,
test.nvue就不行
<template>
<div class="main">
test
</div>
</template>
<style scoped>
.main{
font-size: 20px;
color: red;
font-weight: bold;
margin-top: 50upx;
}
</style>
默认字体又大又粗,还不能覆盖,不知是哪里的问题,
新建test.vue就可以,
test.nvue就不行
<template>
<div class="main">
test
</div>
</template>
<style scoped>
.main{
font-size: 20px;
color: red;
font-weight: bold;
margin-top: 50upx;
}
</style>
SimpleJalon - 个人承接PHP、uniapp项目,有案例,联系QQ 615773740,不接受外地工作,可付费提供技术支持。添加QQ时务必备注来意以及添加渠道,渠道可以写:`uniapp`
<text>张三</text>
然后设置text样式
i***@zhuyunfeng.com (作者)
renderer和nvueCompiler啥区别
2019-11-28 09:30
SimpleJalon
回复 i***@zhuyunfeng.com: 自己文档找下呀:使用 Weex/nvue 注意事项 - uni-app官网 https://uniapp.dcloud.io/use-weex?id=%e9%a1%b9%e7%9b%ae%e6%b8%b2%e6%9f%93%e6%a8%a1%e5%bc%8f
2019-12-01 23:21