fix: 修复页面渐隐过大 + MP3进度条拖动 + notification字段修复
- 修复设置子页面/帮助页/喂养指南顶部渐隐区域过大(12%→5%)导致首行文字过淡 - 修复4首预设音乐(卡皮巴拉系列)因ID3标签过大导致进度条无法拖动 - 修复notification_page中notif.detail→notif.content字段名错误 - 新增测试生成的故事和音频文件 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
f3ef1d1242
commit
f26627a83f
BIN
Capybara audio/魔法帽小猫_1770795515.mp3
Normal file
BIN
Capybara audio/魔法帽小猫_1770795515.mp3
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9
Capybara stories/小刺猬找彩虹_1770866826.txt
Normal file
9
Capybara stories/小刺猬找彩虹_1770866826.txt
Normal file
@ -0,0 +1,9 @@
|
||||
# 小刺猬找彩虹
|
||||
|
||||
清晨的森林里,小刺猬朵朵背着苹果出门啦——她听说雨后的彩虹藏着甜甜的星星糖!
|
||||
|
||||
刚走到小溪边,朵朵听见“呜呜呜”的哭声。原来是小松鼠的橡果掉进了树洞,树洞太深,小爪子够不着。朵朵眨眨眼:“我有办法!”她蜷成刺球滚进树洞,刺刺刚好勾住橡果,“咕噜噜”滚了出来!小松鼠举着橡果笑:“谢谢你,我带你找彩虹!”
|
||||
|
||||
两人跑到山顶,却看见彩虹桥断了一节——原来是小鸟的风筝卡在云里,扯歪了彩虹!朵朵看看自己的苹果,又看看小松鼠的橡果,突然眼睛亮了:“我们搭个桥吧!”她把苹果摆成一排,小松鼠把橡果叠成小塔,刚好补上缺口。“飞啦!”小鸟叼着风筝飞过来,彩虹“唰”地变亮,桥面上撒满了星星糖!
|
||||
|
||||
朵朵咬了一口星星糖,甜甜的味道里藏着小松鼠的笑声、小鸟的歌声。原来呀,帮助朋友的快乐,比星星糖更甜呢!
|
||||
13
Capybara stories/机器人小叮咚_1770866818.txt
Normal file
13
Capybara stories/机器人小叮咚_1770866818.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# 机器人小叮咚
|
||||
|
||||
在阳光森林里,住着一个圆滚滚的机器人小叮咚。他的肚子上有个彩色按钮,按一下就会“叮咚”唱儿歌。
|
||||
|
||||
这天,森林邮局的鸽子姐姐受伤了,不能送包裹。小叮咚主动说:“我来帮忙!”他把包裹放进肚子里的小抽屉,“叮咚——启动飞行模式!”
|
||||
|
||||
可飞到半山腰时,突然刮起大风!小叮咚的天线被树枝缠住,“咔嗒”一声歪了。他急得转圈圈,包裹差点掉下去。
|
||||
|
||||
这时,小松鼠奇奇举着松果跑过来:“小叮咚别怕!我帮你够天线!”奇奇跳起来,用松果轻轻敲开树枝。小叮咚的天线“啪”地弹回原位,又“叮咚”唱起歌来。
|
||||
|
||||
最后,小叮咚把包裹安全送到了小兔子家。小兔子举着胡萝卜饼干说:“谢谢你!这是给你的‘能量饼干’!”
|
||||
|
||||
夕阳下,小叮咚的肚子闪着暖光,他笑着说:“原来帮助朋友,就是最棒的能量呀!”
|
||||
9
Capybara stories/魔法帽小猫_1770792516.txt
Normal file
9
Capybara stories/魔法帽小猫_1770792516.txt
Normal file
@ -0,0 +1,9 @@
|
||||
# 魔法帽小猫
|
||||
|
||||
森林里住着一只叫米米的小猫,她有一顶会发光的蓝色魔法帽。每天清晨,米米都会戴着帽子在蘑菇丛里蹦蹦跳跳,帽子上的星星亮片闪呀闪。
|
||||
|
||||
这天,森林里突然刮起了大风!小松鼠的橡果被吹跑了,小鸟的羽毛被吹乱了,连最胖的蘑菇爷爷都差点被吹倒。米米着急地摸了摸魔法帽,突然听见帽子里传来细细的声音:“喵呜——要帮助朋友,就念‘星星亮晶晶’!”
|
||||
|
||||
米米立刻跳到最高的石头上,举起帽子大喊:“星星亮晶晶!”魔法帽突然“呼”地喷出彩虹色的风,把乱飘的橡果轻轻吹回松鼠的树洞里,把小鸟的羽毛抚平,还稳稳地扶住了蘑菇爷爷。大风停了,森林里响起“叽叽喳喳”“咚咚锵锵”的欢呼声!
|
||||
|
||||
晚上,动物们围在篝火旁,小松鼠送给米米最大的橡果蛋糕,小鸟衔来最软的羽毛围巾。米米摸着魔法帽笑了:原来帮助朋友,就是最神奇的魔法呀!
|
||||
@ -22,7 +22,7 @@ class GuideFeedingPage extends StatelessWidget {
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [Colors.transparent, Colors.black, Colors.black, Colors.transparent],
|
||||
stops: [0.0, 0.12, 0.92, 1.0],
|
||||
stops: [0.0, 0.05, 0.95, 1.0],
|
||||
).createShader(rect);
|
||||
},
|
||||
blendMode: BlendMode.dstIn,
|
||||
|
||||
@ -23,7 +23,7 @@ class HelpPage extends StatelessWidget {
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [Colors.transparent, Colors.black, Colors.black, Colors.transparent],
|
||||
stops: [0.0, 0.12, 0.92, 1.0],
|
||||
stops: [0.0, 0.05, 0.95, 1.0],
|
||||
).createShader(rect);
|
||||
},
|
||||
blendMode: BlendMode.dstIn,
|
||||
|
||||
@ -308,7 +308,7 @@ class _NotificationPageState extends ConsumerState<NotificationPage> {
|
||||
),
|
||||
padding: const EdgeInsets.all(20),
|
||||
child: Text(
|
||||
notif.detail,
|
||||
notif.content,
|
||||
style: const TextStyle(
|
||||
fontSize: 14,
|
||||
color: Color(0xFF374151),
|
||||
|
||||
@ -31,7 +31,7 @@ class SettingsContentPage extends StatelessWidget {
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [Colors.transparent, Colors.black, Colors.black, Colors.transparent],
|
||||
stops: [0.0, 0.12, 0.92, 1.0],
|
||||
stops: [0.0, 0.05, 0.95, 1.0],
|
||||
).createShader(rect);
|
||||
},
|
||||
blendMode: BlendMode.dstIn,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user