@gidc-app-base/gidc-fjnx-h5-standard-card
'卡片'
Last updated 2 years ago .
MIT · · Tarball · package.json
$ gnpm install @gidc-app-base/gidc-fjnx-h5-standard-card 
Private package

vue-template

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

卡片组件 (Card)

  • props:
  • height: 卡片高度,不用可以不传
  • tag: 卡片右上角标签内容
  • tagColor: 右上角标签颜色,有默认值,不是默认颜色才需要传入
  • bgImage: 卡片背景图片,传入值写法为 require('xxx/xxx.png')
  • shadow: 是否有阴影
  • slot:
  • default: 默认插槽,卡片内容
  • footer: 脚步插槽,一般为按钮,也可为其他
  •      当为按钮时,按钮必须为 button 标签,且会根据个数自适应宽度
    
  •      按钮内若有 tag 标签,请直接在 button 标签内使用 tag 组件,详情可在 demo 页面中查看

Current Tags

  • 0.0.2                                ...           latest (2 years ago)

2 Versions

  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |