ColorUI 源代码
This commit is contained in:
weilanwl
2018-06-19 21:21:54 +08:00
parent 9e6720d0dc
commit 3834693e84
114 changed files with 4477 additions and 0 deletions

26
pages/loading/loading.js Normal file
View File

@@ -0,0 +1,26 @@
// pages/element/loading/loading.js
Page({
data: {
loading: true
},
showLoading: function () {
var that = this;
this.setData({
showLoading: true
})
setTimeout(function () {
that.setData({
showLoading: false
})
}, 2000)
},
// onLoad: function () {
// var that = this;
// setTimeout(function () {
// that.setData({
// loading: true
// })
// }, 3000)
// }
})