ThTrend趋势组件
吴少文 2022/3/8 vue
# ThTrend趋势组件
指数上下趋势,可自定义图标字符等
# 依赖说明
element-ui中的图标
# 基本使用
<th-trend style="font-size: 30px;">该股今天股市大涨10%</th-trend>
<th-trend type="lower">该股昨天股市大跌10%</th-trend>
<th-trend mark="**">
休市一天,涨跌未知
</th-trend>
<th-trend>
<template #mark>**</template>
休市一天,涨跌未知
</th-trend>
# Attributes
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|---|---|---|---|---|
| type | 趋势类型 | String | up | up/lower |
| mark | 右侧的标记 | String | -- | -- |
# Slots
| Name | 说明 |
|---|---|
| default | 自定义内容 |
| mark | 自定义内容右侧的标记 |