01 2020 档案
摘要:有时候做列表页需要交替变换样式,那如何实现列表页双样式呢? 在DeDeCMS里面有这样一个函数,可以循环赋予html代码不同的样式,如下: [field:global function=MagicVar("style1","style2")/] 实用举例: <li class='[field:ID
阅读全文
摘要:{dede:channelartlist} <div {dede:global.itemindex runphp='yes'} if((@me %2) == 0){ @me = 'class="pfk_xm pfk_fr"'; } else{ @me = 'class="pfk_xm pfk_fl"
阅读全文
摘要:关键描述调用标签: <meta name="keywords" content="{dede:field name='keywords'/}"><meta name="description" content="{dede:field name='description' function='htm
阅读全文

浙公网安备 33010602011771号