|
...
|
...
|
@@ -80,9 +80,10 @@ Page({ |
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面显示
|
|
|
|
*/
|
|
|
|
onShow: function () {
|
|
|
|
onShow: async function () {
|
|
|
|
//this.getPos();
|
|
|
|
if(this.data.hasSuggestion) return;
|
|
|
|
await getApp().getSystemInfo();
|
|
|
|
let sys=getApp().system;
|
|
|
|
console.log('onShow',sys.windowHeight,sys.windowHeight-this.transverseViewHeight)
|
|
|
|
this.setData({
|
...
|
...
|
|