first commit
This commit is contained in:
1
dist/resources/static/js/app/.pydio
vendored
Normal file
1
dist/resources/static/js/app/.pydio
vendored
Normal file
@@ -0,0 +1 @@
|
||||
1db48167-07c0-46b2-a84c-beea2247a27e
|
||||
12
dist/resources/static/js/app/about.js
vendored
Executable file
12
dist/resources/static/js/app/about.js
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
define(['jquery','utils'],function ($,utils) {
|
||||
function about() {
|
||||
|
||||
}
|
||||
|
||||
about.prototype = {
|
||||
init () {
|
||||
}
|
||||
};
|
||||
|
||||
return new about();
|
||||
});
|
||||
31
dist/resources/static/js/app/index.js
vendored
Executable file
31
dist/resources/static/js/app/index.js
vendored
Executable file
@@ -0,0 +1,31 @@
|
||||
define(['jquery','swiper','utils', 'zui'],function ($,swiper,utils) {
|
||||
function Index() {
|
||||
|
||||
}
|
||||
|
||||
Index.prototype = {
|
||||
init () {
|
||||
new $.zui.Messager('zui弹窗。', {
|
||||
icon: 'heart',
|
||||
placement: 'center'
|
||||
}).show();
|
||||
},
|
||||
|
||||
|
||||
//初始化 swiper 轮播图
|
||||
newSwiper () {
|
||||
// new swiper ('.swiper-container', {
|
||||
// direction: 'horizontal',
|
||||
// loop: true,
|
||||
// autoplay: true,
|
||||
// pagination: {
|
||||
// el: '.swiper-pagination',
|
||||
// clickable :true,
|
||||
// }
|
||||
// });
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
return new Index();
|
||||
})
|
||||
14
dist/resources/static/js/app/register.js
vendored
Normal file
14
dist/resources/static/js/app/register.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
define(['jquery','swiper','utils'],function ($,swiper,utils) {
|
||||
function Register() {
|
||||
|
||||
}
|
||||
|
||||
Register.prototype = {
|
||||
init () {
|
||||
console.log("用户注册")
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
return new Register();
|
||||
});
|
||||
12
dist/resources/static/js/app/test.js
vendored
Normal file
12
dist/resources/static/js/app/test.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
define(['jquery','utils'],function ($,utils) {
|
||||
function test() {
|
||||
|
||||
}
|
||||
|
||||
test.prototype = {
|
||||
init () {
|
||||
}
|
||||
};
|
||||
|
||||
return new test();
|
||||
});
|
||||
Reference in New Issue
Block a user