jpp128dp1h 发表于 2025-9-16 16:07:24

txt分页查询 .kekereply{background:url(source/plugin/keke_reply/template/img/Re_O.png) no-repeat #fefae0;margin:0 5px;padding:1px 0px 1px 18px;line-height:17px;height:17px; color:#C30}官方回复

rgb
#IF
#ACT
MOVN$当前页码1
MOVN$每页显示数量50
MOVN$总项目数量<$Getcsv(cfg_首曝名单,Row)>

formulation<$STR(N$总项目数量)>/<$STR(N$每页显示数量)>N$总页数

formulation<$STR(N$总项目数量)>%<$STR(N$每页显示数量)>N$剩余数目
#IF
largeN$剩余数目0
#ACT
INCN$总页数1

goto @首曝翻页

[@首曝翻页]
#IF
#SAY
<Img|x=0.0|y=-1.0|esc=1|bg=1|move=1|loadDelay=0|reset=1|img=custom/fldt/bg.png|show=4>
<Layout|x=973.0|y=-38.0|width=80|height=80|link=@exit>
<Button|x=972.0|y=-2.0|nimg=public/1900000510.png|pimg=public/1900000511.png|link=@exit>
<ListView|children={<$STR(S$ID列表)>}|ax=0|x=569.0|y=62.0|width=395|height=380>
<$STR(S$物品列表)>
<Button|x=659.0|y=453.0|size=18|nimg=custom/fldt/an4-0.png|color=255|link=@上一页>
<RText|x=752.0|y=458.0|size=18|color=255|text=<$STR(N$当前页码)>/<$STR(N$总页数)>>
<Button|x=799.0|y=453.0|size=18|nimg=custom/fldt/an4-1.png|color=255|link=@下一页>


#ACT
;遍历奖励展示列表
formulation (<$STR(N$当前页码)>-1)*<$STR(N$每页显示数量)>N$起始行索引

formulation<$STR(N$起始行索引)>+<$STR(N$每页显示数量)>N$结束行索引


#if
largeN$结束行索引N$总项目数量
#act
movN$结束行索引<$str(N$总项目数量)>

#if
#act
MOVS$物品列表
MOVS$ID列表
MOVN$索引0
while<$STR(N$起始行索引)> < <$STR(N$结束行索引)>
;遍历标签
endwhile
[@上一页]
#IF
largeN$当前页码1
#act
decN$当前页码1
break
#elseact
sendmsg9 <font color='#ff0000'>提示:</font> <font color='#fac800'>已是第一页!</font>
break
[@下一页]
#if
smallN$当前页码N$总页数
#act
INCN$当前页码1
break
#elseact
sendmsg9 <font color='#ff0000'>提示:</font> <font color='#fac800'>已是最后一页!</font>
break

ioj8tu136c 发表于 2025-9-16 16:08:06

建议发在脚本专区

pr94icl7fw 发表于 2025-9-16 16:45:19

不错不错,很好哦

险汕 发表于 2025-9-16 16:50:50

写的真的很不错

东淑兰 发表于 2025-9-16 17:10:48

看帖回帖是美德!:lol

gfabdshmbj 发表于 2025-9-16 17:21:14

不错不错,楼主您辛苦了。。。

jfyarjytrx 发表于 2025-9-16 17:25:35

我是个凑数的。。。

忻畅552 发表于 2025-9-16 18:00:38

学习了,不错,讲的太有道理了

邢蕙若 发表于 2025-9-16 18:29:44

帮你顶下哈!!

168472j4zm 发表于 2025-9-16 18:30:48

学习了,不错,讲的太有道理了
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: txt分页查询 .kekereply{background:url(source/plugin/keke_reply/template/img/Re_O.png) no-repeat #fefae0;margin:0 5px;padding:1px 0px 1px 18px;line-height:17px;height:17px; color:#C30}官方回复