欢迎来到路由器窝!

多选按钮调用判断

浏览次数:

作者: 小编

信息来源:

更新日期: 2023-10-15 21:31

文章简介

{pboot:select field=ext_zonglei}{pboot:if([select:i]==1)} <button type="button" class="filter-btn" data-

  • 正文开始
  • 相关文章
{pboot:select field=ext_zonglei}
{pboot:if([select:i]==1)}
 <button type="button" class="filter-btn" data-cat="[select:value]"<span class="filter-icon"><img src="/wp/wp-content/themes/scene/img/icon_production_white.svg" width="24" alt=""></span>PRODUCTION</button>
{/pboot:if}
{pboot:if([select:i]==2)}
<button type="button" class="filter-btn" data-cat="[select:value]"><span class="filter-icon"><i class="fa fa-bullhorn" aria-hidden="true"></i></span>DIRECTION</button>
{/pboot:if}
{pboot:if([select:i]==3)}
<button type="button" class="filter-btn" data-cat="[select:value]"><span class="filter-icon"><img src="/wp/wp-content/themes/scene/img/icon_shooting_white.svg" width="24" alt=""></span>SHOOTING</button>
{/pboot:if}
{pboot:if([select:i]==4)}
<button type="button" class="filter-btn" data-cat="[select:value]"><span class="filter-icon"><img src="/wp/wp-content/themes/scene/img/icon_edit_white.svg" width="24" alt=""></span>EDIT</button>
{/pboot:if}
{pboot:if([select:i]==5)}
<button type="button" class="filter-btn" data-cat="[select:value]"><span class="filter-icon"><img src="/wp/wp-content/themes/scene/img/icon_colorgrading_white.svg" width="24" alt=""></span>COLOR GRADING</button>
{/pboot:if}
{pboot:if([select:i]==6)}
<button type="button" class="filter-btn" data-cat="[select:value]"><span class="filter-icon"><img src="/wp/wp-content/themes/scene/img/icon_design_white.svg" width="24" alt=""></span>DESIGN</button>
{/pboot:if}
{/pboot:select}

{pboot:checkbox id="[list:id]" field="ext_zonglei"}{pboot:if([checkbox:text]==production)}production {/pboot:if}{pboot:if([checkbox:text]==direction)}direction {/pboot:if}{pboot:if([checkbox:text]==shooting)}shooting {/pboot:if}{pboot:if([checkbox:text]==edit)}edit {/pboot:if}{pboot:if([checkbox:text]==colorgrading)}colorgrading {/pboot:if}{pboot:if([checkbox:text]==design)}design {/pboot:if}{/pboot:checkbox}{pboot:checkbox id="[list:id]" field="ext_splx"}{pboot:if([checkbox:text]==web)}web {/pboot:if}{pboot:if([checkbox:text]==tv)}tv {/pboot:if}{pboot:if([checkbox:text]==tvcm)}tvcm {/pboot:if}{pboot:if([checkbox:text]==mv)}mv {/pboot:if}{pboot:if([checkbox:text]==documentary)}documentary {/pboot:if}{pboot:if([checkbox:text]==casevideo)}casevideo {/pboot:if}{pboot:if([checkbox:text]==vp)}vp {/pboot:if}{pboot:if([checkbox:text]==opening)}opening {/pboot:if}{pboot:if([checkbox:text]==digitalsignage)}digitalsignage {/pboot:if}{pboot:if([checkbox:text]==stage)}stage {/pboot:if}{pboot:if([checkbox:text]==live)}live {/pboot:if}{pboot:if([checkbox:text]==film)}film {/pboot:if}{/pboot:checkbox}


转载请注明:Pbootcms» 多选按钮调用判断

标签:
  • 当前三级栏目高亮,二级栏目高亮,加显示不显示
    725阅读
    二级高亮显示不显示{pboot:nav parent={sort:tcode}}{pboot:if('[nav:scode]'=='{sort:scode}')}<h3 class="on"
  • PbootCMS Word+Excel导入插件
    1020阅读
    第一步:先下载插件压缩包然后解压得到如下文件第二步:将apps文件夹与PhpOffice文件夹拷贝到站点根目录直接覆盖,这里并没有覆盖任何官方文件,当然,有担忧的或者闲着蛋疼的可以一个个文件对应复制也行第三步:打开/config/route.php文件,添加自定义路由,然后保存,顶部已有官方说明升级不覆盖,还有什么可担...
  • pbootcms栏目添加字段
    375阅读
    添加栏目简介内容-字段名字为:sortdesc 更改模板文件/apps/admin/view/default/content/contentsort.html 搜索栏目副名 在下层面加入 div class=layui-form-item label class=layui-form-label栏目简介/label d...
  • pbootcms表单验证
    776阅读
    <form name="feedback" method="post" enctype="multipart/form-data" action="{pboot:msgaction}"><div class="r...
  • 自定义多图调用
    951阅读
    {pboot:pics num=10 id={content:id} field=ext_duotu}[pics:src] {/pboot:pics}
  • 自定义多图添加标题
    792阅读
    添加一个自定义多图。然后在添加一个自定义多图的单行文本 标题用,号分开内容页面可以调用<script language="javascript"> str="{content:ext_spmc}"; //这是一字符串 视频标题str2="{content:e...
  • 多文件上传pbootcms
    638阅读
    更改多图上传扩展名 \apps\admin\view\default\layui\lay\modules\upload.js \apps\admin\view\default\layui\layui.all.js两个文件
  • pbootcms 搜索多模板样式
    644阅读
    <form class="f16 d-flex justify-content-between" action="{pboot:scaction}" method="get"> <input type=&qu...
  • 表单验证
    692阅读
    <button class="a1 active" type="submit" id="tj">提交</button> <script>$(function(){$('#tj').cli...
上一页:轮播多图添加副标题
下一页:多图其他添加desc,desca 禁止,过滤吧里面的,改成不常用的符号即可-
最近更新作品
PbootCMS模板后台内容列表增加自定义字段显示
更新时间:2024-04-13

574人已经看过了!

PbootCMS后台列表页搜索字段修改为自定义字段
更新时间:2024-03-20

596人已经看过了!

图片居中显示
更新时间:2023-10-16

510人已经看过了!

多选按钮调用判断
更新时间:2023-10-15

776人已经看过了!

轮播多图添加副标题
更新时间:2023-08-08

794人已经看过了!

幻灯片添加一个副图片
更新时间:2023-07-18

641人已经看过了!

自定义多图添加标题
更新时间:2023-07-18

792人已经看过了!

pbootcms 搜索多模板样式
更新时间:2023-07-18

644人已经看过了!

pbootcms 幻灯片添加第二个图片
更新时间:2023-06-29

874人已经看过了!