推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
sugarkeek

求问,小程序的菜单栏怎么和右边的功能键垂直居中?

  •  
  •   sugarkeek · Mar 11, 2025 · 2469 views
    This topic created in 456 days ago, the information mentioned may be changed or developed.
    我目前只知道系统的状态栏的高度

    3 replies    2025-03-11 14:33:03 +08:00
    gloye
        1
    gloye  
       Mar 11, 2025   ❤️ 1
    小程序有个 api 是获取右边胶囊位的位置 wx.getMenuButtonBoundingClientRect
    https://developers.weixin.qq.com/miniprogram/dev/api/ui/menu/wx.getMenuButtonBoundingClientRect.html
    Zaner
        2
    Zaner  
       Mar 11, 2025


    尝试一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3990 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 05:11 · PVG 13:11 · LAX 22:11 · JFK 01:11
    ♥ Do have faith in what you're doing.