Compare commits
6 Commits
9e9529b41c
...
905880c498
Author | SHA1 | Date |
---|---|---|
liubaixun | 905880c498 | |
liubaixun | 51d7facc9b | |
liubaixun | fd84eb5608 | |
liubaixun | 16976e3bec | |
liubaixun | 2fe5b28568 | |
pangdundun | 8a491ca518 |
|
@ -0,0 +1 @@
|
||||||
|
unpackage/dist/
|
|
@ -232,6 +232,9 @@
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.deviceId = option.id
|
this.deviceId = option.id
|
||||||
|
uni.showLoading({
|
||||||
|
title: '加载中...'
|
||||||
|
})
|
||||||
this.dataInit()
|
this.dataInit()
|
||||||
let that = this
|
let that = this
|
||||||
this.timer_ = setInterval(function() {
|
this.timer_ = setInterval(function() {
|
||||||
|
@ -243,9 +246,9 @@
|
||||||
clearTimeout(that.timer_)
|
clearTimeout(that.timer_)
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
// uni.showLoading({
|
uni.showLoading({
|
||||||
// title: '加载中...'
|
title: '加载中...'
|
||||||
// })
|
})
|
||||||
this.dataInit();
|
this.dataInit();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -263,9 +266,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dataInit() {
|
dataInit() {
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
})
|
// })
|
||||||
const that = this
|
const that = this
|
||||||
var deviceId = this.deviceId
|
var deviceId = this.deviceId
|
||||||
var data = {
|
var data = {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -419,6 +419,9 @@ var _default = {
|
||||||
watch: {},
|
watch: {},
|
||||||
onLoad: function onLoad(option) {
|
onLoad: function onLoad(option) {
|
||||||
this.deviceId = option.id;
|
this.deviceId = option.id;
|
||||||
|
uni.showLoading({
|
||||||
|
title: '加载中...'
|
||||||
|
});
|
||||||
this.dataInit();
|
this.dataInit();
|
||||||
var that = this;
|
var that = this;
|
||||||
this.timer_ = setInterval(function () {
|
this.timer_ = setInterval(function () {
|
||||||
|
@ -430,9 +433,9 @@ var _default = {
|
||||||
clearTimeout(that.timer_);
|
clearTimeout(that.timer_);
|
||||||
},
|
},
|
||||||
onPullDownRefresh: function onPullDownRefresh() {
|
onPullDownRefresh: function onPullDownRefresh() {
|
||||||
// uni.showLoading({
|
uni.showLoading({
|
||||||
// title: '加载中...'
|
title: '加载中...'
|
||||||
// })
|
});
|
||||||
this.dataInit();
|
this.dataInit();
|
||||||
},
|
},
|
||||||
methods: (_methods = {
|
methods: (_methods = {
|
||||||
|
@ -451,9 +454,9 @@ var _default = {
|
||||||
},
|
},
|
||||||
dataInit: function dataInit() {
|
dataInit: function dataInit() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// })
|
||||||
var that = this;
|
var that = this;
|
||||||
var deviceId = this.deviceId;
|
var deviceId = this.deviceId;
|
||||||
var data = {
|
var data = {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"urlCheck": false,
|
"urlCheck": false,
|
||||||
"es6": false,
|
"es6": false,
|
||||||
"postcss": false,
|
"postcss": false,
|
||||||
"minified": true,
|
"minified": false,
|
||||||
"newFeature": true,
|
"newFeature": true,
|
||||||
"bigPackageSizeSupport": true,
|
"bigPackageSizeSupport": true,
|
||||||
"babelSetting": {
|
"babelSetting": {
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "3.1.2",
|
"libVersion": "3.1.2",
|
||||||
"appid": "wx0518521f67048cc8",
|
"appid": "wx05b45a2699f02a2b",
|
||||||
"projectname": "greenhouse-wisdom-applet",
|
"projectname": "greenhouse-wisdom-applet",
|
||||||
"condition": {},
|
"condition": {},
|
||||||
"editorSetting": {
|
"editorSetting": {
|
||||||
|
|
Loading…
Reference in New Issue