Skip to content

Commit

Permalink
0.1.0 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
TASA-Ed工作室 committed Jul 18, 2024
1 parent c155828 commit abdf8a9
Show file tree
Hide file tree
Showing 41 changed files with 1,089 additions and 0 deletions.
1 change: 1 addition & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<package>top.tasaed.minimalistplan</package><toolversion>iApp V3.0.1025</toolversion><developer>null</developer><time>1721300733697</time>
16 changes: 16 additions & 0 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<title>Mi计划</title>
<icon>icon.png</icon>
<packageName>top.tasaed.minimalistplan</packageName>
<versionName>0.1.0</versionName>
<versionint>1</versionint>
<sdk>24</sdk>
<yuv>3</yuv>

<remark></remark>
<Permissions>android.permission.READ_EXTERNAL_STORAGE
android.permission.REQUEST_INSTALL_PACKAGES
android.permission.INTERNET
android.permission.WRITE_EXTERNAL_STORAGE</Permissions>
<createTime>2024-07-10 13:43:54</createTime>
<upTime>2024-07-10 13:43:54</upTime>
1 change: 1 addition & 0 deletions apk/assets/extra_conf1g.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<signature>1</signature>
Binary file added apk/res/mipmap-hdpi-v4/i.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions cso/set.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<isCustom>false</isCustom>
1 change: 1 addition & 0 deletions files/todo/lang
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zh_CN
1 change: 1 addition & 0 deletions files/todo/todolist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"jsv":1.1,"idlist":"0,1,NaN","fdel":0,"nowait":false}
1 change: 1 addition & 0 deletions files/todo/uuid1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"示例:我的第一项待办,我觉得我是一个非常自律的人","content":"我需要在今天下午5:20上厕所,然后看十页《母猪的产后护理》,最后在8:00之前睡觉。","checkbox":true}
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions res/files/todolist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"jsv":1.1,"idlist":"0,1,NaN","fdel":0,"nowait":false}
1 change: 1 addition & 0 deletions res/files/uuid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"v#:name;","content":"v#:content;","checkbox":false}
1 change: 1 addition & 0 deletions res/files/uuid1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"示例:我的第一项待办,我觉得我是一个非常自律的人","content":"我需要在今天下午5:20上厕所,然后看十页《母猪的产后护理》,最后在8:00之前睡觉。","checkbox":true}
Binary file added res/fonts/SOURCEHANSANSCN-REGULAR.OTF
Binary file not shown.
Binary file added res/icon_iapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/IconParkSolidPlan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/MaterialSymbolsAdd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/SolarNotesBoldDuotone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/T832.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/TopcoatBack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/alert-circlered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/alert-outline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/arrow-leftXXH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/checkbox-blank-outline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/checkbox-marked-outline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/icon_iapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/infoXH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/retouch_2024071118491614.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/img/translate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions res/langages/en_US.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# lang v2.0
[mian.3.text]=Mi Plan
[mian.6.text]=Copyright © 2020-2024 TASA-Ed Studio

[待办.3.text]=To-do
[记账.3.text]=Accounting

[edit.16.hint]=To-do title
[edit.19.hint]=To-do content
[edit.12.text]=Save

[about.18.text]=Mi Plan
[about.9.text]=TASA-Ed Studio Productions
[about.22.text]=No waiting at startup
[about.3.app_title]=About
[about.26.text]=Langage

[code.v1.utw]=Warns
[code.v2.utw]=Are you deleting this to-do?
[code.v3.utw]=Yes
[code.v4.utw]=No
[code.tw1.tw]=Not yet available, stay tuned!
[code.tit1.utw]=Langage
[code.tw2.tw]=Reboot software to take effect
[code.tw3.tw]=Language does not exist
26 changes: 26 additions & 0 deletions res/langages/zh_CN.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 注释
# lang文件2.0版本
[mian.3.text]=Mi计划
[mian.6.text]=Copyright © 2020-2024 TASA-Ed工作室

[待办.3.text]=待办
[记账.3.text]=记账

[edit.16.hint]=待办标题
[edit.19.hint]=待办内容
[edit.12.text]=保存

[about.18.text]=Mi计划
[about.9.text]=TASA-Ed工作室制作
[about.22.text]=启动时无需等待
[about.3.app_title]=关于
[about.26.text]=语言

[code.v1.utw]=警告
[code.v2.utw]=是否删除此待办?
[code.v3.utw]=确认
[code.v4.utw]=取消
[code.tw1.tw]=记账功能暂未上线,敬请期待~
[code.tit1.utw]=语言
[code.tw2.tw]=重启软件生效
[code.tw3.tw]=语言不存在
46 changes: 46 additions & 0 deletions src/lang.myu
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
fn age(uiid)
for(data;sss.language)
{
sj(data,"[","]",dct)
sl(dct,".",dl)
sgsz(dl,0,uid)
f(uid==uiid)
{
sgsz(dl,1,kid)
sgsz(dl,2,type)
sj(data,"=",null,txt)
us(kid,type,txt)
}
}
end fn
fn chdh(uiid)
for(data;sss.language)
{
sj(data,"[","]",dct)
sl(dct,".",dl)
sgsz(dl,0,uid)
f(uid==uiid)
{
sgsz(dl,1,kid)
sgsz(dl,2,type)
sj(data,"=",null,txt)
us(uiid+"."+kid,type,txt)
}
}
end fn
fn code(codeid)
for(data;sss.language)
{
sj(data,"[","]",dct)
sl(dct,".",dl)
sgsz(dl,0,uid)
f(uid=="code")
{
sgsz(dl,1,uid)
f(uid==codeid)
{
sj(data,"=",null,sss.vtext)
}
}
}
end fn
128 changes: 128 additions & 0 deletions src/mian.iyu
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<View id="4" did="0" type="RelativeLayout">
<ppt>width=-1
height=-1</ppt>
<event></event>
</View>
<View id="1" did="4" type="LinearLayout">
<ppt>width=-1
height=-1
orientation=vertical
background=white
gravity=center</ppt>
<event></event>
</View>
<View id="2" did="1" type="ImageView">
<ppt>width=75dp
height=75dp
src=@icon_iapp.png</ppt>
<event></event>
</View>
<View id="3" did="1" type="TextView">
<ppt>width=-2
height=-2
text=Mi计划
textColor=#C0C0C0
textSize=12.5sp
layout_margin=10dp
layout_marginBottom=40dp
typeface=@fonts/SOURCEHANSANSCN-REGULAR.OTF</ppt>
<event></event>
</View>
<View id="5" did="4" type="LinearLayout">
<ppt>width=-1
height=-2
orientation=vertical
gravity=center
ut_alignBottom=1</ppt>
<event></event>
</View>
<View id="6" did="5" type="TextView">
<ppt>width=-2
height=-2
text=Copyright © 2020-2024 TASA-Ed工作室
textColor=#C0C0C0
textSize=10sp
layout_marginBottom=5dp</ppt>
<event></event>
</View>
<UIEventset><eventItme type="loading">sss jsver=1.1
//设置文件版本
uycl("#ffffffff",true)
//改变状态栏
fr("$todo/lang",lna)
f(lna==null)
{
fw("$todo/lang","zh_CN")
fr("$todo/lang",lna)
}
fr("@langages/"+lna+".lang",lang)
sl(lang,"\n",sss.language)
fn lang.age("mian")
//语言初始化
fe("$todo/todolist.json",fe2)
f(fe2==false)
{
fc("@files/todolist.json","$todo/todolist.json",c)
fc("@files/uuid1.json","$todo/uuid1.json",c)
us(3,"text","感谢您选择了本软件,欢迎使用")
}
//判断是否为第一次进入软件
else
{
t()
{
ufnsui()
{
hs("http://api.tasaed.top/rw",mryy)
syso(mryy)
f(mryy==null)
{
}
else
{
us(3,"text",mryy)
}
}
}
//获取每日一言
}

fr("$todo/todolist.json",todolist)
//读取列表文件

json(todolist,sss.tojson)
//解析为json放入全局变量,方便调用

json(sss.tojson,"get","jsv",jsv)
//预留
s2(sss.jsver-jsv,jsv)
syso(jsv)
f(jsv&gt;0.1)
{
utw("@img/alert-outline.png","警告","json版本差异过大,强行升级json版本可能导致部分数据丢失,是否继续升级?","是","否",true,v)
{
}
else
{
}
}

/.</eventItme><eventItme type="loadingComplete">json(sss.tojson,"get","nowait",hui)
f(hui==false)
{
t()
{
stop(1000)
ufnsui()
{
uigo("主界面.iyu")
end()
}
}
}
else
{
uigo("主界面.iyu")
end()
}
//倒计时跳转界面</eventItme></UIEventset>
34 changes: 34 additions & 0 deletions src/v7list.myu
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
fn reload()
ula(sss.db,"clear")
//清空
json(sss.tojson,"get","idlist",idlist)
sl(idlist,"\,",idsl)
//读取ID列表
for(uid;idsl)
{
f(uid==0 || uid=="NaN")
{
}
//忽略ID 0和NaN
else
{
fr("$todo/uuid"+uid+".json",uidc)
json(uidc,uujs)
json(uujs,"get","content",cont)
json(uujs,"get","name",name)
json(uujs,"get","checkbox",checkbox)
//读取数据
f(checkbox==true)
{
s check="@img/checkbox-marked-outline.png"
}
else
{
s check="@img/checkbox-blank-outline.png"
}
//更换图标
ula(sss.db,待办.5="待办事项",10=name,11=cont,6=check,-1=checkbox,-2=uid)
}

}
end fn
Loading

0 comments on commit abdf8a9

Please sign in to comment.