xianniu-ui 0.1.12-beta → 0.2.0
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/xianniu-ui.common.js +260 -173
- package/lib/xianniu-ui.css +1 -1
- package/lib/xianniu-ui.umd.js +260 -173
- package/lib/xianniu-ui.umd.min.js +2 -2
- package/package.json +3 -3
- package/packages/footer/index.js +7 -0
- package/packages/footer/main.vue +29 -0
- package/src/index.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xianniu-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "lib/xianniu-ui.umd.min.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dayjs": "^1.10.7",
|
|
27
27
|
"good-storage": "^1.1.1",
|
|
28
28
|
"lodash": "^4.17.21",
|
|
29
|
-
"vue": "
|
|
29
|
+
"vue": "2.6.11",
|
|
30
30
|
"vue-lottie": "^0.2.1",
|
|
31
31
|
"vue-router": "^3.2.0",
|
|
32
32
|
"vuex": "^3.6.2"
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"sass": "^1.32.6",
|
|
59
59
|
"sass-loader": "^8.0.2",
|
|
60
60
|
"transliteration": "^1.1.11",
|
|
61
|
-
"vue-template-compiler": "
|
|
61
|
+
"vue-template-compiler": "2.6.11"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-footer class="xn-footer">
|
|
3
|
+
<div class="xn-footer-main">
|
|
4
|
+
<slot />
|
|
5
|
+
</div>
|
|
6
|
+
</el-footer>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script>
|
|
10
|
+
export default {
|
|
11
|
+
name: 'XnFooter'
|
|
12
|
+
}
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<style lang="scss" scoped>
|
|
16
|
+
@import 'packages/style/src/theme/variables.scss';
|
|
17
|
+
.xn-footer{
|
|
18
|
+
&-main{
|
|
19
|
+
position: fixed;
|
|
20
|
+
bottom: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
height: 60px;
|
|
23
|
+
width: calc(100% - #{$sideBarWidth});
|
|
24
|
+
background-color: #fff;
|
|
25
|
+
line-height: 60px;
|
|
26
|
+
padding: 0 15px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
</style>
|
package/src/index.js
CHANGED
|
@@ -11,6 +11,7 @@ import XnDrawer from '../packages/drawer/index'
|
|
|
11
11
|
import XnTree from '../packages/tree/index'
|
|
12
12
|
import XnImport from '../packages/import/index'
|
|
13
13
|
import XnExport from '../packages/export/index'
|
|
14
|
+
import XnFooter from '../packages/footer/index'
|
|
14
15
|
|
|
15
16
|
import Utils from 'xn-ui/src/utils/index'
|
|
16
17
|
const doc = 'http://lzwr.gitee.io/xn-ui/#/'
|
|
@@ -26,7 +27,8 @@ const components = [
|
|
|
26
27
|
XnDrawer,
|
|
27
28
|
XnTree,
|
|
28
29
|
XnImport,
|
|
29
|
-
XnExport
|
|
30
|
+
XnExport,
|
|
31
|
+
XnFooter
|
|
30
32
|
]
|
|
31
33
|
const version = require('../package.json').version
|
|
32
34
|
if (process.env.NODE_ENV && process.env.NODE_ENV === 'development') {
|