⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 显示文章一列式栏目列表.config

📁 BizIdea 是基于.net开发平台全新研发的企业级电子商务平台系统
💻 CONFIG
字号:
<root>
  <LabelType>栏目类</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
  <LabelIntro>
  </LabelIntro>
  <OutType>sin</OutType>
  <CacheTime>0</CacheTime>
  <LabelDataType>sql_sysquery</LabelDataType>
  <LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Article A ON (C.ItemID = A.ID) WHERE C.NodeID IN (@nodeArray) AND  C.Status = 99 ORDER BY C.UpdateTime DESC</LabelSqlString>
  <LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:output method="html" />
<xsl:param name="parentId"/>
<xsl:param name="titleLength"/>
<xsl:param name="hits"/>
<xsl:param name="eliteLevel"/>
<xsl:param name="linkOpenType" />
<xsl:template match="/NewDataSet">
<div class="childclass_main_box3">
<div class="c_spacing">
</div>
<div class="childclass_title_border">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</a>
</div>
<div class="s_classlist_title">
<div class="s_classlist_title_r">点击数</div>
<div class="s_classlist_title_c">更新日期</div>
<div class="s_classlist_title_l">属性 所属栏目 文章名称</div>
</div>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>{PE.DataSource id="InfoList" datasource="显示文章栏目循环列表信息" nodeArray="<xsl:value-of select="arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>"  titleLength="<xsl:value-of select="$titleLength"/>"  hits="<xsl:value-of select="$hits"/>"  eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>"  xslt="true" /}{PE.Repeat id="InfoList<xsl:value-of select="NodeID"/>" loop="10"}<div class="s_classlist_text">
<div class="s_classlist_text_r">{PE.field id="InfoList" fieldname="Hits" /}</div>
<div class="s_classlist_text_c">{PE.field id="InfoList" fieldname="UpdateTime" /}</div>
<div class="s_classlist_text_l">{PE.field id="InfoList" fieldname="IncludePic" /}[{PE.field id="InfoList" fieldname="NodePath" /}][{PE.field id="InfoList" fieldname="InfoPath" /}]</div>
</div>{/PE.Repeat}</xsl:otherwise>
</xsl:choose>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
  <attributes>
    <name>outputQty</name>
    <default>10</default>
    <intro>显示个数</intro>
  </attributes>
  <attributes>
    <name>nodeArray</name>
    <default>1</default>
    <intro>栏目ID</intro>
  </attributes>
  <attributes>
    <name>parentId</name>
    <datatype>supersql</datatype>
    <default>0</default>
    <intro>父栏目ID</intro>
  </attributes>
  <attributes>
    <name>titleLength</name>
    <default>20</default>
    <intro>标题最多字符数</intro>
  </attributes>
  <attributes>
    <name>hits</name>
    <datatype>supersql</datatype>
    <default>0</default>
    <intro>热门最小点击数</intro>
  </attributes>
  <attributes>
    <name>eliteLevel</name>
    <default>0</default>
    <intro>推荐优先</intro>
  </attributes>
  <attributes>
    <name>linkOpenType</name>
    <datatype>supersql</datatype>
    <default>2</default>
    <intro>内容链接的打开方式{栏目节点配置取代:2,新窗口:1,原窗口:0}</intro>
  </attributes>
  <EnabelAjax>False</EnabelAjax>
  <IsXsltSql>false</IsXsltSql>
  <IsXsltCountSql>false</IsXsltCountSql>
</root>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -