|
类似这样,前面是你表情的标志,后面是表情的地址
content.replace(/\[\/bq喜欢\]/g, "<img src='../res/emotion/bqin1.png' class='bq_img_css' />")
.replace(/\[\/bq我最美\]/g, "<img src='../res/emotion/bqin2.png' class='bq_img_css' />")
.replace(/\[\/bq微笑\]/g, "<img src='../res/emotion/bqin3.png' class='bq_img_css' />")
.replace(/\[\/bq大笑\]/g, "<img src='../res/emotion/bqin4.png' class='bq_img_css' />")
|
|