#jankzform.html 模板应用
> v1.0 更新说明
~~~
<extend name="./Apps/JankzMaker/View/Public/main.html" />
<block name="metatitle">
<title>{{$meta_title}}</title>
</block>
<block name="my_css"></block>
<block name="main">
<form method="post" class="ui form attached segment" action="{{$post_url}}">
<div class="ui text container">
<div class="ui top attached inverted header">{{$meta_title}}</div>
<div class="buttom attached segment">
<!-- 此处不分栏即默认是一栏显示 -->
<if condition="$set_coulmn eq 1">
<div class="field">
<volist name="form_items" id="item">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</volist>
</div>
</if>
<!-- 此处分两栏 -->
<if condition="$set_coulmn eq 2">
<div class="two fields">
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 1">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 2">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
</div>
</if>
<!-- 此处分三栏 -->
<if condition="$set_coulmn eq 3">
<div class="three fields">
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 1">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 2">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 3">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
</div>
</if>
<!-- 此处分四栏 不建议 -->
<if condition="$set_coulmn eq 4">
<div class="four fields">
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 1">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 2">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 3">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
<div class="field">
<volist name="form_items" id="item">
<if condition="$item.coulmn eq 4">
<switch name="item.type">
<include file="Apps/JankzMaker/View/Common/case.html" />
</switch>
</if>
</volist>
</div>
</div>
</if>
<div class="c">
<button class="ui button teal " type="button">保存内容</button>
<button class="ui button" type="submit">取消</button>
</div>
</div>
</div>
</form>
</block>
<block name="my_js">
<script type="text/javascript">
$(document).ready(function(){
$("button[type=button]").click(function(){
$.ajax({
type:'POST',
url:$("form").attr("action"),
data:$("form").serialize(),
success:function(response,status,xhr){
layer.msg(response.info);
}
});
});
});
</script>
</block>
~~~
- 序言
- 基础
- 简介
- 获得Jzopen
- 安装
- 配置
- 系统默认配置参考
- 新增配置项
- 数据库
- 预览
- Auth认证
- Session
- User
- Menu
- Manager
- Group
- Role
- 系统结构
- jankzMaker
- V1.0
- MakerTable
- MakerForm
- v1.1
- FormMaker
- 重装系统
- jankzForm
- jankzform-v1.0
- jankzform.html
- jankzform-v1.1
- jankzTable
- jankztable-v1.0
- jankztable.html
- jankzPage
- jankzpage-v1.0
- jankzpage.html
- elementary
- form
- text
- password
- select
- radio
- checkbox
- btn
- btns
- textarea
- hidden
- image
- editor
- toggle
- label
- labels
- rating
- slider
- sliders
- divider
- icon-divider
- pages
- table
- 二次开发
- jzopen后台
- 精简系统
- 插件开发
- 官方插件
- 第三方插件
- 独有专享插件
- 户主开发插件
- 云商店
- 云商店下载插件
- 插件上传
- 在线升级
- 检查升级
- 升级常见问题
- 部署
- 推荐配置
- 阿里云ECS部署
- 新浪Sae部署