|
- {{/*
- <html>
- <body>
- <div>
- */}}
-
- {{template "custom/body_inner_post" .}}
-
- </div>
-
- {{template "custom/body_outer_post" .}}
-
- {{template "base/footer_content" .}}
-
- <script src="{{StaticUrlPrefix}}/js/jquery.js?v={{MD5 AppVer}}"></script>
- {{if .RequireSimpleMDE}}
- <script src="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.js"></script>
- <script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/addon/mode/loadmode.js"></script>
- <script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/meta.js"></script>
- <script>
- CodeMirror.modeURL = "{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/%N/%N.js";
- </script>
- {{end}}
-
- <!-- Third-party libraries -->
- {{if .RequireMinicolors}}
- <script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.min.js"></script>
- {{end}}
- {{if .RequireU2F}}
- <script src="{{StaticUrlPrefix}}/vendor/plugins/u2f/index.js"></script>
- {{end}}
- {{if .EnableCaptcha}}
- {{if eq .CaptchaType "recaptcha"}}
- <script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
- {{end}}
- {{end}}
- {{if .RequireTribute}}
- <script src="{{StaticUrlPrefix}}/vendor/plugins/tribute/tribute.min.js"></script>
- {{end}}
- <script src="{{StaticUrlPrefix}}/fomantic/semantic.min.js?v={{MD5 AppVer}}"></script>
- <script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>
- {{template "custom/footer" .}}
- {{if .PageIsHome}}
- <script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.particleground/jquery.particleground.min.js"></script>
- <script src="/rotation3D/jquery-3.5.0.min.js"></script>
- <script src="/rotation3D/vue-2.6.10.min.js"></script>
- <script src="/rotation3D/rotation3D.js"></script>
- <script>
- var app = new Vue({
- el: "#app",
- //数据 blue, green, yellow
- data: {
- itemList: [
- { name:'鹏城云脑I', type:'blue', icon:'', },
- { name:'鹏城云脑II', type:'blue', icon:'', },
- { name:'北京', type:'green', icon:'', },
- { name:'合肥', type:'green', icon:'', },
- { name:'西安', type:'green', icon:'', },
- { name:'武汉', type:'green', icon:'', },
- { name:'中原', type:'green', icon:'', },
- { name:'横琴', type:'green', icon:'', },
- ],
- },
- mounted: function () {
- new Rotation3D({
- id: '#rotation3D',
- farScale: 0.6,
- // farScale: 1,
- xRadius: 0, //x半径压缩
- yRadius: 240, //y半径压缩
- // yRadius: 0, //y半径压缩
- autoPlay:true,
- autoPlayDelay:6000,
- })
-
- },
- methods: {},
- });
- </script>
- {{end}}
- </body>
- </html>
|