Skip to content

Commit

Permalink
change baseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
qin2hou committed May 30, 2024
1 parent 7c080eb commit 924337d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,13 @@ html, body {
.phonograph .volumeBar .volume-indicator{
position: relative;
left: -8px;
/* 音量调节范围,top 2-102 */
/* 音量调节范围,top=(2,102) */
top: 102px;
width: 30px;
height: 16px;
border-radius: 4px;
background: white;
/* background-image: linear-gradient(to right, #ffffff4d 0%,#c2c2c22d 2%, #3737374d 50%,#C2C2C22d 98%, #ffffff4d 100%); */
}

.phonograph .platform {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div id="platform" class="platform">
<div id="tonearm" class="tonearm"></div>
<div id="plater" class="plater pointer">
<img src="" alt="">
<img src="" alt="" class="unselect">
</div>
<div id="needle" class="needle"></div>
<div id="volumeBar" class="volumeBar">
Expand Down
7 changes: 4 additions & 3 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var jsmediatags = window.jsmediatags;
style: ["clock","poem","todoList","phonograph"],
styleType: 3,
todoList: [],
poemAddress: "/source/poem_en.json",
poemAddress: "/source/poem_zh.json",
poemObj: {}, // json文件
poemNumber: 0, // 诗歌序号
poemQuantities: 0, // 诗歌数量
Expand All @@ -33,8 +33,9 @@ var jsmediatags = window.jsmediatags;
poemCoordinate:[100, 200], // 诗歌显示的初始坐标
refreshInterval: 100, // 单位毫秒
poemRefreshInterval: 10, // 单位秒
// baseUrl : 'https://qin2hou.github.io/',
baseUrl: 'http://127.0.0.1:3000/',
// 上线项目要记得切换baseUrl
baseUrl : 'https://qin2hou.github.io/',
// baseUrl: 'http://127.0.0.1:3000/',
angle: 0,
rotateAngle: 0.25, // 每0.01秒 旋转n度
pTimer: {}, // 旋转动画定时器
Expand Down

0 comments on commit 924337d

Please sign in to comment.