• This project
    • Loading...
  • Sign in

翟凤史 / ecology · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • ecology
  • mobilemode
  • admin
  • tmpl
  • plugin
  • demo
  • #Template#.html
  • 初次提交
    b060adc7
    by 翟凤史
    2022-09-22 14:17:16 +0800  
    Browse Files
#Template#.html 375 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<div id="page-#{id}#" class="page out" data-title="#{text}#">
	<div id="#{id}#-a"></div>
	<div id="#{id}#-b"></div>
</div>
<script>
require(["#{id}#"], function(#{id}#) {
	new #{id}#({
		el: "#{id}#-a"
	}).render();
   	
	new #{id}#({
		el: "#{id}#-b",
		option: {
			content : "当前时间",
			click: function(){
				alert(new Date());
			}
		}
	}).render();
});
</script>