This commit is contained in:
parent
4df28c129b
commit
8076c143fb
|
|
@ -1,11 +1,11 @@
|
|||
<template>
|
||||
<!-- 文本组件 -->
|
||||
<el-text
|
||||
:tag="tag"
|
||||
:type="type"
|
||||
:size="size"
|
||||
:truncated="truncated"
|
||||
:line-clamp="lineClamp"
|
||||
:tag="tag"
|
||||
:style="computedStyle"
|
||||
v-bind="omit(attrs, ['style', 'class'])">
|
||||
<slot></slot>
|
||||
|
|
|
|||
|
|
@ -137,15 +137,15 @@
|
|||
<div class="extend-group">
|
||||
<h4>文本装饰</h4>
|
||||
<div class="extend-items">
|
||||
<ComText text-decoration="underline"
|
||||
>下划线文本</ComText
|
||||
>
|
||||
<ComText text-decoration="line-through"
|
||||
>删除线文本</ComText
|
||||
>
|
||||
<ComText text-decoration="overline"
|
||||
>上划线文本</ComText
|
||||
>
|
||||
<ComText text-decoration="underline">
|
||||
下划线文本
|
||||
</ComText>
|
||||
<ComText text-decoration="line-through">
|
||||
删除线文本
|
||||
</ComText>
|
||||
<ComText text-decoration="overline">
|
||||
上划线文本
|
||||
</ComText>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -162,9 +162,9 @@
|
|||
</template>
|
||||
<div class="tag-demo">
|
||||
<div class="tag-item">
|
||||
<ComText tag="h1" type="primary" size="large"
|
||||
>H1 标题标签</ComText
|
||||
>
|
||||
<ComText tag="h1" type="primary" size="large">
|
||||
H1 标题标签
|
||||
</ComText>
|
||||
<span class="demo-note">tag: h1</span>
|
||||
</div>
|
||||
<div class="tag-item">
|
||||
|
|
|
|||
Loading…
Reference in New Issue