This commit is contained in:
zmj 2024-05-07 22:29:55 +08:00
parent 0e407ece6a
commit 36058e7acd
3 changed files with 30 additions and 19 deletions

View File

@ -2,8 +2,8 @@
"name": "惠农生活", "name": "惠农生活",
"appid": "__UNI__3A527D1", "appid": "__UNI__3A527D1",
"description": "", "description": "",
"versionName": "2.0.50", "versionName": "2.0.51",
"versionCode": 2050, "versionCode": 2051,
"transformPx": false, "transformPx": false,
/* 5+App */ /* 5+App */
"app-plus": { "app-plus": {

View File

@ -476,6 +476,32 @@
// #ifdef APP // #ifdef APP
this.isNodes++; this.isNodes++;
let that = this let that = this
// setTimeout(() => {
// const query = uni.createSelectorQuery().in(this);
// query
// .select(".targets")
// .boundingClientRect((data) => {
// that.elInfo = data
// // #ifdef APP-PLUS
// if (Boolean(uni.getStorageSync('newStore'))) {
// that.subNvue = uni.getSubNVueById('userSubnvu')
// that.subNvue.show('slide-in-left', 300)
// uni.$emit('openUserSubnvue', JSON.stringify(data))
// }
// // #endif
// })
// .exec();
// }, 500)
// #endif
},
mounted: function() {
this.getVersion()
},
onShow: function() {
// #ifdef APP-PLUS
setTimeout(() => { setTimeout(() => {
const query = uni.createSelectorQuery().in(this); const query = uni.createSelectorQuery().in(this);
query query
@ -491,22 +517,7 @@
// #endif // #endif
}) })
.exec(); .exec();
}, 500) }, 800)
// #endif
},
mounted: function() {
this.getVersion()
},
onShow: function() {
// #ifdef APP-PLUS
if ((uni.getStorageSync('newStore')) && this.elInfo) {
this.subNvue = uni.getSubNVueById('userSubnvu')
this.subNvue.show('slide-in-left', 300)
uni.$emit('openUserSubnvue', JSON.stringify(this.elInfo))
}
// #endif // #endif
let that = this; let that = this;
let routes = getCurrentPages(); let routes = getCurrentPages();

View File

@ -63,7 +63,7 @@
}); });
setTimeout(() => { setTimeout(() => {
that.isAct = true that.isAct = true
}) }, 500)
} }