n20-common-lib 1.1.10
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/README.md +24 -0
- package/package.json +120 -0
- package/src/assets/css/_coreLib.scss +26 -0
- package/src/assets/css/cl-approve-card.scss +66 -0
- package/src/assets/css/cl-drag-list.scss +22 -0
- package/src/assets/css/cl-empty.scss +10 -0
- package/src/assets/css/cl-expandable.scss +31 -0
- package/src/assets/css/cl-file-upload-table.scss +11 -0
- package/src/assets/css/cl-filter.scss +20 -0
- package/src/assets/css/cl-foldedpanel.scss +35 -0
- package/src/assets/css/cl-footer-box.scss +8 -0
- package/src/assets/css/cl-form-item.scss +281 -0
- package/src/assets/css/cl-more-tab.scss +98 -0
- package/src/assets/css/cl-nav-menu.scss +5 -0
- package/src/assets/css/cl-pagination.scss +71 -0
- package/src/assets/css/cl-secondary-tab.scss +30 -0
- package/src/assets/css/cl-sifting.scss +51 -0
- package/src/assets/css/cl-statis.scss +14 -0
- package/src/assets/css/cl-step.scss +164 -0
- package/src/assets/css/cl-suspend.scss +25 -0
- package/src/assets/css/cl-tertiary-tab.scss +37 -0
- package/src/assets/css/cl-upload.scss +41 -0
- package/src/assets/css/cl-worn-pagination.scss +50 -0
- package/src/assets/css/element-variables.scss +1053 -0
- package/src/assets/css/element.dev.scss +5 -0
- package/src/assets/css/font-icon.scss +22 -0
- package/src/assets/css/index.dev.scss +3 -0
- package/src/assets/css/index.scss +8 -0
- package/src/assets/css/normalize.scss +243 -0
- package/src/assets/css/rootvar.scss +66 -0
- package/src/assets/css/title-pop.scss +4 -0
- package/src/assets/getJsonc.js +51 -0
- package/src/assets/postMessage.js +2 -0
- package/src/assets/postMessageC.js +37 -0
- package/src/components/ApproveCard/index.vue +83 -0
- package/src/components/DatePicker/index.vue +22 -0
- package/src/components/Dialog/index.vue +115 -0
- package/src/components/DragList/index.vue +64 -0
- package/src/components/Empty/img/404.png +0 -0
- package/src/components/Empty/img/abnormal.svg +109 -0
- package/src/components/Empty/img/dispose.svg +72 -0
- package/src/components/Empty/img/empty.svg +58 -0
- package/src/components/Empty/img/general.svg +59 -0
- package/src/components/Empty/img/lock.svg +58 -0
- package/src/components/Empty/img/network.svg +60 -0
- package/src/components/Empty/img/relevant.svg +69 -0
- package/src/components/Empty/img/search.svg +73 -0
- package/src/components/Empty/index.vue +92 -0
- package/src/components/Expandable/index.vue +47 -0
- package/src/components/FileUploadTable/index.vue +456 -0
- package/src/components/Filters/index.vue +77 -0
- package/src/components/FoldedPanel/index.vue +64 -0
- package/src/components/FooterBox/index.vue +18 -0
- package/src/components/InputNumber/index.vue +126 -0
- package/src/components/MoreTab/index.vue +232 -0
- package/src/components/NavMenu/index.vue +90 -0
- package/src/components/Pagination/index.vue +126 -0
- package/src/components/SecondaryTab/index.vue +75 -0
- package/src/components/Select/index.vue +51 -0
- package/src/components/Sifting/index.vue +97 -0
- package/src/components/Statis/index.vue +55 -0
- package/src/components/Step/index.vue +65 -0
- package/src/components/Suspend/index.vue +63 -0
- package/src/components/Suspend/suspensionBtn.png +0 -0
- package/src/components/TertiaryTab/index.vue +49 -0
- package/src/components/TimePicker/index.vue +22 -0
- package/src/components/Upload/index.vue +237 -0
- package/src/components/WornPagination/index.vue +202 -0
- package/src/directives/VMove/index.js +42 -0
- package/src/directives/VTitle/index.js +55 -0
- package/src/directives/VTitle/tooltip.vue +21 -0
- package/src/directives/vDrag/index.js +72 -0
- package/src/index.js +111 -0
- package/src/utils/auth.js +41 -0
- package/src/utils/axios.js +180 -0
- package/src/utils/print.js +156 -0
- package/src/utils/pushLink.js +5 -0
- package/style/css/normalize.scss +243 -0
- package/style/fonts/element-icons.535877f5.woff +0 -0
- package/style/fonts/element-icons.732389de.ttf +0 -0
- package/style/index.css +3 -0
- package/style/index.css.map +1 -0
- package/style/index.umd.min.js +2 -0
- package/style/index.umd.min.js.map +1 -0
- package/style/server-config.jsonc +212 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# vue-demo
|
|
2
|
+
|
|
3
|
+
## Project setup
|
|
4
|
+
```
|
|
5
|
+
npm install
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
### Compiles and hot-reloads for development
|
|
9
|
+
```
|
|
10
|
+
npm run serve
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Compiles and minifies for production
|
|
14
|
+
```
|
|
15
|
+
npm run build
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Lints and fixes files
|
|
19
|
+
```
|
|
20
|
+
npm run lint
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Customize configuration
|
|
24
|
+
See [Configuration Reference](https://cli.vuejs.org/config/).
|
package/package.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_args": [
|
|
3
|
+
[
|
|
4
|
+
"n20-common-lib@1.1.10",
|
|
5
|
+
"D:\\workspace\\df-invest\\invest-web"
|
|
6
|
+
]
|
|
7
|
+
],
|
|
8
|
+
"_from": "n20-common-lib@1.1.10",
|
|
9
|
+
"_id": "n20-common-lib@1.1.10",
|
|
10
|
+
"_inBundle": false,
|
|
11
|
+
"_integrity": "sha512-f/T0vEahMOZKOIahhdZNA+JxqTQPmVqpSIrSeMa+J44yyk7gU092apu77HII2MrYdIwpNyBWsflNK8Vtxj6VCg==",
|
|
12
|
+
"_location": "/n20-common-lib",
|
|
13
|
+
"_phantomChildren": {},
|
|
14
|
+
"_requested": {
|
|
15
|
+
"type": "version",
|
|
16
|
+
"registry": true,
|
|
17
|
+
"raw": "n20-common-lib@1.1.10",
|
|
18
|
+
"name": "n20-common-lib",
|
|
19
|
+
"escapedName": "n20-common-lib",
|
|
20
|
+
"rawSpec": "1.1.10",
|
|
21
|
+
"saveSpec": null,
|
|
22
|
+
"fetchSpec": "1.1.10"
|
|
23
|
+
},
|
|
24
|
+
"_requiredBy": [
|
|
25
|
+
"/"
|
|
26
|
+
],
|
|
27
|
+
"_resolved": "http://mobile2.nstc.com.cn/nexus/repository/npm-group/n20-common-lib/-/n20-common-lib-1.1.10.tgz",
|
|
28
|
+
"_spec": "1.1.10",
|
|
29
|
+
"_where": "D:\\workspace\\df-invest\\invest-web",
|
|
30
|
+
"browserslist": [
|
|
31
|
+
"> 1%",
|
|
32
|
+
"last 2 versions",
|
|
33
|
+
"not dead"
|
|
34
|
+
],
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"dayjs": "^1.10.6",
|
|
37
|
+
"js-cookie": "^3.0.1",
|
|
38
|
+
"normalize.css": "^8.0.1",
|
|
39
|
+
"numerify": "^1.2.9"
|
|
40
|
+
},
|
|
41
|
+
"description": "```\r npm install\r ```",
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
|
44
|
+
"@babel/plugin-transform-flow-comments": "^7.14.5",
|
|
45
|
+
"@rollup/plugin-alias": "^3.1.4",
|
|
46
|
+
"@rollup/plugin-babel": "5.2.0",
|
|
47
|
+
"@rollup/plugin-commonjs": "^15.0.0",
|
|
48
|
+
"@rollup/plugin-image": "^2.0.5",
|
|
49
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
50
|
+
"@vue/cli-plugin-babel": "~4.5.0",
|
|
51
|
+
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
52
|
+
"@vue/cli-service": "~4.5.0",
|
|
53
|
+
"@vue/compiler-sfc": "^3.0.0-rc.6",
|
|
54
|
+
"axios": "^0.21.4",
|
|
55
|
+
"babel-eslint": "^10.1.0",
|
|
56
|
+
"babel-plugin-component": "^1.1.1",
|
|
57
|
+
"codemirror": "^5.63.1",
|
|
58
|
+
"compression-webpack-plugin": "^3.1.0",
|
|
59
|
+
"copy-webpack-plugin": "^6.4.1",
|
|
60
|
+
"core-js": "^3.6.5",
|
|
61
|
+
"element-ui": "^2.15.5",
|
|
62
|
+
"eslint": "^6.7.2",
|
|
63
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
64
|
+
"lodash": "^4.17.21",
|
|
65
|
+
"md2vue-loader": "git+https://gitee.com/bable2000/md2vue-loader.git",
|
|
66
|
+
"node-sass": "^4.13.1",
|
|
67
|
+
"rollup": "^2.55.1",
|
|
68
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
69
|
+
"rollup-plugin-scss": "^2.6.0",
|
|
70
|
+
"rollup-plugin-terser": "^7.0.0",
|
|
71
|
+
"rollup-plugin-vue": "5.1.9",
|
|
72
|
+
"sass-loader": "^8.0.2",
|
|
73
|
+
"strip-json-comments": "^3.1.1",
|
|
74
|
+
"vue": "^2.6.11",
|
|
75
|
+
"vue-cli-plugin-axios": "~0.0.4",
|
|
76
|
+
"vue-router": "^3.5.2",
|
|
77
|
+
"vue-template-compiler": "^2.6.11",
|
|
78
|
+
"vuedraggable": "^2.24.3",
|
|
79
|
+
"vuex": "^3.6.2",
|
|
80
|
+
"webpack-bundle-analyzer": "^3.9.0"
|
|
81
|
+
},
|
|
82
|
+
"eslintConfig": {
|
|
83
|
+
"root": true,
|
|
84
|
+
"env": {
|
|
85
|
+
"node": true
|
|
86
|
+
},
|
|
87
|
+
"extends": [
|
|
88
|
+
"plugin:vue/essential",
|
|
89
|
+
"eslint:recommended"
|
|
90
|
+
],
|
|
91
|
+
"parserOptions": {
|
|
92
|
+
"parser": "babel-eslint"
|
|
93
|
+
},
|
|
94
|
+
"rules": {}
|
|
95
|
+
},
|
|
96
|
+
"files": [
|
|
97
|
+
"src/assets",
|
|
98
|
+
"src/components",
|
|
99
|
+
"src/directives",
|
|
100
|
+
"src/locale",
|
|
101
|
+
"src/mixins",
|
|
102
|
+
"src/utils",
|
|
103
|
+
"src/index.js",
|
|
104
|
+
"style"
|
|
105
|
+
],
|
|
106
|
+
"main": "src/index.js",
|
|
107
|
+
"name": "n20-common-lib",
|
|
108
|
+
"private": false,
|
|
109
|
+
"scripts": {
|
|
110
|
+
"build": "vue-cli-service build",
|
|
111
|
+
"build:Jenkins_1": "vue-cli-service build --serverConfig ./server-config-jenkins.jsonc",
|
|
112
|
+
"build:css": "vue-cli-service build --formats umd-min --target lib src/assets/css/index.scss --name index --dest style",
|
|
113
|
+
"build:gzip": "vue-cli-service build --gzip",
|
|
114
|
+
"build:js": "vue-cli-service build --formats umd-min --target lib src/index.js --name index --dest lib --analy",
|
|
115
|
+
"build:report": "vue-cli-service build --analy",
|
|
116
|
+
"lint": "vue-cli-service lint",
|
|
117
|
+
"serve": "vue-cli-service serve"
|
|
118
|
+
},
|
|
119
|
+
"version": "1.1.10"
|
|
120
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import './cl-nav-menu.scss';
|
|
2
|
+
|
|
3
|
+
@import './normalize.scss';
|
|
4
|
+
@import './title-pop.scss';
|
|
5
|
+
@import './rootvar.scss';
|
|
6
|
+
@import './font-icon.scss';
|
|
7
|
+
@import './cl-form-item.scss';
|
|
8
|
+
|
|
9
|
+
@import './cl-approve-card.scss';
|
|
10
|
+
@import './cl-expandable.scss';
|
|
11
|
+
@import './cl-more-tab.scss';
|
|
12
|
+
@import './cl-pagination.scss';
|
|
13
|
+
@import './cl-secondary-tab.scss';
|
|
14
|
+
@import './cl-statis.scss';
|
|
15
|
+
@import './cl-step.scss';
|
|
16
|
+
@import './cl-suspend.scss';
|
|
17
|
+
@import './cl-tertiary-tab.scss';
|
|
18
|
+
@import './cl-upload.scss';
|
|
19
|
+
@import './cl-drag-list.scss';
|
|
20
|
+
@import './cl-sifting.scss';
|
|
21
|
+
@import './cl-empty.scss';
|
|
22
|
+
@import './cl-file-upload-table.scss';
|
|
23
|
+
@import './cl-footer-box.scss';
|
|
24
|
+
@import './cl-filter.scss';
|
|
25
|
+
@import './cl-foldedpanel.scss';
|
|
26
|
+
@import "./cl-worn-pagination.scss";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
.cl-approve-card {
|
|
2
|
+
width: 80%;
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
|
|
5
|
+
.cl-approve-list {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
.cl-approve-item {
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
.cl-approve-item-exist {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
|
|
17
|
+
.cl-approve-item-time {
|
|
18
|
+
width: 200px;
|
|
19
|
+
color: $--border-color-base;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.cl-approve-item-origin {
|
|
23
|
+
width: 19px;
|
|
24
|
+
height: 19px;
|
|
25
|
+
line-height: 17px;
|
|
26
|
+
background: $--color-white;
|
|
27
|
+
border-radius: 10px;
|
|
28
|
+
color: $--color-text-placeholder;
|
|
29
|
+
text-align: center;
|
|
30
|
+
border: 1px solid $--color-text-placeholder;
|
|
31
|
+
font-size: 8px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.cl-approve-origin-bgc {
|
|
35
|
+
background: $--color-primary;
|
|
36
|
+
}
|
|
37
|
+
.cl-approve-origin-bgc-no {
|
|
38
|
+
background: $--color-danger;
|
|
39
|
+
}
|
|
40
|
+
.cl-approve-origin-color-no {
|
|
41
|
+
color: $--color-danger;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.cl-approve-icon {
|
|
45
|
+
color: $--icon-color;
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
margin-left: 10px;
|
|
48
|
+
margin-right: 5px;
|
|
49
|
+
}
|
|
50
|
+
.cl-approve-node {
|
|
51
|
+
margin-left: 25px;
|
|
52
|
+
}
|
|
53
|
+
.box-nav {
|
|
54
|
+
display: inline-block;
|
|
55
|
+
min-width: 200px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.cl-approve-connect {
|
|
59
|
+
width: 2px;
|
|
60
|
+
height: 20px;
|
|
61
|
+
background: $--color-text-placeholder;
|
|
62
|
+
margin: 2px 9px 2px 209px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.cl-drag-list-item {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
|
|
6
|
+
padding: 6px 0;
|
|
7
|
+
}
|
|
8
|
+
.cl-drag-icon {
|
|
9
|
+
margin-right: 6px;
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
cursor: move;
|
|
12
|
+
&:hover {
|
|
13
|
+
color: $--color-primary;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.cl-drag-remove {
|
|
17
|
+
margin-left: 6px;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
&:hover {
|
|
20
|
+
color: $--color-primary;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.cl-form-expandable {
|
|
2
|
+
.cl-title {
|
|
3
|
+
position: relative;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
height: 36px;
|
|
6
|
+
line-height: 36px;
|
|
7
|
+
padding: 0 5px;
|
|
8
|
+
background: $--table-header-background-color;
|
|
9
|
+
color: $--color-text-primary;
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
margin: 16px 0;
|
|
12
|
+
|
|
13
|
+
.tips {
|
|
14
|
+
position: absolute;
|
|
15
|
+
right: 10px;
|
|
16
|
+
top: 0;
|
|
17
|
+
|
|
18
|
+
color: $--color-text-primary;
|
|
19
|
+
font-size: 12px;
|
|
20
|
+
|
|
21
|
+
i {
|
|
22
|
+
transition: transform 0.2s;
|
|
23
|
+
margin-left: 3px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.expand {
|
|
27
|
+
transform: rotate(90deg);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.cl-filter {
|
|
2
|
+
padding: 12px;
|
|
3
|
+
max-height: 280px;
|
|
4
|
+
overflow-y: auto;
|
|
5
|
+
|
|
6
|
+
.more {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
color: $--color-primary;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
margin: 16px 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.actions {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
padding: 16px 0;
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.cl-foldedpanel {
|
|
2
|
+
padding: 16px;
|
|
3
|
+
color: $--color-info;
|
|
4
|
+
.cl-foldedpanel-item {
|
|
5
|
+
display: grid;
|
|
6
|
+
.cl-foldedpanel-top {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-auto-flow: column;
|
|
9
|
+
grid-auto-columns: 15% 10% 10% 65%;
|
|
10
|
+
.cl-foldedpanel-left {
|
|
11
|
+
display: flex;
|
|
12
|
+
position: relative;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.cl-foldedpanel-bottom {
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-auto-flow: column;
|
|
20
|
+
grid-auto-columns: 15% 85%;
|
|
21
|
+
justify-items: end;
|
|
22
|
+
.down{
|
|
23
|
+
width: 1px;
|
|
24
|
+
min-height: 30px;
|
|
25
|
+
border-left: 2px solid $--color-text-placeholder;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.cl-foldedpanel-time {
|
|
30
|
+
margin-right: 10px;
|
|
31
|
+
}
|
|
32
|
+
.el-tag + .el-tag {
|
|
33
|
+
margin:0 10px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
.el-button[onlyicon] {
|
|
2
|
+
&.el-button--default,
|
|
3
|
+
&.el-button--medium,
|
|
4
|
+
&.el-button--small {
|
|
5
|
+
padding: 8px;
|
|
6
|
+
}
|
|
7
|
+
&.el-button--mini {
|
|
8
|
+
padding: 5px;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.el-button--danger.is-plain {
|
|
13
|
+
background: #ffffff;
|
|
14
|
+
border-color: #dddddd;
|
|
15
|
+
&:hover,
|
|
16
|
+
&:focus {
|
|
17
|
+
color: #ff3b30;
|
|
18
|
+
background: #ffffff;
|
|
19
|
+
border-color: #ff3b30;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.el-button--primary,
|
|
24
|
+
.el-button--default.is-plain,
|
|
25
|
+
.el-button--danger.is-plain {
|
|
26
|
+
&.is-disabled {
|
|
27
|
+
&,
|
|
28
|
+
&:hover,
|
|
29
|
+
&:focus,
|
|
30
|
+
&:active {
|
|
31
|
+
color: #cccccc !important;
|
|
32
|
+
background: #eeeeee !important;
|
|
33
|
+
border-color: #dddddd !important;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.el-button--text {
|
|
38
|
+
color: $--color-primary;
|
|
39
|
+
&:hover,
|
|
40
|
+
&:focus,
|
|
41
|
+
&:active {
|
|
42
|
+
color: $--color-primary;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.el-select-dropdown,
|
|
47
|
+
.el-dropdown-menu,
|
|
48
|
+
.el-autocomplete-suggestion {
|
|
49
|
+
.popper__arrow {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.el-input__prefix,
|
|
55
|
+
.el-input__suffix {
|
|
56
|
+
font-size: 16px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.el-input__inner {
|
|
60
|
+
padding-left: 10px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// .el-input {
|
|
64
|
+
// width: $--input-width;
|
|
65
|
+
// }
|
|
66
|
+
.w-224 {
|
|
67
|
+
width: $--input-width;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.el-input,
|
|
71
|
+
.cl-muls {
|
|
72
|
+
.is-search {
|
|
73
|
+
pointer-events: all;
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
&:hover,
|
|
76
|
+
&:active {
|
|
77
|
+
font-weight: bolder;
|
|
78
|
+
color: $--color-primary;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.el-tag.el-tag--info {
|
|
84
|
+
background: #eeeeee;
|
|
85
|
+
border: none;
|
|
86
|
+
border-radius: 2px;
|
|
87
|
+
&:hover {
|
|
88
|
+
.el-tag__close {
|
|
89
|
+
display: inline-block;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.el-select .el-tag__close.el-icon-close {
|
|
95
|
+
right: -4px;
|
|
96
|
+
background: none;
|
|
97
|
+
display: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// .el-select-dropdown__item {
|
|
101
|
+
// &.selected {
|
|
102
|
+
// font-weight: initial;
|
|
103
|
+
// }
|
|
104
|
+
// }
|
|
105
|
+
|
|
106
|
+
.el-radio__inner,
|
|
107
|
+
.el-checkbox__inner {
|
|
108
|
+
width: 16px;
|
|
109
|
+
height: 16px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.el-radio__label,
|
|
113
|
+
.el-checkbox__label {
|
|
114
|
+
padding-left: 6px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.el-radio__inner {
|
|
118
|
+
&::after {
|
|
119
|
+
width: 8px;
|
|
120
|
+
height: 8px;
|
|
121
|
+
background-color: $--color-primary;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.el-checkbox__inner {
|
|
126
|
+
&::after {
|
|
127
|
+
width: 4px;
|
|
128
|
+
height: 8px;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.el-switch {
|
|
133
|
+
&[inline] {
|
|
134
|
+
position: relative;
|
|
135
|
+
.el-switch__label {
|
|
136
|
+
position: absolute;
|
|
137
|
+
z-index: 1;
|
|
138
|
+
color: #ffffff;
|
|
139
|
+
margin-left: 0;
|
|
140
|
+
margin-right: 0;
|
|
141
|
+
display: none;
|
|
142
|
+
&.is-active {
|
|
143
|
+
display: initial;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
.el-switch__label--left {
|
|
147
|
+
right: 8px;
|
|
148
|
+
}
|
|
149
|
+
.el-switch__label--right {
|
|
150
|
+
left: 8px;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
.el-switch {
|
|
155
|
+
&.is-disabled {
|
|
156
|
+
opacity: 0.3;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.el-date-editor.el-input--prefix {
|
|
161
|
+
width: $--input-width;
|
|
162
|
+
.el-input__inner {
|
|
163
|
+
padding-left: 10px;
|
|
164
|
+
}
|
|
165
|
+
.el-input__prefix {
|
|
166
|
+
right: 5px;
|
|
167
|
+
left: unset;
|
|
168
|
+
font-size: 16px;
|
|
169
|
+
}
|
|
170
|
+
&.has-value {
|
|
171
|
+
&:hover {
|
|
172
|
+
.el-input__prefix {
|
|
173
|
+
display: none;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.el-range-editor {
|
|
180
|
+
position: relative;
|
|
181
|
+
.el-range__icon {
|
|
182
|
+
position: absolute;
|
|
183
|
+
height: 100%;
|
|
184
|
+
right: 5px;
|
|
185
|
+
top: 0;
|
|
186
|
+
text-align: center;
|
|
187
|
+
color: #cccccc;
|
|
188
|
+
font-size: 16px;
|
|
189
|
+
transition: all 0.3s;
|
|
190
|
+
}
|
|
191
|
+
&.has-value {
|
|
192
|
+
&:hover {
|
|
193
|
+
.el-range__icon {
|
|
194
|
+
display: none;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
.el-range__close-icon {
|
|
199
|
+
position: absolute;
|
|
200
|
+
height: 100%;
|
|
201
|
+
right: 5px;
|
|
202
|
+
top: 0;
|
|
203
|
+
text-align: center;
|
|
204
|
+
color: #cccccc;
|
|
205
|
+
transition: all 0.3s;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.el-range-editor.el-input__inner {
|
|
210
|
+
width: $--input-width;
|
|
211
|
+
padding-right: 30px;
|
|
212
|
+
}
|
|
213
|
+
.el-range-editor .el-range-input {
|
|
214
|
+
flex: 1 1 auto;
|
|
215
|
+
text-align: left;
|
|
216
|
+
}
|
|
217
|
+
.el-range-editor:not(.has-value) .el-range-separator {
|
|
218
|
+
color: #cccccc;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.el-date-table td {
|
|
222
|
+
& span {
|
|
223
|
+
border-radius: 2px;
|
|
224
|
+
}
|
|
225
|
+
&.today span {
|
|
226
|
+
border: 1px solid $--color-primary;
|
|
227
|
+
}
|
|
228
|
+
&.available:hover span {
|
|
229
|
+
background: $--color-primary-light-9;
|
|
230
|
+
}
|
|
231
|
+
&.current:not(.disabled) span {
|
|
232
|
+
background-color: $--color-primary;
|
|
233
|
+
}
|
|
234
|
+
&.start-date div {
|
|
235
|
+
border-top-left-radius: 2px;
|
|
236
|
+
border-bottom-left-radius: 2px;
|
|
237
|
+
}
|
|
238
|
+
&.end-date div {
|
|
239
|
+
border-top-right-radius: 2px;
|
|
240
|
+
border-bottom-right-radius: 2px;
|
|
241
|
+
}
|
|
242
|
+
&.start-date,
|
|
243
|
+
&.end-date {
|
|
244
|
+
&:hover span {
|
|
245
|
+
background-color: $--color-primary;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
/* 金额,利率输入框 */
|
|
250
|
+
.cl-num-w {
|
|
251
|
+
display: inline-block;
|
|
252
|
+
width: $--input-width;
|
|
253
|
+
position: relative;
|
|
254
|
+
.cl-num,
|
|
255
|
+
.cl-stc {
|
|
256
|
+
width: 100%;
|
|
257
|
+
.el-input__inner {
|
|
258
|
+
text-align: right;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
.cl-num--rate {
|
|
262
|
+
.el-input__inner {
|
|
263
|
+
padding-right: 30px;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
.el-input__suffix {
|
|
267
|
+
font-size: 14px;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
/* 多选搜索框 */
|
|
271
|
+
.cl-muls {
|
|
272
|
+
display: inline-block;
|
|
273
|
+
width: $--input-width;
|
|
274
|
+
position: relative;
|
|
275
|
+
.el-select {
|
|
276
|
+
width: 100%;
|
|
277
|
+
}
|
|
278
|
+
.el-select .el-input__suffix {
|
|
279
|
+
display: none;
|
|
280
|
+
}
|
|
281
|
+
}
|