htui-yllkbz 1.3.85 → 1.3.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/htui.common.js +135 -2
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +1 -1
- package/lib/htui.umd.js +135 -2
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +3 -3
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/App.vue +4 -2
- package/src/packages/HtMore/index.vue +7 -6
- package/src/packages/index.ts +4 -3
package/lib/htui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-11-15 14:41:40
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2023-01-
|
|
7
|
+
* @LastEditTime: 2023-01-09 16:52:40
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<div id="app">
|
|
@@ -44,7 +44,9 @@
|
|
|
44
44
|
:readonly="true"
|
|
45
45
|
:width="'60px'"
|
|
46
46
|
></HtSelectTimeSlot>
|
|
47
|
-
<
|
|
47
|
+
<ul>
|
|
48
|
+
<li>8888<HtMore></HtMore></li>
|
|
49
|
+
</ul>
|
|
48
50
|
<router-view></router-view>
|
|
49
51
|
</div>
|
|
50
52
|
</template>
|
|
@@ -4,17 +4,13 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2022-09-28 10:24:08
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2023-01-
|
|
7
|
+
* @LastEditTime: 2023-01-09 16:57:36
|
|
8
8
|
-->
|
|
9
9
|
<template>
|
|
10
10
|
<el-dropdown :trigger="trigger" @command="handleCommand($event, 'command')">
|
|
11
11
|
<span class="el-dropdown-link">
|
|
12
12
|
<slot>
|
|
13
|
-
<
|
|
14
|
-
<div class="ht-link-item" style="height:5px">.</div>
|
|
15
|
-
<div class="ht-link-item" style="height:5px">.</div>
|
|
16
|
-
<div class="ht-link-item" style="height:5px">.</div>
|
|
17
|
-
</div>
|
|
13
|
+
<i class="ht-icon-more el-icon-more"></i>
|
|
18
14
|
</slot>
|
|
19
15
|
</span>
|
|
20
16
|
<el-dropdown-menu slot="dropdown">
|
|
@@ -75,4 +71,9 @@ export default class Index extends Vue {
|
|
|
75
71
|
.ht-link-title:hover {
|
|
76
72
|
color: var(--primary);
|
|
77
73
|
}
|
|
74
|
+
.ht-icon-more {
|
|
75
|
+
transform: rotate(90deg);
|
|
76
|
+
color: var(--primary);
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
}
|
|
78
79
|
</style>
|
package/src/packages/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-10-21 10:08:41
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2023-01-
|
|
7
|
+
* @LastEditTime: 2023-01-09 16:45:52
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
// 导入组件
|
|
@@ -29,12 +29,13 @@ import HtShowBaseType from './HtShowBaseType'
|
|
|
29
29
|
import HtDrawer from './HtDrawer'
|
|
30
30
|
import HtSelectCron from './HtSelectCron'
|
|
31
31
|
import HtSelectTimeSlot from './HtSelectTimeSlot'
|
|
32
|
+
import HtMore from './HtMore'
|
|
32
33
|
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
|
|
36
37
|
// 存储组件列表
|
|
37
|
-
const components = [HtSelectTimeSlot, HtSelectCron, HtBaseData, HtDrawer, HtShowBaseType, HtSelectTable, HtPagination, HtTable, HtExport, HtUpload, HtMd, HtCountDown, HtUploadFiles, HtSelectBaseData, HtSelectOrg, HtSelectUser, HtShowBaseData, HtOrgInfo]
|
|
38
|
+
const components = [HtMore, HtSelectTimeSlot, HtSelectCron, HtBaseData, HtDrawer, HtShowBaseType, HtSelectTable, HtPagination, HtTable, HtExport, HtUpload, HtMd, HtCountDown, HtUploadFiles, HtSelectBaseData, HtSelectOrg, HtSelectUser, HtShowBaseData, HtOrgInfo]
|
|
38
39
|
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
|
39
40
|
const install = function (Vue: any) {
|
|
40
41
|
// 判断是否安装
|
|
@@ -50,7 +51,7 @@ export default {
|
|
|
50
51
|
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
|
51
52
|
install,
|
|
52
53
|
// 以下是具体的组件列表
|
|
53
|
-
HtSelectTable, HtPagination, HtShowBaseType, HtTable, HtExport, HtUpload, HtMd, HtCountDown, HtUploadFiles,
|
|
54
|
+
HtSelectTable, HtPagination, HtShowBaseType, HtTable, HtExport, HtUpload, HtMd, HtCountDown, HtUploadFiles, HtMore,
|
|
54
55
|
HtSelectBaseData, HtSelectOrg, HtSelectUser, HtShowBaseData, HtOrgInfo, HtBaseData, HtDrawer, HtSelectCron, HtSelectTimeSlot
|
|
55
56
|
}
|
|
56
57
|
|