删除废旧测试文件
parent
10d5df4dad
commit
66d07ea04d
|
@ -1 +1,4 @@
|
|||
![doui](https://attach.cdn.doui.cc/screenshot_276.jpg)
|
||||
|
||||
## yua.js 框架
|
||||
> yua.js是一款迷你,易用、高性能的前端MVVM框架, 属于单独维护avalon的一个独立分支, 基于avalon1.5开发, 精简部分冗余的API, 同时针对组件拓展进行了优化。
|
||||
|
|
|
@ -1,69 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
<title>测试1</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<link href="../../css/base.min.css" rel="stylesheet">
|
||||
<style>
|
||||
.do-mod-test {width:800px;height:100px;margin:30px;padding:30px;border:1px solid #ddd;}
|
||||
.do-mod-test section {float:left;;;;width:35%;height:35px;margin:0 3%;line-height:35px;}
|
||||
.do-mod-test section:nth-child(2) {border:1px solid #ddd;}
|
||||
.do-mod-test section .label {float:left;width:35%;height:35px;text-align:center;}
|
||||
.do-mod-test section .date {float:left;width:65%;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div class="do-mod-test" ms-controller="test">
|
||||
|
||||
<section>
|
||||
<span class="label">示例1:</span>
|
||||
<do:datepicker config="dp" duplex="test.ex1" border="1" class="date" radius="3"></do:datepicker>
|
||||
</section>
|
||||
|
||||
|
||||
<section>
|
||||
<span class="label">示例2:</span>
|
||||
<do:datepicker config="dp" duplex="test.ex2" border="0" show-time="true" class="date"></do:datepicker>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script src="../../avalon.modern.min.js"></script>
|
||||
<script>
|
||||
;(function(av){
|
||||
|
||||
require(['./datepicker/doui.datepicker'], function(){
|
||||
|
||||
|
||||
var test = av.define({
|
||||
$id: 'test',
|
||||
ex1: '2016-01-02',
|
||||
ex2: '2015-12-06 20:22:12',
|
||||
dp: {
|
||||
callback: function(d){
|
||||
console.log(d)
|
||||
},
|
||||
maxDate: '2017-02-05',
|
||||
format: 'Y 第W周'
|
||||
}
|
||||
});
|
||||
|
||||
av.scan()
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
||||
})(avalon)
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue