Browse Source

第二次推送项目3

master
wanghongjun 2 years ago
parent
commit
8b571a32da
  1. BIN
      public/kindeditor/attached/image/20211025/20211025095043_78304.png
  2. BIN
      public/kindeditor/attached/image/20211026/20211026012912_23788.png
  3. BIN
      public/kindeditor/attached/image/20211110/20211110144657_72651.jpg
  4. BIN
      public/kindeditor/attached/image/20211110/20211110154726_48491.jpeg
  5. BIN
      public/kindeditor/attached/image/20211111/20211111151842_35651.jpeg
  6. BIN
      public/kindeditor/attached/image/20211112/20211112143849_62560.jpeg
  7. BIN
      public/kindeditor/attached/image/20211115/20211115172857_35687.png
  8. BIN
      public/kindeditor/attached/image/20211115/20211115173055_63677.jpg
  9. BIN
      public/kindeditor/attached/image/20211116/20211116155015_70530.jpg
  10. BIN
      public/kindeditor/attached/image/20211117/20211117150333_21036.png
  11. BIN
      public/kindeditor/attached/image/20211117/20211117150404_29722.png
  12. BIN
      public/kindeditor/attached/image/20211117/20211117150521_75416.png
  13. BIN
      public/kindeditor/attached/image/20211122/20211122112523_82221.jpeg
  14. BIN
      public/kindeditor/attached/image/20211123/20211123155227_92162.jpeg
  15. BIN
      public/kindeditor/attached/image/20211126/20211126151626_16269.png
  16. BIN
      public/kindeditor/attached/image/20211129/20211129114148_74046.png
  17. BIN
      public/kindeditor/attached/image/20211202/20211202090635_49811.png
  18. BIN
      public/kindeditor/attached/image/20211203/20211203093129_27019.jpg
  19. BIN
      public/kindeditor/attached/image/20211203/20211203175248_21631.jpg
  20. BIN
      public/kindeditor/attached/image/20211208/20211208101713_96085.jpg
  21. BIN
      public/kindeditor/attached/image/20211209/20211209181027_44368.jpg
  22. BIN
      public/kindeditor/attached/image/20211214/20211214091956_38462.jpg
  23. BIN
      public/kindeditor/attached/image/20211217/20211217111609_68918.png
  24. BIN
      public/kindeditor/attached/image/20211217/20211217141934_85921.jpg
  25. BIN
      public/kindeditor/attached/image/20211217/20211217163651_97525.jpg
  26. BIN
      public/kindeditor/attached/image/20211217/20211217163757_78935.jpg
  27. BIN
      public/kindeditor/attached/image/20211217/20211217164034_89109.jpg
  28. BIN
      public/kindeditor/attached/image/20211221/20211221162538_42261.jpg
  29. BIN
      public/kindeditor/attached/image/20211222/20211222173140_94950.jpg
  30. BIN
      public/kindeditor/attached/image/20211223/20211223164431_75107.jpg
  31. BIN
      public/kindeditor/attached/image/20211223/20211223180144_10290.jpg
  32. BIN
      public/kindeditor/attached/image/20211223/20211223180312_87351.jpg
  33. BIN
      public/kindeditor/attached/image/20211223/20211223180419_31200.jpg
  34. BIN
      public/kindeditor/attached/image/20211224/20211224094111_30044.jpg
  35. BIN
      public/kindeditor/attached/image/20211224/20211224142237_61246.jpg
  36. BIN
      public/kindeditor/attached/image/20211227/20211227170632_44290.jpg
  37. BIN
      public/kindeditor/attached/image/20211227/20211227170822_77990.jpg
  38. BIN
      public/kindeditor/attached/image/20211228/20211228153707_63038.jpg
  39. BIN
      public/kindeditor/attached/image/20211228/20211228154352_14353.jpg
  40. BIN
      public/kindeditor/attached/image/20211230/20211230171425_28742.jpg
  41. BIN
      public/kindeditor/attached/image/20211230/20211230171545_95795.jpg
  42. BIN
      public/kindeditor/attached/image/20211231/20211231114541_83363.jpg
  43. BIN
      public/kindeditor/attached/image/20220104/20220104164046_46258.jpg
  44. BIN
      public/kindeditor/attached/image/20220106/20220106175256_39390.jpg
  45. BIN
      public/kindeditor/attached/image/20220113/20220113141230_72324.png
  46. BIN
      public/kindeditor/attached/image/20220113/20220113141316_22950.png
  47. BIN
      public/kindeditor/attached/image/20220128/20220128122152_26538.jpg
  48. BIN
      public/kindeditor/attached/image/20220128/20220128122218_15949.jpg
  49. BIN
      public/kindeditor/attached/image/20220427/20220427171607_32071.jpg
  50. BIN
      public/kindeditor/attached/image/20220518/20220518100906_53920.png
  51. BIN
      public/kindeditor/attached/image/20220608/20220608143456_91688.png
  52. BIN
      public/kindeditor/attached/image/20220614/20220614140341_97325.png
  53. BIN
      public/kindeditor/attached/image/20220614/20220614140453_14814.png
  54. BIN
      public/kindeditor/attached/image/20220714/20220714091928_14105.jpg
  55. BIN
      public/kindeditor/attached/image/20220721/20220721161027_41533.jpg
  56. BIN
      public/kindeditor/attached/image/20220727/20220727153757_14126.jpg
  57. BIN
      public/kindeditor/attached/image/20220728/20220728175930_94610.jpg
  58. BIN
      public/kindeditor/attached/image/20220804/20220804174803_10005.jpg
  59. BIN
      public/kindeditor/attached/image/20220818/20220818144654_78066.jpg
  60. 129
      public/kindeditor/plugins/emoticons/emoticons.js
  61. BIN
      public/kindeditor/plugins/emoticons/images/1.gif
  62. BIN
      public/kindeditor/plugins/emoticons/images/2.gif

BIN
public/kindeditor/attached/image/20211025/20211025095043_78304.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

BIN
public/kindeditor/attached/image/20211026/20211026012912_23788.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

BIN
public/kindeditor/attached/image/20211110/20211110144657_72651.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

BIN
public/kindeditor/attached/image/20211110/20211110154726_48491.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 KiB

BIN
public/kindeditor/attached/image/20211111/20211111151842_35651.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 KiB

BIN
public/kindeditor/attached/image/20211112/20211112143849_62560.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 KiB

BIN
public/kindeditor/attached/image/20211115/20211115172857_35687.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
public/kindeditor/attached/image/20211115/20211115173055_63677.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
public/kindeditor/attached/image/20211116/20211116155015_70530.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 KiB

BIN
public/kindeditor/attached/image/20211117/20211117150333_21036.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 KiB

BIN
public/kindeditor/attached/image/20211117/20211117150404_29722.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 681 KiB

BIN
public/kindeditor/attached/image/20211117/20211117150521_75416.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 KiB

BIN
public/kindeditor/attached/image/20211122/20211122112523_82221.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 KiB

BIN
public/kindeditor/attached/image/20211123/20211123155227_92162.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

BIN
public/kindeditor/attached/image/20211126/20211126151626_16269.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
public/kindeditor/attached/image/20211129/20211129114148_74046.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 KiB

BIN
public/kindeditor/attached/image/20211202/20211202090635_49811.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 966 KiB

BIN
public/kindeditor/attached/image/20211203/20211203093129_27019.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 KiB

BIN
public/kindeditor/attached/image/20211203/20211203175248_21631.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 KiB

BIN
public/kindeditor/attached/image/20211208/20211208101713_96085.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

BIN
public/kindeditor/attached/image/20211209/20211209181027_44368.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

BIN
public/kindeditor/attached/image/20211214/20211214091956_38462.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 KiB

BIN
public/kindeditor/attached/image/20211217/20211217111609_68918.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

BIN
public/kindeditor/attached/image/20211217/20211217141934_85921.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

BIN
public/kindeditor/attached/image/20211217/20211217163651_97525.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

BIN
public/kindeditor/attached/image/20211217/20211217163757_78935.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
public/kindeditor/attached/image/20211217/20211217164034_89109.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
public/kindeditor/attached/image/20211221/20211221162538_42261.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

BIN
public/kindeditor/attached/image/20211222/20211222173140_94950.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 KiB

BIN
public/kindeditor/attached/image/20211223/20211223164431_75107.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
public/kindeditor/attached/image/20211223/20211223180144_10290.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 KiB

BIN
public/kindeditor/attached/image/20211223/20211223180312_87351.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 KiB

BIN
public/kindeditor/attached/image/20211223/20211223180419_31200.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 KiB

BIN
public/kindeditor/attached/image/20211224/20211224094111_30044.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

BIN
public/kindeditor/attached/image/20211224/20211224142237_61246.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

BIN
public/kindeditor/attached/image/20211227/20211227170632_44290.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

BIN
public/kindeditor/attached/image/20211227/20211227170822_77990.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 KiB

BIN
public/kindeditor/attached/image/20211228/20211228153707_63038.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
public/kindeditor/attached/image/20211228/20211228154352_14353.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
public/kindeditor/attached/image/20211230/20211230171425_28742.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
public/kindeditor/attached/image/20211230/20211230171545_95795.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
public/kindeditor/attached/image/20211231/20211231114541_83363.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
public/kindeditor/attached/image/20220104/20220104164046_46258.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

BIN
public/kindeditor/attached/image/20220106/20220106175256_39390.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
public/kindeditor/attached/image/20220113/20220113141230_72324.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

BIN
public/kindeditor/attached/image/20220113/20220113141316_22950.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

BIN
public/kindeditor/attached/image/20220128/20220128122152_26538.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
public/kindeditor/attached/image/20220128/20220128122218_15949.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

BIN
public/kindeditor/attached/image/20220427/20220427171607_32071.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 KiB

BIN
public/kindeditor/attached/image/20220518/20220518100906_53920.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 KiB

BIN
public/kindeditor/attached/image/20220608/20220608143456_91688.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 KiB

BIN
public/kindeditor/attached/image/20220614/20220614140341_97325.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

BIN
public/kindeditor/attached/image/20220614/20220614140453_14814.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
public/kindeditor/attached/image/20220714/20220714091928_14105.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

BIN
public/kindeditor/attached/image/20220721/20220721161027_41533.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

BIN
public/kindeditor/attached/image/20220727/20220727153757_14126.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 KiB

BIN
public/kindeditor/attached/image/20220728/20220728175930_94610.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
public/kindeditor/attached/image/20220804/20220804174803_10005.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

BIN
public/kindeditor/attached/image/20220818/20220818144654_78066.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 KiB

129
public/kindeditor/plugins/emoticons/emoticons.js

@ -0,0 +1,129 @@
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
*******************************************************************************/
KindEditor.plugin('emoticons', function(K) {
var self = this, name = 'emoticons',
path = (self.emoticonsPath || self.pluginsPath + 'emoticons/images/'),
allowPreview = self.allowPreviewEmoticons === undefined ? true : self.allowPreviewEmoticons,
currentPageNum = 1;
self.clickToolbar(name, function() {
var rows = 5, cols = 9, total = 135, startNum = 0,
cells = rows * cols, pages = Math.ceil(total / cells),
colsHalf = Math.floor(cols / 2),
wrapperDiv = K('<div class="ke-plugin-emoticons"></div>'),
elements = [],
menu = self.createMenu({
name : name,
beforeRemove : function() {
removeEvent();
}
});
menu.div.append(wrapperDiv);
var previewDiv, previewImg;
if (allowPreview) {
previewDiv = K('<div class="ke-preview"></div>').css('right', 0);
previewImg = K('<img class="ke-preview-img" src="' + path + startNum + '.gif" />');
wrapperDiv.append(previewDiv);
previewDiv.append(previewImg);
}
function bindCellEvent(cell, j, num) {
if (previewDiv) {
cell.mouseover(function() {
if (j > colsHalf) {
previewDiv.css('left', 0);
previewDiv.css('right', '');
} else {
previewDiv.css('left', '');
previewDiv.css('right', 0);
}
previewImg.attr('src', path + num + '.gif');
K(this).addClass('ke-on');
});
} else {
cell.mouseover(function() {
K(this).addClass('ke-on');
});
}
cell.mouseout(function() {
K(this).removeClass('ke-on');
});
cell.click(function(e) {
self.insertHtml('<img src="' + path + num + '.gif" border="0" alt="" />').hideMenu().focus();
e.stop();
});
}
function createEmoticonsTable(pageNum, parentDiv) {
var table = document.createElement('table');
parentDiv.append(table);
if (previewDiv) {
K(table).mouseover(function() {
previewDiv.show('block');
});
K(table).mouseout(function() {
previewDiv.hide();
});
elements.push(K(table));
}
table.className = 'ke-table';
table.cellPadding = 0;
table.cellSpacing = 0;
table.border = 0;
var num = (pageNum - 1) * cells + startNum;
for (var i = 0; i < rows; i++) {
var row = table.insertRow(i);
for (var j = 0; j < cols; j++) {
var cell = K(row.insertCell(j));
cell.addClass('ke-cell');
bindCellEvent(cell, j, num);
var span = K('<span class="ke-img"></span>')
.css('background-position', '-' + (24 * num) + 'px 0px')
.css('background-image', 'url(' + path + 'static.gif)');
cell.append(span);
elements.push(cell);
num++;
}
}
return table;
}
var table = createEmoticonsTable(currentPageNum, wrapperDiv);
function removeEvent() {
K.each(elements, function() {
this.unbind();
});
}
var pageDiv;
function bindPageEvent(el, pageNum) {
el.click(function(e) {
removeEvent();
table.parentNode.removeChild(table);
pageDiv.remove();
table = createEmoticonsTable(pageNum, wrapperDiv);
createPageTable(pageNum);
currentPageNum = pageNum;
e.stop();
});
}
function createPageTable(currentPageNum) {
pageDiv = K('<div class="ke-page"></div>');
wrapperDiv.append(pageDiv);
for (var pageNum = 1; pageNum <= pages; pageNum++) {
if (currentPageNum !== pageNum) {
var a = K('<a href="javascript:;">[' + pageNum + ']</a>');
bindPageEvent(a, pageNum);
pageDiv.append(a);
elements.push(a);
} else {
pageDiv.append(K('@[' + pageNum + ']'));
}
pageDiv.append(K('@&nbsp;'));
}
}
createPageTable(currentPageNum);
});
});

BIN
public/kindeditor/plugins/emoticons/images/1.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
public/kindeditor/plugins/emoticons/images/2.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Loading…
Cancel
Save