Showing
8 changed files
with
8 additions
and
8 deletions
| ... | @@ -114,7 +114,7 @@ export default { | ... | @@ -114,7 +114,7 @@ export default { |
| 114 | name: "joinListPage", | 114 | name: "joinListPage", |
| 115 | mounted () { | 115 | mounted () { |
| 116 | // 设置滚动列表可视高度 | 116 | // 设置滚动列表可视高度 |
| 117 | - const windowHeight = wx.getSystemInfoSync().windowHeight; | 117 | + const windowHeight = wx.getWindowInfo().windowHeight; |
| 118 | setTimeout(async () => { | 118 | setTimeout(async () => { |
| 119 | // const headerHeight = await $('#page-header').height(); | 119 | // const headerHeight = await $('#page-header').height(); |
| 120 | const navHeight = await $('#page-filter').height(); | 120 | const navHeight = await $('#page-filter').height(); | ... | ... |
| ... | @@ -141,7 +141,7 @@ export default { | ... | @@ -141,7 +141,7 @@ export default { |
| 141 | }, | 141 | }, |
| 142 | mounted () { | 142 | mounted () { |
| 143 | // 设置滚动列表可视高度 | 143 | // 设置滚动列表可视高度 |
| 144 | - const windowHeight = wx.getSystemInfoSync().windowHeight; | 144 | + const windowHeight = wx.getWindowInfo().windowHeight; |
| 145 | setTimeout(async () => { | 145 | setTimeout(async () => { |
| 146 | const headerHeight = await $('#page-header').height(); | 146 | const headerHeight = await $('#page-header').height(); |
| 147 | const navHeight = await $('#navbar-page').height(); | 147 | const navHeight = await $('#navbar-page').height(); | ... | ... |
| ... | @@ -114,7 +114,7 @@ export default { | ... | @@ -114,7 +114,7 @@ export default { |
| 114 | name: "joinListPage", | 114 | name: "joinListPage", |
| 115 | mounted () { | 115 | mounted () { |
| 116 | // 设置滚动列表可视高度 | 116 | // 设置滚动列表可视高度 |
| 117 | - const windowHeight = wx.getSystemInfoSync().windowHeight; | 117 | + const windowHeight = wx.getWindowInfo().windowHeight; |
| 118 | setTimeout(async () => { | 118 | setTimeout(async () => { |
| 119 | const headerHeight = await $('#page-header').height(); | 119 | const headerHeight = await $('#page-header').height(); |
| 120 | const navHeight = await $('#page-filter').height(); | 120 | const navHeight = await $('#page-filter').height(); | ... | ... |
| ... | @@ -119,7 +119,7 @@ export default { | ... | @@ -119,7 +119,7 @@ export default { |
| 119 | }, | 119 | }, |
| 120 | mounted () { | 120 | mounted () { |
| 121 | // 设置滚动列表可视高度 | 121 | // 设置滚动列表可视高度 |
| 122 | - const windowHeight = wx.getSystemInfoSync().windowHeight; | 122 | + const windowHeight = wx.getWindowInfo().windowHeight; |
| 123 | setTimeout(async () => { | 123 | setTimeout(async () => { |
| 124 | const headerHeight = await $('#page-header').height(); | 124 | const headerHeight = await $('#page-header').height(); |
| 125 | const navHeight = await $('#navbar-page').height(); | 125 | const navHeight = await $('#navbar-page').height(); | ... | ... |
| ... | @@ -248,7 +248,7 @@ export default { | ... | @@ -248,7 +248,7 @@ export default { |
| 248 | }, | 248 | }, |
| 249 | mounted () { | 249 | mounted () { |
| 250 | // 设置滚动列表可视高度 | 250 | // 设置滚动列表可视高度 |
| 251 | - const windowHeight = wx.getSystemInfoSync().windowHeight; | 251 | + const windowHeight = wx.getWindowInfo().windowHeight; |
| 252 | setTimeout(async () => { | 252 | setTimeout(async () => { |
| 253 | const headerHeight = await $('#page-header').height(); | 253 | const headerHeight = await $('#page-header').height(); |
| 254 | const navHeight = await $('#navbar-page').height(); | 254 | const navHeight = await $('#navbar-page').height(); | ... | ... |
| ... | @@ -196,7 +196,7 @@ export default { | ... | @@ -196,7 +196,7 @@ export default { |
| 196 | }, | 196 | }, |
| 197 | mounted () { | 197 | mounted () { |
| 198 | // 设置滚动列表可视高度 | 198 | // 设置滚动列表可视高度 |
| 199 | - const windowHeight = wx.getSystemInfoSync().windowHeight; | 199 | + const windowHeight = wx.getWindowInfo().windowHeight; |
| 200 | setTimeout(async () => { | 200 | setTimeout(async () => { |
| 201 | const headerHeight = await $('#page-header').height(); | 201 | const headerHeight = await $('#page-header').height(); |
| 202 | const navHeight = await $('#navbar-page').height(); | 202 | const navHeight = await $('#navbar-page').height(); | ... | ... |
| ... | @@ -93,7 +93,7 @@ export default { | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | }, | 93 | }, |
| 94 | mounted () { | 94 | mounted () { |
| 95 | // 设置滚动列表可视高度 | 95 | // 设置滚动列表可视高度 |
| 96 | - const windowHeight = wx.getSystemInfoSync().windowHeight; | 96 | + const windowHeight = wx.getWindowInfo().windowHeight; |
| 97 | setTimeout(async () => { | 97 | setTimeout(async () => { |
| 98 | const headerHeight = await $('#page-header').height(); | 98 | const headerHeight = await $('#page-header').height(); |
| 99 | this.scrollStyle = { | 99 | this.scrollStyle = { | ... | ... |
| ... | @@ -175,7 +175,7 @@ export default { | ... | @@ -175,7 +175,7 @@ export default { |
| 175 | }, | 175 | }, |
| 176 | mounted () { | 176 | mounted () { |
| 177 | // 设置滚动列表可视高度 | 177 | // 设置滚动列表可视高度 |
| 178 | - const windowHeight = wx.getSystemInfoSync().windowHeight; | 178 | + const windowHeight = wx.getWindowInfo().windowHeight; |
| 179 | setTimeout(async () => { | 179 | setTimeout(async () => { |
| 180 | const headerHeight = await $('#page-header').height(); | 180 | const headerHeight = await $('#page-header').height(); |
| 181 | const navHeight = await $('#navbar-page').height(); | 181 | const navHeight = await $('#navbar-page').height(); | ... | ... |
-
Please register or login to post a comment