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

@minui/wxc-price

v1.0.8

Published

MinUI 小程序组件 - 价格

Downloads

7

Readme

wxc-price

MinUI 小程序组件 - 价格

Install

$ min install @minui/wxc-price

API

Price【props】

| 属性 | 描述 | | --- | --- | | value | [可选] 价格数值,优先级高于标签内嵌套值 | | symbol | [可选] 货币符号。默认为 | | status | [可选] 显示状态,若设置为 del 显示为删除态 | | icon | [可选] 人民币符号显示规则 - 如不设置,人民币符号的字号同价格数字一致 - 设为 sup,人民币符号字号缩小,位于价格左上方 - 设为 sub,人民币符号字号缩小,位于价格左下方 | | decimal | [可选] 小数部分显示规则 - 如不设置,显示 2 位小数,字号同整数部分一致 - 设置为 1,显示 1 位小数,小数部分向下取整 - 设为 none,不显示小数部分,只显示整数价格 - 设为 small,小数部分字号缩小| | del-color | [可选] del 状态下文字颜色,只在del状态下有效,正常状态下文字颜色可继承父元素 - 默认 #999|

Link

||地址| |--|---| ||price 组件文档 https://meili.github.io/min/docs/minui/index.html#price| ||price 组件源码 https://github.com/meili/minui/tree/master/packages/wxc-price| ||MinUI 组件库 https://github.com/meili/minui |

Preview

price

ChangeLog

v1.0.6(2018.01.09)

  • 增加货币符号属性
  • del 状态下可自定义文字颜色

v1.0.3(2018.01.04)

  • 修复保留两位小数,一位小数等问题

v1.0.2(2017.11.02)

  • update .npmignore

v1.0.1(2017.10.24)

  • 初始版本