Cell
Install

Install


API

Props

nametypedefaultdescriptionrequired version
titlestringlabel text on the left--
valuestringright text--
inline-descstringthe text below title--
linkstring
object
redirect link. Can be http(s) protocol; can also be vue-router format--
is-linkbooleanfalseif this is a link; if true, there will be an arrow on the right--
primarystringtitlemain content area, can be in ['title', 'content']--
is-loadingbooleanfalseif show loading icon, good for asynchronous loadingv2.2.0
value-alignstringleftvalue's text-align,one of left, right. prop:primary will be set to content if value-align value is rightv2.2.0
border-intentbooleantrueif set border intent on the left sidev2.2.1-rc.1
arrow-directionstringarrow direction, one of up, downv2.2.1-rc.1
disabledbooleanset disabled style for label and arrow (if is-link is true)v2.2.2
align-itemsstringcenteralign-items valuev2.6.4

Slots

namedescriptionrequired version
defaultright area, you can use default slot instead of prop:value so you can use complicated layout--
value[deprecated] the same as default slot--
iconicon area before title--
after-titleafter title--
childthe child element of the cell, you can add an element with absolute position--
inline-descinline-desc slot, the same function as prop:inline-desc but can use htmlv2.2.1-rc.6
titletitle slotv2.3.3
Variables

Variables

namedefaultdescriptioninherited name
@cell-label-color #000 --
@cell-font-size 17px --
@cell-tips-font-size 14px --
@cell-default-arrow-color #C8C8CD --
@cell-disabled-arrow-color #e2e2e2 --
@cell-default-arrow-border-width 2px --
@cell-default-arrow-width 6px --
@cell-value-color #999 --
@cell-placeholder-color #999 --
@cell-body-label-color #000 --


Contributors

Contributors

Total commits quantity: 52,Total contributors quantity: 5

unclayFisherairyland万刚Qiongrong Jiang

Changelog

Releases

  • v2.9.0 [fix] fix weui-loading style
  • v2.8.1 [fix] fix justify class #2545
  • v2.7.0 [fix] fix ssr rendering issue
  • v2.6.4 [feature] support prop:align-items
  • v2.3.6 [feature] Support arrow less variables
  • v2.3.3 [feature] Support slot:title
  • v2.2.2 [feature] Support prop:disabled
  • v2.2.1-rc.6 [feature] Support slot:inline-desc
  • v2.2.1-rc.1 [feature] Support prop:border-intent
  • v2.2.1-rc.1 [feature] Support prop:arrow-direction
  • v2.2.0 [feature] Support prop:is-loading
  • v2.1.1-rc.13 [fix] Support Group label styles #1110
  • v2.1.1-rc.3 [feature] Add font-size variable #990 @wg5945