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.5 kB

10 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. <script src="{{StaticUrlPrefix}}/js/jquery.js?v={{MD5 AppVer}}"></script>
  11. {{if .RequireSimpleMDE}}
  12. <script src="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.js"></script>
  13. <script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/addon/mode/loadmode.js"></script>
  14. <script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/meta.js"></script>
  15. <script>
  16. CodeMirror.modeURL = "{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/%N/%N.js";
  17. </script>
  18. {{end}}
  19. <!-- Third-party libraries -->
  20. {{if .RequireMinicolors}}
  21. <script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.min.js"></script>
  22. {{end}}
  23. {{if .RequireU2F}}
  24. <script src="{{StaticUrlPrefix}}/vendor/plugins/u2f/index.js"></script>
  25. {{end}}
  26. {{if .EnableCaptcha}}
  27. {{if eq .CaptchaType "recaptcha"}}
  28. <script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
  29. {{end}}
  30. {{end}}
  31. {{if .RequireTribute}}
  32. <script src="{{StaticUrlPrefix}}/vendor/plugins/tribute/tribute.min.js"></script>
  33. {{end}}
  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="{{StaticUrlPrefix}}/vendor/plugins/jquery.particleground/jquery.particleground.min.js"></script>
  39. <script src="/rotation3D/jquery-3.5.0.min.js"></script>
  40. <script src="/rotation3D/vue-2.6.10.min.js"></script>
  41. <script src="/rotation3D/rotation3D.js"></script>
  42. <script>
  43. var app = new Vue({
  44. el: "#app",
  45. //数据 blue, green, yellow
  46. data: {
  47. itemList: [
  48. { name:'鹏城云脑I', type:'blue', icon:'', },
  49. { name:'鹏城云脑II', type:'blue', icon:'', },
  50. { name:'北京', type:'green', 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. ],
  57. },
  58. mounted: function () {
  59. new Rotation3D({
  60. id: '#rotation3D',
  61. farScale: 0.6,
  62. // farScale: 1,
  63. xRadius: 0, //x半径压缩
  64. yRadius: 240, //y半径压缩
  65. // yRadius: 0, //y半径压缩
  66. autoPlay:true,
  67. autoPlayDelay:6000,
  68. })
  69. },
  70. methods: {},
  71. });
  72. </script>
  73. {{end}}
  74. </body>
  75. </html>