📄 内容js幻灯.config
字号:
<root>
<LabelType>其他类</LabelType>
<LabelIntro>
</LabelIntro>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString><![CDATA[SELECT TOP @outputQty *
FROM
PE_CommonModel CM
WHERE
CM.Status = 99 AND
CM.TableName = '@tableName' AND
CM.DefaultPicUrl != ''
ORDER BY
CM.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:param name="height" />
<xsl:param name="width" />
<xsl:param name="imageHeight" />
<xsl:param name="imageWidth" />
<xsl:param name="titleLength"/>
<xsl:output method="html" />
<xsl:template match="/">
<table height="{$height}" cellspacing="0" cellpadding="0" width="{$width}" align="center" border="0">
<tbody>
<tr>
<td>
<div id="bimg">
<xsl:for-each select="/NewDataSet/Table">
<xsl:choose>
<xsl:when test="position() = 1">
<div class="dis">
<a href="{pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle)}" target="_blank">
<img src="{pe:ConvertAbsolutePath(DefaultPicUrl)}" height="{$imageHeight}" width="{$imageWidth}" border="0"/>
</a>
</div>
</xsl:when>
<xsl:otherwise>
<div class="undis">
<a href="{pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle)}" target="_blank">
<img src="{pe:ConvertAbsolutePath(DefaultPicUrl)}" height="{$imageHeight}" width="{$imageWidth}" border="0"/>
</a>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</div>
</td>
</tr>
</tbody>
</table>
<table height="24" cellspacing="0" cellpadding="0" width="{$width}" align="center" border="0">
<tbody>
<tr>
<td class="f14" id="info" width="227">
<xsl:for-each select="/NewDataSet/Table">
<div class="dis">
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')"/>
</div>
</xsl:for-each>
</td>
<td width="59">
<table id="simg" cellspacing="0" cellpadding="2" width="100%" align="right" border="0">
<tbody>
<tr align="middle">
<xsl:for-each select="NewDataSet/Table">
<xsl:choose>
<xsl:when test="position() = 1">
<td class="s">
<xsl:number value="position()" format="1" />
</td>
</xsl:when>
<xsl:otherwise>
<td>
<xsl:number value="position()" format="1" />
</td>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<xsl:if test="count(/NewDataSet/Table) > 0">
<script type="text/javascript">
var count=<xsl:value-of select="count(NewDataSet/Table)"/>;
</script>
<script language="javascript" type="text/javascript" src="{pe:InstallDir()}js/powerpoint.js">
</script>
</xsl:if>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>height</name>
<default>180</default>
<intro>外框高度</intro>
</attributes>
<attributes>
<name>width</name>
<default>298</default>
<intro>外框宽度</intro>
</attributes>
<attributes>
<name>imageHeight</name>
<default>160</default>
<intro>图片高度</intro>
</attributes>
<attributes>
<name>imageWidth</name>
<default>200</default>
<intro>图片宽度</intro>
</attributes>
<attributes>
<name>outputQty</name>
<default>6</default>
<intro>显示数量</intro>
</attributes>
<OutType>
</OutType>
<CacheTime>60</CacheTime>
<attributes>
<name>titleLength</name>
<default>30</default>
<intro>标题最多字符数量</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<attributes>
<name>tableName</name>
<datatype>supersql</datatype>
<default>PE_U_Article</default>
<intro>模型表名{文章模型:PE_U_Article,图片模型:PE_U_Photo,软件模型:PE_U_Soft}</intro>
</attributes>
</root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -