Skip to content

Commit

Permalink
发布版本v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Meekdai committed Oct 20, 2023
1 parent 83229d8 commit 3c98539
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="icon" href="https://meekdai.com/favicon.svg">
<title>Gmemp</title>
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@v1.0/docs/player.css"> -->
<link rel="stylesheet" href="./player.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@v1.1/docs/player.css">
<!-- <link rel="stylesheet" href="./player.css"> -->
</head>
<body>
<div id="title">
Expand Down Expand Up @@ -45,7 +45,7 @@
</div>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/howler.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@v1.0/docs/player.js"></script> -->
<script src="./player.js"></script>
<script src="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@v1.1/docs/player.js"></script>
<!-- <script src="./player.js"></script> -->
</body>
</html>
1 change: 0 additions & 1 deletion docs/player.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ body {
}
#post {
text-align:left;
line-height: 18px;
margin-top: 20px;
padding:20px;
font-size: 18px;
Expand Down
4 changes: 2 additions & 2 deletions docs/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Player.prototype = {
document.title=data.title + " - Gmemp";//显示浏览器TAB栏内容
document.querySelector("body").style.backgroundImage = "url('" +media+ encodeURI(data.pic) + "')";
window.location.hash="#"+(index);

//progressBar 垂直居中
progressBar.style.margin = -(window.innerHeight*0.3/2)+'px auto'

Expand Down Expand Up @@ -404,4 +404,4 @@ function draw() {
}
}

console.log("\n %c Gmemp v1.0 %c https://github.com/Meekdai/Gmemp \n", "color: #fff; background-image: linear-gradient(90deg, rgb(47, 172, 178) 0%, rgb(45, 190, 96) 100%); padding:5px 1px;", "background-image: linear-gradient(90deg, rgb(45, 190, 96) 0%, rgb(255, 255, 255) 100%); padding:5px 0;");
console.log("\n %c Gmemp v1.1 %c https://github.com/Meekdai/Gmemp \n", "color: #fff; background-image: linear-gradient(90deg, rgb(47, 172, 178) 0%, rgb(45, 190, 96) 100%); padding:5px 1px;", "background-image: linear-gradient(90deg, rgb(45, 190, 96) 0%, rgb(255, 255, 255) 100%); padding:5px 0;");

0 comments on commit 3c98539

Please sign in to comment.