phpcms之首页组成(四)

{pc:content action="lists" catid="40" order="id ASC" num="1" }
                    {loop $data $val}
                        <img src="{$val['thumb']}" alt="{$val['title']}" title="{$val['title']}" class="img-responsive"/>
                        <h3>{$val['description']}</h3>
                        <a class="indser_btn" href="" role="button">按钮</a>
                    {/loop}
                    {/pc}

 

posted @ 2018-01-25 11:47  水瓶君  阅读(73)  评论(0编辑  收藏  举报