控件类型:
公司控件
控件名称:
公司控件(company)
控件路径:
/sys/8/f8.ascx
示例图片:
控件代码:
<tz:company ID="c1" Css="3" runat="server" title="公司测试" positionIndex="1" isOptimize="false"
isShowMore="false" moreLink="/company_list.aspx" isMergeTop="false" defaultTitle="" typeWordCount="4"
isShowImg="true" isShowImgTitle="true" imgDataCount="1" imgWordCountl="18" imgWidth="120" imgHeight="120"
isShowTop="true" isShowTopDate="true" isShowTopType="true" topDataCount="1" titleWordCount="24"
contentWordCount="90" isShowBottom="true" bottomWordCount="50" isShowBottomDate="true" isShowBottomType="true"
isRequest="true" industryIDs="14,12,15" dataCount="10" dataType="service"/>
控件描述:
属性
|
默认值
|
描述
|
示例
|
Css
|
1
|
设置控件的样式,1代表样式命名
|
|
industryIDs
|
|
设置公司类型ID字符串
|
12,13,14
|
title
|
|
设置此控件的栏目标题
|
|
isShowMore
|
true
|
设置是否显示更多
|
true/false
|
moreLink
|
/news_list.aspx
|
设置更多的链接
|
|
isMergeTop
|
true
|
设置是否合并第一条新闻中的图片和标题
|
true/false
|
isRequest
|
false
|
设置此控件中的内容是否跟着url中的新闻类型ID变化而变化
|
true/false
|
positionIndex
|
0
|
设置此控件在页面的位置索引
|
|
isVouchImg
|
false
|
控件加载时,设置图片为推荐图片
|
true/false
|
isShowImg
|
true
|
设置是否显示图片
|
true/false
|
isShowImgTitle
|
true
|
设置是否显示图片标题
|
true/false
|
imgDataCount
|
1
|
设置显示图片的数量
|
|
imgWordCount
|
18
|
设置图片标题的字数
|
|
imgWidth
|
120
|
设置图片的宽
|
|
imgHeight
|
120
|
设置图片的高
|
|
isShowTop
|
true
|
设置是否显示右上的内容
|
true/false
|
isShowTopType
|
true
|
设置是否显示右上的类型
|
true/false
|
isShowTopDate
|
True
|
是否显示右上的日期
|
true/false
|
topDataCount
|
1
|
设置右上显示数据的数量
|
|
titleWordCount
|
18
|
设置右上的标题的字数
|
|
contentWordCount
|
90
|
设置右上的内容的字数
|
|
isShowBottom
|
true
|
是否显示下面的列表
|
|
bottomWordCount
|
50
|
设置下面标题的字数
|
|
isShowBottomDate
|
true
|
设置是否显示下面的日期
|
true/false
|
isShowBottomType
|
true
|
设置是否显示下面的类型
|
true/false
|
isOptimize
|
false
|
是否设置页面标题,关键字,描述
|
true/false
|
dataCount
|
10
|
设置控件中获取数据的总条数
|
|
dataType
|
service
|
设置获取数据的类型(service从服务器获取,client从本地获取)
|
service/client
|