update resources

This commit is contained in:
QIDI TECH
2025-05-05 14:58:54 +08:00
parent 524bd808f3
commit 3fe258372a
566 changed files with 7708 additions and 5046 deletions

View File

@@ -431,18 +431,26 @@ function OnClickOpenProject()
SendWXMessage( JSON.stringify(tSend) );
}
let RecentClick=true;
function OnOpenRecentFile( strPath )
{
if( RecentPage_Mode!=Recent_Normal )
return;
var tSend={};
tSend['sequence_id']=Math.round(new Date() / 1000);
tSend['command']="homepage_open_recentfile";
tSend['data']={};
tSend['data']['path']=decodeURI(strPath);
SendWXMessage( JSON.stringify(tSend) );
if(RecentClick)
{
RecentClick = false;
setTimeout(() => {
RecentClick = true;
}, 1000);
var tSend={};
tSend['sequence_id']=Math.round(new Date() / 1000);
tSend['command']="homepage_open_recentfile";
tSend['data']={};
tSend['data']['path']=decodeURI(strPath);
SendWXMessage( JSON.stringify(tSend) );
}
}
function OnDeleteRecentFile( )

View File

@@ -253,6 +253,7 @@ function ShowLeftMenuTip( bShow )
$("div[menu='recent'] div.BtnIcon").prop('title',GetCurrentTextByKey('t35'));
$("div[menu='online'] div.BtnIcon").prop('title',GetCurrentTextByKey('t107'));
$("div[menu='makerlab'] div.BtnIcon").prop('title','MakerLab');
$("div[menu='makersupply'] div.BtnIcon").prop('title',GetCurrentTextByKey('t125'));
$("div[menu='printhistory'] div.BtnIcon").prop('title',GetCurrentTextByKey('t117'));
$("div[menu='manual'] div.BtnIcon").prop('title',GetCurrentTextByKey('t87'));
}
@@ -262,8 +263,9 @@ function ShowLeftMenuTip( bShow )
$("div[menu='recent'] div.BtnIcon").removeAttr('title');
$("div[menu='online'] div.BtnIcon").removeAttr('title');
$("div[menu='makerlab'] div.BtnIcon").removeAttr('title');
$("div[menu='makersupply'] div.BtnIcon").removeAttr('title');
$("div[menu='printhistory'] div.BtnIcon").removeAttr('title');
$("div[menu='manual'] div.BtnIcon").removeAttr('title');
$("div[menu='manual'] div.BtnIcon").removeAttr('title');
}
}