You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
447 B

<template name="WxEmojiView">
<view class="WxEmojiView wxParse-inline" :style="item.styleStr">
<block v-for="(item, index) in item.textArray" :key="index">
<block :class="item.text == '\\n' ? 'wxParse-hide':''" v-if="item.node == 'text'">{{item.text}}</block>
<block v-else-if="item.node == 'element'">
<image class="wxEmoji" :src="item.baseSrc + '' + item.text"></image>
</block>
</block>
</view>
</template>