米高刘
米高刘(MichaelLau,本名刘建文),生于1970年,香港艺术家,以建筑,雕塑和设计师玩具闻名。他被普遍认为是设计师玩具这一品类下的领军者,同时MichaelLau也是第一个成功靠自己设计的玩具去过活的人,被称为设计师玩具教父。他的作品对世界范围内的玩具制造商包括艺术家和音乐家在内的街头文化产生了重大影响,尤其是对亚洲和美国的嘻哈和滑板文化。1
video
热门标签
关联频道
关联品牌
讨论板
登录
后加入讨论
{
$refs.input.focus()
})" x-data="{
init() {
},
text: '',
axEmoji: true,
loadingSubmit: false,
showEmojiCommentContainer: false,
replyComment: {},
firstOpenEmoji: true,
showEmojiCommentContainerHandler(state) {
this.showEmojiCommentContainer = state
this.$nextTick(() => {
const dc = document.querySelector('#pickerContainerCommentFB').querySelectorAll('[class*=EmojiArea_emojis__]')[0]
if(dc) {
dc.scrollTop = 0;
}
})
},
submitCommentHandler(text, replyComment, commenter) {
let id = Date.now().toString(36) + Math.random().toString(36).substr(2);
let tempComment = {
love_reactant: {},
published: false,
id: id,
comment: text,
commenter: {}
}
tempComment.commenter = commenter
if(replyComment.comment !== undefined) {
tempComment.parent = replyComment.comment
}
livewire.emit('comment', tempComment)
window.dispatchEvent(new CustomEvent('add-comment', {
detail: {
comment: tempComment
}
}))
},
scrollBottom() {
this.$nextTick(() => {
let scrollHeight = document.querySelector('.chat-body').scrollHeight
$('.chat-body.scrollbar').scrollTop(scrollHeight)
})
},
closeReply() {
this.replyComment = {}
},
initEmojiButtons() {
const trigger = document.querySelector('.emoji-button');
console.log('emoji-button-comment-input', typeof trigger)
if (typeof trigger === 'object') {
const rootElement = document.querySelector('#pickerContainerCommentFB');
const picker = createPicker({
rootElement,
emojisPerRow: 10,
visibleRows: 3,
showPreview: false,
emojiSize: '27px',
showVariants: false,
showSearch: false,
className: 'comment-emoji comment-emoji-jkl',
i18n: 'zh',
locale: 'zh',
categories: [
'smileys-emotion',
'animals-nature',
'people-body',
]
});
console.log(picker)
picker.addEventListener('data:ready', event => {
console.log('ready!', 'production')
const dc = document.querySelector('#pickerContainerCommentFB').querySelectorAll('[class*=picmo__emojiArea]')[0]
if(dc) {
const ps = new PerfectScrollbar(dc, {
});
dc.scrollTop = 0;
}
})
picker.addEventListener('emoji:select', event => {
console.log('Emoji selected:', event.emoji);
this.text += event.emoji || ''
});
}
}
}"
>
回到顶部