fix: inline style

This commit is contained in:
yanglbme 2021-10-29 00:31:02 +08:00
parent 55c9bc2c96
commit f0a45933c7

View File

@ -19,14 +19,14 @@ class WxRenderer {
"font-family": this.opts.fonts,
"font-size": this.opts.size,
});
let base_block = merge(base, {});
for (let ele in themeTpl.inline) {
if (themeTpl.inline.hasOwnProperty(ele)) {
let style = themeTpl.inline[ele];
mapping[ele] = merge(base, style);
mapping[ele] = merge(themeTpl.BASE, style);
}
}
let base_block = merge(base, {});
for (let ele in themeTpl.block) {
if (themeTpl.block.hasOwnProperty(ele)) {
let style = themeTpl.block[ele];