调用的是帖子模块 条数为10条
如果是这样的数据 模板该怎么写呢?
//这个类就是给这个UL加了下边框
- 11111
- 2222
- 3333
- 444
- 5555
- 66666
- 77777
- 88888
- 99999
- 10101010
复制代码
难不成要写成这样
- <ul class='bottom_line'>
- [index=1]
- 1111111
- [/index]
- [index=2]
- 22222
- [/index]
- [index=3]
- 3333
- [/index]
- [index=4]
- 444444
- [/index]
- [index=5]
- 555555
- [/index]
- [loop]
- 66666
- [/loop]
复制代码
这样能调出来 但是效率是不是很慢啊 有没有好的办法啊? |