织梦,dedeCMS代码提示(标签提示)(自编)
该代码提示功能是HbuilderX中html自定义代码块。
好处在于对于不熟悉织梦标签的人,可以通过输入关键词查找,对于已经熟悉织梦标签的人,可以直接输入关键词后半部分,出现整段织梦代码,而不用复制粘贴,也不用自己写一整段。
1,导入到HbuilderX:
打开HbuilderX,然后最上方工具栏:工具》代码块设置》HTML代码块,右边的为自定义提示功能,粘贴到右边区域,保存即可。
(修改日期为2022年1月26日,用了一年了,按照编程习惯再次修改提示部分。)
{
// 注意:本文档仅支持单行注释,并且'//'前不能有任何非空字符!!!
//
// HBuilderX使用json扩展代码块,兼容vscode的代码块格式
// 本文档修改完毕,保存即可生效,无需重启。
// 本文档用于用户自定义html代码块。
// 每个配置项的说明如下:
// "key" :代码块显示名称,显示在代码助手列表中的名字,以下例子中"console.log"就是一个key。
// "prefix" :代码块的触发字符,就是敲什么字母匹配这个代码块。
// "body" :代码块的内容。内容中有如下特殊格式
// $1 表示代码块输入后光标的所在位置。如需要多光标,就在多个地方配置$1,如该位置有预置数据,则写法是${1:foo1}。多选项即下拉候选列表使用${1:foo1/foo2/foo3}
// $2 表示代码块输入后再次按tab后光标的切换位置tabstops(代码块展开后按tab可以跳到下一个tabstop)
// $0代表代码块输入后最终光标的所在位置(也可以按回车直接跳过去)。
// 双引号使用'转义
// 换行使用多个数组表示,每个行一个数组,用双引号包围,并用逗号分隔
// 缩进需要用\t表示,不能直接输入缩进!
// "triggerAssist" :为true表示该代码块输入到文档后立即在第一个tabstop上触发代码提示,拉出代码助手,默认为false。
// 每个代码块以key为主键,多个代码块需要逗号分隔。
// 如果json语法不合法,底部会弹出错误信息,请注意修正。
// 例子:
// "console.log": {
// "prefix": "logtwo",
// "body": [
// "console.log('$1');",
// "\tconsole.log('$2');"
// ],
// "triggerAssist": false,
// "description": "Log output to console twice"
// }
//织梦常用字段
"ф{}": {
"body": [
"{dede:$0/}"
],
"prefix": "dede",
"scope": "text.html.basic"
},
"ф【field】": {
"body": [
"[field:$0/]"
],
"prefix": "dede.field",
"scope": "text.html.basic"
},
"ф{field}": {
"body": [
"{dede:field.$0/}"
],
"prefix": "dede.field",
"scope": "text.html.basic"
},
//织梦通用标签
"фN{list}文章列表": {
"body": [
"{dede:list pagesize='$1'}",
" $0",
"{/dede:list}"
],
"prefix": "dede.n.list",
"scope": "text.html.basic"
},
"фN{channel}栏目列表": {
"body": [
"{dede:channel typeid=$1}",
" $0",
"{/dede:channel}"
],
"prefix": "dede.n.channel",
"scope": "text.html.basic"
},
"фN{arclist}文章列表": {
"body": [
"{dede:arclist row='$1' titlelen=100 addfields='' channelid='1'}",
" $0",
"{/dede:arclist}"
],
"prefix": "dede.n.arclist",
"scope": "text.html.basic"
},
"фN{channelartlist}": {
"body": [
"{dede:channelartlist typeid=1}",
" $0",
"{/dede:channelartlist}"
],
"prefix": "dede.n.channelartlist",
"scope": "text.html.basic"
},
"фN{type}栏目类型": {
"body": [
"{dede:type typeid='$1'}",
" $0",
"{/dede:type}"
],
"prefix": "dede.n.type",
"scope": "text.html.basic"
},
"фN{pagelist}分页列表": {
"body": [
"{dede:pagelist listsize='4' listitem='index pre pageno next end maininfo'/}"
],
"prefix": "dede.n.pagelist",
"scope": "text.html.basic"
},
"фN{position}当前位置": {
"body": [
"{dede:field name='position'/}"
],
"prefix": "dede.n.position",
"scope": "text.html.basic"
},
"фN{pre}上一篇文章": {
"body": [
"{dede:prenext get='pre'/}"
],
"prefix": "dede.n.pre",
"scope": "text.html.basic"
},
"фN{next}下一篇文章": {
"body": [
"{dede:prenext get='next'/}"
],
"prefix": "dede.n.next",
"scope": "text.html.basic"
},
"фN{flink}友情链接": {
"body": [
"{dede:flink row='24' linktype='2'/}"
],
"prefix": "dede.n.flink",
"scope": "text.html.basic"
},
"фN{pubdate}日期": {
"body": [
"{dede:field name='pubdate' function=\"strftime('%Y-%m-%d %H:%M:%S',@me)\"/}"
],
"prefix": "dede.n.pubdate",
"scope": "text.html.basic"
},
"фN{sql}sql语句": {
"body": [
"{dede:sql sql='$0'/}"
],
"prefix": "dede.n.sql",
"scope": "text.html.basic"
},
"фN【pubdate】日期": {
"body": [
"[field:pubdate function=\"strftime('%Y-%m-%d %H:%M:%S',@me)\"/]"
],
"prefix": "dede.n.pubdate",
"scope": "text.html.basic"
},
"фN{likearticle}相似文章列表": {
"body": [
"{dede:likearticle}",
" $0",
"{/dede:likearticle}"
],
"prefix": "dede.n.likearticle",
"scope": "text.html.basic"
},
//织梦系统参数
"фG{}": {
"body": [
"{dede:global.$0/}"
],
"prefix": "dede.global",
"scope": "text.html.basic"
},
"фG{cfg_basehost}网站根网址": {
"body": [
"{dede:global.cfg_basehost/}"
],
"prefix": "dede.g.cfg_basehost",
"scope": "text.html.basic"
},
"фG{cfg_indexurl}主页链接": {
"body": [
"{dede:global.cfg_indexurl/}"
],
"prefix": "dede.g.cfg_indexurl",
"scope": "text.html.basic"
},
"фG{cfg_indexname}主页链接名": {
"body": [
"{dede:global.cfg_indexname/}"
],
"prefix": "dede.g.cfg_indexname",
"scope": "text.html.basic"
},
"фG{cfg_webname}网站名称": {
"body": [
"{dede:global.cfg_webname/}"
],
"prefix": "dede.g.cfg_webname",
"scope": "text.html.basic"
},
"фG{cfg_keywords}网站关键字": {
"body": [
"{dede:global.cfg_keywords/}"
],
"prefix": "dede.g.cfg_keywords",
"scope": "text.html.basic"
},
"фG{cfg_powerby}网站版权信息": {
"body": [
"{dede:global.cfg_powerby/}"
],
"prefix": "dede.g.cfg_powerby",
"scope": "text.html.basic"
},
"фG{fg_beian}网站备案号": {
"body": [
"{dede:global.cfg_beian/}"
],
"prefix": "dede.g.cfg_beian",
"scope": "text.html.basic"
},
"фG{cfg_description}网站描述": {
"body": [
"{dede:global.cfg_description/}"
],
"prefix": "dede.g.cfg_description",
"scope": "text.html.basic"
},
"фG{cfg_tell}联系电话": {
"body": [
"{dede:global.cfg_tell/}"
],
"prefix": "dede.g.cfg_tell",
"scope": "text.html.basic"
},
"фG{cfg_address}公司地址": {
"body": [
"{dede:global.cfg_address/}"
],
"prefix": "dede.g.cfg_address",
"scope": "text.html.basic"
},
"фG{cfg_mail}公司邮箱": {
"body": [
"{dede:global.cfg_mail/}"
],
"prefix": "dede.g.cfg_mail",
"scope": "text.html.basic"
},
"фG{cfg_youbian}邮编": {
"body": [
"{dede:global.cfg_youbian/}"
],
"prefix": "dede.g.cfg_youbian",
"scope": "text.html.basic"
},
"фG{cfg_templets_skin}样式路径": {
"body": [
"{dede:global.cfg_templets_skin/}"
],
"prefix": "dede.g.cfg_templets_skin",
"scope": "text.html.basic"
},
"фG{cfg_logo}样式路径": {
"body": [
"{dede:global.cfg_logo/}"
],
"prefix": "dede.g.cfg_logo",
"scope": "text.html.basic"
},
//织梦加入文件
"фI{header.htm}头部文件": {
"body": [
"{dede:include filename='header.htm'/}"
],
"prefix": "dede.i.header.htm",
"scope": "text.html.basic"
},
"фI{footer.htm}底部文件": {
"body": [
"{dede:include filename='footer.htm'/}"
],
"prefix": "dede.i.footer.htm",
"scope": "text.html.basic"
},
//织梦栏目字段
"фC{typename}栏目名": {
"body": [
"{dede:field name='typename'/}"
],
"prefix": "dede.c.typename",
"scope": "text.html.basic"
},
"фC{content}栏目内容": {
"body": [
"{dede:field.content/}"
],
"prefix": "dede.c.content",
"scope": "text.html.basic"
},
"фC{seotitle}栏目SEO标题": {
"body": [
"{dede:field.seotitle/}"
],
"prefix": "dede.c.seotitle",
"scope": "text.html.basic"
},
"фC{typeurl}栏目链接地址": {
"body": [
"{dede:field.typeurl/}"
],
"prefix": "dede.c.typeurl",
"scope": "text.html.basic"
},
"фN{description}栏目/文章描述": {
"body": [
"{dede:field.description/}"
],
"prefix": "dede.n.description",
"scope": "text.html.basic"
},
"фN{id}栏目/文章id号": {
"body": [
"{dede:field.id/}"
],
"prefix": "dede.n.id",
"scope": "text.html.basic"
},
//循环体内字段
"фC【typename】栏目名": {
"body": [
"[field:typename/]"
],
"prefix": "dede.c.typename",
"scope": "text.html.basic"
},
"фC【content】栏目内容": {
"body": [
"[field:content/]"
],
"prefix": "dede.c.content",
"scope": "text.html.basic"
},
"фC【seotitle】栏目SEO标题": {
"body": [
"[field:seotitle/]"
],
"prefix": "dede.c.seotitle",
"scope": "text.html.basic"
},
"фC【typelink】栏目链接地址": {
"body": [
"[field:typelink/]"
],
"prefix": "dede.c.typelink",
"scope": "text.html.basic"
},
"фC【typeurl】栏目链接地址": {
"body": [
"[field:typeurl/]"
],
"prefix": "dede.c.typeurl",
"scope": "text.html.basic"
},
"фN【description】栏目/文章描述": {
"body": [
"[field:description function='cn_substr(@me,100)'/]"
],
"prefix": "dede.n.description",
"scope": "text.html.basic"
},
"фN【id】栏目/文章id号": {
"body": [
"[field:id/]"
],
"prefix": "dede.n.id",
"scope": "text.html.basic"
},
//织梦文章字段
"фA{title}文章标题": {
"body": [
"{dede:field.title/}"
],
"prefix": "dede.a.title",
"scope": "text.html.basic"
},
"фA{body}文章内容": {
"body": [
"{dede:field.body/}"
],
"prefix": "dede.a.body",
"scope": "text.html.basic"
},
"фA{writer}文章作者": {
"body": [
"{dede:field name='writer'/}"
],
"prefix": "dede.a.writer",
"scope": "text.html.basic"
},
"фA{litpic}文章略缩图": {
"body": [
"{dede:field name='litpic'/}"
],
"prefix": "dede.a.litpic",
"scope": "text.html.basic"
},
"фA{shorttitle}文章短标题": {
"body": [
"{dede:field name='shorttitle'/}"
],
"prefix": "dede.a.shorttitle",
"scope": "text.html.basic"
},
"фN{keywords}栏目/文章链关键词": {
"body": [
"{dede:field name='keywords'/}"
],
"prefix": "dede.n.keywords",
"scope": "text.html.basic"
},
"фA{click}文章短标题": {
"body": [
"{dede:field name='click'/}"
],
"prefix": "dede.a.click",
"scope": "text.html.basic"
},
"фA{productimagelist}图片集列表": {
"body": [
"{dede:productimagelist}",
"[field:imgsrc/]",
"{/dede:productimagelist}"
],
"prefix": "dede.a.productimagelist",
"scope": "text.html.basic"
},
//织梦循环体内字段
"фA【title】文章标题": {
"body": [
"[field:title/]"
],
"prefix": "dede.a.title",
"scope": "text.html.basic"
},
"фA【body】文章内容": {
"body": [
"[field:body/]"
],
"prefix": "dede.a.body",
"scope": "text.html.basic"
},
"фA【writer】文章作者": {
"body": [
"[field:writer/]"
],
"prefix": "dede.a.writer",
"scope": "text.html.basic"
},
"фA【litpic】文章略缩图": {
"body": [
"[field:litpic/]"
],
"prefix": "dede.a.litpic",
"scope": "text.html.basic"
},
"фA【acrurl】文章链接地址": {
"body": [
"[field:arcurl/]"
],
"prefix": "dede.a.acrurl",
"scope": "text.html.basic"
},
"фA【shorttitle】文章短标题": {
"body": [
"[field:shorttitle/]"
],
"prefix": "dede.a.shorttitle",
"scope": "text.html.basic"
},
"фN【keywords】栏目/文章链关键词": {
"body": [
"[field:keywords/]"
],
"prefix": "dede.n.keywords",
"scope": "text.html.basic"
},
"фA【click】文章点击数": {
"body": [
"[field:click/]"
],
"prefix": "dede.a.click",
"scope": "text.html.basic"
},
//其他字段
"/templets/default/images/图片路径": {
"body": [
"/templets/default/images/"
],
"prefix": "templets/default/images/",
"scope": "text.html.basic"
}
}
2,如何使用:
фA代表只能用在文章方面的标签。
фC代表只能用在方面栏目的标签。
фN代表是通用的标签,看情况而定。
фI代表dede:include所用到的文件。
фG代表是系统基本参数,备案,站点描述等。
фA【xxx】则代表使用的是中括号[]。例如:[field:click/]
фA{xxx}则代表使用的是大括号{}。例如:{dede:field name='click'/}
同样,如果遗忘了某一些标签,可以通过关键词。
dede是出现所有该提示。
dede.a.是出现有关于文章的标签提示。
dede.c.是出现有关于栏目的标签提示。
以此类推。
3,什么情况不能出现代码提示:
在标签<script></script>或者<style></style>这样的标签内无法出现提示。
在字符串内如scr="",href=""同样无法出现提示。
在标签内属性填写的地方同样无法触发,例如<a href='' /特指这块区域/ >
效果如图:

转载请标记出处
{ // 注意:本文档仅支持单行注释,并且'//'前不能有任何非空字符!!! // // HBuilderX使用json扩展代码块,兼容vscode的代码块格式 // 本文档修改完毕,保存即可生效,无需重启。 // 本文档用于用户自定义html代码块。 // 每个配置项的说明如下: // "key" :代码块显示名称,显示在代码助手列表中的名字,以下例子中"console.log"就是一个key。 // "prefix" :代码块的触发字符,就是敲什么字母匹配这个代码块。 // "body" :代码块的内容。内容中有如下特殊格式 // $1 表示代码块输入后光标的所在位置。如需要多光标,就在多个地方配置$1,如该位置有预置数据,则写法是${1:foo1}。多选项即下拉候选列表使用${1:foo1/foo2/foo3} // $2 表示代码块输入后再次按tab后光标的切换位置tabstops(代码块展开后按tab可以跳到下一个tabstop) // $0代表代码块输入后最终光标的所在位置(也可以按回车直接跳过去)。 // 双引号使用'转义 // 换行使用多个数组表示,每个行一个数组,用双引号包围,并用逗号分隔 // 缩进需要用\t表示,不能直接输入缩进! // "triggerAssist" :为true表示该代码块输入到文档后立即在第一个tabstop上触发代码提示,拉出代码助手,默认为false。 // 每个代码块以key为主键,多个代码块需要逗号分隔。 // 如果json语法不合法,底部会弹出错误信息,请注意修正。 // 例子: // "console.log": { // "prefix": "logtwo", // "body": [ // "console.log('$1');", // "\tconsole.log('$2');" //], //"triggerAssist": false, //"description": "Log output to console twice" // }//织梦常用字段"ф{}": { "body": [ "{dede:$0/}" ], "prefix": "dede", "scope": "text.html.basic"},"ф【field】": { "body": [ "[field:$0/]" ], "prefix": "dede.field", "scope": "text.html.basic"},"ф{field}": { "body": [ "{dede:field.$0/}" ], "prefix": "dede.field", "scope": "text.html.basic"},//织梦通用标签"фN{list}文章列表": { "body": [ "{dede:list pagesize='$1'}","$0","{/dede:list}" ], "prefix": "dede.n.list", "scope": "text.html.basic"},"фN{channel}栏目列表": { "body": [ "{dede:channel typeid=$1}","$0","{/dede:channel}" ], "prefix": "dede.n.channel", "scope": "text.html.basic"},"фN{arclist}文章列表": { "body": [ "{dede:arclist row='$1' titlelen=100 addfields='' channelid='1'}","$0","{/dede:arclist}" ], "prefix": "dede.n.arclist", "scope": "text.html.basic"},"фN{channelartlist}": { "body": [ "{dede:channelartlist typeid=1}","$0","{/dede:channelartlist}" ], "prefix": "dede.n.channelartlist", "scope": "text.html.basic"},"фN{type}栏目类型": { "body": [ "{dede:type typeid='$1'}","$0","{/dede:type}" ], "prefix": "dede.n.type", "scope": "text.html.basic"},"фN{pagelist}分页列表": { "body": [ "{dede:pagelist listsize='4' listitem='index pre pageno next end maininfo'/}" ], "prefix": "dede.n.pagelist", "scope": "text.html.basic"},"фN{position}当前位置": { "body": [ "{dede:field name='position'/}" ], "prefix": "dede.n.position", "scope": "text.html.basic"},"фN{pre}上一篇文章": { "body": [ "{dede:prenext get='pre'/}" ], "prefix": "dede.n.pre", "scope": "text.html.basic"},"фN{next}下一篇文章": { "body": [ "{dede:prenext get='next'/}" ], "prefix": "dede.n.next", "scope": "text.html.basic"},"фN{flink}友情链接": { "body": [ "{dede:flink row='24' linktype='2'/}" ], "prefix": "dede.n.flink", "scope": "text.html.basic"},"фN{pubdate}日期": { "body": [ "{dede:field name='pubdate' function=\"strftime('%Y-%m-%d %H:%M:%S',@me)\"/}" ], "prefix": "dede.n.pubdate", "scope": "text.html.basic"},"фN{sql}sql语句": { "body": [ "{dede:sql sql='$0'/}" ], "prefix": "dede.n.sql", "scope": "text.html.basic"},"фN【pubdate】日期": { "body": [ "[field:pubdate function=\"strftime('%Y-%m-%d %H:%M:%S',@me)\"/]" ], "prefix": "dede.n.pubdate", "scope": "text.html.basic"},"фN{likearticle}相似文章列表": { "body": [ "{dede:likearticle}","$0","{/dede:likearticle}" ], "prefix": "dede.n.likearticle", "scope": "text.html.basic"},//织梦系统参数"фG{}": { "body": [ "{dede:global.$0/}" ], "prefix": "dede.global", "scope": "text.html.basic"},"фG{cfg_basehost}网站根网址": { "body": [ "{dede:global.cfg_basehost/}" ], "prefix": "dede.g.cfg_basehost", "scope": "text.html.basic"},"фG{cfg_indexurl}主页链接": { "body": [ "{dede:global.cfg_indexurl/}" ], "prefix": "dede.g.cfg_indexurl", "scope": "text.html.basic"},"фG{cfg_indexname}主页链接名": { "body": [ "{dede:global.cfg_indexname/}" ], "prefix": "dede.g.cfg_indexname", "scope": "text.html.basic"},"фG{cfg_webname}网站名称": { "body": [ "{dede:global.cfg_webname/}" ], "prefix": "dede.g.cfg_webname", "scope": "text.html.basic"},"фG{cfg_keywords}网站关键字": { "body": [ "{dede:global.cfg_keywords/}" ], "prefix": "dede.g.cfg_keywords", "scope": "text.html.basic"},"фG{cfg_powerby}网站版权信息": { "body": [ "{dede:global.cfg_powerby/}" ], "prefix": "dede.g.cfg_powerby", "scope": "text.html.basic"},"фG{fg_beian}网站备案号": { "body": [ "{dede:global.cfg_beian/}" ], "prefix": "dede.g.cfg_beian", "scope": "text.html.basic"},"фG{cfg_description}网站描述": { "body": [ "{dede:global.cfg_description/}" ], "prefix": "dede.g.cfg_description", "scope": "text.html.basic"},"фG{cfg_tell}联系电话": { "body": [ "{dede:global.cfg_tell/}" ], "prefix": "dede.g.cfg_tell", "scope": "text.html.basic"},"фG{cfg_address}公司地址": { "body": [ "{dede:global.cfg_address/}" ], "prefix": "dede.g.cfg_address", "scope": "text.html.basic"},"фG{cfg_mail}公司邮箱": { "body": [ "{dede:global.cfg_mail/}" ], "prefix": "dede.g.cfg_mail", "scope": "text.html.basic"},"фG{cfg_youbian}邮编": { "body": [ "{dede:global.cfg_youbian/}" ], "prefix": "dede.g.cfg_youbian", "scope": "text.html.basic"},"фG{cfg_templets_skin}样式路径": { "body": [ "{dede:global.cfg_templets_skin/}" ], "prefix": "dede.g.cfg_templets_skin", "scope": "text.html.basic"},"фG{cfg_logo}样式路径": { "body": [ "{dede:global.cfg_logo/}" ], "prefix": "dede.g.cfg_logo", "scope": "text.html.basic"},//织梦加入文件"фI{header.htm}头部文件": { "body": [ "{dede:include filename='header.htm'/}" ], "prefix": "dede.i.header.htm", "scope": "text.html.basic"},"фI{footer.htm}底部文件": { "body": [ "{dede:include filename='footer.htm'/}" ], "prefix": "dede.i.footer.htm", "scope": "text.html.basic"},//织梦栏目字段"фC{typename}栏目名": { "body": [ "{dede:field name='typename'/}" ], "prefix": "dede.c.typename", "scope": "text.html.basic"},"фC{content}栏目内容": { "body": [ "{dede:field.content/}" ], "prefix": "dede.c.content", "scope": "text.html.basic"},"фC{seotitle}栏目SEO标题": { "body": [ "{dede:field.seotitle/}" ], "prefix": "dede.c.seotitle", "scope": "text.html.basic"},"фC{typeurl}栏目链接地址": { "body": [ "{dede:field.typeurl/}" ], "prefix": "dede.c.typeurl", "scope": "text.html.basic"},"фN{description}栏目/文章描述": { "body": [ "{dede:field.description/}" ], "prefix": "dede.n.description", "scope": "text.html.basic"},"фN{id}栏目/文章id号": { "body": [ "{dede:field.id/}" ], "prefix": "dede.n.id", "scope": "text.html.basic"},//循环体内字段"фC【typename】栏目名": { "body": [ "[field:typename/]" ], "prefix": "dede.c.typename", "scope": "text.html.basic"},"фC【content】栏目内容": { "body": [ "[field:content/]" ], "prefix": "dede.c.content", "scope": "text.html.basic"},"фC【seotitle】栏目SEO标题": { "body": [ "[field:seotitle/]" ], "prefix": "dede.c.seotitle", "scope": "text.html.basic"},"фC【typelink】栏目链接地址": { "body": [ "[field:typelink/]" ], "prefix": "dede.c.typelink", "scope": "text.html.basic"},"фC【typeurl】栏目链接地址": { "body": [ "[field:typeurl/]" ], "prefix": "dede.c.typeurl", "scope": "text.html.basic"},"фN【description】栏目/文章描述": { "body": [ "[field:description function='cn_substr(@me,100)'/]" ], "prefix": "dede.n.description", "scope": "text.html.basic"},"фN【id】栏目/文章id号": { "body": [ "[field:id/]" ], "prefix": "dede.n.id", "scope": "text.html.basic"},//织梦文章字段"фA{title}文章标题": { "body": [ "{dede:field.title/}" ], "prefix": "dede.a.title", "scope": "text.html.basic"},"фA{body}文章内容": { "body": [ "{dede:field.body/}" ], "prefix": "dede.a.body", "scope": "text.html.basic"},"фA{writer}文章作者": { "body": [ "{dede:field name='writer'/}" ], "prefix": "dede.a.writer", "scope": "text.html.basic"},"фA{litpic}文章略缩图": { "body": [ "{dede:field name='litpic'/}" ], "prefix": "dede.a.litpic", "scope": "text.html.basic"},"фA{shorttitle}文章短标题": { "body": [ "{dede:field name='shorttitle'/}" ], "prefix": "dede.a.shorttitle", "scope": "text.html.basic"},"фN{keywords}栏目/文章链关键词": { "body": [ "{dede:field name='keywords'/}" ], "prefix": "dede.n.keywords", "scope": "text.html.basic"},"фA{click}文章短标题": { "body": [ "{dede:field name='click'/}" ], "prefix": "dede.a.click", "scope": "text.html.basic"},"фA{productimagelist}图片集列表": { "body": [ "{dede:productimagelist}", "[field:imgsrc/]", "{/dede:productimagelist}" ], "prefix": "dede.a.productimagelist", "scope": "text.html.basic"},//织梦循环体内字段"фA【title】文章标题": { "body": [ "[field:title/]" ], "prefix": "dede.a.title", "scope": "text.html.basic"},"фA【body】文章内容": { "body": [ "[field:body/]" ], "prefix": "dede.a.body", "scope": "text.html.basic"},"фA【writer】文章作者": { "body": [ "[field:writer/]" ], "prefix": "dede.a.writer", "scope": "text.html.basic"},"фA【litpic】文章略缩图": { "body": [ "[field:litpic/]" ], "prefix": "dede.a.litpic", "scope": "text.html.basic"},"фA【acrurl】文章链接地址": { "body": [ "[field:arcurl/]" ], "prefix": "dede.a.acrurl", "scope": "text.html.basic"},"фA【shorttitle】文章短标题": { "body": [ "[field:shorttitle/]" ], "prefix": "dede.a.shorttitle", "scope": "text.html.basic"},"фN【keywords】栏目/文章链关键词": { "body": [ "[field:keywords/]" ], "prefix": "dede.n.keywords", "scope": "text.html.basic"},"фA【click】文章点击数": { "body": [ "[field:click/]" ], "prefix": "dede.a.click", "scope": "text.html.basic"},//其他字段"/templets/default/images/图片路径": { "body": [ "/templets/default/images/" ], "prefix": "templets/default/images/", "scope": "text.html.basic"}}

浙公网安备 33010602011771号