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": "惠农生活",
"appid": "__UNI__3A527D1",
"description": "",
"versionName": "2.0.50",
"versionCode": 2050,
"versionName": "2.0.51",
"versionCode": 2051,
"transformPx": false,
/* 5+App */
"app-plus": {

View File

@ -476,6 +476,32 @@
// #ifdef APP
this.isNodes++;
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(() => {
const query = uni.createSelectorQuery().in(this);
query
@ -491,22 +517,7 @@
// #endif
})
.exec();
}, 500)
// #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))
}
}, 800)
// #endif
let that = this;
let routes = getCurrentPages();

View File

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