CG回廊UI修改

This commit is contained in:
sakuya 2025-01-11 16:51:03 +08:00
parent f0214b2361
commit 02b199904b

View File

@ -12073,72 +12073,47 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.fillBoldText1( core.fillBoldText1(
ctx, ctx,
'◀离开', '◀离开',
110,
100, 100,
110,
"#FFFFFF", "#FFFFFF",
"#000000", "#000000",
6, 6,
core.ui._buildFont(66, true) core.ui._buildFont(66, true)
); );
// 添加向上翻页和向下翻页的按钮
core.fillRoundRect(
ctx,
45 - 6,
400 - 6,
120 + 12,
120 + 12,
6,
"#444444"
);
core.strokeRoundRect(
ctx,
45 - 12,
400 - 12,
120 + 24,
120 + 24,
12,
"#444444",
3
);
core.fillRoundRect(
ctx,
45 - 6,
1100 - 6,
120 + 12,
120 + 12,
6,
"#444444"
);
core.strokeRoundRect(
ctx,
45 - 12,
1100 - 12,
120 + 24,
120 + 24,
12,
"#444444",
3
);
core.fillBoldText1( core.fillBoldText1(
ctx, ctx,
"向上翻页", '上一页',
100, 100,
450, 450,
page === 0 ? "#444444" : "#FFFFFF",
"#000000",
6,
core.ui._buildFont(66, true)
);
core.fillBoldText1(
ctx,
(page + 1) + "/" + this.UIMx.length,
100,
800,
"#FFFFFF", "#FFFFFF",
"#000000", "#000000",
6, 6,
core.ui._buildFont(24, true) core.ui._buildFont(66, true)
); );
core.fillBoldText1( core.fillBoldText1(
ctx, ctx,
"向下翻页", '下一页',
100, 100,
1150, 1150,
"#FFFFFF", page === this.UIMx.length - 1 ? "#444444" : "#FFFFFF",
"#000000", "#000000",
6, 6,
core.ui._buildFont(24, true) core.ui._buildFont(66, true)
); );
// 添加向上翻页和向下翻页的按钮
// 添加3*2个4:3的画框及图片 // 添加3*2个4:3的画框及图片
for (let i = 0; i < 3; i++) { for (let i = 0; i < 3; i++) {
@ -12183,63 +12158,36 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
); );
// 添加向上翻页和向下翻页的按钮 // 添加向上翻页和向下翻页的按钮
core.fillRoundRect(
ctx,
45 - 6,
350 - 6,
120 + 12,
120 + 12,
6,
"#444444"
);
core.strokeRoundRect(
ctx,
45 - 12,
350 - 12,
120 + 24,
120 + 24,
12,
"#444444",
3
);
core.fillBoldText1( core.fillBoldText1(
ctx, ctx,
"向上翻页", '上一页',
100, 100,
400, 400,
page === 0 ? "#444444" : "#FFFFFF",
"#000000",
6,
core.ui._buildFont(66, true)
);
core.fillBoldText1(
ctx,
(page + 1) + "/" + this.UIMx.length,
100,
650,
"#FFFFFF", "#FFFFFF",
"#000000", "#000000",
6, 6,
core.ui._buildFont(24, true) core.ui._buildFont(66, true)
);
core.fillRoundRect(
ctx,
45 - 6,
850 - 6,
120 + 12,
120 + 12,
6,
"#444444"
);
core.strokeRoundRect(
ctx,
45 - 12,
850 - 12,
120 + 24,
120 + 24,
12,
"#444444",
3
); );
core.fillBoldText1( core.fillBoldText1(
ctx, ctx,
"向下翻页", '下一页',
100, 100,
900, 900,
"#FFFFFF", page === this.UIMx.length - 1 ? "#444444" : "#FFFFFF",
"#000000", "#000000",
6, 6,
core.ui._buildFont(24, true) core.ui._buildFont(66, true)
); );
// 添加3*2个4:3的画框 // 添加3*2个4:3的画框