# hm-taro-follow-card
**Repository Path**: haomo/hm-taro-follow-card
## Basic Information
- **Project Name**: hm-taro-follow-card
- **Description**: 毫末Taro关注卡片。兼容H5/APP/微信小程序/支付宝小程序/头条小程序/QQ小程序等
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2020-03-12
- **Last Updated**: 2023-06-09
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
> 官网: [https://haomo-tech.com](https://haomo-tech.com)
> 作者: 毫末科技
> 邮箱: hxg@haomo-studio.com
## 预览

[在线效果预览](http://template.taro.haomo-tech.com/#/pages/test-component/hm-follow-card)
更多毫末科技的Taro跨端模板,请见[毫末科技Taro跨端模板](https://haomo-tech.com/sale.html)
## 技术支持
我们公司提供超低价的切图服务哈。移动端平均50元每个页面,PC Web端平均80元每个页面。目前支持出vue、react、uniapp、taro、flutter、小程序代码代码,代码支持自适应。其中uniapp、taro一份代码支持多端。app原生会在五月份开始支持。示例demo: [http://edu.uniapp.haomo-tech.com](http://edu.uniapp.haomo-tech.com)。部分样例代码:[http://downloads.haomo-tech.com/uniapp-demo.zip](http://downloads.haomo-tech.com/uniapp-demo.zip)
* [Taro物料市场](https://taro-ext.jd.com/plugin/view/)
* [npm包](https://www.npmjs.com/package/hm-taro-follow-card)
* [github地址](https://github.com/haomo-studio/hm-taro-follow-card)
* [gitee地址](https://gitee.com/haomo/hm-taro-follow-card)
毫末科技将长期迭代本组件。需要技术支持,请进钉钉群:
## 概述
毫末Taro毫末关注卡片组件。支持H5/小程序(微信、支付宝、头条、百度、QQ)/App;组件可自适应各种屏幕大小的手机。
## 使用
```jsx
import Taro, { Component } from '@tarojs/taro'
import { View, Text, Button } from '@tarojs/components'
import HmFollowCard from '../src/components/hm/hm-follow-card/index.jsx'
export default class Index extends Component {
componentWillMount () { }
componentDidMount () { }
componentWillUnmount () { }
componentDidShow () { }
componentDidHide () { }
config = {
navigationBarTitleText: '毫末Taro毫末关注卡片组件'
}
render () {
return (
)
}
}
```
## 属性说明
| 属性名 | 类型 | 默认值 | 说明 |
|----------- |---------|--------|----------------------------------------------------------------------------|
| options | Object | - | 卡片属性 |
options对象各个属性说明如下:
| 属性名 | 类型 | 默认值 | 说明 |
|----------- |---------|--------|----------------------------------------------------------------------------|
| backgroudImage | String | - | 背景图片 |
| followText | String | - | 关注文字 |
| name | String | - | 关注的人 |
| personImage | String | - | 人物图标 |
| fanNumbers | String | - | 粉丝数量 |
| fanNumbersCompany | String | - | 粉丝数量单位 |
| likeImage | String | - | 爱心图片 |
| likeNumbers | String | - | 爱心数量 |
| likeNumbersCompany | String | - | 爱心单位 |
## 事件说明
| 事件称名 | 事件说明 | 返回参数 |
|----------|--------------------|----------|
| @click | 点击 Card 触发事件 | - |
## 更新日志
### 0.0.1(2020-03-07)
* 完成第一个版本