@toolspack/ttd-pdfjs 0.1.2 → 0.1.4
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/.eslintignore +5 -5
- package/.eslintrc.js +52 -52
- package/README.md +46 -44
- package/lib/ttd-pdfjs.common.js +113 -113
- package/lib/ttd-pdfjs.umd.js +113 -113
- package/lib/ttd-pdfjs.umd.min.js +4 -4
- package/package.json +39 -40
- package/postcss.config.js +1 -1
- package/src/App.vue +99 -99
- package/src/main.js +17 -16
- package/src/packages/index.js +5 -5
- package/src/packages/pdfjs/PdfView216.vue +417 -418
- package/src/packages/pdfjs/SwitchPage.vue +198 -190
- package/src/packages/utils/index.js +16 -16
- package/src/styles/base.scss +3 -3
- package/src/styles/common.scss +22 -22
- package/src/styles/components/el-pagination.scss +21 -21
- package/src/styles/components/file-group.scss +4 -4
- package/src/styles/components/message.scss +53 -53
- package/src/styles/components/reset.scss +8 -8
- package/src/styles/components/table.scss +35 -35
- package/src/styles/input.less +59 -59
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
/* 将所有表格 标题及内容左对齐 */
|
|
2
|
-
|
|
3
|
-
.el-table--small {
|
|
4
|
-
font-size: 13px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.el-table__empty-block {
|
|
8
|
-
line-height: 60px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.el-table {
|
|
12
|
-
color: #4B5973;
|
|
13
|
-
box-sizing: content-box;
|
|
14
|
-
overflow: visible;
|
|
15
|
-
|
|
16
|
-
thead {
|
|
17
|
-
color: #7C879B;
|
|
18
|
-
line-height: 24px;
|
|
19
|
-
|
|
20
|
-
th {
|
|
21
|
-
background: #F1F2F6;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
th.is-center,
|
|
26
|
-
td.is-center {
|
|
27
|
-
text-align: left;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
th.is-leaf {
|
|
31
|
-
border: none;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.table-embed {}
|
|
1
|
+
/* 将所有表格 标题及内容左对齐 */
|
|
2
|
+
|
|
3
|
+
.el-table--small {
|
|
4
|
+
font-size: 13px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.el-table__empty-block {
|
|
8
|
+
line-height: 60px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.el-table {
|
|
12
|
+
color: #4B5973;
|
|
13
|
+
box-sizing: content-box;
|
|
14
|
+
overflow: visible;
|
|
15
|
+
|
|
16
|
+
thead {
|
|
17
|
+
color: #7C879B;
|
|
18
|
+
line-height: 24px;
|
|
19
|
+
|
|
20
|
+
th {
|
|
21
|
+
background: #F1F2F6;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
th.is-center,
|
|
26
|
+
td.is-center {
|
|
27
|
+
text-align: left;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
th.is-leaf {
|
|
31
|
+
border: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.table-embed {}
|
package/src/styles/input.less
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
/* input 和 button 的样式控制 */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.gray-btn {
|
|
5
|
-
color: #222222;
|
|
6
|
-
border-color: #cccccc;
|
|
7
|
-
|
|
8
|
-
&:hover {
|
|
9
|
-
color: #38f;
|
|
10
|
-
border-color: #38f;
|
|
11
|
-
background-color: #fff;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&:active {
|
|
15
|
-
color: #fff;
|
|
16
|
-
background-color: #38f;
|
|
17
|
-
border-color: #38f;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&:disabled {
|
|
21
|
-
color: #ccc;
|
|
22
|
-
background-color: #F5F5F5;
|
|
23
|
-
border: 1px solid #E0E0E0;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.el-button--danger {
|
|
28
|
-
border-color: #FF3838;
|
|
29
|
-
background: #ffffff;
|
|
30
|
-
color: #FF3838;
|
|
31
|
-
|
|
32
|
-
&:hover {
|
|
33
|
-
color: #FF0511;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.el-input__inner {
|
|
39
|
-
border-radius: 2px;
|
|
40
|
-
padding: 0 10px;
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.el-input__inner::-ms-reveal {
|
|
45
|
-
display: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
.el-form-item.is-success .el-input__inner,
|
|
50
|
-
.el-form-item.is-success .el-input__inner:focus,
|
|
51
|
-
.el-form-item.is-success .el-textarea__inner,
|
|
52
|
-
.el-form-item.is-success .el-textarea__inner:focus {
|
|
53
|
-
border-color: #E0E0E0
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.el-input.is-disabled .el-input__inner {
|
|
57
|
-
border: 1px solid #E0E0E0;
|
|
58
|
-
color: #CCCCCC;
|
|
59
|
-
}
|
|
1
|
+
/* input 和 button 的样式控制 */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.gray-btn {
|
|
5
|
+
color: #222222;
|
|
6
|
+
border-color: #cccccc;
|
|
7
|
+
|
|
8
|
+
&:hover {
|
|
9
|
+
color: #38f;
|
|
10
|
+
border-color: #38f;
|
|
11
|
+
background-color: #fff;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:active {
|
|
15
|
+
color: #fff;
|
|
16
|
+
background-color: #38f;
|
|
17
|
+
border-color: #38f;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:disabled {
|
|
21
|
+
color: #ccc;
|
|
22
|
+
background-color: #F5F5F5;
|
|
23
|
+
border: 1px solid #E0E0E0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.el-button--danger {
|
|
28
|
+
border-color: #FF3838;
|
|
29
|
+
background: #ffffff;
|
|
30
|
+
color: #FF3838;
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
color: #FF0511;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
.el-input__inner {
|
|
39
|
+
border-radius: 2px;
|
|
40
|
+
padding: 0 10px;
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.el-input__inner::-ms-reveal {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
.el-form-item.is-success .el-input__inner,
|
|
50
|
+
.el-form-item.is-success .el-input__inner:focus,
|
|
51
|
+
.el-form-item.is-success .el-textarea__inner,
|
|
52
|
+
.el-form-item.is-success .el-textarea__inner:focus {
|
|
53
|
+
border-color: #E0E0E0
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.el-input.is-disabled .el-input__inner {
|
|
57
|
+
border: 1px solid #E0E0E0;
|
|
58
|
+
color: #CCCCCC;
|
|
59
|
+
}
|