mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-10-31 17:12:09 +08:00 
			
		
		
		
	Update 2 files
- /Live2dHistoire/live2d/js/message.js - /assets/js/main_new.js
This commit is contained in:
		| @@ -48,6 +48,7 @@ if(!norunFlag){ | ||||
| 		}; | ||||
|  | ||||
| 		var re = /x/; | ||||
| 		console.log(re); | ||||
| 		re.toString = function () { | ||||
| 			showMessage('哈哈,你打开了控制台,是想要看看我的秘密吗?', 5000); | ||||
| 			return ''; | ||||
| @@ -223,6 +224,12 @@ if(!norunFlag){ | ||||
| 	} | ||||
|  | ||||
| 	function initLive2d() { | ||||
| 		$("#landlord").mouseenter(function () { | ||||
| 			$(".live_ico_box").fadeIn(); | ||||
| 		}); | ||||
| 		$("#landlord").mouseleave(function () { | ||||
| 			$(".live_ico_box").fadeOut(); | ||||
| 		}); | ||||
| 		$('#hideButton').on('click', function () { | ||||
| 			if (AIFadeFlag) { | ||||
| 				return false; | ||||
| @@ -450,7 +457,13 @@ if(!norunFlag){ | ||||
| 			home_Path + message_Path + "model/histoire/histoire.1024/texture_00.png", | ||||
| 			home_Path + message_Path + "model/histoire/histoire.1024/texture_01.png", | ||||
| 			home_Path + message_Path + "model/histoire/histoire.1024/texture_02.png", | ||||
| 			home_Path + message_Path + "model/histoire/histoire.1024/texture_03.png" | ||||
| 			home_Path + message_Path + "model/histoire/histoire.1024/texture_03.png", | ||||
| 			home_Path + message_Path + "images/info.png", | ||||
| 			home_Path + message_Path + "images/music.png", | ||||
| 			home_Path + message_Path + "images/pasue.png", | ||||
| 			home_Path + message_Path + "images/quite.png", | ||||
| 			home_Path + message_Path + "images/talk.png", | ||||
| 			home_Path + message_Path + "images/youdu.png" | ||||
| 		] | ||||
| 		var images = []; | ||||
| 		var imgLength = AIimgSrc.length; | ||||
|   | ||||
| @@ -1,11 +1,4 @@ | ||||
| $(function () { | ||||
|     $("div#landlord").mouseenter(function () { | ||||
|         $("div.live_ico_box").fadeIn(); | ||||
|     }); | ||||
|     $("div#landlord").mouseleave(function () { | ||||
|         $("div.live_ico_box").fadeOut(); | ||||
|     }); | ||||
|      | ||||
|     const urlParams = new URLSearchParams(window.location.search); | ||||
|     const keyword = urlParams.get('kw')?.trim(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user