使用者:Wlt233
這位用戶是Arcaea中文維基的 常駐人員。 |
學業為重,本人不能再像以前一樣活躍於本維基 本人目前的在線時間:未知 |
某魏是一位普通的高二學生。他的音游底力很差,ptt只能在9.9徘徊現在在10.6左右。
他創建了自己學校內的音游社,名為JZDBL(交互縱連打不來),但是他是社裡ptt最低的人暫時不是了。
他的博客,會寫一些沒什麼用的破技術文章( https://tqlwsl.moe
他的B站,有幾個小破視頻( https://space.bilibili.com/12846618
<div id="container" style="height:120px;width:400px;">
<div id="pic" style="height:120px;width:120px;float:left;">
<img id="songpic" src="" style="height:120px;width:120px;">
</div>
<div id="text"
style="background-color:#EEEEEE;height:120px;width:280px;position:relative;float:right;text-align:center">
<div id="title" style="margin:15px 0px">今日随机歌曲</div>
<div id="songname" style="margin:15px 0px"></div>
<div id="rating" style="margin:15px 0px"></div>
<div id="change" style="position:absolute;bottom:5px;right:5px" onclick="changeSong()">换一首</div>
</div>
</div>
<script>
changeSong();
var randomSongId, randomSongRatingClass;
var ratingStr = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "9+", "10"];
var ratingClassStr = ["[PST]", "[PRS]", "[FTR]"];
var urlDic = {
'rise': ' https://wiki.arcaea.cn/images/a/a4/Songs_rise.jpg',
'sayonarahatsukoi': ' https://wiki.arcaea.cn/images/b/b4/Songs_Sayonara_Hatsukoi.jpg',
'fairytale': ' https://wiki.arcaea.cn/images/8/8f/Songs_fairytale.jpg',
'lucifer': ' https://wiki.arcaea.cn/images/d/d1/Songs_Lucifer.jpg',
'snowwhite': ' https://wiki.arcaea.cn/images/f/fd/Songs_snow_white.jpg',
'vexaria': ' https://wiki.arcaea.cn/images/f/f0/Songs_Vexaria.jpg',
'lostcivilization': ' https://wiki.arcaea.cn/images/4/42/Songs_Lost_Civilization.jpg',
'qualia': ' https://wiki.arcaea.cn/images/9/97/Songs_qualia.jpg',
'goodtek': ' https://wiki.arcaea.cn/images/5/53/Songs_goodtek.jpg',
'shadesoflight': ' https://wiki.arcaea.cn/images/0/0a/Songs_shades.jpg',
'babaroque': ' https://wiki.arcaea.cn/images/b/b7/Songs_babaroque.jpg',
'dement': ' https://wiki.arcaea.cn/images/5/58/Songs_dement.jpg',
'dandelion': ' https://wiki.arcaea.cn/images/9/96/Songs_dandelion.jpg',
'anokumene': ' https://wiki.arcaea.cn/images/b/b6/Songs_anokumene.jpg',
'infinityheaven': ' https://wiki.arcaea.cn/images/0/02/Songs_heaven.jpg',
'brandnewworld': ' https://wiki.arcaea.cn/images/1/1b/Songs_brandnewworld.jpg',
'chronostasis': ' https://wiki.arcaea.cn/images/0/04/Songs_chronostasis.jpg',
'kanagawa': ' https://wiki.arcaea.cn/images/1/1e/Songs_Kanagawa_Cyber_Culvert_.jpg',
'clotho': ' https://wiki.arcaea.cn/images/5/56/Songs_clotho.jpg',
'ignotus': ' https://wiki.arcaea.cn/images/0/0a/Songs_ignotus.jpg',
'harutopia': ' https://wiki.arcaea.cn/images/7/78/Songs_harutopia.jpg',
'rabbitintheblackroom': ' https://wiki.arcaea.cn/images/7/74/Songs_Rabbit_In_The_Black_Room.jpg',
'redandblue': ' https://wiki.arcaea.cn/images/3/37/Songs_RandB.jpg',
'onelastdrive': ' https://wiki.arcaea.cn/images/c/c8/Songs_One_Last_Drive.jpg',
'dreaminattraction': ' https://wiki.arcaea.cn/images/3/3c/Songs_da.jpg',
'syro': ' https://wiki.arcaea.cn/images/5/53/Songs_Syro.jpg',
'reinvent': ' https://wiki.arcaea.cn/images/1/1d/Songs_Reinvent.jpg',
'blaster': ' https://wiki.arcaea.cn/images/a/af/Songs_Blaster.jpg',
'cyberneciacatharsis': ' https://wiki.arcaea.cn/images/1/15/Songs_cyber.jpg',
'inkarusi': ' https://wiki.arcaea.cn/images/c/c0/Songs_inkar-usi.jpg',
'darakunosono': ' https://wiki.arcaea.cn/images/8/84/Songs_illegal_paradise.jpg',
'bookmaker': ' https://wiki.arcaea.cn/images/4/41/Songs_Bookmaker%282D_Version%29.jpg',
'suomi': ' https://wiki.arcaea.cn/images/a/a0/Songs_suomi.jpg',
'nhelv': ' https://wiki.arcaea.cn/images/2/27/Songs_nhelv.jpg',
'espebranch': ' https://wiki.arcaea.cn/images/9/97/Songs_lunarorbit.jpg',
'purgatorium': ' https://wiki.arcaea.cn/images/c/c2/Songs_purgatorium.jpg',
'rugie': ' https://wiki.arcaea.cn/images/1/1e/Songs_Rugie.jpg',
'revixy': ' https://wiki.arcaea.cn/images/5/50/Songs_ReviXy.jpg',
'grimheart': ' https://wiki.arcaea.cn/images/0/00/Songs_Grimheart.jpg',
'supernova': ' https://wiki.arcaea.cn/images/9/99/Songs_supernova.jpg',
'vector': ' https://wiki.arcaea.cn/images/b/b7/Songs_vector.jpg',
'diode': ' https://wiki.arcaea.cn/images/b/b7/Songs_diode.jpg',
'freefall': ' https://wiki.arcaea.cn/images/f/fa/Songs_FREEF4LL.jpg',
'monochromeprincess': ' https://wiki.arcaea.cn/images/f/f4/Songs_Monochrome_Princess.jpg',
'senkyou': ' https://wiki.arcaea.cn/images/8/89/Songs_Senkyou.jpg',
'worldexecuteme': ' https://wiki.arcaea.cn/images/3/3e/Songs_world.execute%28me%29%3B.jpg',
'oblivia': ' https://wiki.arcaea.cn/images/7/7f/Songs_Oblivia.jpg',
'heavensdoor': ' https://wiki.arcaea.cn/images/f/f6/Songs_Heavensdoor.jpg',
'particlearts': ' https://wiki.arcaea.cn/images/c/ca/Songs_Particle_Arts.jpg',
'ringedgenesis': ' https://wiki.arcaea.cn/images/d/df/Songs_Ringed_Genesis.jpg',
'vindication': ' https://wiki.arcaea.cn/images/2/28/Songs_Vindication.jpg',
'blrink': ' https://wiki.arcaea.cn/images/e/e8/Songs_blrink.jpg',
'themessage': ' https://wiki.arcaea.cn/images/c/c5/Songs_the_message.jpg',
'sulfur': ' https://wiki.arcaea.cn/images/9/9e/Songs_Sulfur.jpg',
'mazenine': ' https://wiki.arcaea.cn/images/2/20/Songs_Maze_No.9.jpg',
'halcyon': ' https://wiki.arcaea.cn/images/b/ba/Songs_halcyon.jpg',
'etherstrike': ' https://wiki.arcaea.cn/images/8/88/Songs_ether_strike.jpg',
'fractureray': ' https://wiki.arcaea.cn/images/5/58/Songs_fracture_ray.jpg',
'soundwitch': ' https://wiki.arcaea.cn/images/5/58/Songs_SOUNDWITCH.jpg',
'iconoclast': ' https://wiki.arcaea.cn/images/8/85/Songs_Iconoclast.jpg',
'trappola': ' https://wiki.arcaea.cn/images/9/98/Songs_trawitch.jpg',
'conflict': ' https://wiki.arcaea.cn/images/4/4e/Songs_conflict.jpg',
'axiumcrisis': ' https://wiki.arcaea.cn/images/f/ff/Songs_Axium_Crisis.jpg',
'grievouslady': ' https://wiki.arcaea.cn/images/4/47/Songs_GL.jpg',
'viyella': ' https://wiki.arcaea.cn/images/1/1b/Songs_cry_of_viyella.jpg',
'hearditsaid': ' https://wiki.arcaea.cn/images/e/e1/Songs_I%27ve_heard_it_said.jpg',
'relentless': ' https://wiki.arcaea.cn/images/f/fb/Songs_Relentless.jpg',
'memoryfactory': ' https://wiki.arcaea.cn/images/b/b1/Songs_lzh.jpg',
'essenceoftwilight': ' https://wiki.arcaea.cn/images/4/46/Songs_Essence_of_Twilight.jpg',
'lumia': ' https://wiki.arcaea.cn/images/9/95/Songs_Lumia.jpg',
'sheriruth': ' https://wiki.arcaea.cn/images/0/0f/Songs_sheriruth.jpg',
'pragmatism': ' https://wiki.arcaea.cn/images/2/24/Songs_pragmatism.jpg',
'solitarydream': ' https://wiki.arcaea.cn/images/d/d5/Songs_Solitary_Dream.jpg',
'chelsea': ' https://wiki.arcaea.cn/images/c/c6/Songs_Chelsea.jpg',
'aiueoon': ' https://wiki.arcaea.cn/images/6/67/Songs_AI%E3%80%90UE%E3%80%91OON.jpg',
'melodyoflove': ' https://wiki.arcaea.cn/images/1/19/Songs_A_Wandering_Melody_of_Love.jpg',
'tiemedowngently': ' https://wiki.arcaea.cn/images/c/c6/Songs_Tie_me_down_gently.jpg',
'valhallazero': ' https://wiki.arcaea.cn/images/8/89/Songs_Valhalla_Zero.jpg',
'antithese': ' https://wiki.arcaea.cn/images/4/4e/Songs_Antithese.jpg',
'corruption': ' https://wiki.arcaea.cn/images/3/33/Songs_Corruption.jpg',
'blackterritory': ' https://wiki.arcaea.cn/images/f/f0/Songs_Black_Territory.jpg',
'viciousheroism': ' https://wiki.arcaea.cn/images/4/46/Songs_Vicious_Heroism.jpg',
'cyaegha': ' https://wiki.arcaea.cn/images/8/87/Songs_Cyaegha.jpg',
'memoryforest': ' https://wiki.arcaea.cn/images/7/75/Songs_memory_forest.jpg',
'nexttoyou': ' https://wiki.arcaea.cn/images/0/0b/Songs_next_to_you.jpg',
'silentrush': ' https://wiki.arcaea.cn/images/4/43/Songs_Silent_Rush.jpg',
'strongholds': ' https://wiki.arcaea.cn/images/e/e7/Songs_strongholds.jpg',
'singularity': ' https://wiki.arcaea.cn/images/2/29/Songs_singularity.jpg',
'blossoms': ' https://wiki.arcaea.cn/images/3/36/Song_blossoms.jpg',
'romancewars': ' https://wiki.arcaea.cn/images/0/00/Songs_Romance_Wars.jpg',
'moonheart': ' https://wiki.arcaea.cn/images/1/1d/Songs_Moonheart.jpg',
'lethaeus': ' https://wiki.arcaea.cn/images/c/cd/Songs_Lethaeus.jpg',
'genesis': ' https://wiki.arcaea.cn/images/b/bd/Songs_Genesis.jpg',
'corpssansorganes': ' https://wiki.arcaea.cn/images/b/b3/Songs_corps-sans-organes.jpg',
'paradise': ' https://wiki.arcaea.cn/images/c/c7/Songs_Paradise.jpg',
'flashback': ' https://wiki.arcaea.cn/images/5/50/Songs_Flashback.jpg',
'flyburg': ' https://wiki.arcaea.cn/images/c/ca/Songs_Flyburg_and_Endroll_.jpg',
'partyvinyl': ' https://wiki.arcaea.cn/images/e/e9/Songs_party_vinyl.jpg',
'nirvluce': ' https://wiki.arcaea.cn/images/f/fc/Songs_nirv_luce.jpg',
'gloryroad': ' https://wiki.arcaea.cn/images/c/c2/Songs_gloryroad.jpg',
'garakuta': ' https://wiki.arcaea.cn/images/3/3d/Songs_GDP.jpg',
'ikazuchi': ' https://wiki.arcaea.cn/images/6/6d/Songs_ikazuchi.jpg',
'worldvanquisher': ' https://wiki.arcaea.cn/images/7/7f/Songs_World_Vanquisher.jpg',
'merlin': ' https://wiki.arcaea.cn/images/c/cb/Songs_merlin.jpg',
'omakeno': ' https://wiki.arcaea.cn/images/b/bd/Songs_omakeno.jpg',
'dxfullmetal': ' https://wiki.arcaea.cn/images/f/fb/Songs_dxfullmetal.jpg',
'scarletlance': ' https://wiki.arcaea.cn/images/e/e0/Songs_scarletlance.jpg',
'ouroboros': ' https://wiki.arcaea.cn/images/5/54/Songs_ouroboros.jpg',
'hallofmirrors': ' https://wiki.arcaea.cn/images/e/e3/Songs_hallofmirrors.jpg',
'hikari': ' https://wiki.arcaea.cn/images/1/17/Songs_hikari.jpg',
'linearaccelerator': ' https://wiki.arcaea.cn/images/7/7f/Songs_linearaccelerator.jpg',
'stager': ' https://wiki.arcaea.cn/images/d/d0/Songs_stager_ftr.jpg',
'tiferet': ' https://wiki.arcaea.cn/images/f/f6/Songs_tiferet.jpg',
'dreamgoeson': ' https://wiki.arcaea.cn/images/b/bc/Songs_Dream_goes_on.jpg',
'journey': ' https://wiki.arcaea.cn/images/5/5f/Songs_journey.jpg',
'specta': ' https://wiki.arcaea.cn/images/c/c5/Songs_Specta.jpg',
'cyanine': ' https://wiki.arcaea.cn/images/3/3c/Songs_cyanine.jpg',
'quon': ' https://wiki.arcaea.cn/images/6/62/Songs_Quon.jpg',
'moonlightofsandcastle': ' https://wiki.arcaea.cn/images/a/af/Songs_Moonlight_of_Sand_Castle.jpg',
'reconstruction': ' https://wiki.arcaea.cn/images/1/15/Songs_REconstruction.jpg',
'evoltex': ' https://wiki.arcaea.cn/images/6/6d/Songs_Evoltex%28poppi%27n_mix%29.jpg',
'oracle': ' https://wiki.arcaea.cn/images/1/14/Songs_Oracle.jpg',
'aterlbus': ' https://wiki.arcaea.cn/images/9/9d/Songs_ab.jpg',
'dataerror': ' https://wiki.arcaea.cn/images/f/fa/Songs_dataerr0r.jpg',
'crosssoul': ' https://wiki.arcaea.cn/images/b/b5/Songs_Cross_Soul.jpg',
'yourvoiceso': ' https://wiki.arcaea.cn/images/1/13/Songs_your_voice_so.jpg',
'impurebird': ' https://wiki.arcaea.cn/images/d/d0/Songs_Impure_Birds.jpg',
'auxesia': ' https://wiki.arcaea.cn/images/1/1b/Songs_Auxesia.jpg',
'modelista': ' https://wiki.arcaea.cn/images/7/7c/Songs_modelista.jpg',
'metallicpunisher': ' https://wiki.arcaea.cn/images/8/89/Songs_Metallic_Punisher.jpg',
'carminescythe': ' https://wiki.arcaea.cn/images/6/6b/Songs_carmine_scythe.jpg',
'guardina': ' https://wiki.arcaea.cn/images/0/0f/Songs_gd.jpg',
'bethere': ' https://wiki.arcaea.cn/images/4/47/Songs_Be_There.jpg',
'callmyname': ' https://wiki.arcaea.cn/images/2/20/Songs_call_my_name.jpg',
'fallensquare': ' https://wiki.arcaea.cn/images/e/e6/Songs_fallensquare.jpg',
'dropdead': ' https://wiki.arcaea.cn/images/d/de/Songs_dropdead.jpg',
'alexandrite': ' https://wiki.arcaea.cn/images/7/7f/Songs_alexandrite.jpg',
'astraltale': ' https://wiki.arcaea.cn/images/6/67/Songs_Astral_Tale.jpg',
'phantasia': ' https://wiki.arcaea.cn/images/7/77/Songs_Phantasia.jpg',
'empireofwinter': ' https://wiki.arcaea.cn/images/6/66/Songs_empireofwinter.jpg',
'libertas': ' https://wiki.arcaea.cn/images/2/26/Songs_libertas.png',
'dottodot': ' https://wiki.arcaea.cn/images/2/2e/Songs_dottodot.jpg',
'dreadnought': ' https://wiki.arcaea.cn/images/a/ae/Songs_Dreadnought.jpg',
'mirzam': ' https://wiki.arcaea.cn/images/8/82/Songs_Mirzam.jpg',
'surrender': ' https://wiki.arcaea.cn/images/2/23/Songs_surrender.jpg',
'yozakurafubuki': ' https://wiki.arcaea.cn/images/8/80/Songs_yozakurafubuki.jpg',
'heavenlycaress': ' https://wiki.arcaea.cn/images/a/a6/Songs_Heavenly_Caress.jpg',
'filament': ' https://wiki.arcaea.cn/images/4/4c/Songs_Filament.jpg',
'avantraze': ' https://wiki.arcaea.cn/images/8/82/Songs_Avant_Raze.jpg',
'battlenoone': ' https://wiki.arcaea.cn/images/7/76/Songs_battlenoone.jpg',
'einherjar': ' https://wiki.arcaea.cn/images/a/a7/Songs_Einherjar_Joker.jpg',
'izana': ' https://wiki.arcaea.cn/images/a/a3/Songs_IZANA.jpg',
'laqryma': ' https://wiki.arcaea.cn/images/b/b8/Songs_La%27qryma_of_the_Wasteland.jpg',
'saikyostronger': ' https://wiki.arcaea.cn/images/f/fa/Songs_Saikyo_Stronger.jpg',
'amygdata': ' https://wiki.arcaea.cn/images/1/15/Songs_amygdata.jpg',
'tutorial': ' https://wiki.arcaea.cn/images/9/9b/Songs_tutorial.jpg',
'ignotusafterburn': ' https://wiki.arcaea.cn/images/e/e9/Songs_ignotus_afterburn.png',
'redandblueandgreen': ' https://wiki.arcaea.cn/images/b/b6/Songs_Red_and_Blue_and_Green.jpg',
'singularityvvvip': ' https://wiki.arcaea.cn/images/c/cc/Songs_Singularity_VVVIP.jpg'
};
function changeSong() {
var getRandomSongId = new XMLHttpRequest();
getRandomSongId.open(
"GET",
"https://arcapi.cirnobaka.moe/v1/random",
true
);
getRandomSongId.send();
getRandomSongId.onreadystatechange = function () {
if (getRandomSongId.readyState == 4 && getRandomSongId.status == 200) {
var json = JSON.parse(getRandomSongId.responseText);
console.log(getRandomSongId.responseText);
randomSongId = json["content"]["id"];
randomSongRatingClass = json["content"]["rating_class"];
var getSongInfo = new XMLHttpRequest();
getSongInfo.open(
"GET",
"https://arcapi.cirnobaka.moe/v1/songinfo?songname=" + randomSongId,
true
);
getSongInfo.send();
getSongInfo.onreadystatechange = function () {
if (getSongInfo.readyState == 4 && getSongInfo.status == 200) {
var json = JSON.parse(getSongInfo.responseText);
console.log(getSongInfo.responseText);
console.log(
"今日随机歌曲是:" +
ratingClassStr[randomSongRatingClass] +
json["content"]["title_localized"]["en"] +
",难度定数为:" +
json["content"]["difficulties"][randomSongRatingClass]["rating"].toString()
);
document.getElementById("songpic").src = urlDic[randomSongId];
document.getElementById("songname").innerText = ratingClassStr[randomSongRatingClass] + json[
"content"]["title_localized"]["en"]
document.getElementById("rating").innerText = "难度定数:" + json["content"]["difficulties"][
randomSongRatingClass
]["rating"].toString()
}
};
}
};
}
</script>