ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
需要加载yourphp.js文件 `<script src="__PUBLIC__/Js/yourphp.js"></script>` 模板代码: ~~~ <div id="colee"> <div class="colee_box"> <div id="colee_1" class="div2"> <ul class="pic"> <YP:list order="id desc" catid="T[m_product_catid]" limit="10"> <li><a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{$r[thumb]|thumb=###,120,85}" alt="{$r[title]}" width=120 height=85></a><b><a href="{$r[url]}" target="_blank">{$r[title]|str_cut=###,24}</a></b></li> </YP:list> </ul> </div> <div id="colee_2" class="div2"></div> </div> </div> ~~~ css代码: ~~~ #colee {width:960px;margin:0 auto; background:#000;overflow:hidden;} #colee #div1 {width:960px;white-space:nowrap;} #colee .colee_box {width:1940px;} #colee .div2{float:left;width:960px;;height:117px;font-size:12px;text-align:center;overflow:hidden;} #colee .div2 .pic li img {width:122px;height:85px;border:1px solid #ccc;} #colee .div2 .pic {margin:0;padding:0;width:980px;overflow:hidden;} #colee .div2 .pic li {float:left;margin:10px 17px 0 17px;width:126px;overflow:hidden;line-height:22px;color:#FFF;text-align:center;} #colee .div2 .pic li a {color:#FFF;} ~~~ javascript代码: `<script>donghua('colee')</script>`