efront 3.33.3 → 3.34.0

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 (55) hide show
  1. package/apps/kugou/icons/kugo.ico +0 -0
  2. package/apps/kugou/icons/kuwo.png +0 -0
  3. package/apps/kugou/index.html +1 -1
  4. package/apps/kugou/main.js +4 -0
  5. package/apps/kugou/search/search.html +3 -4
  6. package/apps/kugou/search/search.js +37 -5
  7. package/apps/kugou/search/search.less +3 -0
  8. package/coms/basic/cross_.js +13 -1
  9. package/coms/kugou/api.js +15 -1
  10. package/coms/kugou/buildList.html +1 -1
  11. package/coms/kugou/buildList.js +2 -2
  12. package/coms/kugou/buildScroll.js +1 -1
  13. package/coms/kugou/getSandbox.js +1 -1
  14. package/coms/kugou/krc.js +8 -4
  15. package/coms/kugou/musicList.js +37 -2
  16. package/coms/kugou/page.js +6 -6
  17. package/coms/kugou/playList.html +1 -1
  18. package/coms/kugou/playList.js +0 -1
  19. package/coms/kugou/playList.less +9 -2
  20. package/coms/kugou/player.js +42 -30
  21. package/coms/kugou/song.html +8 -3
  22. package/coms/kugou/song.js +26 -3
  23. package/coms/kugou/song.less +72 -16
  24. package/coms/reptile/colored_console.js +1 -1
  25. package/coms/zimoli/Canvas.js +7 -7
  26. package/coms/zimoli/anchor.js +2 -2
  27. package/coms/zimoli/anniu.js +6 -6
  28. package/coms/zimoli/button.js +9 -6
  29. package/coms/zimoli/cloneVisible.js +2 -3
  30. package/coms/zimoli/createElement.js +1 -1
  31. package/coms/zimoli/data.js +1 -1
  32. package/coms/zimoli/dateslider.js +8 -8
  33. package/coms/zimoli/download.js +1 -1
  34. package/coms/zimoli/editor.js +2 -2
  35. package/coms/zimoli/gallery.js +2 -2
  36. package/coms/zimoli/gallery.less +1 -1
  37. package/coms/zimoli/getGenerator.js +1 -6
  38. package/coms/zimoli/group.js +2 -2
  39. package/coms/zimoli/hline.js +1 -1
  40. package/coms/zimoli/icon.js +3 -3
  41. package/coms/zimoli/input.js +2 -2
  42. package/coms/zimoli/label.js +3 -3
  43. package/coms/zimoli/list.js +17 -28
  44. package/coms/zimoli/mask.js +2 -2
  45. package/coms/zimoli/option.js +7 -7
  46. package/coms/zimoli/render.js +1 -0
  47. package/coms/zimoli/selectDate.js +2 -2
  48. package/coms/zimoli/space.js +1 -1
  49. package/coms/zimoli/swap.js +1 -1
  50. package/coms/zimoli/titlebar.js +4 -4
  51. package/coms/zimoli/vbox.js +1 -1
  52. package/coms/zimoli/video.js +1 -1
  53. package/coms/zimoli/zimoli.js +1 -1
  54. package/package.json +1 -1
  55. package/public/efront.js +1 -1
@@ -1,4 +1,4 @@
1
- var nav = createElement("titlebar");
1
+ var nav = document.createElement("titlebar");
2
2
 
3
3
  function btn(element) {
4
4
  var opt = button(element);
@@ -26,9 +26,9 @@ function titlebar(elem) {
26
26
  }
27
27
  }
28
28
  use_back = use_back !== false;
29
- var bar = createElement(nav);
30
- var title = createElement(label);
31
- var _back = createElement(back);
29
+ var bar = nav.cloneNode();
30
+ var title = label();
31
+ var _back = back();
32
32
  text(title, page_title || document.title);
33
33
  appendChild(bar, title);
34
34
  var menu_group = div();
@@ -4,7 +4,7 @@ function ybox(generator) {
4
4
  if (isNode(generator)) {
5
5
  _box = generator;
6
6
  } else {
7
- _box = createElement(div);
7
+ _box = document.createElement("div");
8
8
  }
9
9
  var _tmp = isFunction(generator) && generator(_box);
10
10
  if (isNode(_tmp)) _box = _tmp;
@@ -1,6 +1,6 @@
1
1
  function video(src) {
2
2
  if (isString(src)) {
3
- var video = createElement("video");
3
+ var video = document.createElement("video");
4
4
  video.type = "video/" + src.replace(/^.*?\.(\w*)$/g, "$1");
5
5
  video.src = src;
6
6
  } else if (isNode(src)) {
@@ -35,7 +35,7 @@ if (/MSIE\s*[2-7]/.test(navigator.userAgent)) {
35
35
  onselectstart(body, function (e) {
36
36
  return e.preventDefault();
37
37
  });
38
- var frame = createElement("iframe");
38
+ var frame = document.createElement("iframe");
39
39
  css(frame, "display:none");
40
40
  appendChild.insert(body, frame);
41
41
  var doc = frame.contentWindow.document;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efront",
3
- "version": "3.33.3",
3
+ "version": "3.34.0",
4
4
  "description": "简化前端开发,优化web性能",
5
5
  "main": "public/efront.js",
6
6
  "directories": {