-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ae77e9
commit 0eba54a
Showing
2 changed files
with
155 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,26 +102,30 @@ | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ClassicOldSong/[email protected]/typinyin.css"> | ||
<link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Google+Sans" media="none" onload="this.media='all'"> | ||
<script> | ||
var feedType = "json"; | ||
var feedPath = "feed.php"; | ||
var bgArr = [{ | ||
"url": "static/img/background-1.jpg", | ||
"thumb": "static/img/background-1-thumb.jpg" | ||
},{ | ||
"url": "static/img/background-2.jpg", | ||
"thumb": "static/img/background-2-thumb.jpg" | ||
}]; | ||
var senArr = [ | ||
{ | ||
ch: ["This is an example."], | ||
py: ["This is an example."], | ||
}, { | ||
ch: ["这是","一个","示例","."], | ||
py: ["zhe'shi","yi'ge","shi'li","."], | ||
} | ||
]; | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/gh/ClassicOldSong/typinyin.js@master/typinyin.min.js"></script> | ||
<script src="static/js/main.js"></script> | ||
<script> | ||
(function () { | ||
var feedType = "json"; | ||
var feedPath = "feed.php"; | ||
var bgArr = [{ | ||
"url": "static/img/background-1.jpg", | ||
"thumb": "static/img/background-1-thumb.jpg" | ||
},{ | ||
"url": "static/img/background-2.jpg", | ||
"thumb": "static/img/background-2-thumb.jpg" | ||
}]; | ||
var senArr = [ | ||
{ | ||
ch: ["This is an example."], | ||
py: ["This is an example."], | ||
}, { | ||
ch: ["这是","一个","示例","."], | ||
py: ["zhe'shi","yi'ge","shi'li","."], | ||
} | ||
]; | ||
|
||
Init(feedType, feedPath, bgArr, senArr); | ||
})(); | ||
</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters