wxParse.wxml 22 KB

1
  1. <template name="wxParseVideo"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><video class="{{item.classStr}} wxParse-{{item.tag}}-video" src="{{item.attr.src}}"></video></view></template><template name="wxParseImg"><image class="{{item.classStr}} wxParse-{{item.tag}}" data-from="{{item.from}}" data-src="{{item.attr.src}}" data-idx="{{item.imgIndex}}" src="{{item.attr.src}}" mode="aspectFit" bindload="wxParseImgLoad" bindtap="wxParseImgTap" style="width:{{item.width}}px;height:{{item.height}}px;{{item.attr.style}}" /></template><template name="WxEmojiView"><view class="WxEmojiView wxParse-inline" style="{{item.styleStr}}"><block wx:for="{{item.textArray}}" wx:key="key"><block class="{{item.text == '\\n' ? 'wxParse-hide':''}}" wx:if="{{item.node == 'text'}}">{{item.text}}</block><block wx:elif="{{item.node == 'element'}}"><image class="wxEmoji" src="{{item.baseSrc}}{{item.text}}" /></block></block></view></template><template name="wxParse"><block wx:for="{{wxParseData}}" wx:key="key"><template is="wxParse0" data="{{item}}"/></block></template><template name="wxParse0"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse1" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse1" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-c="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse1" data="{{item}}"/></block></view></block><block wx:elif="{{item.tag == 'table'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse1" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse1" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse1" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse1"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse2" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse2" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse2" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse2" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse2" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse2"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse3" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse3" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse3" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse3" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse3" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse3"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse4" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse4" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse4" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse4" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse4" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse4"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse5" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse5" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse5" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse5" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse5" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse5"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse6" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse6" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse6" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse6" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse6" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse6"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse7" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse7" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse7" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse7" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse7" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse7"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse8" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse8" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse8" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse8" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse8" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse8"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse9" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse9" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse9" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse9" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse9" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse9"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse10" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse10" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse10" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse10" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse10" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse10"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse11" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse11" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse11" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse11" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse11" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template><template name="wxParse11"><block wx:if="{{item.node == 'element'}}"><block wx:if="{{item.tag == 'button'}}"><button type="default" size="mini" ><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse12" data="{{item}}"/></block></button></block><block wx:elif="{{item.tag == 'li'}}"><view class="{{item.classStr}} wxParse-li"><view class="{{item.classStr}} wxParse-li-inner"><view class="{{item.classStr}} wxParse-li-text"><view class="{{item.classStr}} wxParse-li-circle"></view></view><view class="{{item.classStr}} wxParse-li-text"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse12" data="{{item}}"/></block></view></view></view></block><block wx:elif="{{item.tag == 'video'}}"><template is="wxParseVideo" data="{{item}}"/></block><block wx:elif="{{item.tag == 'img'}}"><template is="wxParseImg" data="{{item}}"/></block><block wx:elif="{{item.tag == 'a'}}"><view bindtap="wxParseTagATap" class="wxParse-inline {{item.classStr}} wxParse-{{item.tag}}" data-src="{{item.attr.href}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse12" data="{{item}}"/></block></view></block><block wx:elif="{{item.tagType == 'block'}}"><view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse12" data="{{item}}"/></block></view></block><view wx:else class="{{item.classStr}} wxParse-{{item.tag}} wxParse-{{item.tagType}}" style="{{item.styleStr}}"><block wx:for="{{item.nodes}}" wx:for-item="item" wx:key="key"><template is="wxParse12" data="{{item}}"/></block></view></block><block wx:elif="{{item.node == 'text'}}"><template is="WxEmojiView" data="{{item}}"/></block></template>