template.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "id": "",
  3. "name": "",
  4. "type": "Relatedlink",
  5. "count": "6",
  6. "mode": "table", //script table or text
  7. "buttonText": "相关推荐",
  8. "textStyle": "<div><font style='color:#00F'>{title}</font> ({createTime})</div>",
  9. "displayScript": {
  10. "html": "return \"<div style='cursor:pointer;padding:5px 10px;line-height:24px;'><font style='color:#00F'>\"+this.link.title+\"</font> (\"+this.link.createTime+\")</div>\"",
  11. "code": "return \"<div style='cursor:pointer;padding:5px 10px;line-height:24px;'><font style='color:#00F'>\"+this.link.title+\"</font> (\"+this.link.createTime+\")</div>\""
  12. },
  13. "events": {
  14. "queryLoad": {
  15. "code": "",
  16. "html": ""
  17. },
  18. "postLoad": {
  19. "code": "",
  20. "html": ""
  21. },
  22. "afterLoad": {
  23. "code": "",
  24. "html": ""
  25. },
  26. "postLoadData": {
  27. "code": "",
  28. "html": ""
  29. },
  30. "postLoadLink": {
  31. "code": "",
  32. "html": ""
  33. },
  34. "click": {
  35. "code": "",
  36. "html": ""
  37. },
  38. "dblclick": {
  39. "code": "",
  40. "html": ""
  41. },
  42. "keydown": {
  43. "code": "",
  44. "html": ""
  45. },
  46. "keypress": {
  47. "code": "",
  48. "html": ""
  49. },
  50. "keyup": {
  51. "code": "",
  52. "html": ""
  53. },
  54. "mousedown": {
  55. "code": "",
  56. "html": ""
  57. },
  58. "mousemove": {
  59. "code": "",
  60. "html": ""
  61. },
  62. "mouseout": {
  63. "code": "",
  64. "html": ""
  65. },
  66. "mouseover": {
  67. "code": "",
  68. "html": ""
  69. },
  70. "mouseup": {
  71. "code": "",
  72. "html": ""
  73. },
  74. "focus": {
  75. "code": "",
  76. "html": ""
  77. },
  78. "blur": {
  79. "code": "",
  80. "html": ""
  81. }
  82. },
  83. "properties": {},
  84. "class": "",
  85. "styles": {},
  86. "container": ""
  87. }