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

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

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

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


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