@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/es/LcdpUeditor.d.ts +74 -0
  2. package/es/LcdpUeditor.js +335 -0
  3. package/es/const.d.ts +12 -0
  4. package/es/const.js +19 -0
  5. package/es/defaultConfig.json +77 -0
  6. package/es/index.d.ts +4 -0
  7. package/es/index.js +3 -0
  8. package/es/tools/UeditorResourceLoader.d.ts +21 -0
  9. package/es/tools/UeditorResourceLoader.js +114 -0
  10. package/es/tools/loadScript.d.ts +5 -0
  11. package/es/tools/loadScript.js +54 -0
  12. package/es/type.d.ts +142 -0
  13. package/es/type.js +1 -0
  14. package/package.json +32 -0
  15. package/ueditor-resource/dialogs/anchor/anchor.html +62 -0
  16. package/ueditor-resource/dialogs/attachment/attachment.css +716 -0
  17. package/ueditor-resource/dialogs/attachment/attachment.html +61 -0
  18. package/ueditor-resource/dialogs/attachment/attachment.js +803 -0
  19. package/ueditor-resource/dialogs/attachment/images/alignicon.gif +0 -0
  20. package/ueditor-resource/dialogs/attachment/images/alignicon.png +0 -0
  21. package/ueditor-resource/dialogs/attachment/images/bg.png +0 -0
  22. package/ueditor-resource/dialogs/attachment/images/file-icons.gif +0 -0
  23. package/ueditor-resource/dialogs/attachment/images/file-icons.png +0 -0
  24. package/ueditor-resource/dialogs/attachment/images/icons.gif +0 -0
  25. package/ueditor-resource/dialogs/attachment/images/icons.png +0 -0
  26. package/ueditor-resource/dialogs/attachment/images/image.png +0 -0
  27. package/ueditor-resource/dialogs/attachment/images/progress.png +0 -0
  28. package/ueditor-resource/dialogs/attachment/images/success.gif +0 -0
  29. package/ueditor-resource/dialogs/attachment/images/success.png +0 -0
  30. package/ueditor-resource/dialogs/audio/audio.css +879 -0
  31. package/ueditor-resource/dialogs/audio/audio.html +94 -0
  32. package/ueditor-resource/dialogs/audio/audio.js +815 -0
  33. package/ueditor-resource/dialogs/audio/icon/center-active.png +0 -0
  34. package/ueditor-resource/dialogs/audio/icon/center.png +0 -0
  35. package/ueditor-resource/dialogs/audio/icon/img.png +0 -0
  36. package/ueditor-resource/dialogs/audio/icon/left-active.png +0 -0
  37. package/ueditor-resource/dialogs/audio/icon/left.png +0 -0
  38. package/ueditor-resource/dialogs/audio/icon/none-active.png +0 -0
  39. package/ueditor-resource/dialogs/audio/icon/none.png +0 -0
  40. package/ueditor-resource/dialogs/audio/icon/right-active.png +0 -0
  41. package/ueditor-resource/dialogs/audio/icon/right.png +0 -0
  42. package/ueditor-resource/dialogs/audio/images/bg.png +0 -0
  43. package/ueditor-resource/dialogs/audio/images/center_focus.jpg +0 -0
  44. package/ueditor-resource/dialogs/audio/images/file-icons.gif +0 -0
  45. package/ueditor-resource/dialogs/audio/images/file-icons.png +0 -0
  46. package/ueditor-resource/dialogs/audio/images/icons.gif +0 -0
  47. package/ueditor-resource/dialogs/audio/images/icons.png +0 -0
  48. package/ueditor-resource/dialogs/audio/images/image.png +0 -0
  49. package/ueditor-resource/dialogs/audio/images/left_focus.jpg +0 -0
  50. package/ueditor-resource/dialogs/audio/images/none_focus.jpg +0 -0
  51. package/ueditor-resource/dialogs/audio/images/progress.png +0 -0
  52. package/ueditor-resource/dialogs/audio/images/right_focus.jpg +0 -0
  53. package/ueditor-resource/dialogs/audio/images/success.gif +0 -0
  54. package/ueditor-resource/dialogs/audio/images/success.png +0 -0
  55. package/ueditor-resource/dialogs/background/background.css +193 -0
  56. package/ueditor-resource/dialogs/background/background.html +59 -0
  57. package/ueditor-resource/dialogs/background/background.js +370 -0
  58. package/ueditor-resource/dialogs/background/images/bg.png +0 -0
  59. package/ueditor-resource/dialogs/background/images/success.png +0 -0
  60. package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -0
  61. package/ueditor-resource/dialogs/contentimport/contentimport.js +91 -0
  62. package/ueditor-resource/dialogs/emotion/emotion.css +129 -0
  63. package/ueditor-resource/dialogs/emotion/emotion.html +70 -0
  64. package/ueditor-resource/dialogs/emotion/emotion.js +186 -0
  65. package/ueditor-resource/dialogs/emotion/images/0.gif +0 -0
  66. package/ueditor-resource/dialogs/emotion/images/bface.gif +0 -0
  67. package/ueditor-resource/dialogs/emotion/images/cface.gif +0 -0
  68. package/ueditor-resource/dialogs/emotion/images/fface.gif +0 -0
  69. package/ueditor-resource/dialogs/emotion/images/jxface2.gif +0 -0
  70. package/ueditor-resource/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  71. package/ueditor-resource/dialogs/emotion/images/tface.gif +0 -0
  72. package/ueditor-resource/dialogs/emotion/images/wface.gif +0 -0
  73. package/ueditor-resource/dialogs/emotion/images/yface.gif +0 -0
  74. package/ueditor-resource/dialogs/formula/formula.html +98 -0
  75. package/ueditor-resource/dialogs/formula/formula.js +147 -0
  76. package/ueditor-resource/dialogs/help/help.css +37 -0
  77. package/ueditor-resource/dialogs/help/help.html +82 -0
  78. package/ueditor-resource/dialogs/help/help.js +57 -0
  79. package/ueditor-resource/dialogs/image/icon/center-active.png +0 -0
  80. package/ueditor-resource/dialogs/image/icon/center.png +0 -0
  81. package/ueditor-resource/dialogs/image/icon/img.png +0 -0
  82. package/ueditor-resource/dialogs/image/icon/left-active.png +0 -0
  83. package/ueditor-resource/dialogs/image/icon/left.png +0 -0
  84. package/ueditor-resource/dialogs/image/icon/none-active.png +0 -0
  85. package/ueditor-resource/dialogs/image/icon/none.png +0 -0
  86. package/ueditor-resource/dialogs/image/icon/right-active.png +0 -0
  87. package/ueditor-resource/dialogs/image/icon/right.png +0 -0
  88. package/ueditor-resource/dialogs/image/image.css +768 -0
  89. package/ueditor-resource/dialogs/image/image.html +145 -0
  90. package/ueditor-resource/dialogs/image/image.js +1060 -0
  91. package/ueditor-resource/dialogs/image/images/alignicon.jpg +0 -0
  92. package/ueditor-resource/dialogs/image/images/bg.png +0 -0
  93. package/ueditor-resource/dialogs/image/images/icons.gif +0 -0
  94. package/ueditor-resource/dialogs/image/images/icons.png +0 -0
  95. package/ueditor-resource/dialogs/image/images/image.png +0 -0
  96. package/ueditor-resource/dialogs/image/images/progress.png +0 -0
  97. package/ueditor-resource/dialogs/image/images/success.gif +0 -0
  98. package/ueditor-resource/dialogs/image/images/success.png +0 -0
  99. package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -0
  100. package/ueditor-resource/dialogs/internal.js +81 -0
  101. package/ueditor-resource/dialogs/link/link.html +148 -0
  102. package/ueditor-resource/dialogs/preview/preview.html +45 -0
  103. package/ueditor-resource/dialogs/scrawl/images/addimg.png +0 -0
  104. package/ueditor-resource/dialogs/scrawl/images/brush.png +0 -0
  105. package/ueditor-resource/dialogs/scrawl/images/delimg.png +0 -0
  106. package/ueditor-resource/dialogs/scrawl/images/delimgH.png +0 -0
  107. package/ueditor-resource/dialogs/scrawl/images/empty.png +0 -0
  108. package/ueditor-resource/dialogs/scrawl/images/emptyH.png +0 -0
  109. package/ueditor-resource/dialogs/scrawl/images/eraser.png +0 -0
  110. package/ueditor-resource/dialogs/scrawl/images/redo.png +0 -0
  111. package/ueditor-resource/dialogs/scrawl/images/redoH.png +0 -0
  112. package/ueditor-resource/dialogs/scrawl/images/scale.png +0 -0
  113. package/ueditor-resource/dialogs/scrawl/images/scaleH.png +0 -0
  114. package/ueditor-resource/dialogs/scrawl/images/size.png +0 -0
  115. package/ueditor-resource/dialogs/scrawl/images/undo.png +0 -0
  116. package/ueditor-resource/dialogs/scrawl/images/undoH.png +0 -0
  117. package/ueditor-resource/dialogs/scrawl/scrawl.css +324 -0
  118. package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -0
  119. package/ueditor-resource/dialogs/scrawl/scrawl.js +682 -0
  120. package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -0
  121. package/ueditor-resource/dialogs/searchreplace/searchreplace.js +174 -0
  122. package/ueditor-resource/dialogs/spechars/spechars.html +42 -0
  123. package/ueditor-resource/dialogs/spechars/spechars.js +86 -0
  124. package/ueditor-resource/dialogs/table/dragicon.png +0 -0
  125. package/ueditor-resource/dialogs/table/edittable.css +85 -0
  126. package/ueditor-resource/dialogs/table/edittable.html +69 -0
  127. package/ueditor-resource/dialogs/table/edittable.js +241 -0
  128. package/ueditor-resource/dialogs/table/edittd.html +62 -0
  129. package/ueditor-resource/dialogs/table/edittip.html +33 -0
  130. package/ueditor-resource/dialogs/template/config.js +42 -0
  131. package/ueditor-resource/dialogs/template/images/bg.gif +0 -0
  132. package/ueditor-resource/dialogs/template/images/pre0.png +0 -0
  133. package/ueditor-resource/dialogs/template/images/pre1.png +0 -0
  134. package/ueditor-resource/dialogs/template/images/pre2.png +0 -0
  135. package/ueditor-resource/dialogs/template/images/pre3.png +0 -0
  136. package/ueditor-resource/dialogs/template/images/pre4.png +0 -0
  137. package/ueditor-resource/dialogs/template/template.css +99 -0
  138. package/ueditor-resource/dialogs/template/template.html +26 -0
  139. package/ueditor-resource/dialogs/template/template.js +53 -0
  140. package/ueditor-resource/dialogs/video/icon/center-active.png +0 -0
  141. package/ueditor-resource/dialogs/video/icon/center.png +0 -0
  142. package/ueditor-resource/dialogs/video/icon/img.png +0 -0
  143. package/ueditor-resource/dialogs/video/icon/left-active.png +0 -0
  144. package/ueditor-resource/dialogs/video/icon/left.png +0 -0
  145. package/ueditor-resource/dialogs/video/icon/none-active.png +0 -0
  146. package/ueditor-resource/dialogs/video/icon/none.png +0 -0
  147. package/ueditor-resource/dialogs/video/icon/right-active.png +0 -0
  148. package/ueditor-resource/dialogs/video/icon/right.png +0 -0
  149. package/ueditor-resource/dialogs/video/images/bg.png +0 -0
  150. package/ueditor-resource/dialogs/video/images/center_focus.jpg +0 -0
  151. package/ueditor-resource/dialogs/video/images/file-icons.gif +0 -0
  152. package/ueditor-resource/dialogs/video/images/file-icons.png +0 -0
  153. package/ueditor-resource/dialogs/video/images/icons.gif +0 -0
  154. package/ueditor-resource/dialogs/video/images/icons.png +0 -0
  155. package/ueditor-resource/dialogs/video/images/image.png +0 -0
  156. package/ueditor-resource/dialogs/video/images/left_focus.jpg +0 -0
  157. package/ueditor-resource/dialogs/video/images/none_focus.jpg +0 -0
  158. package/ueditor-resource/dialogs/video/images/progress.png +0 -0
  159. package/ueditor-resource/dialogs/video/images/right_focus.jpg +0 -0
  160. package/ueditor-resource/dialogs/video/images/success.gif +0 -0
  161. package/ueditor-resource/dialogs/video/images/success.png +0 -0
  162. package/ueditor-resource/dialogs/video/video.css +909 -0
  163. package/ueditor-resource/dialogs/video/video.html +115 -0
  164. package/ueditor-resource/dialogs/video/video.js +867 -0
  165. package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -0
  166. package/ueditor-resource/dialogs/wordimage/wordimage.js +93 -0
  167. package/ueditor-resource/index.html +146 -0
  168. package/ueditor-resource/lang/en/en.js +686 -0
  169. package/ueditor-resource/lang/en/images/addimage.png +0 -0
  170. package/ueditor-resource/lang/en/images/alldeletebtnhoverskin.png +0 -0
  171. package/ueditor-resource/lang/en/images/alldeletebtnupskin.png +0 -0
  172. package/ueditor-resource/lang/en/images/background.png +0 -0
  173. package/ueditor-resource/lang/en/images/button.png +0 -0
  174. package/ueditor-resource/lang/en/images/copy.png +0 -0
  175. package/ueditor-resource/lang/en/images/deletedisable.png +0 -0
  176. package/ueditor-resource/lang/en/images/deleteenable.png +0 -0
  177. package/ueditor-resource/lang/en/images/listbackground.png +0 -0
  178. package/ueditor-resource/lang/en/images/localimage.png +0 -0
  179. package/ueditor-resource/lang/en/images/music.png +0 -0
  180. package/ueditor-resource/lang/en/images/rotateleftdisable.png +0 -0
  181. package/ueditor-resource/lang/en/images/rotateleftenable.png +0 -0
  182. package/ueditor-resource/lang/en/images/rotaterightdisable.png +0 -0
  183. package/ueditor-resource/lang/en/images/rotaterightenable.png +0 -0
  184. package/ueditor-resource/lang/en/images/upload.png +0 -0
  185. package/ueditor-resource/lang/zh-cn/images/copy.png +0 -0
  186. package/ueditor-resource/lang/zh-cn/images/localimage.png +0 -0
  187. package/ueditor-resource/lang/zh-cn/images/music.png +0 -0
  188. package/ueditor-resource/lang/zh-cn/images/upload.png +0 -0
  189. package/ueditor-resource/lang/zh-cn/zh-cn.js +748 -0
  190. package/ueditor-resource/plugins/demo/demo.js +3 -0
  191. package/ueditor-resource/themes/default/css/ueditor.css +2148 -0
  192. package/ueditor-resource/themes/default/dialog.css +17 -0
  193. package/ueditor-resource/themes/default/dialogbase.css +132 -0
  194. package/ueditor-resource/themes/default/exts/ai.svg +12 -0
  195. package/ueditor-resource/themes/default/exts/apk.svg +12 -0
  196. package/ueditor-resource/themes/default/exts/chm.svg +12 -0
  197. package/ueditor-resource/themes/default/exts/css.svg +12 -0
  198. package/ueditor-resource/themes/default/exts/doc.svg +22 -0
  199. package/ueditor-resource/themes/default/exts/docx.svg +22 -0
  200. package/ueditor-resource/themes/default/exts/dwg.svg +16 -0
  201. package/ueditor-resource/themes/default/exts/folder.svg +3 -0
  202. package/ueditor-resource/themes/default/exts/gif.svg +14 -0
  203. package/ueditor-resource/themes/default/exts/html.svg +12 -0
  204. package/ueditor-resource/themes/default/exts/jpeg.svg +14 -0
  205. package/ueditor-resource/themes/default/exts/jpg.svg +14 -0
  206. package/ueditor-resource/themes/default/exts/log.svg +12 -0
  207. package/ueditor-resource/themes/default/exts/mp3.svg +14 -0
  208. package/ueditor-resource/themes/default/exts/mp4.svg +12 -0
  209. package/ueditor-resource/themes/default/exts/pdf.svg +14 -0
  210. package/ueditor-resource/themes/default/exts/png.svg +14 -0
  211. package/ueditor-resource/themes/default/exts/ppt.svg +24 -0
  212. package/ueditor-resource/themes/default/exts/pptx.svg +24 -0
  213. package/ueditor-resource/themes/default/exts/psd.svg +12 -0
  214. package/ueditor-resource/themes/default/exts/rar.svg +12 -0
  215. package/ueditor-resource/themes/default/exts/svg.svg +12 -0
  216. package/ueditor-resource/themes/default/exts/torrent.svg +14 -0
  217. package/ueditor-resource/themes/default/exts/txt.svg +14 -0
  218. package/ueditor-resource/themes/default/exts/unknown.svg +12 -0
  219. package/ueditor-resource/themes/default/exts/xls.svg +25 -0
  220. package/ueditor-resource/themes/default/exts/xlsx.svg +25 -0
  221. package/ueditor-resource/themes/default/exts/zip.svg +12 -0
  222. package/ueditor-resource/themes/default/images/anchor.gif +0 -0
  223. package/ueditor-resource/themes/default/images/arrow.png +0 -0
  224. package/ueditor-resource/themes/default/images/arrow_down.png +0 -0
  225. package/ueditor-resource/themes/default/images/arrow_up.png +0 -0
  226. package/ueditor-resource/themes/default/images/button-bg.gif +0 -0
  227. package/ueditor-resource/themes/default/images/cancelbutton.gif +0 -0
  228. package/ueditor-resource/themes/default/images/charts.png +0 -0
  229. package/ueditor-resource/themes/default/images/cursor_h.gif +0 -0
  230. package/ueditor-resource/themes/default/images/cursor_h.png +0 -0
  231. package/ueditor-resource/themes/default/images/cursor_v.gif +0 -0
  232. package/ueditor-resource/themes/default/images/cursor_v.png +0 -0
  233. package/ueditor-resource/themes/default/images/dialog-title-bg.png +0 -0
  234. package/ueditor-resource/themes/default/images/filescan.png +0 -0
  235. package/ueditor-resource/themes/default/images/highlighted.gif +0 -0
  236. package/ueditor-resource/themes/default/images/icons-all.gif +0 -0
  237. package/ueditor-resource/themes/default/images/icons.gif +0 -0
  238. package/ueditor-resource/themes/default/images/icons.png +0 -0
  239. package/ueditor-resource/themes/default/images/img-cracked.png +0 -0
  240. package/ueditor-resource/themes/default/images/loaderror.png +0 -0
  241. package/ueditor-resource/themes/default/images/loading.gif +0 -0
  242. package/ueditor-resource/themes/default/images/lock.gif +0 -0
  243. package/ueditor-resource/themes/default/images/neweditor-tab-bg.png +0 -0
  244. package/ueditor-resource/themes/default/images/pagebreak.gif +0 -0
  245. package/ueditor-resource/themes/default/images/scale.png +0 -0
  246. package/ueditor-resource/themes/default/images/sortable.png +0 -0
  247. package/ueditor-resource/themes/default/images/spacer.gif +0 -0
  248. package/ueditor-resource/themes/default/images/sparator_v.png +0 -0
  249. package/ueditor-resource/themes/default/images/table-cell-align.png +0 -0
  250. package/ueditor-resource/themes/default/images/tangram-colorpicker.png +0 -0
  251. package/ueditor-resource/themes/default/images/toolbar_bg.png +0 -0
  252. package/ueditor-resource/themes/default/images/unhighlighted.gif +0 -0
  253. package/ueditor-resource/themes/default/images/upload.png +0 -0
  254. package/ueditor-resource/themes/default/images/videologo.gif +0 -0
  255. package/ueditor-resource/themes/default/images/word.gif +0 -0
  256. package/ueditor-resource/themes/default/images/wordpaste.png +0 -0
  257. package/ueditor-resource/themes/iframe.css +63 -0
  258. package/ueditor-resource/third-party/SyntaxHighlighter/shCore.js +3655 -0
  259. package/ueditor-resource/third-party/SyntaxHighlighter/shCoreDefault.css +1 -0
  260. package/ueditor-resource/third-party/clipboard/clipboard.js +753 -0
  261. package/ueditor-resource/third-party/clipboard/clipboard.swf +0 -0
  262. package/ueditor-resource/third-party/codemirror/codemirror.css +106 -0
  263. package/ueditor-resource/third-party/codemirror/codemirror.js +3581 -0
  264. package/ueditor-resource/third-party/jquery-3.5.1.js +2 -0
  265. package/ueditor-resource/third-party/jquery-3.5.1_1.js +4314 -0
  266. package/ueditor-resource/third-party/webuploader/webuploader.css +88 -0
  267. package/ueditor-resource/third-party/webuploader/webuploader.js +4 -0
  268. package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
  269. package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
  270. package/ueditor-resource/ueditor.all.js +32643 -0
  271. package/ueditor-resource/ueditor.config.js +656 -0
  272. package/ueditor-resource/ueditor.parse.js +639 -0
@@ -0,0 +1,324 @@
1
+ /*common
2
+ */
3
+ body {
4
+ margin: 0;
5
+ }
6
+
7
+ table {
8
+ width: 100%;
9
+ }
10
+
11
+ table td {
12
+ padding: 2px 4px;
13
+ vertical-align: middle;
14
+ }
15
+
16
+ a {
17
+ text-decoration: none;
18
+ }
19
+
20
+ em {
21
+ font-style: normal;
22
+ }
23
+
24
+ .border_style1 {
25
+ border: 1px solid #ccc;
26
+ border-radius: 5px;
27
+ box-shadow: 2px 2px 5px #d3d6da;
28
+ }
29
+
30
+ /*module
31
+ */
32
+ .main {
33
+ margin: 8px;
34
+ overflow: hidden;
35
+ }
36
+
37
+ .hot {
38
+ float: left;
39
+ height: 335px;
40
+ }
41
+
42
+ .drawBoard {
43
+ position: relative;
44
+ cursor: crosshair;
45
+ }
46
+
47
+ .brushBorad {
48
+ position: absolute;
49
+ left: 0;
50
+ top: 0;
51
+ z-index: 998;
52
+ }
53
+
54
+ .picBoard {
55
+ border: none;
56
+ text-align: center;
57
+ line-height: 300px;
58
+ cursor: default;
59
+ }
60
+
61
+ .operateBar {
62
+ margin-top: 10px;
63
+ font-size: 12px;
64
+ text-align: center;
65
+ }
66
+
67
+ .operateBar span {
68
+ margin-left: 10px;
69
+ }
70
+
71
+ .drawToolbar {
72
+ float: right;
73
+ width: 110px;
74
+ height: 300px;
75
+ overflow: hidden;
76
+ }
77
+
78
+ .colorBar {
79
+ margin-top: 10px;
80
+ font-size: 12px;
81
+ text-align: center;
82
+ }
83
+
84
+ .colorBar a {
85
+ display: block;
86
+ width: 10px;
87
+ height: 10px;
88
+ border: 1px solid #1006F1;
89
+ border-radius: 3px;
90
+ box-shadow: 2px 2px 5px #d3d6da;
91
+ opacity: 0.3
92
+ }
93
+
94
+ .sectionBar {
95
+ margin-top: 15px;
96
+ font-size: 12px;
97
+ text-align: center;
98
+ }
99
+
100
+ .sectionBar a {
101
+ display: inline-block;
102
+ width: 10px;
103
+ height: 12px;
104
+ color: #888;
105
+ text-indent: -999px;
106
+ opacity: 0.3
107
+ }
108
+
109
+ .size1 {
110
+ background: url('images/size.png') 1px center no-repeat;
111
+ }
112
+
113
+ .size2 {
114
+ background: url('images/size.png') -10px center no-repeat;
115
+ }
116
+
117
+ .size3 {
118
+ background: url('images/size.png') -22px center no-repeat;
119
+ }
120
+
121
+ .size4 {
122
+ background: url('images/size.png') -35px center no-repeat;
123
+ }
124
+
125
+ .addImgH {
126
+ position: relative;
127
+ }
128
+
129
+ .addImgH_form {
130
+ position: absolute;
131
+ left: 18px;
132
+ top: -1px;
133
+ width: 75px;
134
+ height: 21px;
135
+ opacity: 0;
136
+ cursor: pointer;
137
+ }
138
+
139
+ .addImgH_form input {
140
+ width: 100%;
141
+ }
142
+
143
+ /*scrawl遮罩层
144
+ */
145
+ .maskLayerNull {
146
+ display: none;
147
+ }
148
+
149
+ .maskLayer {
150
+ position: absolute;
151
+ top: 0;
152
+ left: 0;
153
+ width: 100%;
154
+ height: 100%;
155
+ opacity: 0.7;
156
+ background-color: #fff;
157
+ text-align: center;
158
+ font-weight: bold;
159
+ line-height: 300px;
160
+ z-index: 1000;
161
+ }
162
+
163
+ /*btn state
164
+ */
165
+ .previousStepH .icon {
166
+ display: inline-block;
167
+ width: 16px;
168
+ height: 16px;
169
+ background-image: url('images/undoH.png');
170
+ cursor: pointer;
171
+ }
172
+
173
+ .previousStepH .text {
174
+ color: #888;
175
+ cursor: pointer;
176
+ }
177
+
178
+ .previousStep .icon {
179
+ display: inline-block;
180
+ width: 16px;
181
+ height: 16px;
182
+ background-image: url('images/undo.png');
183
+ cursor: default;
184
+ }
185
+
186
+ .previousStep .text {
187
+ color: #ccc;
188
+ cursor: default;
189
+ }
190
+
191
+ .nextStepH .icon {
192
+ display: inline-block;
193
+ width: 16px;
194
+ height: 16px;
195
+ background-image: url('images/redoH.png');
196
+ cursor: pointer;
197
+ }
198
+
199
+ .nextStepH .text {
200
+ color: #888;
201
+ cursor: pointer;
202
+ }
203
+
204
+ .nextStep .icon {
205
+ display: inline-block;
206
+ width: 16px;
207
+ height: 16px;
208
+ background-image: url('images/redo.png');
209
+ cursor: default;
210
+ }
211
+
212
+ .nextStep .text {
213
+ color: #ccc;
214
+ cursor: default;
215
+ }
216
+
217
+ .clearBoardH .icon {
218
+ display: inline-block;
219
+ width: 16px;
220
+ height: 16px;
221
+ background-image: url('images/emptyH.png');
222
+ cursor: pointer;
223
+ }
224
+
225
+ .clearBoardH .text {
226
+ color: #888;
227
+ cursor: pointer;
228
+ }
229
+
230
+ .clearBoard .icon {
231
+ display: inline-block;
232
+ width: 16px;
233
+ height: 16px;
234
+ background-image: url('images/empty.png');
235
+ cursor: default;
236
+ }
237
+
238
+ .clearBoard .text {
239
+ color: #ccc;
240
+ cursor: default;
241
+ }
242
+
243
+ .scaleBoardH .icon {
244
+ display: inline-block;
245
+ width: 16px;
246
+ height: 16px;
247
+ background-image: url('images/scaleH.png');
248
+ cursor: pointer;
249
+ }
250
+
251
+ .scaleBoardH .text {
252
+ color: #888;
253
+ cursor: pointer;
254
+ }
255
+
256
+ .scaleBoard .icon {
257
+ display: inline-block;
258
+ width: 16px;
259
+ height: 16px;
260
+ background-image: url('images/scale.png');
261
+ cursor: default;
262
+ }
263
+
264
+ .scaleBoard .text {
265
+ color: #ccc;
266
+ cursor: default;
267
+ }
268
+
269
+ .removeImgH .icon {
270
+ display: inline-block;
271
+ width: 16px;
272
+ height: 16px;
273
+ background-image: url('images/delimgH.png');
274
+ cursor: pointer;
275
+ }
276
+
277
+ .removeImgH .text {
278
+ color: #888;
279
+ cursor: pointer;
280
+ }
281
+
282
+ .removeImg .icon {
283
+ display: inline-block;
284
+ width: 16px;
285
+ height: 16px;
286
+ background-image: url('images/delimg.png');
287
+ cursor: default;
288
+ }
289
+
290
+ .removeImg .text {
291
+ color: #ccc;
292
+ cursor: default;
293
+ }
294
+
295
+ .addImgH .icon {
296
+ vertical-align: top;
297
+ display: inline-block;
298
+ width: 16px;
299
+ height: 16px;
300
+ background-image: url('images/addimg.png')
301
+ }
302
+
303
+ .addImgH .text {
304
+ color: #888;
305
+ cursor: pointer;
306
+ }
307
+
308
+ /*icon
309
+ */
310
+ .brushIcon {
311
+ display: inline-block;
312
+ width: 16px;
313
+ height: 16px;
314
+ background-image: url('images/brush.png')
315
+ }
316
+
317
+ .eraserIcon {
318
+ display: inline-block;
319
+ width: 16px;
320
+ height: 16px;
321
+ background-image: url('images/eraser.png')
322
+ }
323
+
324
+
@@ -0,0 +1,95 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title></title>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <meta name="robots" content="noindex, nofollow"/>
7
+ <script type="text/javascript" src="../internal.js?32939b8e"></script>
8
+ <link rel="stylesheet" type="text/css" href="scrawl.css?80d29439">
9
+ </head>
10
+ <body>
11
+ <div class="main" id="J_wrap">
12
+ <div class="hot">
13
+ <div class="drawBoard border_style1">
14
+ <canvas id="J_brushBoard" class="brushBorad" width="360" height="300"></canvas>
15
+ <div id="J_picBoard" class="picBoard" style="width: 360px;height: 300px"></div>
16
+ </div>
17
+ <div id="J_operateBar" class="operateBar">
18
+ <span id="J_previousStep" class="previousStep">
19
+ <em class="icon"></em>
20
+ <em class="text"><var id="lang_input_previousStep"></var></em>
21
+ </span>
22
+ <span id="J_nextStep" class="nextStep">
23
+ <em class="icon"></em>
24
+ <em class="text"><var id="lang_input_nextsStep"></var></em>
25
+ </span>
26
+ <span id="J_clearBoard" class="clearBoard">
27
+ <em class="icon"></em>
28
+ <em class="text"><var id="lang_input_clear"></var></em>
29
+ </span>
30
+ <span id="J_sacleBoard" class="scaleBoard">
31
+ <em class="icon"></em>
32
+ <em class="text"><var id="lang_input_ScalePic"></var></em>
33
+ </span>
34
+ </div>
35
+ </div>
36
+ <div class="drawToolbar border_style1">
37
+ <div id="J_colorBar" class="colorBar"></div>
38
+ <div id="J_brushBar" class="sectionBar">
39
+ <em class="brushIcon"></em>
40
+ <a href="javascript:void(0)" class="size1">1</a>
41
+ <a href="javascript:void(0)" class="size2">3</a>
42
+ <a href="javascript:void(0)" class="size3">5</a>
43
+ <a href="javascript:void(0)" class="size4">7</a>
44
+ </div>
45
+ <div id="J_eraserBar" class="sectionBar">
46
+ <em class="eraserIcon"></em>
47
+ <a href="javascript:void(0)" class="size1">1</a>
48
+ <a href="javascript:void(0)" class="size2">3</a>
49
+ <a href="javascript:void(0)" class="size3">5</a>
50
+ <a href="javascript:void(0)" class="size4">7</a>
51
+ </div>
52
+ <div class="sectionBar">
53
+ <div id="J_addImg" class="addImgH">
54
+ <em class="icon"></em>
55
+ <em class="text"><var id="lang_input_addPic"></var></em>
56
+ <form method="post" id="fileForm" enctype="multipart/form-data" class="addImgH_form" target="up">
57
+ <input type="file" name="upfile" id="J_imgTxt"
58
+ accept="image/gif,image/jpeg,image/png,image/jpg,image/bmp"/>
59
+ </form>
60
+ <iframe name="up" style="display: none"></iframe>
61
+ </div>
62
+ </div>
63
+ <div class="sectionBar">
64
+ <span id="J_removeImg" class="removeImg">
65
+ <em class="icon"></em>
66
+ <em class="text"><var id="lang_input_removePic"></var></em>
67
+ </span>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ <div id="J_maskLayer" class="maskLayerNull"></div>
72
+
73
+ <script type="text/javascript" src="scrawl.js?2a3611a5"></script>
74
+ <script type="text/javascript">
75
+ var settings = {
76
+ drawBrushSize: 3, //画笔初始大小
77
+ drawBrushColor: "#4bacc6", //画笔初始颜色
78
+ colorList: ['c00000', 'ff0000', 'ffc000', 'ffff00', '92d050', '00b050', '00b0f0', '0070c0', '002060', '7030a0', 'ffffff',
79
+ '000000', 'eeece1', '1f497d', '4f81bd', 'c0504d', '9bbb59', '8064a2', '4bacc6', 'f79646'], //画笔选择颜色
80
+ saveNum: 10 //撤销次数
81
+ };
82
+
83
+ var scrawlObj = new scrawl(settings);
84
+ scrawlObj.isCancelScrawl = false;
85
+
86
+ dialog.onok = function () {
87
+ exec(scrawlObj);
88
+ return false;
89
+ };
90
+ dialog.oncancel = function () {
91
+ scrawlObj.isCancelScrawl = true;
92
+ };
93
+ </script>
94
+ </body>
95
+ </html>