码迷,mamicode.com
首页 > Web开发 > 详细

phpcms之首页组成(二)

时间:2018-01-25 13:13:32      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:hid   art   start   title   wip   war   esc   fast   val   

{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之首页组成(二)

标签:hid   art   start   title   wip   war   esc   fast   val   

原文地址:https://www.cnblogs.com/l979662050/p/8350540.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!