数字化技能提升教程,数字化时代生存宝典

数字化百科 / 词条 / YulinCMS SearchForm标签说明

YulinCMS SearchForm标签说明

查看全部词条命名空间:Main

导航: 上一页

功能说明

用于调用搜索表单

适用范围

所有

语法格式

{Yu:SearchForm 属性="属性值" ......}
      // 底层模板 + 底层变量
{/Yu:SearchForm}

标签属性

  • SearchFieldType 搜索字段控件的样式

属性值可以是如下

  1. RadioButtonList 单选按钮列表。
  2. CheckBoxList 复选框列表。
  3. DropDownList 下拉列表框。

不指定该属性,则默认单选按钮列表。

  • SearchResultSortType 搜索结果排序规则控件的样式

属性值可以是如下

  1. RadioButtonList 单选按钮列表。
  2. DropDownList 下拉列表框。

不指定该属性,则默认单选按钮列表。

  • SearchResultOrderType 搜索结果排序方式控件的样式

属性值可以是如下

  1. RadioButtonList 单选按钮列表。
  2. DropDownList 下拉列表框。

不指定该属性,则默认单选按钮列表。

  • SearchResultNumType 搜索结果每页显示数量控件的样式

属性值可以是如下

  1. RadioButtonList 单选按钮列表。
  2. DropDownList 下拉列表框。

不指定该属性,则默认下拉列表框。

  • NormalTemplateName 底层模板名称

底层变量

  • {@SubmitPath/} 提交路径
  • {@SearchKeywordVar/} 搜索关键字参数名
  • {@SearchStartDateVar/} 搜索开始日期参数名
  • {@SearchEndDateVar/} 搜索结束日期参数名
  • {@SearchField/} 搜索字段
  • {@SearchCate/} 搜索栏目
  • {@SearchResultSort/} 搜索结果排序规则
  • {@SearchResultOrder/} 搜索结果排序方式
  • {@SearchResultNum/} 搜索结果每页显示数量

相关条目

参考来源