方法一:
qb:tag标签的使用:
{qb:tag name="xxx" table="qb_config" where="c_key=links"}
字段参数中文名称: {$rs.title}
字段变量名: {$rs.c_key}
介绍描述: {$rs.c_descrip}
{/qb:tag}此方法由 https://www.kancloud.cn/php168/x1_of_qibo/2147190 延伸而来
方法二:
Volist标签的使用:
{volist name=":query('config')->where('c_key','links')->select()" id="rs"}
字段参数中文名称: {$rs.title}
字段变量名: {$rs.c_key}
介绍描述: {$rs.c_descrip}
{/volist}此方法由 https://www.kancloud.cn/php168/qibox1style/1933678 延伸而来
以上两种方法是调用数据表中指定的内容
第二种方法已完美运用到“z001、z002、z003响应式企业站模板”中,安装过的可以后台升级一下。
https://x1.php168.com/appstore/content/show/id/189.html
https://x1.php168.com/appstore/content/show/id/462.html
https://x1.php168.com/appstore/content/show/id/732.html