File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
2- <view :class =" node.node == 'element' && node. tag == 'li' ? node.classStr : '' " >
2+ <view :class =" ( node.tag == 'li' ? node.classStr : (node.node==='text'?'text':'')) " >
33 <!-- 判断是否是标签节点-->
44 <block v-if =" node.node == 'element'" >
55 <block v-if =" node.tag == 'button'" >
Original file line number Diff line number Diff line change 3232 padding : 0 ;
3333}
3434
35- . wxParse . h1 > view {
35+ . wxParse . h1 . text {
3636 font-size : 2em ;
3737 margin : 0.67em 0 ;
3838}
39- . wxParse . h2 > view {
39+ . wxParse . h2 . text {
4040 font-size : 1.5em ;
4141 margin : 0.83em 0 ;
4242}
43- . wxParse . h3 > view {
43+ . wxParse . h3 . text {
4444 font-size : 1.17em ;
4545 margin : 1em 0 ;
4646}
47- . wxParse . h4 > view {
47+ . wxParse . h4 . text {
4848 margin : 1.33em 0 ;
4949}
50- . wxParse . h5 > view {
50+ . wxParse . h5 . text {
5151 font-size : 0.83em ;
5252 margin : 1.67em 0 ;
5353}
54- . wxParse . h6 > view {
54+ . wxParse . h6 . text {
5555 font-size : 0.67em ;
5656 margin : 2.33em 0 ;
5757}
5858
59- . wxParse . h1 > view ,
60- . wxParse . h2 > view ,
61- . wxParse . h3 > view ,
62- . wxParse . h4 > view ,
63- . wxParse . h5 > view ,
64- . wxParse . h6 > view ,
59+ . wxParse . h1 . text ,
60+ . wxParse . h2 . text ,
61+ . wxParse . h3 . text ,
62+ . wxParse . h4 . text ,
63+ . wxParse . h5 . text ,
64+ . wxParse . h6 . text ,
6565. wxParse . b ,
6666. wxParse . strong {
6767 font-weight : bolder;
6868}
6969
70+
7071. wxParse . p {
7172 margin : 1em 0 ;
7273}
169170. wxParse . ol {
170171 list-style-type : decimal;
171172}
172- . wxParse . li {
173+ . wxParse . ol > weixin-parse-template , . wxParse . ul > weixin-parse-template {
174+ display : list-item;
175+ align-items : baseline;
176+ text-align : match-parent;
177+ }
178+
179+ . wxParse . ol > . li , . wxParse . ul > . li {
173180 display : list-item;
174181 align-items : baseline;
175182 text-align : match-parent;
You can’t perform that action at this time.
0 commit comments