提交 84ce67e2 编写于 作者: Q qiang

fix: 修复nvue页面编译到支付宝小程序样式被覆盖的问题

上级 eaa16333
......@@ -34,8 +34,7 @@ module.exports = function (content, map) {
const manifestJson = parseManifestJson(fs.readFileSync(manifestJsonPath, 'utf8'))
this.callback(null,
`${content}
<style>
`<style>
view,
swiper-item,
scroll-view {
......@@ -63,6 +62,7 @@ module.exports = function (content, map) {
swiper-item {
position: absolute;
}
</style>`,
</style>
${content}`,
map)
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册