Paste: baidu tieba smiley back
Author: | test by cat |
Mode: | javascript |
Date: | Thu, 23 May 2013 09:29:51 |
Plain Text |
_.Module.define({
path: "common/component/EditorSmiley",
requires: ["common/component/ScrollPanel"],
sub: {
tempHTML: ['<div class="s_layer_content j_content"></div>', '<div class="s_layer_tab j_tab"></div>', '<div id="tabIconReview"></div>'].join(""),
path: "http://static.tieba.baidu.com/tb/editor/images/",
smileQueen: ["jd", "paopao", "face", "ldw", "ali", "tsj", "qpx", "luoluobu", "bobo", "shadow", "lt", "baodong", "baodong_d", "zxh", "ySmile", "qw_cat"],
_twidth: 540,
smileProperty: {
jd: {
tip: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
num: 59,
prev: "j_00",
folder: "jd/",
name: "\u9ed8\u8ba4",
css: {
cols: 10,
"class": "s_jd",
width: 35,
offset: 35
},
type: "img",
power: 1
},
paopao: {
tip: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
num: 50,
prev: "i_f",
folder: "face/",
name: "\u65e7\u7248\u6ce1\u6ce1",
css: {
cols: 10,
"class": "s_face",
width: 35,
offset: 30
},
type: "img",
power: 1
},
face: {
tip: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
num: 50,
prev: "i_f",
folder: "face/",
suffix: "png",
name: "\u65b0\u7248\u6ce1\u6ce1",
css: {
cols: 10,
"class": "s_face",
width: 42,
offset: 42
},
type: "img",
power: 1
},
ldw: {
tip: ["\u4e00\u697c\u5582\u718a", "\u4fef\u5367\u6491", "\u6253\u9171\u6cb9", "\u56e7", "\u5927\u7b11", "\u7011\u5e03\u6c57~", "\u60ca\u8bb6", "\u81ed\u7f8e", "\u50bb\u7b11", "\u629b\u5a9a\u773c", "\u53d1\u6012", "\u6211\u9519\u4e86", "money", "\u6c14\u6124", "\u6311\u9017", "\u543b", "\u6012", "\u80dc\u5229", "\u59d4\u5c48", "\u53d7\u4f24","\u8bf4\u5565\u5462\uff1f", "\u95ed\u5634", "\u4e0d", "\u9017\u4f60\u73a9\u513f", "\u98de\u543b", "\u7729\u6655", "\u9b54\u6cd5", "\u6211\u6765\u4e86", "\u7761\u4e86", "\u6211\u6253","\u95ed\u5634", "\u6253", "\u6253\u6655\u4e86", "\u5237\u7259", "\u7206\u63cd", "\u70b8\u5f39", "\u5012\u7acb", "\u522e\u80e1\u5b50", "\u90aa\u6076\u7684\u7b11", "\u4e0d\u8981\u4e0d\u8981","\u7231\u604b\u4e2d", "\u653e\u5927\u4ed4\u7ec6\u770b", "\u5077\u7aa5", "\u8d85\u9ad8\u5174", "\u6655", "\u677e\u53e3\u6c14", "\u6211\u8dd1", "\u4eab\u53d7", "\u4fee\u517b", "\u54ed", "\u6c57", "\u554a~", "\u70ed\u70c8\u6b22\u8fce"],
num: 53,
prev: "w_00",
folder: "ldw/",
name: "\u7EFF\u8C46\u86D9",
css: {
cols: 10,
"class": "s_ldw",
width: 42,
offset: 42
},
type: "img",
power: 1
},
ali: {
tip: ["\u8d56\u76ae", "\u611f\u52a8", "\u60ca\u8bb6", "\u6012\u6c14", "\u54ed\u6ce3", "\u5403\u60ca", "\u5632\u5f04", "\u98d8\u8fc7", "\u8f6c\u5708\u54ed", "\u795e\u7ecf\u75c5", "\u63ea\u8033\u6735", "\u60ca\u6c57", "\u9690\u8eab", "\u4e0d\u8981", "\u9041", "\u4e0d\u516c\u5e73", "\u722c\u6765\u4e86", "\u86cb\u82b1\u54ed", "\u6e29\u6696", "\u70b9\u5934", "\u6492\u94b1", "\u732e\u82b1", "\u5bd2", "\u50bb\u7b11", "\u626d\u626d", "\u75af", "\u6293\u72c2", "\u6293", "\u8737", "\u6320\u5899", "\u72c2\u7b11", "\u62b1\u6795", "\u543c\u53eb", "\u56b7", "\u5520\u53e8", "\u634f\u8138", "\u72c2\u7b11", "\u90c1\u95f7", "\u6f5c\u6c34", "\u5f00\u5fc3", "\u51b7\u7b11\u8bdd", "\u9876", "\u6f5c", "\u753b\u5708\u5708", "\u73a9\u7535\u8111", "\u5410", "\u54ed\u7740\u8dd1", "\u963f\u72f8\u4fa0", "\u51b7\u6b7b\u4e86", "\u60c6\u6005~", "\u6478\u5934", "\u8e6d", "\u6253\u6eda", "\u53e9\u62dc", "\u6478", "\u6570\u94b1", "\u62d6\u8d70", "\u70ed", "\u52a01", "\u538b\u529b", "\u8868\u903c\u6211", "\u4eba\u5462", "\u6447\u6643", "\u6253\u5730\u9f20", "\u8fd9\u4e2a\u5c4c", "\u6050\u614c", "\u6655\u4e4e\u4e4e", "\u6d6e\u4e91", "\u7ed9\u529b", "\u676f\u5177\u4e86"],
num: 70,
prev: "ali_0",
folder: "ali/",
name: "\u963f\u72f8",
css: {
cols: 10,
"class": "s_ali",
width: 42,
offset: 42
},
type: "img",
power: 1
},
tsj: {
tip: ["Kiss", "Love", "Yeah", "\u554a\uff01", "\u80cc\u626d", "\u9876", "\u6296\u80f8", "88", "\u6c57", "\u778c\u7761", "\u9c81\u62c9", "\u62cd\u7816", "\u63c9\u8138", "\u751f\u65e5\u5feb\u4e50", "\u644a\u624b", "\u7761\u89c9", "\u762b\u5750", "\u65e0\u804a", "\u661f\u661f\u95ea", "\u65cb\u8f6c", "\u4e5f\u4e0d\u884c", "\u90c1\u95f7", "\u6b63Music", "\u6293\u5899", "\u649e\u5899\u81f3\u6b7b", "\u6b6a\u5934", "\u6233\u773c", "\u98d8\u8fc7", "\u4e92\u76f8\u62cd\u7816", "\u780d\u6b7b\u4f60", "\u6254\u684c\u5b50", "\u5c11\u6797\u5bfa", "\u4ec0\u4e48\uff1f", "\u8f6c\u5934", "\u6211\u7231\u725b\u5976", "\u6211\u8e22", "\u6447\u6643", "\u6655\u53a5", "\u5728\u7b3c\u5b50\u91cc", "\u9707\u8361"],
num: 40,
prev: "t_00",
folder: "tsj/",
name: "\u5154\u65af\u57fa",
css: {
cols: 10,
"class": "s_tsj",
width: 35,
offset: 35
},
type: "img",
power: 1
},
qpx: {
tip: ["\u5fae\u7b11", "\u5e05\u54e5", "\u7f8e\u5973", "\u8001\u5927", "\u54c8\u54c8\u54c8", "\u5978\u7b11", "\u50bb\u4e50", "\u98de\u543b", "\u5bb3\u7f9e", "\u82b1\u75f4", "\u61a7\u61ac", "\u4f60\u725b", "\u9f13\u638c", "\u53ef\u7231", "\u59d4\u5c48", "\u5927\u54ed", "\u6cea\u5954", "\u5bfb\u6b7b", "\u60ca\u8bb6", "\u7591\u95ee", "\u9119\u89c6", "\u5927\u9a82", "\u72c2\u6012", "\u56e7", "\u6655", "\u5455\u5410", "\u8d22\u8ff7", "\u7761\u4e86", "\u601d\u8003", "\u6c57", "\u65e0\u8bed", "\u62dc", "\u97a0\u8eac", "\u7d2f\u4e86", "\u75c5\u4e86", "\u5899\u89d2", "\u8d85\u4eba", "\u6233", "\u8df3\u821e", "\u9b3c\u8138", "\u65e0\u804a", "\u649e\u5899", "\u9876", "HI", "\u996d", "\u86cb\u7cd5", "\u793c\u7269", "\u5fc3", "\u5fc3\u788e", "\u73ab\u7470", "\u70b8\u5f39", "\u96c6\u4f53\u821e", "\u6253\u4eba", "\u62cd\u62cd", "\u4eb2\u4eb2", "\u63e1\u624b", "\u5b89\u6170", "\u77f3\u5934", "\u526a\u5b50", "\u5e03", "\u606d\u559c\u5566", "\u5575\u5575"],
num: 62,
prev: "b",
folder: "qpx_n/",
name: "\u6c14\u6ce1\u718a",
css: {
cols: 10,
"class": "s_qpx",
width: 35,
offset: 35
},
type: "img",
power: 1
},
luoluobu: {
tip: ["hold\u4f4f", "\u963f\u95e8", "\u54ce\u54df", "\u5509\uff5e", "\u4e0d\u597d\u610f\u601d", "\u4e0d\u8981\u561b\uff01", "\u5531\u6b4c", "\u626f\u809a\u76ae", "\u626f\u8138", "\u6413\u8138", "\u6413\u624b", "\u6253\u706f\u7b3c", "\u6253\u8d77\u7cbe\u795e", "\u70b9\u5934", "\u70b9\u59342", "\u52a8\u52a8\u811a", "\u52a8\u52a8\u811a2", "\u6296\u811a", "\u6296\u811a2", "\u55ef\uff5e", "\u53d1\u5446", "\u9f13\u638c", "\u6eda\u684c\u5b50", "\u597d\u95f2\u963f\uff5e", "\u559d\u8336\u53d1\u5446", "\u54fc\uff01", "\u6643", "\u54ed", "\u56f0\u4e86", "\u6269\u80f8\u8fd0\u52a8", "\u6765\u6765\u6765", "\u6765\u561b\uff5e", "\u51b7\u9759\u51b7\u9759", "\u7f57\u7238\u7238\u626d\u626d", "\u7f57\u5988\u5988\u626d\u626d", "\u9e8b\u9e7f\u7f57\u7f57\u5e03", "\u626dpp", "\u626dpp2", "\u626d\u626d", "\u6b27\u4e5f", "\u8db4\u7740", "\u5207\uff01", "\u53bb\u53bb", "\u6492\u82b1", "\u4e0aWC", "\u5723\u8bde\u8001\u4eba", "\u5929\u4f7f\u7f57\u7f57\u5e03", "\u8df3\u5440\u8df3", "\u8df3\u5440\u8df32", "\u73a9\u4e2a\u7403", "\u6211\u6765\u4e86", "\u563b\u563b", "\u5411\u524d\u8fdb", "\u4e9a\u514b\u897f", "\u6447\u554a\u6447", "\u4e00\u8fb9\u5446\u7740\u53bb\uff01", "\u4e00\u8d77\u626d", "\u6709\u793c\u4e86", "\u8fd9\u53a2\u6709\u793c\u4e86", "\u8d70\u5440\u8d70"],
num: 60,
prev: "llb_0",
folder: "luoluobu/",
name: "\u7f57\u5e03\u5e03",
css: {
cols: 10,
"class": "s_luoluobu",
width: 42,
offset: 42
},
type: "img",
power: 1
},
bobo: {
tip: ["HI", "KISS", "\u4e0d\u8bf4", "\u4e0d\u8981", "\u626f\u82b1", "\u5927\u5fc3", "\u9876", "\u5927\u60ca", "\u98de\u543b", "\u9b3c\u8138", "\u5bb3\u7f9e", "\u53e3\u6c34", "\u72c2\u54ed", "\u6765", "\u6cea\u773c", "\u6d41\u6cea", "\u751f\u6c14", "\u5410\u820c", "\u559c\u6b22", "\u65cb\u8f6c", "\u518d\u89c1", "\u6293\u72c2", "\u6c57", "\u9119\u89c6", "\u62dc", "\u5410\u8840", "\u5618", "\u6253\u4eba", "\u8e66\u8df3", "\u53d8\u8138", "\u626f\u8089", "\u5403To", "\u5403\u82b1", "\u5439\u6ce1\u6ce1\u7cd6", "\u5927\u53d8\u8eab", "\u98de\u5929\u821e", "\u56de\u7738", "\u53ef\u601c", "\u731b\u62bd", "\u6ce1\u6ce1", "\u82f9\u679c", "\u4eb2", "", "\u9a9a\u821e", "\u70e7\u9999", "\u7761", "\u5957\u5a03\u5a03", "\u6345\u6345", "\u821e\u5012", "\u897f\u7ea2\u67ff", "\u7231\u6155", "\u6447", "\u6447\u6446", "\u6742\u800d", "\u62db\u8d22", "\u88ab\u6bb4", "\u88ab\u7403\u95f7", "\u5927\u60ca", "\u7406\u60f3", "\u6b27\u6253", "\u5455\u5410", "\u788e", "\u5410\u75f0"],
num: 63,
prev: "B_00",
folder: "bobo/",
name: "\u6ce2\u6ce2",
css: {
cols: 10,
"class": "s_bobo",
width: 35,
offset: 35
},
type: "img",
power: 1
},
shadow: {
tip: ["\u7126\u7cd6\u821e", "\u7ffb\u6eda", "\u62cd\u5c41\u80a1\u505a\u9b3c\u8138", "\u4e0d", "\u6cb3\u87f9\u6389\u5566", "\u54e6\u8036", "\u6211\u5012", "\u6295\u964d", "\u542c\u97f3\u4e50", "\u88ab\u7838", "\u5410\u820c\u5934", "\u592a\u597d\u5566", "\u8d22\u6e90\u6eda\u6eda", "\u4eba\u5462", "\u6325\u624b\u5e15", "\u5077\u7b11", "\u5377\u88ab", "\u770b\u697c\u4e0a", "\u6211\u62bd", "\u6709\u6728\u6709", "\u54ed", "\u6b22\u547c", "\u50bb\u516e\u516e", "\u6247\u6247\u5b50", "\u62cd\u624b", "\u7d27\u5f20", "\u6d17\u6fa1", "\u8036", "\u5403\u897f\u74dc", "\u7eb3\u5c3c", "\u6ca1\u6709\u94b1", "\u62ff\u73a9\u5076", "\u6765\u770b\u770b", "\u54c7\u54c7\u53eb", "\u62db\u8d22\u732b", "\u653e\u5c41", "\u9686\u91cd\u4ecb\u7ecd", "\u6c42\u4f60\u4e86", "\u649e\u73bb\u7483", "\u773a\u671b", "\u6492\u82b1", "\u73a9\u94c3\u94db", "\u601d\u8003\u8005", "\u62bd\u98ce", "\u5403\u82f9\u679c", "\u5149\u68cd"],
num: 46,
prev: "yz_0",
folder: "shadow/",
name: "\u5f71\u5b50",
css: {
cols: 10,
"class": "s_shadow",
width: 42,
offset: 42
},
type: "img",
power: 1
},
lt: {
tip: ["HI", "\u5403\u996d", "\u5403\u96f6\u98df", "\u5439\u6ce1\u6ce1", "\u6253", "\u6253\u96f7\u96f7", "\u6253\u96ea\u7403", "\u6296\u811a", "\u653e\u5c41", "\u9f13\u638c", "\u6eda\u5e8a\u5355", "\u6c57", "\u9ed1\u94b1", "\u52a0\u73ed", "\u52a0\u6cb9", "\u54ed", "\u4e86\u4e0d\u8d77", "\u6cea\u76ee", "\u51b7", "\u8def\u8fc7", "\u5450\u558a", "\u6f02\u6d41\u74f6", "\u8d77\u5e8a", "\u6f5c\u6c34", "\u6492\u82b1", "\u6492\u82b12", "\u6570\u94b1", "\u7761\u89c9", "\u5410\u9b42", "\u6316", "\u7f51\u8d2d", "\u6d17\u6fa1", "\u4e0b\u8dea", "\u538b\u529b", "\u6447\u6eda"],
num: 35,
prev: "lt_00",
folder: "lt/",
name: "\u51b7\u5154",
css: {
cols: 10,
"class": "s_lt",
width: 42,
offset: 42
},
type: "img",
power: 1
},
baodong: {
tip: ["\u5fc3\u7167\u4e0d\u5ba3", "\u84dd\u8138", "\u56f0\u60d1", "\u591f\u62fd", "\u77aa\u773c", "\u85d0\u89c6", "\u601d\u8003", "\u5475\u5475", "\u60f3\u8981\u59b9\u5b50", "\u5e7b\u60f3", "\u65e0\u5948\u7684\u7b11", "\u4e3a\u4ec0\u4e48", "\u9ed1\u4eba\u6b6a\u5634", "\u6b6a\u5634\u7b11", "\u82e6\u903c", "\u9762\u762b", "\u54af\u54af\u54af", "\u751f\u6c14", "\u9ad8\u5174", "\u559c\u6781\u800c\u6ce3", "\u544a\u8bc9\u6211", "\u6709\u4e86", "\u597d\u5427", "\u5b64\u72ec\u4e00\u751f", "\u560e\u560e", "\u66b4\u8e81", "\u7d2b\u6b6a\u5634", "\u7ea2\u6b6a\u5634", "\u8fd9\u4e0d\u79d1\u5b66", "\u7b11\u800c\u4e0d\u8bed", "\u56f4\u89c2", "\u725b\u4ed4\u6b6a\u5634", "\u65b9\u8098\u5b50", "\u9707\u60ca", "\u60ca\u8bb6", "\u98a0\u8986\u4e09\u89c2", "\u5c3c\u7f8e\u85d0\u89c6", "\u5c3c\u7f8e\u5475\u5475", "\u5c3c\u7f8e\u53d1\u5446", "\u5c3c\u7f8e\u6709\u4e86", "\u732b\u5634\u7b11", "\u601d\u6625", "\u5c3c\u7f8e\u82e6\u903c", "\u7b11\u5c3f", "\u5c3c\u7f8e\u54af\u54af", "\u5c3c\u7f8e\u6b6a\u5634", "\u5c3c\u7f8e\u59da", "\u66b4\u8d70\u5c3c\u7f8e", "\u5a07\u7f9e", "\u5c3c\u7f8e\u9707\u60ca", "\u5b64\u72ec\u5c3c\u7f8e", "\u5c3c\u7f8e\u5927\u54ed", "\u5c3c\u7f8e\u6124\u6012", "\u5c3c\u7f8e\u560e\u560e", "\u5c3c\u7f8e\u6124\u61d1", "\u5c3c\u7f8e\u4e0d\u89e3"],
num: 56,
prev: "b_00",
folder: "baodong/",
name: "\u66b4\u6f2b\u9759\u6001",
css: {
cols: 10,
"class": "s_baodong",
width: 35,
offset: 35
},
type: "img",
power: 1
},
baodong_d: {
tip: ["\u574f\u6deb", "\u6293\u72c2", "\u60b2\u621a", "\u75db\u54ed", "\u72af\u8d31", "\u5978\u7b11", "\u5c4c\u4e1d", "\u9ad8\u547c", "\u611f\u53f9", "\u611f\u52a8", "\u618b\u5c48", "\u8212\u723d", "\u574f\u7b11", "\u5c41\u98a0", "\u77b3\u672f", "\u6742\u800d", "\u59da\u8138", "\u5b64\u72ec", "\u66b4\u8d70", "\u6f47\u6d12", "\u5931\u671b", "\u540c\u684c", "\u53d8\u8138", "\u5f97\u745f", "\u8179\u9ed1\u7537", "\u8179\u9ed1\u5973", "\u591f\u62fd", "\u767d\u9886", "\u55b5\u5c3c\u739b", "\u6c6a\u5c3c\u739b", "\u563f\u563f\u5c3c\u739b", "\u52fe\u5f15", "\u53d1\u6cc4", "\u64cd\u64cd\u64cd"],
num: 34,
prev: "bd_00",
folder: "baodong_d/",
name: "\u66b4\u6f2b\u52a8\u6001",
css: {
cols: 10,
"class": "s_baodong_d",
width: 35,
offset: 35
},
type: "img",
power: 1
},
zxh: {
tip: ["+1", "\u54c0\u4f24", "\u9971", "\u6fd2\u6b7b", "\u75c5", "\u5403\u8d27", "\u5446", "\u5012\u540a", "\u70b9\u5b50", "\u9876", "\u9f13\u638c", "\u5bb3\u7f9e", "\u6c57", "\u5475\u5475\u5475", "\u52a0\u6cb9", "\u5978\u7b11", "\u5978\u8bc8", "\u60ca\u8bb6", "\u56e7", "\u770b", "\u62a0\u9f3b\u5b50", "\u54ed", "\u56f0", "\u4e50", "\u6e9c\u8d70", "\u8def\u8fc7", "\u4e70\u4f60\u59b9\u7684\u623f\u7eb8", "\u6572\u9523", "\u4eb2\u543b", "\u53bb\u4f60\u59b9\u7684\u5de5\u4f5c", "\u6247\u98ce", "\u5931\u843d", "\u5237\u7259", "\u9003\u547d", "\u8df3\u821e", "\u542c\u97f3\u4e50", "\u5077\u7b11", "\u5410", "\u65e0\u8bed", "\u559c", "\u7b11", "\u5174\u594b", "\u9e2d\u5b50\u8df3", "\u54ac", "\u54ac", "\u793c\u7269", "\u8d5e", "\u9707\u60ca", "\u8ffd\u94b1", "\u505a\u9b3c\u8138"],
num: 50,
prev: "zxh_0",
folder: "pczxh/",
name: "\u5f20\u5c0f\u76d2",
css: {
cols: 10,
"class": "s_zxh",
width: 42,
offset: 42
},
type: "img",
power: 1
},
ySmile: {
tip: ["^_^", "(-__-)b", "\u2299\ufe4f\u2299\u2016", "\u2299\u25bd\u2299", " \u2267\u03b5 \u2266", "\u2533\uff3f\u2533", "(\u256c\u25bc\u76bf\u25bc\uff09", "\\("\u2594\u25a1\u2594)/", "\u2196(\uffe3\u25bd\uffe3") ", "(\u3065\uffe33\uffe3)\u3065 ", "(*\uffe3\u25bd\uffe3)y ", "o(\u2267\u53e3\u2266)o ", "(\uffe3\u03b5\uffe3*)", "/(\u3112o\u3112)/~~ ", "(\uFFE3\u03B5\uFFE3*)", "<(\uffe3\ufe36\uffe3)> ", "o(\u2267v\u2266)o", "\u256e(\u256f3\u2570)\u256d ", " \uff61\u25d5\u203f\u25d5\uff61", " \u7f52\u03c9\u7f52", "(\u25d5\u03c9\uff1c)\u2606 ", "(\u273f\u272a\u203f\u272a\uff61)\uff89 ", "\uff08\u25d5(\uff6a)\u25d5\uff09", "(\u25cf'\u25e1'\u25cf)\uff89\u2665", "\u03a3(\u3063 \u00b0\u0414 \u00b0;)\u3063", "\u311f( \u2594, \u2594 )\u310f", "\u51f8(\u8279\u76bf\u8279 ) ", "m(_ _)m", "(\u2299x\u2299;)", "( =\u2229\u03c9\u2229= )", " \u256e(\u256f\u25bd\u2570)\u256d", "(\u22673\u2266)/ ", "(\uFF20_\uFF20;)?", " o(*\uffe3\u25bd\uffe3*)\u30d6", "(o\u309c\u25bd\u309c)o\u2606", ""o((>\u03c9< ))o" "],
num: 36,
prev: "",
folder: "",
name: "\u989c\u8868\u60c5",
css: {
cols: 6,
"class": "s_ySmile"
},
type: "text",
power: 1
},
qw_cat: {
tip: ["", "", "", "", "", "", "", "", ""],
num: 9,
prev: "qw_cat_00",
folder: "qw_cat_small/",
name: "\u795e\u6765\u4e00\u53e5",
css: {
cols: 5,
"class": "qw_cat",
width: 200,
offset: 200
},
type: "img",
power: 1
}
},
initial: function(a) {},
init: function(a, c) {
a.html(this.tempHTML);
var b = this;
b.j_content = a.find(".j_content");
b.j_tab = a.find(".j_tab");
b.editor = c;
$.JsLoadManager.use("/tb/static-common/lib/jquery-ui-1.10.0.draggable.min.js?v=130307102247",
function() {
b.scrollPanel = b.use("common/component/ScrollPanel", {
container: b.j_content,
height: 277,
content: ""
});
b.genericTab();
b.currType = b.currType || "jd";
b.switchTab(b.currType);
b.smileEventInit()
})
},
over: function(g, f, c) {
var a = this;
var d = $(g).data("stype");
if (d == "text") {
g.style.backgroundColor = "#E8E8FD";
a.f_t && a.f_t.remove();
return
}
g.style.backgroundColor = "#E8E8FD";
a.f_t && a.f_t.remove();
a.f_t = $("<img />");
var e = a.f_t;
e.addClass("review");
var b = null;
e.load(function() {
clearTimeout(b);
if (e[0].complete != true) {
b = setTimeout(arguments.callee, 50);
return
}
$("#tabIconReview")[0].style.display = "block";
var i = e[0].width,
n = e[0].height;
if (i == 0 || n == 0) {
b = setTimeout(arguments.callee, 50)
} else {
if (i > 60 || n > 60) {
var j = i / n;
if (i > n) {
e.width(60)
} else {
e.height(60);
e.width(60 * j)
}
}
if (c == 1) {
$("#tabIconReview")[0].className = "show"
}
var m = (60 - e.width()) / 2,
o = (60 - e.height()) / 2;
e.css({
top: o,
left: m
});
var l = g.getAttribute("data-type")
}
});
$("#tabIconReview").append(e);
e.attr("src", f)
},
out: function(a) {
a.style.backgroundColor = "#FFFFFF";
$("#tabIconReview")[0].className = "";
$("#tabIconReview")[0].style.display = "none"
},
hoverSmile: function() {
var a = this;
this.j_content.delegate(".j_smile", "mouseleave",
function() {
var b = $(this);
a.out(this)
});
this.j_content.delegate(".j_smile", "mouseenter",
function() {
var c = $(this);
var d = c.data("surl"),
b = c.data("postflag");
a.over(this, d, b)
});
this.j_content.delegate(".j_smile", "click",
function() {
var d = $(this);
var f = d.data("surl"),
b = d.data("class"),
c = d.data("stype");
if (c == "text") {
var e = d.attr("title");
a.insertTextSmiley(e)
} else {
a.insertSmiley(f, b, this)
}
})
},
smileyName: function(d, b, c) {
var a = "";
a = d;
if (b < 10) {
a = a + "0"
}
a = a + b + "." + c;
return a
},
genericSmiley: function(e) {
var b = this.scrollPanel,
n = this.smileQueen,
o = this.smileProperty,
m = o[e],
k = this,
f = this.path;
var i = f + m.folder;
var q = m.css["cols"];
var h = q / 2;
var p = iHeight = m.css["width"];
var r = this._twidth / q;
var d = r;
if (m.type == "text") {
d = d / 2
}
var a = m.css["class"];
var g = m.css["offset"];
var j = ['<table class="s_layer_table" cellpadding="1" cellspacing="1" align="center" style="border-collapse:collapse;" border="1" bordercolor="#e3e3e3" >'];
var c = m.suffix || "gif";
var l = function(y, C, z, D) {
for (var x = 0,
v = m.num; x < v;) {
j.push("<tr>");
for (var w = 0,
F = q; w < F; w++, x++) {
var A = k.smileyName(m.prev, x + 1, c);
if (A && x < v) {
var s = i + A;
var u = w < h ? 0 : 1;
var t = g * x * ( - 1);
if (y == "lt" || y == "ali") {
t -= 1
}
if (y == "ali") {
t += 3
}
var E = z[x],
B = " ";
if (m.type == "text") {
B = E
}
j.push('<td class="' + a + ' j_smile" border="1" width="' + r + '" height="' + d + '" style="border-collapse:collapse;" data-value="' + x + '" data-sname="' + y + '" data-type="' + D + '" data-class="' + a + '" align="center" bgcolor="#FFFFFF" data-stype="' + m.type + '" title="' + E + '" data-surl="' + s + '" data-postflag="' + u + '">');
j.push('<a class="' + C + '" href="javascript:void(0)" style="display:block;color:#000;font-size:14px;text-decoration:none;background-position:left ' + t + 'px;background: transparent url('+s+') no-repeat scroll left top !important;background-size:contain !important;" >' + B + "</a>")
} else {
j.push('<td width="' + r + '" height="' + d + '" bgcolor="#FFFFFF">')
}
j.push("</td>")
}
j.push("</tr>")
}
};
l(e, "img", m.tip, "normal");
j.push("</table>");
j = j.join("");
b.setContent(j)
},
insertTextSmiley: function(b) {
var a = this.editor;
a.execCommand("inserthtml", b);
a.overlay.close()
},
insertSmiley: function(a, e, d) {
var c = this.editor;
c.execCommand("insertsmiley", a);
var b = d.getAttribute("data-type");
c.overlay.close()
},
genericTab: function() {
var d = this.j_tab,
b = this.smileQueen,
c = this.smileProperty,
k = this,
f = '<div class="s_prev"></div><div class="s_tab_con_wrapper"><ul class="s_tab_content">';
for (var e = 0,
g = b.length; e < g; e++) {
var h = b[e],
j = c[h];
var a = h == k.currType ? "selected": "";
f += '<li class="s_tab_btn ' + a + '" data-index="' + e + '" data-type="' + h + '"><span class="s_tab_btnbg">';
f += j.name;
f += "</span></li>"
}
f += '</ul></div><div class="s_next"></div>';
d.html(f);
this.tabEventInit();
k.firstTab = "jd";
k.lastTab = "luoluobu"
},
getTab: function(d) {
var c = this.j_tab;
var a = c.find("li"),
b = a.filter('[data-type="' + d + '"]');
return b
},
_tmargin: 0,
_fnum: 0,
_lnum: 7,
nextTab: function(c, d) {
var a = this,
b = this.j_tab.find(".s_tab_content");
if (this.firstTab == "jd") {
b.animate({
marginLeft: -531
},
500, "linear",
function() {
a.firstTab = "bobo"
})
}
},
prevTab: function(c, d) {
var a = this,
b = this.j_tab.find(".s_tab_content");
if (this.firstTab == "bobo") {
b.animate({
marginLeft: 0
},
500, "linear",
function() {
a.firstTab = "jd"
})
}
},
setSelectTab: function(d) {
var c = this.j_tab;
var a = c.find("li"),
b = a.filter('[data-type="' + d + '"]');
a.removeClass("selected");
b.addClass("selected")
},
tabEventInit: function() {
var b = this.j_tab,
a = this;
b.delegate(".s_prev", "click",
function() {
a.prevTab()
}).delegate(".s_next", "click",
function() {
a.nextTab()
}).delegate("li", "click",
function() {
var c = $(this).data("type");
a.switchTab(c)
})
},
smileEventInit: function() {
this.hoverSmile();
this.j_tab.delegate(".s_tab_btn", "mouseenter",
function() {
$(this).addClass("s_hover")
});
this.j_tab.delegate(".s_tab_btn", "mouseleave",
function() {
$(this).removeClass("s_hover")
})
},
switchTab: function(b) {
var a = this;
a.currType = b;
a.setSelectTab(b);
a.genericSmiley(b)
}
}
});
_.Module.use("common/component/EditorSmiley", [],function(o) {;});
AddStyle = function(rules) {
var styleElement = document.createElement('style');
styleElement.type = 'text/css';
styleElement.styleSheet.cssText = rules;
document.getElementsByTagName('head')[0].appendChild(styleElement);
};
AddStyle('.s_jd .img{width: 35px;height: 35px;}') ;
AddStyle('.s_ldw .img{width: 40px;height: 40px;}') ;
AddStyle('.qw_cat .img{width: 100px;height: 100px;}') ;
AddStyle('.s_prev{left: 6px !important;}') ;
AddStyle('.s_tab_con_wrapper{width: 518px !important;left: 15px !important;}') ;
AddStyle('.s_tab_content{width: 1200px !important;}') ;
AddStyle('.s_next{right: 6px !important;}') ;
AddStyle('.s_layer_table .img{background-size:contain !important;}') ;
New Annotation