+
liuyg
2022-02-22 d3ccf1ca0e991ed821407a0af0399db68ef35866
+
1 files modified
11 ■■■■ changed files
pages/grabOrders/map.vue 11 ●●●● patch | view | raw | blame | history
pages/grabOrders/map.vue
@@ -433,18 +433,19 @@
            //     }, 10000)
            // }
            const _this = this;
            // uni.getSystemInfo({
            //     success: (res) => {
            uni.getSystemInfo({
                success: (res) => {
            //         _this.mapHeight = res.screenHeight - res.statusBarHeight
            //         _this.mapHeight = _this.mapHeight
                    _this.mapHeight = res.screenHeight /2
                    _this.mapHeight = _this.mapHeight
            //         console.log(res)
            //         let info = uni.createSelectorQuery().select("Umain");
            //         info.boundingClientRect(function(data) { //data - 各种参数
            //             console.log(data.width) // 获取元素宽度
            //         }).exec()
            //     }
            // })
                }
            })
            // console.log(document.getElementById("Umain"))
            // this.checkDomHeightId({
            //     domName: "getElementById",