22
|
|
@ -117,6 +117,7 @@ export default {
|
||||||
const query = uni.createSelectorQuery().in(this);
|
const query = uni.createSelectorQuery().in(this);
|
||||||
query.select('.bar-view').boundingClientRect(rect => {
|
query.select('.bar-view').boundingClientRect(rect => {
|
||||||
if (rect) {
|
if (rect) {
|
||||||
|
console.log('aaaa');
|
||||||
// 判断元素是否粘滞
|
// 判断元素是否粘滞
|
||||||
if (rect.top <= 30) {
|
if (rect.top <= 30) {
|
||||||
this.tabsBarHeight = this.statusBarHeight;
|
this.tabsBarHeight = this.statusBarHeight;
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 908 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |