📄 带图片内容列表_商品_普通式.config
字号:
</xsl:otherwise> </xsl:choose> <!-- 是否包含子栏目 --> </xsl:otherwise> </xsl:choose> <!-- 是否推荐结束 --> </xsl:when> <xsl:otherwise> <!-- 是否推荐 --> <xsl:choose> <!-- 设置了推荐,还必须设置推荐的优先级,否则仍然是显示所有文章 --> <xsl:when test="$iselite='true'"> <!-- 是否包含子栏目 --> <xsl:choose> <xsl:when test="$includechild='true'"> <!-- 当arrnodeid为单个栏目ID,parentid=$arrnodeid,arrnodeid=0 --> <xsl:choose> <xsl:when test="pe:Convert2Int($arrnodeid)>0"> {PE.Label id="带图片内容列表_排序方式" parentid="<xsl:value-of select="$arrnodeid" />" arrnodeid="0" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="0" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="PE_U_Product" picurlfieldname="ProductThumb" /} </xsl:when> <xsl:otherwise> {PE.Label id="带图片内容列表_排序方式" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="0" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="PE_U_Product" picurlfieldname="ProductThumb" /} </xsl:otherwise> </xsl:choose> <!-- 判断arrnodeid为单个栏目ID结束 --> </xsl:when> <xsl:otherwise> {PE.Label id="带图片内容列表_排序方式" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="0" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="PE_U_Product" picurlfieldname="ProductThumb" /} </xsl:otherwise> </xsl:choose> <!-- 是否包含子栏目 --> </xsl:when> <xsl:otherwise> <!-- 是否包含子栏目 --> <xsl:choose> <xsl:when test="$includechild='true'"> <!-- 当arrnodeid为单个栏目ID,parentid=$arrnodeid,arrnodeid=0 --> <xsl:choose> <xsl:when test="pe:Convert2Int($arrnodeid)>0"> {PE.Label id="带图片内容列表_排序方式" parentid="<xsl:value-of select="$arrnodeid" />" arrnodeid="0" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="0" elitelevel="0" tablename="PE_U_Product" picurlfieldname="ProductThumb" /} </xsl:when> <xsl:otherwise> {PE.Label id="带图片内容列表_排序方式" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="0" elitelevel="0" tablename="PE_U_Product" picurlfieldname="ProductThumb" /} </xsl:otherwise> </xsl:choose> <!-- 判断arrnodeid为单个栏目ID结束 --> </xsl:when> <xsl:otherwise> {PE.Label id="带图片内容列表_排序方式" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="0" elitelevel="0" tablename="PE_U_Product" picurlfieldname="ProductThumb" /} </xsl:otherwise> </xsl:choose> <!-- 是否包含子栏目 --> </xsl:otherwise> </xsl:choose> <!-- 是否推荐结束 --> </xsl:otherwise> </xsl:choose> <!-- 是否热门结束 --> </xsl:otherwise> </xsl:choose> </xsl:template></xsl:transform>]]></LabelTemplate>
<attributes>
<name>iselite</name>
<default>false</default>
<intro>是否是推荐文章</intro>
</attributes>
<attributes>
<name>datenum</name>
<default>0</default>
<intro>日期范围</intro>
</attributes>
<attributes>
<name>ordertype</name>
<default>1</default>
<intro>排序方式</intro>
</attributes>
<attributes>
<name>imgwidth</name>
<default>150</default>
<intro>图片宽度</intro>
</attributes>
<attributes>
<name>imgheight</name>
<default>150</default>
<intro>图片高度</intro>
</attributes>
<attributes>
<name>titlelen</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<attributes>
<name>contentlen</name>
<default>0</default>
<intro>内容显示最多字符数</intro>
</attributes>
<attributes>
<name>showtips</name>
<default>false</default>
<intro>是否显示链接提示信息</intro>
</attributes>
<attributes>
<name>urltype</name>
<default>0</default>
<intro>链接类型</intro>
</attributes>
<attributes>
<name>hits</name>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>elitelevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
</root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -