# 超级指令集
# v-ellipsis
文本超出省略号效果
<!-- 直连查询文本展示块 -->
<div
v-if="intoItem.hasOwnProperty('value')"
@mouseenter="(e) => setTip(e, 1)"
@mouseleave="(e) => hiddenTip(e, 1)"
>
<span v-ellipsis.100 v-if="intoItem.isEllipsis">
{{ intoItem.value }}
</span>
<span v-else>{{ intoItem.value }}</span>
</div>
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
# v-stick
置顶按钮效果
<template>
<div class="hlta_superForm">
<ta-drawer
v-stick
width="100%"
placement="right"
:closable="false"
:visible="visible"
>
<hlta-superTitle
slot="title"
:font="'h4'"
:back="true"
:title="title"
@click="onClose"
></hlta-superTitle>
<!-- ... -->
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17