Skip to content

Commit

Permalink
1.2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
YrracOwl committed Mar 19, 2024
1 parent 38926df commit 5d8fc63
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion default.aproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<project ver="10" name="ChiikawaBest" libEmbed="true" icon="res\chiikawaIcon.ico" ui="win" output="ChiikawaBest.exe" CompanyName="CarryWho" FileDescription="ChiikawaBest" LegalCopyright="Copyright (C) CarryWho 2023" ProductName="ChiikawaBest" InternalName="ChiikawaBest" FileVersion="1.2.0.1" ProductVersion="1.2.0.1" publishDir="/dist/" dstrip="false" local="false" ignored="false">
<project ver="10" name="ChiikawaBest" libEmbed="true" icon="res\chiikawaIcon.ico" ui="win" output="ChiikawaBest.exe" CompanyName="CarryWho" FileDescription="ChiikawaBest" LegalCopyright="Copyright (C) CarryWho 2023" ProductName="ChiikawaBest" InternalName="ChiikawaBest" FileVersion="1.2.0.2" ProductVersion="1.2.0.2" publishDir="/dist/" dstrip="false" local="false" ignored="false">
<file name="main.aardio" path="main.aardio" comment="main.aardio"/>
<folder name="资源文件" path="res" embed="true" local="false" ignored="false">
<file name="chiikawa.png" path="res\chiikawa.png" comment="res\chiikawa.png"/>
Expand Down
20 changes: 18 additions & 2 deletions dlg/timeline.aardio
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ winform.chkDbField = function(tlTitle){
winform.childWinUpdate = function(tlTitle){
currentTimeLine = tlTitle;
winform.当前主题.text = currentTimeLine;
winform.text = "时间线 - " + winform.当前主题.text;
tl_webview.xcall("setTitle",winform.当前主题.text);
if(_WIN10_LATER){
tl_webview.xcall("animationActivate");
Expand All @@ -485,6 +486,21 @@ winform.listboxUpdate = function(winform){
}
}

winform.gfmarkCheckList = function(strPrepared){
var strGfmark = ..string.gfmark.render(strPrepared);
var pattern = //<\<li\>\[ \]>
var replaceText = `<li><input type="checkbox" disabled />`;
var replacecount = "99";
strGfmarkReplaceResultMid = string.replace( strGfmark,pattern,replaceText,replacecount);

var pattern = //<\<li\>\[x\]>
var replaceText = `<li><input type="checkbox" checked disabled />`;
strGfmarkReplaceResult = string.replace( strGfmarkReplaceResultMid,pattern,replaceText,replacecount);

return strGfmarkReplaceResult;
}


winform.timelineWebUpdate = function(winform){
tl_webview.xcall("clearListTemp");
if(winform.listbox.count<1){
Expand All @@ -503,7 +519,7 @@ winform.timelineWebUpdate = function(winform){
imgUrl = "null";
}
//tl_webview.xcall("pushTable",{tostring(result.time);tostring(result.title);tostring(result.content);imgUrl});
tl_webview.xcall("pushTable",{tostring(result.time);tostring(result.title);..string.gfmark.render(result.content);imgUrl});
tl_webview.xcall("pushTable",{tostring(result.time);tostring(result.title);winform.gfmarkCheckList(result.content);imgUrl});
}
}
tl_webview.xcall("replaceList");
Expand Down Expand Up @@ -658,7 +674,7 @@ winform.添加plus.oncommand = function(id,event){
}

//tl_webview.xcall("updateContent",{tostring(tl_time);tostring(tl_title);tostring(tl_content);imgUrl});
tl_webview.xcall("updateContent",{tostring(tl_time);tostring(tl_title);..string.gfmark.render(tl_content);imgUrl});
tl_webview.xcall("updateContent",{tostring(tl_time);tostring(tl_title);winform.gfmarkCheckList(tl_content);imgUrl});
}
//修改了时间,或者纯粹新增,均不会触发
else {
Expand Down
1 change: 0 additions & 1 deletion release/1.2.0.0

This file was deleted.

1 change: 1 addition & 0 deletions release/1.2.0.1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.2.0.1
Binary file modified release/ChiikawaBest.exe
Binary file not shown.

0 comments on commit 5d8fc63

Please sign in to comment.