You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

footer.tmpl 2.9 kB

10 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {{/*
  2. <html>
  3. <body>
  4. <div>
  5. */}}
  6. {{template "custom/body_inner_post" .}}
  7. </div>
  8. {{template "custom/body_outer_post" .}}
  9. {{template "base/footer_content" .}}
  10. {{if .RequireSimpleMDE}}
  11. <script src="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.js"></script>
  12. <script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/addon/mode/loadmode.js"></script>
  13. <script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/meta.js"></script>
  14. <script>
  15. CodeMirror.modeURL = "{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/%N/%N.js";
  16. </script>
  17. {{end}}
  18. <!-- Third-party libraries -->
  19. {{if .RequireMinicolors}}
  20. <script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.min.js"></script>
  21. {{end}}
  22. {{if .RequireU2F}}
  23. <script src="{{StaticUrlPrefix}}/vendor/plugins/u2f/index.js"></script>
  24. {{end}}
  25. {{if .EnableCaptcha}}
  26. {{if eq .CaptchaType "recaptcha"}}
  27. <script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
  28. {{end}}
  29. {{end}}
  30. {{if .RequireTribute}}
  31. <script src="{{StaticUrlPrefix}}/vendor/plugins/tribute/tribute.min.js"></script>
  32. {{end}}
  33. <script src="{{StaticUrlPrefix}}/js/jquery.js?v={{MD5 AppVer}}"></script>
  34. <script src="{{StaticUrlPrefix}}/fomantic/semantic.min.js?v={{MD5 AppVer}}"></script>
  35. <script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>
  36. {{template "custom/footer" .}}
  37. {{if .PageIsHome}}
  38. <script src="/rotation3D/jquery-3.5.0.min.js"></script>
  39. <script src="/home/home.js?v={{MD5 AppVer}}" type="text/javascript"></script>
  40. <script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.particleground/jquery.particleground.min.js"></script>
  41. <script src="/rotation3D/vue-2.6.10.min.js"></script>
  42. <script src="/rotation3D/rotation3D.js?v={{MD5 AppVer}}"></script>
  43. <script>
  44. var app = new Vue({
  45. el: "#app",
  46. //数据 blue, green, yellow
  47. data: {
  48. itemList: [
  49. { name:'鹏城云脑一号', type:'blue', icon:'', },
  50. { name:'鹏城云脑二号', type:'blue', icon:'', },
  51. { name:'北大人工智能集群系统', type:'green', icon:'', },
  52. { name:'合肥类脑智能开放平台', type:'green', icon:'', },
  53. { name:'武汉人工智能计算中心', type:'green', icon:'', },
  54. { name:'西安未来人工智能计算中心', type:'green', icon:'', },
  55. { name:'中原人工智能计算中心', type:'green', icon:'', },
  56. { name:'成都人工智能计算中心', type:'green', icon:'', },
  57. { name:'横琴先进智能计算中心', type:'green', icon:'', },
  58. { name:'国家超级计算济南中心', type:'green', icon:'', },
  59. ],
  60. },
  61. mounted: function () {
  62. new Rotation3D({
  63. id: '#rotation3D',
  64. farScale: 0.6,
  65. // farScale: 1,
  66. xRadius: 0, //x半径压缩
  67. yRadius: 240, //y半径压缩
  68. // yRadius: 0, //y半径压缩
  69. autoPlay:true,
  70. autoPlayDelay:6000,
  71. })
  72. },
  73. methods: {},
  74. });
  75. </script>
  76. {{end}}
  77. </body>
  78. </html>