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