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.
16 lines
702 B
16 lines
702 B
<div class="emoji">
|
|
<ul class="emoji-controller">
|
|
<li v-for="(pannel,index) in pannels" @click="changeActive(index)" :key="index"
|
|
:class="{'active': index === activeIndex}">{{ pannel }}
|
|
</li>
|
|
</ul>
|
|
<ul class="emoji-container">
|
|
<template v-for="(emojiGroup, index) in emojis">
|
|
<li style="padding: 0" :key="index" v-if="index === activeIndex">
|
|
<a href="javascript:;" v-for="(emoji, index) in emojiGroup" :key="index" @click="selectItem(emoji)">
|
|
<span class="emoji-item" :title="emoji" :class="'sprite-' + getPureName(emoji)"></span>
|
|
</a>
|
|
</li>
|
|
</template>
|
|
</ul>
|
|
</div> |