J5_07核心团队合作伙伴

weeya1年前JTBC教程265

核心团队team/荣誉资质honor,有列表页,有内容页
{@}
<a href="./?type=detail&amp;id={$id}" class="idxPro_mask">
<img src="{$=$htmlEncode($getValueFromJSON(#avatar, 'fileurl'))}" class="idxPro_img" alt="{$name}" />
</a>
{@}
<jtbc-pagination current-page="{$[pagenum]}" total-page="{$[pagecount]}" url="./?{$=$htmlEncode($request_query_rebuild(['page' => '__page__']))}"></jtbc-pagination>分页
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
合作伙伴partnership/纯图片列表展示,无内页,可做banner图模块
        {@}
        <div class="item">
          <p type="image"><img src="{$=$htmlEncode($getValueFromJSON(#logo, 'fileurl'))}" alt="{$name}" /></p>
        </div>{@}
{$=$render('global.render.partne-div', $fetch(['genre' => 'partnership', 'limit' => 20]))}
首页调用合作伙伴列表

合作伙伴放进公共管理模块下,数据库在表名称前面加上“universal_”即可
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

相关文章

J5_10多语言

多语言/Public/console/common/language/sel_lang.jtbc增加节点不同语言不同模板Public/common/diplomat/index.php修改return...

J5_04产品新闻列表页

1、头尾模板调用代码{$=$take('global.communal.header')}{$=$take('global.communal.footer')}1、模块...

J5伪静态

Public/news/.rewrite的地址重写配置:<?phpreturn [  [    'file' => 'ind...

J5导航条高亮显示js控制on代码

导航菜单实现高亮显示,增加一个js判断,菜单增加一个id调用。1、页脚增加这个判断        <!-- header menu active hove...

J5_08留言模块

联系我们模块放留言板1、/Public/contactus/common/diplomat.index.php文件      $renderer =...

J5_03首页模板

1、头尾模板调用代码{$=$take('global.communal.header')}{$=$take('global.communal.footer')}2、调用...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。