npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mini-wechat-component-plus

v1.0.1

Published

小程序版Wechat component plus

Downloads

95

Readme

Mini Ali UI

npm package GitHub stars GitHub forks NPM downloads GitHub issues GitHub license

示例

特性

  • 基于 Alipay Design 设计规范;
  • 支持多端小程序(支付宝,淘宝,钉钉等);
  • 支持主题配置切换;
  • 支持 pxrpx

安装

$ npm install mini-ali-ui --save

同时,我们提供了 rpx 版本的 mini-ali-ui,如需要使用 rpx 作为单位的组件,可以通过下述方式进行安装:

$ npm install mini-ali-ui-rpx --save

使用

在页面 json 中文件中进行注册,如 title 组件的注册如下所示:

{
  "usingComponents": {
    "title": "mini-ali-ui/es/title/index"
  }
}

如安装的是 rpx 版本的 mini-ali-ui,那么在进行组件注册时,修改一下名称即可,方式如下:

{
  "usingComponents": {
    "title": "mini-ali-ui-rpx/es/title/index"
  }
}

组件注册成功之后,具体的使用方式无差别。

在 axml 文件中进行调用:

<title
  hasLine="true"
  iconURL="https://t.alipayobjects.com/images/T1HHFgXXVeXXXXXXXX.png"
  type="close"
  onActionTap="titleClose"
>内部标题可关闭</title>

详细使用说明请参照官方文档使用自定义组件

贡献

如果你有好的意见或建议,欢迎给我们提 issue

钉钉群

钉钉群:30147295 群号:30147295

链接