Socket
Socket
Sign inDemoInstall

@ubrorg/navbar

Package Overview
Dependencies
Maintainers
11
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ubrorg/navbar

navbar


Version published
Weekly downloads
9
Maintainers
11
Weekly downloads
 
Created
Source

navbar

navbar

使用

在页面的 page.json 中配置:

{
  "usingComponents": {
    "navbar": "@ubrorg/navbar/lib/index"
  }
}

在页面的 page.axml 中直接使用:

  <navbar title="标题" opacity="">
    <view slot="left">左侧内容</view>
    <view slot="right">右侧内容</view>
  </navbar>

可在内添加除标题外的其他内容

option参数

属性类型默认值解释
titlestring''标题
opacitynumber1透明度

开发

  1. yarn 或者 ayarn阿里内网)安装依赖
  2. 小程序 IDE 打开组件(下载地址

更多命令

  • miapp newbranch: 新建分支
  • miapp push: 提交代码
  • miapp prepub: 预发(发布 beta 版本)
  • miapp publish: 正式发布

FAQs

Package last updated on 08 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc