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

hm-taro-profit-card

v0.0.1

Published

毫末Taro毫末收益趋势卡片组件。支持H5/小程序(微信、支付宝、头条、百度、QQ)/App;组件可自适应各种屏幕大小的手机。

Downloads

1

Readme

官网: https://haomo-tech.com

作者: 毫末科技

邮箱: [email protected]

预览

预览图片

在线效果预览

更多毫末科技的Taro跨端模板,请见毫末科技Taro跨端模板

技术支持

毫末科技将长期迭代本组件。需要技术支持,请进钉钉群:

概述

毫末Taro毫末收益趋势卡片组件。支持H5/小程序(微信、支付宝、头条、百度、QQ)/App;组件可自适应各种屏幕大小的手机。

使用

import Taro, { Component } from '@tarojs/taro'
import { View, Text, Button } from '@tarojs/components'

import HmProfitCard from '../src/components/hm/hm-profit-card/index.jsx'

export default class Index extends Component {

  componentWillMount () { }

  componentDidMount () { }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }

  config = {
    navigationBarTitleText: '毫末Taro毫末收益趋势卡片组件'
  }

  render () {
    return (
      <View className='index'>
        <HmProfitCard/>
      </View>
    )
  }
}

属性说明

| 属性名 | 类型 | 默认值 | 说明 | |----------- |---------|--------|----------------------------------------------------------------------------| | options | Object | - | 卡片属性 |

options对象各个属性说明如下:

| 属性名 | 类型 | 默认值 | 说明 | |----------- |---------|--------|----------------------------------------------------------------------------| | text | String | - | 标题文字 | | titleimg | String | - | 标题图片 | | iconofflineleft | String | - | 左侧箭头图标 | | num | String | - | 趋势百分比 | | price | String | - | 收益 | | actionBg | String | - | 收益图片 |

事件说明

| 事件称名 | 事件说明 | 返回参数 | |----------|--------------------|----------| | @click | 点击 Card 触发事件 | - |

更新日志

0.0.1(2020-03-07)

  • 完成第一个版本