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

📄 相关商品图片列表.config

📁 BizIdea 是基于.net开发平台全新研发的企业级电子商务平台系统
💻 CONFIG
字号:
<root>
  <LabelType>商城类</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetPicProduct.gif</LabelImage>
  <LabelIntro>
  </LabelIntro>
  <OutType>sin</OutType>
  <LabelDataType>sql_sysquery</LabelDataType>
  <attributes>
    <name>itemId</name>
    <datatype>supersql</datatype>
    <default>1</default>
    <intro>商品信息ID</intro>
  </attributes>
  <LabelSqlString>SELECT TOP @outputQty *
FROM PE_CommonModel M INNER JOIN PE_CommonProduct P 
ON (M.GeneralID = P.ProductId) 
WHERE 
M.TableName=(SELECT TableName FROM PE_CommonModel WHERE GeneralID = @itemId)
AND M.GeneralID != @itemId AND M.LinkType=0 AND M.Status = 99 AND P.EnableSale = 1 
Order BY M.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:template match="/">
<xsl:if test="count(/NewDataSet/Table) = 0" >
<ul>
<li style="color:red">没有相关内容!</li>
</ul>
</xsl:if>
<div class="p_class_list">
<ul>
<xsl:for-each select="/NewDataSet/Table">
<li>
<div class="pe_u_thumb">
<a>
<xsl:attribute name="href">
<xsl:value-of disable-output-escaping="yes" select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle)" />
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:choose>
<xsl:when test="string-length(ProductThumb)=0">
<xsl:value-of select="pe:UpLoadDir()" />nopic.gif</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:ConvertAbsolutePath(ProductThumb)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
</xsl:element>
</a>
</div>
<div class="pe_u_thumb_title">
<a>
<xsl:attribute name="href">
<xsl:value-of disable-output-escaping="yes" select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle)" />
</xsl:attribute>
<xsl:value-of select="pe:CutText(ProductName,24,'…')" />
</a>
</div>
</li>
</xsl:for-each>
</ul>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
  <attributes>
    <name>outputQty</name>
    <datatype>supersql</datatype>
    <default>10</default>
    <intro>输出多少条信息</intro>
  </attributes>
  <EnabelAjax>False</EnabelAjax>
  <IsXsltSql>false</IsXsltSql>
  <IsXsltCountSql>false</IsXsltCountSql>
</root>

⌨️ 快捷键说明

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