diff --git a/project/plugins.js b/project/plugins.js index b7c55f9..87b4706 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -12073,72 +12073,47 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.fillBoldText1( ctx, '◀离开', - 110, 100, + 110, "#FFFFFF", "#000000", 6, 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( ctx, - "向上翻页", + '上一页', 100, 450, + page === 0 ? "#444444" : "#FFFFFF", + "#000000", + 6, + core.ui._buildFont(66, true) + ); + + core.fillBoldText1( + ctx, + (page + 1) + "/" + this.UIMx.length, + 100, + 800, "#FFFFFF", "#000000", 6, - core.ui._buildFont(24, true) + core.ui._buildFont(66, true) ); core.fillBoldText1( ctx, - "向下翻页", + '下一页', 100, 1150, - "#FFFFFF", + page === this.UIMx.length - 1 ? "#444444" : "#FFFFFF", "#000000", 6, - core.ui._buildFont(24, true) + core.ui._buildFont(66, true) ); + // 添加向上翻页和向下翻页的按钮 + + // 添加3*2个4:3的画框,及图片 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( ctx, - "向上翻页", + '上一页', 100, 400, + page === 0 ? "#444444" : "#FFFFFF", + "#000000", + 6, + core.ui._buildFont(66, true) + ); + + core.fillBoldText1( + ctx, + (page + 1) + "/" + this.UIMx.length, + 100, + 650, "#FFFFFF", "#000000", 6, - core.ui._buildFont(24, 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.ui._buildFont(66, true) ); core.fillBoldText1( ctx, - "向下翻页", + '下一页', 100, 900, - "#FFFFFF", + page === this.UIMx.length - 1 ? "#444444" : "#FFFFFF", "#000000", 6, - core.ui._buildFont(24, true) + core.ui._buildFont(66, true) ); // 添加3*2个4:3的画框