You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
1 year ago
|
@@include('./../../template/common/header.html', {
|
||
|
"title": "date 导入",
|
||
|
csslinks:[]
|
||
|
})
|
||
|
<div class="layui-iframe">
|
||
|
@@include('./../../template/common/breadcrumb.html', {
|
||
|
"title": "date页面",
|
||
|
subtitle:''
|
||
|
})
|
||
|
<div class="layui-fluid">
|
||
|
<div class="layui-card form-card">
|
||
|
<div class="layui-form">
|
||
|
<div class="layui-form-item">
|
||
|
<div class="layui-inline">
|
||
|
<label class="layui-form-label">中文版</label>
|
||
|
<div class="layui-input-inline">
|
||
|
<input type="text" class="layui-input" id="test1" placeholder="yyyy-MM-dd">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="layui-inline">
|
||
|
<label class="layui-form-label">国际版</label>
|
||
|
<div class="layui-input-inline">
|
||
|
<input type="text" class="layui-input" id="test1-1" placeholder="yyyy-MM-dd">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script>
|
||
|
layui.use('laydate', function () {
|
||
|
var laydate = layui.laydate;
|
||
|
//常规用法
|
||
|
laydate.render({
|
||
|
elem: '#test1'
|
||
|
});
|
||
|
//国际版
|
||
|
laydate.render({
|
||
|
elem: '#test1-1'
|
||
|
, lang: 'en'
|
||
|
});
|
||
|
})
|
||
|
</script>
|
||
|
@@include('./../../template/common/footer.html', {
|
||
|
"jslinks": []
|
||
|
})
|