phpcms之首页组成

Posted l979662050

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了phpcms之首页组成相关的知识,希望对你有一定的参考价值。

{pc:content action="lists" catid="33" order="id ASC" num="6" moreinfo="1"}
            {loop $data $val}
                <div class="swiper-slide">
                    <!-- indser_box start -->
                    <div class="indpro_box">
                        <!-- indser_btop  start -->
                        {if $val[‘id‘] == 28}
                        <div class="indpro_btop indpro1">
                            <span class="glyphicon glyphicon-fast-backward" aria-hidden="true"></span>
                        {elseif $val[‘id‘] == 29}
                        <div class="indpro_btop indpro2">
                            <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
                        {elseif $val[‘id‘] == 30}
                        <div class="indpro_btop indpro3">
                            <span class="glyphicon glyphicon-headphones" aria-hidden="true"></span>
                        {elseif $val[‘id‘] == 31}
                        <div class="indpro_btop indpro4">
                            <span class="glyphicon glyphicon-print" aria-hidden="true"></span>    
                        {elseif $val[‘id‘] == 32}
                        <div class="indpro_btop indpro5">
                            <span class="glyphicon glyphicon-print" aria-hidden="true"></span>
                        {elseif $val[‘id‘] == 33}
                        <div class="indpro_btop indpro6">
                            <span class="glyphicon glyphicon-print" aria-hidden="true"></span>
                        {/if}    
                            <h3>{$val[‘title‘]}</h3>
                        </div>
                        <!-- indser_btop end -->
                        
                        <!-- indser_btxt start -->
                        <div class="indpro_btxt">
                            <p>{$val[‘description‘]}</p> 
                            <a class="indpro_btn" href="" role="button">这是按钮</a>
                        </div>
                        <!-- indser_btxt end -->
                    </div>
                <!-- indser_box end -->
              </div>
            {/loop}
            {/pc}

 

以上是关于phpcms之首页组成的主要内容,如果未能解决你的问题,请参考以下文章

phpcms之首页组成

phpcms之首页组成调用

Phpcms v9 实现首页|列表页|内容页调用点击量的代码

phpcms V9 首页模板文件解析(转)

phpcms之调用导航栏

phpcms之文章详情页