效果如下:
![](https://images.cnblogs.com/cnblogs_com/hary/21.jpg)
方法:找到站点下的Style Library——》XSL Style Sheets——》ItemStyle.xsl文件
在最后一行</xsl:stylesheet>前加上
![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
<xsl:template name="MyStyle" match="Row[@Style='MyStyle']" mode="itemstyle">
<xsl:variable name="SafeImageUrl">
<xsl:call-template name="OuterTemplate.GetSafeStaticUrl">
<xsl:with-param name="UrlColumnName" select="'ImageUrl'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="SafeLinkUrl">
<xsl:call-template name="OuterTemplate.GetSafeLink">
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="DisplayTitle">
<xsl:call-template name="OuterTemplate.GetTitle">
<xsl:with-param name="Title" select="@Title"/>
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="LinkTarget">
<xsl:if test="@OpenInNewWindow = 'True'" >_blank</xsl:if>
</xsl:variable>
<div class="link-item">
<xsl:call-template name="OuterTemplate.CallPresenceStatusIconTemplate"/>
<table style=" 95%">
<tr>
<td><img src="_layouts/images/square.gif"/></td>
<td style=" 50%">
<a href="{$SafeLinkUrl}" target="{$LinkTarget}" title="{@LinkToolTip}">
<xsl:value-of select="$DisplayTitle"/>
</a>
</td>
<td style=" 20%" align="left">
<xsl:value-of select="@Author" />
</td>
<td align="left">
<div class="description">
<xsl:value-of select="@Modified" />
</div>
</td>
</tr>
</table>
</div>
</xsl:template>
![](https://images.cnblogs.com/cnblogs_com/hary/%E6%9C%AA%E5%91%BD%E5%90%8D.jpg)