centaline-data-driven 1.2.65 → 1.2.68
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.
- package/package.json +1 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +7 -3
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +1 -1
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +0 -2
- package/src/centaline/dynamicRichText/src/dynamicRichText.vue +14 -10
- package/src/centaline/loader/src/ctl/Detail.js +3 -1
- package/src/centaline/loader/src/ctl/FormList.js +0 -3
- package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
- package/static/UEditor/dialogs/anchor/anchor.html +0 -40
- package/static/UEditor/dialogs/attachment/attachment.css +0 -681
- package/static/UEditor/dialogs/attachment/attachment.html +0 -60
- package/static/UEditor/dialogs/attachment/attachment.js +0 -768
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
- package/static/UEditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
- package/static/UEditor/dialogs/attachment/images/alignicon.gif +0 -0
- package/static/UEditor/dialogs/attachment/images/alignicon.png +0 -0
- package/static/UEditor/dialogs/attachment/images/bg.png +0 -0
- package/static/UEditor/dialogs/attachment/images/file-icons.gif +0 -0
- package/static/UEditor/dialogs/attachment/images/file-icons.png +0 -0
- package/static/UEditor/dialogs/attachment/images/icons.gif +0 -0
- package/static/UEditor/dialogs/attachment/images/icons.png +0 -0
- package/static/UEditor/dialogs/attachment/images/image.png +0 -0
- package/static/UEditor/dialogs/attachment/images/progress.png +0 -0
- package/static/UEditor/dialogs/attachment/images/success.gif +0 -0
- package/static/UEditor/dialogs/attachment/images/success.png +0 -0
- package/static/UEditor/dialogs/background/background.css +0 -94
- package/static/UEditor/dialogs/background/background.html +0 -56
- package/static/UEditor/dialogs/background/background.js +0 -376
- package/static/UEditor/dialogs/background/images/bg.png +0 -0
- package/static/UEditor/dialogs/background/images/success.png +0 -0
- package/static/UEditor/dialogs/charts/chart.config.js +0 -65
- package/static/UEditor/dialogs/charts/charts.css +0 -165
- package/static/UEditor/dialogs/charts/charts.html +0 -89
- package/static/UEditor/dialogs/charts/charts.js +0 -519
- package/static/UEditor/dialogs/charts/images/charts0.png +0 -0
- package/static/UEditor/dialogs/charts/images/charts1.png +0 -0
- package/static/UEditor/dialogs/charts/images/charts2.png +0 -0
- package/static/UEditor/dialogs/charts/images/charts3.png +0 -0
- package/static/UEditor/dialogs/charts/images/charts4.png +0 -0
- package/static/UEditor/dialogs/charts/images/charts5.png +0 -0
- package/static/UEditor/dialogs/emotion/emotion.css +0 -43
- package/static/UEditor/dialogs/emotion/emotion.html +0 -54
- package/static/UEditor/dialogs/emotion/emotion.js +0 -186
- package/static/UEditor/dialogs/emotion/images/0.gif +0 -0
- package/static/UEditor/dialogs/emotion/images/bface.gif +0 -0
- package/static/UEditor/dialogs/emotion/images/cface.gif +0 -0
- package/static/UEditor/dialogs/emotion/images/fface.gif +0 -0
- package/static/UEditor/dialogs/emotion/images/jxface2.gif +0 -0
- package/static/UEditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
- package/static/UEditor/dialogs/emotion/images/tface.gif +0 -0
- package/static/UEditor/dialogs/emotion/images/wface.gif +0 -0
- package/static/UEditor/dialogs/emotion/images/yface.gif +0 -0
- package/static/UEditor/dialogs/gmap/gmap.html +0 -89
- package/static/UEditor/dialogs/help/help.css +0 -7
- package/static/UEditor/dialogs/help/help.html +0 -82
- package/static/UEditor/dialogs/help/help.js +0 -56
- package/static/UEditor/dialogs/image/image.css +0 -894
- package/static/UEditor/dialogs/image/image.html +0 -120
- package/static/UEditor/dialogs/image/image.js +0 -1156
- package/static/UEditor/dialogs/image/images/alignicon.jpg +0 -0
- package/static/UEditor/dialogs/image/images/bg.png +0 -0
- package/static/UEditor/dialogs/image/images/icons.gif +0 -0
- package/static/UEditor/dialogs/image/images/icons.png +0 -0
- package/static/UEditor/dialogs/image/images/image.png +0 -0
- package/static/UEditor/dialogs/image/images/progress.png +0 -0
- package/static/UEditor/dialogs/image/images/success.gif +0 -0
- package/static/UEditor/dialogs/image/images/success.png +0 -0
- package/static/UEditor/dialogs/insertframe/insertframe.html +0 -98
- package/static/UEditor/dialogs/internal.js +0 -81
- package/static/UEditor/dialogs/link/link.html +0 -126
- package/static/UEditor/dialogs/map/map.html +0 -135
- package/static/UEditor/dialogs/map/show.html +0 -118
- package/static/UEditor/dialogs/music/music.css +0 -30
- package/static/UEditor/dialogs/music/music.html +0 -32
- package/static/UEditor/dialogs/music/music.js +0 -192
- package/static/UEditor/dialogs/preview/preview.html +0 -40
- package/static/UEditor/dialogs/scrawl/images/addimg.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/brush.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/delimg.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/delimgH.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/empty.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/emptyH.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/eraser.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/redo.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/redoH.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/scale.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/scaleH.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/size.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/undo.png +0 -0
- package/static/UEditor/dialogs/scrawl/images/undoH.png +0 -0
- package/static/UEditor/dialogs/scrawl/scrawl.css +0 -72
- package/static/UEditor/dialogs/scrawl/scrawl.html +0 -95
- package/static/UEditor/dialogs/scrawl/scrawl.js +0 -671
- package/static/UEditor/dialogs/searchreplace/searchreplace.html +0 -102
- package/static/UEditor/dialogs/searchreplace/searchreplace.js +0 -164
- package/static/UEditor/dialogs/snapscreen/snapscreen.html +0 -58
- package/static/UEditor/dialogs/spechars/spechars.html +0 -21
- package/static/UEditor/dialogs/spechars/spechars.js +0 -57
- package/static/UEditor/dialogs/table/dragicon.png +0 -0
- package/static/UEditor/dialogs/table/edittable.css +0 -84
- package/static/UEditor/dialogs/table/edittable.html +0 -64
- package/static/UEditor/dialogs/table/edittable.js +0 -237
- package/static/UEditor/dialogs/table/edittd.html +0 -61
- package/static/UEditor/dialogs/table/edittip.html +0 -33
- package/static/UEditor/dialogs/template/config.js +0 -42
- package/static/UEditor/dialogs/template/images/bg.gif +0 -0
- package/static/UEditor/dialogs/template/images/pre0.png +0 -0
- package/static/UEditor/dialogs/template/images/pre1.png +0 -0
- package/static/UEditor/dialogs/template/images/pre2.png +0 -0
- package/static/UEditor/dialogs/template/images/pre3.png +0 -0
- package/static/UEditor/dialogs/template/images/pre4.png +0 -0
- package/static/UEditor/dialogs/template/template.css +0 -18
- package/static/UEditor/dialogs/template/template.html +0 -26
- package/static/UEditor/dialogs/template/template.js +0 -53
- package/static/UEditor/dialogs/video/images/bg.png +0 -0
- package/static/UEditor/dialogs/video/images/center_focus.jpg +0 -0
- package/static/UEditor/dialogs/video/images/file-icons.gif +0 -0
- package/static/UEditor/dialogs/video/images/file-icons.png +0 -0
- package/static/UEditor/dialogs/video/images/icons.gif +0 -0
- package/static/UEditor/dialogs/video/images/icons.png +0 -0
- package/static/UEditor/dialogs/video/images/image.png +0 -0
- package/static/UEditor/dialogs/video/images/left_focus.jpg +0 -0
- package/static/UEditor/dialogs/video/images/none_focus.jpg +0 -0
- package/static/UEditor/dialogs/video/images/progress.png +0 -0
- package/static/UEditor/dialogs/video/images/right_focus.jpg +0 -0
- package/static/UEditor/dialogs/video/images/success.gif +0 -0
- package/static/UEditor/dialogs/video/images/success.png +0 -0
- package/static/UEditor/dialogs/video/video.css +0 -635
- package/static/UEditor/dialogs/video/video.html +0 -86
- package/static/UEditor/dialogs/video/video.js +0 -797
- package/static/UEditor/dialogs/webapp/webapp.html +0 -53
- package/static/UEditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
- package/static/UEditor/dialogs/wordimage/imageUploader.swf +0 -0
- package/static/UEditor/dialogs/wordimage/tangram.js +0 -1495
- package/static/UEditor/dialogs/wordimage/wordimage.html +0 -110
- package/static/UEditor/dialogs/wordimage/wordimage.js +0 -157
- package/static/UEditor/index.html +0 -175
- package/static/UEditor/jsp/config.json +0 -94
- package/static/UEditor/jsp/controller.jsp +0 -14
- package/static/UEditor/jsp/lib/commons-codec-1.9.jar +0 -0
- package/static/UEditor/jsp/lib/commons-fileupload-1.3.1.jar +0 -0
- package/static/UEditor/jsp/lib/commons-io-2.4.jar +0 -0
- package/static/UEditor/jsp/lib/json.jar +0 -0
- package/static/UEditor/jsp/lib/ueditor-1.1.2.jar +0 -0
- package/static/UEditor/lang/en/en.js +0 -684
- package/static/UEditor/lang/en/images/addimage.png +0 -0
- package/static/UEditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
- package/static/UEditor/lang/en/images/alldeletebtnupskin.png +0 -0
- package/static/UEditor/lang/en/images/background.png +0 -0
- package/static/UEditor/lang/en/images/button.png +0 -0
- package/static/UEditor/lang/en/images/copy.png +0 -0
- package/static/UEditor/lang/en/images/deletedisable.png +0 -0
- package/static/UEditor/lang/en/images/deleteenable.png +0 -0
- package/static/UEditor/lang/en/images/listbackground.png +0 -0
- package/static/UEditor/lang/en/images/localimage.png +0 -0
- package/static/UEditor/lang/en/images/music.png +0 -0
- package/static/UEditor/lang/en/images/rotateleftdisable.png +0 -0
- package/static/UEditor/lang/en/images/rotateleftenable.png +0 -0
- package/static/UEditor/lang/en/images/rotaterightdisable.png +0 -0
- package/static/UEditor/lang/en/images/rotaterightenable.png +0 -0
- package/static/UEditor/lang/en/images/upload.png +0 -0
- package/static/UEditor/lang/zh-cn/images/copy.png +0 -0
- package/static/UEditor/lang/zh-cn/images/localimage.png +0 -0
- package/static/UEditor/lang/zh-cn/images/music.png +0 -0
- package/static/UEditor/lang/zh-cn/images/upload.png +0 -0
- package/static/UEditor/lang/zh-cn/zh-cn.js +0 -669
- package/static/UEditor/themes/default/css/ueditor.css +0 -1903
- package/static/UEditor/themes/default/css/ueditor.min.css +0 -8
- package/static/UEditor/themes/default/dialogbase.css +0 -100
- package/static/UEditor/themes/default/images/anchor.gif +0 -0
- package/static/UEditor/themes/default/images/arrow.png +0 -0
- package/static/UEditor/themes/default/images/arrow_down.png +0 -0
- package/static/UEditor/themes/default/images/arrow_up.png +0 -0
- package/static/UEditor/themes/default/images/button-bg.gif +0 -0
- package/static/UEditor/themes/default/images/cancelbutton.gif +0 -0
- package/static/UEditor/themes/default/images/charts.png +0 -0
- package/static/UEditor/themes/default/images/cursor_h.gif +0 -0
- package/static/UEditor/themes/default/images/cursor_h.png +0 -0
- package/static/UEditor/themes/default/images/cursor_v.gif +0 -0
- package/static/UEditor/themes/default/images/cursor_v.png +0 -0
- package/static/UEditor/themes/default/images/dialog-title-bg.png +0 -0
- package/static/UEditor/themes/default/images/filescan.png +0 -0
- package/static/UEditor/themes/default/images/highlighted.gif +0 -0
- package/static/UEditor/themes/default/images/icons-all.gif +0 -0
- package/static/UEditor/themes/default/images/icons.gif +0 -0
- package/static/UEditor/themes/default/images/icons.png +0 -0
- package/static/UEditor/themes/default/images/loaderror.png +0 -0
- package/static/UEditor/themes/default/images/loading.gif +0 -0
- package/static/UEditor/themes/default/images/lock.gif +0 -0
- package/static/UEditor/themes/default/images/neweditor-tab-bg.png +0 -0
- package/static/UEditor/themes/default/images/pagebreak.gif +0 -0
- package/static/UEditor/themes/default/images/scale.png +0 -0
- package/static/UEditor/themes/default/images/sortable.png +0 -0
- package/static/UEditor/themes/default/images/spacer.gif +0 -0
- package/static/UEditor/themes/default/images/sparator_v.png +0 -0
- package/static/UEditor/themes/default/images/table-cell-align.png +0 -0
- package/static/UEditor/themes/default/images/tangram-colorpicker.png +0 -0
- package/static/UEditor/themes/default/images/toolbar_bg.png +0 -0
- package/static/UEditor/themes/default/images/unhighlighted.gif +0 -0
- package/static/UEditor/themes/default/images/upload.png +0 -0
- package/static/UEditor/themes/default/images/videologo.gif +0 -0
- package/static/UEditor/themes/default/images/word.gif +0 -0
- package/static/UEditor/themes/default/images/wordpaste.png +0 -0
- package/static/UEditor/themes/iframe.css +0 -1
- package/static/UEditor/third-party/SyntaxHighlighter/shCore.js +0 -3655
- package/static/UEditor/third-party/SyntaxHighlighter/shCoreDefault.css +0 -1
- package/static/UEditor/third-party/codemirror/codemirror.css +0 -104
- package/static/UEditor/third-party/codemirror/codemirror.js +0 -3581
- package/static/UEditor/third-party/highcharts/adapters/mootools-adapter.js +0 -13
- package/static/UEditor/third-party/highcharts/adapters/mootools-adapter.src.js +0 -313
- package/static/UEditor/third-party/highcharts/adapters/prototype-adapter.js +0 -15
- package/static/UEditor/third-party/highcharts/adapters/prototype-adapter.src.js +0 -316
- package/static/UEditor/third-party/highcharts/adapters/standalone-framework.js +0 -17
- package/static/UEditor/third-party/highcharts/adapters/standalone-framework.src.js +0 -583
- package/static/UEditor/third-party/highcharts/highcharts-more.js +0 -50
- package/static/UEditor/third-party/highcharts/highcharts-more.src.js +0 -2430
- package/static/UEditor/third-party/highcharts/highcharts.js +0 -283
- package/static/UEditor/third-party/highcharts/highcharts.src.js +0 -16974
- package/static/UEditor/third-party/highcharts/modules/annotations.js +0 -7
- package/static/UEditor/third-party/highcharts/modules/annotations.src.js +0 -401
- package/static/UEditor/third-party/highcharts/modules/canvas-tools.js +0 -133
- package/static/UEditor/third-party/highcharts/modules/canvas-tools.src.js +0 -3113
- package/static/UEditor/third-party/highcharts/modules/data.js +0 -17
- package/static/UEditor/third-party/highcharts/modules/data.src.js +0 -582
- package/static/UEditor/third-party/highcharts/modules/drilldown.js +0 -11
- package/static/UEditor/third-party/highcharts/modules/drilldown.src.js +0 -447
- package/static/UEditor/third-party/highcharts/modules/exporting.js +0 -22
- package/static/UEditor/third-party/highcharts/modules/exporting.src.js +0 -709
- package/static/UEditor/third-party/highcharts/modules/funnel.js +0 -12
- package/static/UEditor/third-party/highcharts/modules/funnel.src.js +0 -289
- package/static/UEditor/third-party/highcharts/modules/heatmap.js +0 -1
- package/static/UEditor/third-party/highcharts/modules/heatmap.src.js +0 -53
- package/static/UEditor/third-party/highcharts/modules/map.js +0 -27
- package/static/UEditor/third-party/highcharts/modules/map.src.js +0 -1002
- package/static/UEditor/third-party/highcharts/modules/no-data-to-display.js +0 -12
- package/static/UEditor/third-party/highcharts/modules/no-data-to-display.src.js +0 -128
- package/static/UEditor/third-party/highcharts/themes/dark-blue.js +0 -254
- package/static/UEditor/third-party/highcharts/themes/dark-green.js +0 -255
- package/static/UEditor/third-party/highcharts/themes/gray.js +0 -257
- package/static/UEditor/third-party/highcharts/themes/grid.js +0 -103
- package/static/UEditor/third-party/highcharts/themes/skies.js +0 -89
- package/static/UEditor/third-party/jquery-1.10.2.js +0 -9789
- package/static/UEditor/third-party/jquery-1.10.2.min.js +0 -6
- package/static/UEditor/third-party/jquery-1.10.2.min.map +0 -1
- package/static/UEditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
- package/static/UEditor/third-party/video-js/font/vjs.eot +0 -0
- package/static/UEditor/third-party/video-js/font/vjs.svg +0 -65
- package/static/UEditor/third-party/video-js/font/vjs.ttf +0 -0
- package/static/UEditor/third-party/video-js/font/vjs.woff +0 -0
- package/static/UEditor/third-party/video-js/video-js.css +0 -766
- package/static/UEditor/third-party/video-js/video-js.min.css +0 -5
- package/static/UEditor/third-party/video-js/video-js.swf +0 -0
- package/static/UEditor/third-party/video-js/video.dev.js +0 -7106
- package/static/UEditor/third-party/video-js/video.js +0 -129
- package/static/UEditor/third-party/webuploader/Uploader.swf +0 -0
- package/static/UEditor/third-party/webuploader/webuploader.css +0 -28
- package/static/UEditor/third-party/webuploader/webuploader.custom.js +0 -5670
- package/static/UEditor/third-party/webuploader/webuploader.custom.min.js +0 -2
- package/static/UEditor/third-party/webuploader/webuploader.flashonly.js +0 -4176
- package/static/UEditor/third-party/webuploader/webuploader.flashonly.min.js +0 -2
- package/static/UEditor/third-party/webuploader/webuploader.html5only.js +0 -5559
- package/static/UEditor/third-party/webuploader/webuploader.html5only.min.js +0 -2
- package/static/UEditor/third-party/webuploader/webuploader.js +0 -6733
- package/static/UEditor/third-party/webuploader/webuploader.min.js +0 -2
- package/static/UEditor/third-party/webuploader/webuploader.withoutimage.js +0 -4593
- package/static/UEditor/third-party/webuploader/webuploader.withoutimage.min.js +0 -2
- package/static/UEditor/third-party/xss.min.js +0 -1
- package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.js +0 -1256
- package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.min.js +0 -9
- package/static/UEditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
- package/static/UEditor/ueditor.all.min.js +0 -29574
- package/static/UEditor/ueditor.config.js +0 -497
- package/static/UEditor/ueditor.parse.js +0 -1022
- package/static/UEditor/ueditor.parse.min.js +0 -7
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
function Music() {
|
|
2
|
-
this.init();
|
|
3
|
-
}
|
|
4
|
-
(function () {
|
|
5
|
-
var pages = [],
|
|
6
|
-
panels = [],
|
|
7
|
-
selectedItem = null;
|
|
8
|
-
Music.prototype = {
|
|
9
|
-
total:70,
|
|
10
|
-
pageSize:10,
|
|
11
|
-
dataUrl:"http://tingapi.ting.baidu.com/v1/restserver/ting?method=baidu.ting.search.common",
|
|
12
|
-
playerUrl:"http://box.baidu.com/widget/flash/bdspacesong.swf",
|
|
13
|
-
|
|
14
|
-
init:function () {
|
|
15
|
-
var me = this;
|
|
16
|
-
domUtils.on($G("J_searchName"), "keyup", function (event) {
|
|
17
|
-
var e = window.event || event;
|
|
18
|
-
if (e.keyCode == 13) {
|
|
19
|
-
me.dosearch();
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
domUtils.on($G("J_searchBtn"), "click", function () {
|
|
23
|
-
me.dosearch();
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
callback:function (data) {
|
|
27
|
-
var me = this;
|
|
28
|
-
me.data = data.song_list;
|
|
29
|
-
setTimeout(function () {
|
|
30
|
-
$G('J_resultBar').innerHTML = me._renderTemplate(data.song_list);
|
|
31
|
-
}, 300);
|
|
32
|
-
},
|
|
33
|
-
dosearch:function () {
|
|
34
|
-
var me = this;
|
|
35
|
-
selectedItem = null;
|
|
36
|
-
var key = $G('J_searchName').value;
|
|
37
|
-
if (utils.trim(key) == "")return false;
|
|
38
|
-
key = encodeURIComponent(key);
|
|
39
|
-
me._sent(key);
|
|
40
|
-
},
|
|
41
|
-
doselect:function (i) {
|
|
42
|
-
var me = this;
|
|
43
|
-
if (typeof i == 'object') {
|
|
44
|
-
selectedItem = i;
|
|
45
|
-
} else if (typeof i == 'number') {
|
|
46
|
-
selectedItem = me.data[i];
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
onpageclick:function (id) {
|
|
50
|
-
var me = this;
|
|
51
|
-
for (var i = 0; i < pages.length; i++) {
|
|
52
|
-
$G(pages[i]).className = 'pageoff';
|
|
53
|
-
$G(panels[i]).className = 'paneloff';
|
|
54
|
-
}
|
|
55
|
-
$G('page' + id).className = 'pageon';
|
|
56
|
-
$G('panel' + id).className = 'panelon';
|
|
57
|
-
},
|
|
58
|
-
listenTest:function (elem) {
|
|
59
|
-
var me = this,
|
|
60
|
-
view = $G('J_preview'),
|
|
61
|
-
is_play_action = (elem.className == 'm-try'),
|
|
62
|
-
old_trying = me._getTryingElem();
|
|
63
|
-
|
|
64
|
-
if (old_trying) {
|
|
65
|
-
old_trying.className = 'm-try';
|
|
66
|
-
view.innerHTML = '';
|
|
67
|
-
}
|
|
68
|
-
if (is_play_action) {
|
|
69
|
-
elem.className = 'm-trying';
|
|
70
|
-
view.innerHTML = me._buildMusicHtml(me._getUrl(true));
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
_sent:function (param) {
|
|
74
|
-
var me = this;
|
|
75
|
-
$G('J_resultBar').innerHTML = '<div class="loading"></div>';
|
|
76
|
-
|
|
77
|
-
utils.loadFile(document, {
|
|
78
|
-
src:me.dataUrl + '&query=' + param + '&page_size=' + me.total + '&callback=music.callback&.r=' + Math.random(),
|
|
79
|
-
tag:"script",
|
|
80
|
-
type:"text/javascript",
|
|
81
|
-
defer:"defer"
|
|
82
|
-
});
|
|
83
|
-
},
|
|
84
|
-
_removeHtml:function (str) {
|
|
85
|
-
var reg = /<\s*\/?\s*[^>]*\s*>/gi;
|
|
86
|
-
return str.replace(reg, "");
|
|
87
|
-
},
|
|
88
|
-
_getUrl:function (isTryListen) {
|
|
89
|
-
var me = this;
|
|
90
|
-
var param = 'from=tiebasongwidget&url=&name=' + encodeURIComponent(me._removeHtml(selectedItem.title)) + '&artist='
|
|
91
|
-
+ encodeURIComponent(me._removeHtml(selectedItem.author)) + '&extra='
|
|
92
|
-
+ encodeURIComponent(me._removeHtml(selectedItem.album_title))
|
|
93
|
-
+ '&autoPlay='+isTryListen+'' + '&loop=true';
|
|
94
|
-
return me.playerUrl + "?" + param;
|
|
95
|
-
},
|
|
96
|
-
_getTryingElem:function () {
|
|
97
|
-
var s = $G('J_listPanel').getElementsByTagName('span');
|
|
98
|
-
|
|
99
|
-
for (var i = 0; i < s.length; i++) {
|
|
100
|
-
if (s[i].className == 'm-trying')
|
|
101
|
-
return s[i];
|
|
102
|
-
}
|
|
103
|
-
return null;
|
|
104
|
-
},
|
|
105
|
-
_buildMusicHtml:function (playerUrl) {
|
|
106
|
-
var html = '<embed class="BDE_try_Music" allowfullscreen="false" pluginspage="http://www.macromedia.com/go/getflashplayer"';
|
|
107
|
-
html += ' src="' + playerUrl + '"';
|
|
108
|
-
html += ' width="1" height="1" style="position:absolute;left:-2000px;"';
|
|
109
|
-
html += ' type="application/x-shockwave-flash" wmode="transparent" play="true" loop="false"';
|
|
110
|
-
html += ' menu="false" allowscriptaccess="never" scale="noborder">';
|
|
111
|
-
return html;
|
|
112
|
-
},
|
|
113
|
-
_byteLength:function (str) {
|
|
114
|
-
return str.replace(/[^\u0000-\u007f]/g, "\u0061\u0061").length;
|
|
115
|
-
},
|
|
116
|
-
_getMaxText:function (s) {
|
|
117
|
-
var me = this;
|
|
118
|
-
s = me._removeHtml(s);
|
|
119
|
-
if (me._byteLength(s) > 12)
|
|
120
|
-
return s.substring(0, 5) + '...';
|
|
121
|
-
if (!s) s = " ";
|
|
122
|
-
return s;
|
|
123
|
-
},
|
|
124
|
-
_rebuildData:function (data) {
|
|
125
|
-
var me = this,
|
|
126
|
-
newData = [],
|
|
127
|
-
d = me.pageSize,
|
|
128
|
-
itembox;
|
|
129
|
-
for (var i = 0; i < data.length; i++) {
|
|
130
|
-
if ((i + d) % d == 0) {
|
|
131
|
-
itembox = [];
|
|
132
|
-
newData.push(itembox)
|
|
133
|
-
}
|
|
134
|
-
itembox.push(data[i]);
|
|
135
|
-
}
|
|
136
|
-
return newData;
|
|
137
|
-
},
|
|
138
|
-
_renderTemplate:function (data) {
|
|
139
|
-
var me = this;
|
|
140
|
-
if (data.length == 0)return '<div class="empty">' + lang.emptyTxt + '</div>';
|
|
141
|
-
data = me._rebuildData(data);
|
|
142
|
-
var s = [], p = [], t = [];
|
|
143
|
-
s.push('<div id="J_listPanel" class="listPanel">');
|
|
144
|
-
p.push('<div class="page">');
|
|
145
|
-
for (var i = 0, tmpList; tmpList = data[i++];) {
|
|
146
|
-
panels.push('panel' + i);
|
|
147
|
-
pages.push('page' + i);
|
|
148
|
-
if (i == 1) {
|
|
149
|
-
s.push('<div id="panel' + i + '" class="panelon">');
|
|
150
|
-
if (data.length != 1) {
|
|
151
|
-
t.push('<div id="page' + i + '" onclick="music.onpageclick(' + i + ')" class="pageon">' + (i ) + '</div>');
|
|
152
|
-
}
|
|
153
|
-
} else {
|
|
154
|
-
s.push('<div id="panel' + i + '" class="paneloff">');
|
|
155
|
-
t.push('<div id="page' + i + '" onclick="music.onpageclick(' + i + ')" class="pageoff">' + (i ) + '</div>');
|
|
156
|
-
}
|
|
157
|
-
s.push('<div class="m-box">');
|
|
158
|
-
s.push('<div class="m-h"><span class="m-t">' + lang.chapter + '</span><span class="m-s">' + lang.singer
|
|
159
|
-
+ '</span><span class="m-z">' + lang.special + '</span><span class="m-try-t">' + lang.listenTest + '</span></div>');
|
|
160
|
-
for (var j = 0, tmpObj; tmpObj = tmpList[j++];) {
|
|
161
|
-
s.push('<label for="radio-' + i + '-' + j + '" class="m-m">');
|
|
162
|
-
s.push('<input type="radio" id="radio-' + i + '-' + j + '" name="musicId" class="m-l" onclick="music.doselect(' + (me.pageSize * (i-1) + (j-1)) + ')"/>');
|
|
163
|
-
s.push('<span class="m-t">' + me._getMaxText(tmpObj.title) + '</span>');
|
|
164
|
-
s.push('<span class="m-s">' + me._getMaxText(tmpObj.author) + '</span>');
|
|
165
|
-
s.push('<span class="m-z">' + me._getMaxText(tmpObj.album_title) + '</span>');
|
|
166
|
-
s.push('<span class="m-try" onclick="music.doselect(' + (me.pageSize * (i-1) + (j-1)) + ');music.listenTest(this)"></span>');
|
|
167
|
-
s.push('</label>');
|
|
168
|
-
}
|
|
169
|
-
s.push('</div>');
|
|
170
|
-
s.push('</div>');
|
|
171
|
-
}
|
|
172
|
-
t.reverse();
|
|
173
|
-
p.push(t.join(''));
|
|
174
|
-
s.push('</div>');
|
|
175
|
-
p.push('</div>');
|
|
176
|
-
return s.join('') + p.join('');
|
|
177
|
-
},
|
|
178
|
-
exec:function () {
|
|
179
|
-
var me = this;
|
|
180
|
-
if (selectedItem == null) return;
|
|
181
|
-
$G('J_preview').innerHTML = "";
|
|
182
|
-
editor.execCommand('music', {
|
|
183
|
-
url:me._getUrl(false),
|
|
184
|
-
width:400,
|
|
185
|
-
height:95
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
})();
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
2
|
-
"http://www.w3.org/TR/html4/loose.dtd">
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
6
|
-
<style>
|
|
7
|
-
html,body{
|
|
8
|
-
height:100%;
|
|
9
|
-
width:100%;
|
|
10
|
-
padding:0;
|
|
11
|
-
margin:0;
|
|
12
|
-
}
|
|
13
|
-
#preview{
|
|
14
|
-
width:100%;
|
|
15
|
-
height:100%;
|
|
16
|
-
padding:0;
|
|
17
|
-
margin:0;
|
|
18
|
-
}
|
|
19
|
-
#preview *{font-family:sans-serif;font-size:16px;}
|
|
20
|
-
</style>
|
|
21
|
-
<script type="text/javascript" src="../internal.js"></script>
|
|
22
|
-
<script src="../../ueditor.parse.js"></script>
|
|
23
|
-
<title></title>
|
|
24
|
-
</head>
|
|
25
|
-
<body class="view">
|
|
26
|
-
<div id="preview" style="margin:8px">
|
|
27
|
-
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
<script>
|
|
31
|
-
document.getElementById('preview').innerHTML = editor.getContent();
|
|
32
|
-
uParse('#preview',{
|
|
33
|
-
rootPath : '../../',
|
|
34
|
-
chartContainerHeight:500
|
|
35
|
-
})
|
|
36
|
-
dialog.oncancel = function(){
|
|
37
|
-
document.getElementById('preview').innerHTML = '';
|
|
38
|
-
}
|
|
39
|
-
</script>
|
|
40
|
-
</html>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/*common
|
|
2
|
-
*/
|
|
3
|
-
body{margin: 0;}
|
|
4
|
-
table{width:100%;}
|
|
5
|
-
table td{padding:2px 4px;vertical-align: middle;}
|
|
6
|
-
a{text-decoration: none;}
|
|
7
|
-
em{font-style: normal;}
|
|
8
|
-
.border_style1{border: 1px solid #ccc;border-radius: 5px;box-shadow:2px 2px 5px #d3d6da;}
|
|
9
|
-
/*module
|
|
10
|
-
*/
|
|
11
|
-
.main{margin: 8px;overflow: hidden;}
|
|
12
|
-
|
|
13
|
-
.hot{float:left;height:335px;}
|
|
14
|
-
.drawBoard{position: relative; cursor: crosshair;}
|
|
15
|
-
.brushBorad{position: absolute;left:0;top:0;z-index: 998;}
|
|
16
|
-
.picBoard{border: none;text-align: center;line-height: 300px;cursor: default;}
|
|
17
|
-
.operateBar{margin-top:10px;font-size:12px;text-align: center;}
|
|
18
|
-
.operateBar span{margin-left: 10px;}
|
|
19
|
-
|
|
20
|
-
.drawToolbar{float:right;width:110px;height:300px;overflow: hidden;}
|
|
21
|
-
.colorBar{margin-top:10px;font-size: 12px;text-align: center;}
|
|
22
|
-
.colorBar a{display:block;width: 10px;height: 10px;border:1px solid #1006F1;border-radius: 3px; box-shadow:2px 2px 5px #d3d6da;opacity: 0.3}
|
|
23
|
-
.sectionBar{margin-top:15px;font-size: 12px;text-align: center;}
|
|
24
|
-
.sectionBar a{display:inline-block;width:10px;height:12px;color: #888;text-indent: -999px;opacity: 0.3}
|
|
25
|
-
.size1{background: url('images/size.png') 1px center no-repeat ;}
|
|
26
|
-
.size2{background: url('images/size.png') -10px center no-repeat;}
|
|
27
|
-
.size3{background: url('images/size.png') -22px center no-repeat;}
|
|
28
|
-
.size4{background: url('images/size.png') -35px center no-repeat;}
|
|
29
|
-
|
|
30
|
-
.addImgH{position: relative;}
|
|
31
|
-
.addImgH_form{position: absolute;left: 18px;top: -1px;width: 75px;height: 21px;opacity: 0;cursor: pointer;}
|
|
32
|
-
.addImgH_form input{width: 100%;}
|
|
33
|
-
/*scrawl遮罩层
|
|
34
|
-
*/
|
|
35
|
-
.maskLayerNull{display: none;}
|
|
36
|
-
.maskLayer{position: absolute;top:0;left:0;width: 100%; height: 100%;opacity: 0.7;
|
|
37
|
-
background-color: #fff;text-align:center;font-weight:bold;line-height:300px;z-index: 1000;}
|
|
38
|
-
/*btn state
|
|
39
|
-
*/
|
|
40
|
-
.previousStepH .icon{display: inline-block;width:16px;height:16px;background-image: url('images/undoH.png');cursor: pointer;}
|
|
41
|
-
.previousStepH .text{color:#888;cursor:pointer;}
|
|
42
|
-
.previousStep .icon{display: inline-block;width:16px;height:16px;background-image: url('images/undo.png');cursor:default;}
|
|
43
|
-
.previousStep .text{color:#ccc;cursor:default;}
|
|
44
|
-
|
|
45
|
-
.nextStepH .icon{display: inline-block;width:16px;height:16px;background-image: url('images/redoH.png');cursor: pointer;}
|
|
46
|
-
.nextStepH .text{color:#888;cursor:pointer;}
|
|
47
|
-
.nextStep .icon{display: inline-block;width:16px;height:16px;background-image: url('images/redo.png');cursor:default;}
|
|
48
|
-
.nextStep .text{color:#ccc;cursor:default;}
|
|
49
|
-
|
|
50
|
-
.clearBoardH .icon{display: inline-block;width:16px;height:16px;background-image: url('images/emptyH.png');cursor: pointer;}
|
|
51
|
-
.clearBoardH .text{color:#888;cursor:pointer;}
|
|
52
|
-
.clearBoard .icon{display: inline-block;width:16px;height:16px;background-image: url('images/empty.png');cursor:default;}
|
|
53
|
-
.clearBoard .text{color:#ccc;cursor:default;}
|
|
54
|
-
|
|
55
|
-
.scaleBoardH .icon{display: inline-block;width:16px;height:16px;background-image: url('images/scaleH.png');cursor: pointer;}
|
|
56
|
-
.scaleBoardH .text{color:#888;cursor:pointer;}
|
|
57
|
-
.scaleBoard .icon{display: inline-block;width:16px;height:16px;background-image: url('images/scale.png');cursor:default;}
|
|
58
|
-
.scaleBoard .text{color:#ccc;cursor:default;}
|
|
59
|
-
|
|
60
|
-
.removeImgH .icon{display: inline-block;width:16px;height:16px;background-image: url('images/delimgH.png');cursor: pointer;}
|
|
61
|
-
.removeImgH .text{color:#888;cursor:pointer;}
|
|
62
|
-
.removeImg .icon{display: inline-block;width:16px;height:16px;background-image: url('images/delimg.png');cursor:default;}
|
|
63
|
-
.removeImg .text{color:#ccc;cursor:default;}
|
|
64
|
-
|
|
65
|
-
.addImgH .icon{vertical-align:top;display: inline-block;width:16px;height:16px;background-image: url('images/addimg.png')}
|
|
66
|
-
.addImgH .text{color:#888;cursor:pointer;}
|
|
67
|
-
/*icon
|
|
68
|
-
*/
|
|
69
|
-
.brushIcon{display: inline-block;width:16px;height:16px;background-image: url('images/brush.png')}
|
|
70
|
-
.eraserIcon{display: inline-block;width:16px;height:16px;background-image: url('images/eraser.png')}
|
|
71
|
-
|
|
72
|
-
|
|
@@ -1,95 +0,0 @@
|
|
|
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"></script>
|
|
8
|
-
<link rel="stylesheet" type="text/css" href="scrawl.css">
|
|
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"></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>
|