chain-saasui 1.0.6 → 1.0.7

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.
Files changed (46) hide show
  1. package/README.md +5 -5
  2. package/babel.config.js +13 -13
  3. package/build/version-alpha.js +51 -51
  4. package/build/version-patch.js +44 -44
  5. package/build/webpack.common.js +54 -54
  6. package/build/webpack.components.js +69 -69
  7. package/build/webpack.demo.js +40 -40
  8. package/components/css/card.scss +19 -19
  9. package/components/css/common.scss +10 -10
  10. package/components/css/container.scss +14 -14
  11. package/components/css/detail.scss +87 -87
  12. package/components/css/dialog.scss +83 -83
  13. package/components/css/group.scss +82 -82
  14. package/components/css/index.scss +11 -11
  15. package/components/css/messagebox.scss +59 -59
  16. package/components/css/pagetable.scss +89 -89
  17. package/components/css/tablebuttons.scss +15 -15
  18. package/components/css/unit.scss +25 -25
  19. package/components/src/SCard/index.vue +34 -34
  20. package/components/src/SContainer/index.vue +35 -35
  21. package/components/src/SDialog/index.vue +101 -101
  22. package/components/src/SDrawer/index.vue +97 -97
  23. package/components/src/SForm/SSelect/index.vue +108 -108
  24. package/components/src/SGroup/index.vue +81 -81
  25. package/components/src/SMessagebox/index.js +66 -66
  26. package/components/src/SMessagebox/messagebox.vue +83 -83
  27. package/components/src/SPage/Pagedetail.vue +112 -112
  28. package/components/src/SPage/Pagestep.vue +94 -94
  29. package/components/src/SPage/Pagetable.vue +112 -112
  30. package/components/src/STable/STablecolumn.vue +111 -111
  31. package/components/src/STable/index.vue +48 -48
  32. package/components/src/STableButtons/STableButtons.md +111 -111
  33. package/components/src/STableButtons/index.vue +96 -96
  34. package/components/src/SUnit/index.vue +74 -74
  35. package/components/src/index.js +48 -48
  36. package/gulpfile.js +20 -20
  37. package/jsconfig.json +25 -25
  38. package/lib/saasui.common.js +1 -1
  39. package/package.json +84 -84
  40. package/public/html/ie.html +45 -45
  41. package/public/index.html +273 -273
  42. package/public/robots.txt +1 -1
  43. package/src/App.vue +30 -30
  44. package/src/components/HelloWorld.vue +58 -58
  45. package/src/main.js +16 -16
  46. package/vue.config.js +40 -40
@@ -1,87 +1,87 @@
1
- .saas-detail {
2
- background: #fff;
3
- height: 100%;
4
- display: flex;
5
- flex-direction: column;
6
- position: relative;
7
- }
8
- .saas-detail-top {
9
- flex: 1;
10
- overflow-y: auto;
11
- overflow-x: auto;
12
- }
13
- .saas-detail-header {
14
- display: flex;
15
- position: sticky;
16
- padding: 24px 64px;
17
- position: sticky;
18
- background: #fff;
19
- top: 0;
20
- z-index: 10;
21
- }
22
- .saas-detail-titlebox {
23
- // margin: 0 auto;
24
- }
25
- .saas-detail-title {
26
- display: flex;
27
- align-items: center;
28
- font-size: 16px;
29
- font-weight: 600;
30
- color: #0e1822;
31
- }
32
- .saas-detail-sub {
33
- margin-top: 8px;
34
- }
35
- .saas-title-line {
36
- // display: none;
37
- display: inline-block;
38
- width: 4px;
39
- height: 16px;
40
- background: #1ed080;
41
- margin-right: 8px;
42
- vertical-align: middle;
43
- }
44
-
45
- .saas-detail-backbox {
46
- display: flex;
47
- align-items: center;
48
- position: absolute;
49
- left: 24px;
50
- top: 24px;
51
- }
52
- .saas-detail-back {
53
- display: flex;
54
- align-items: center;
55
- border-radius: 50%;
56
- border: 1px solid #dbdee7;
57
- width: 24px;
58
- height: 24px;
59
- justify-content: center;
60
- color: #a1a5b2;
61
- cursor: pointer;
62
-
63
- &:hover {
64
- background: rgb(247, 249, 251);
65
- }
66
- }
67
- .saas-detail-content {
68
- padding: 0px 64px 24px;
69
- flex: 1;
70
- // overflow-x: auto;
71
- // overflow-y: auto;
72
- }
73
- .saas-detail-footer {
74
- // position: absolute;
75
- padding: 16px 24px;
76
- background: #fff;
77
- text-align: center;
78
- box-shadow: 8px 0px 12px 0px rgba(161, 165, 178, 0.1);
79
- border-radius: 0px 0px 0px 0px;
80
- border-top: 1px solid #dbdee7;
81
- z-index: 5;
82
- }
83
-
84
- .saas-steptop-btn {
85
- display: flex;
86
- align-items: center;
87
- }
1
+ .saas-detail {
2
+ background: #fff;
3
+ height: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ position: relative;
7
+ }
8
+ .saas-detail-top {
9
+ flex: 1;
10
+ overflow-y: auto;
11
+ overflow-x: auto;
12
+ }
13
+ .saas-detail-header {
14
+ display: flex;
15
+ position: sticky;
16
+ padding: 24px 64px;
17
+ position: sticky;
18
+ background: #fff;
19
+ top: 0;
20
+ z-index: 10;
21
+ }
22
+ .saas-detail-titlebox {
23
+ // margin: 0 auto;
24
+ }
25
+ .saas-detail-title {
26
+ display: flex;
27
+ align-items: center;
28
+ font-size: 16px;
29
+ font-weight: 600;
30
+ color: #0e1822;
31
+ }
32
+ .saas-detail-sub {
33
+ margin-top: 8px;
34
+ }
35
+ .saas-title-line {
36
+ // display: none;
37
+ display: inline-block;
38
+ width: 4px;
39
+ height: 16px;
40
+ background: #1ed080;
41
+ margin-right: 8px;
42
+ vertical-align: middle;
43
+ }
44
+
45
+ .saas-detail-backbox {
46
+ display: flex;
47
+ align-items: center;
48
+ position: absolute;
49
+ left: 24px;
50
+ top: 24px;
51
+ }
52
+ .saas-detail-back {
53
+ display: flex;
54
+ align-items: center;
55
+ border-radius: 50%;
56
+ border: 1px solid #dbdee7;
57
+ width: 24px;
58
+ height: 24px;
59
+ justify-content: center;
60
+ color: #a1a5b2;
61
+ cursor: pointer;
62
+
63
+ &:hover {
64
+ background: rgb(247, 249, 251);
65
+ }
66
+ }
67
+ .saas-detail-content {
68
+ padding: 0px 64px 24px;
69
+ flex: 1;
70
+ // overflow-x: auto;
71
+ // overflow-y: auto;
72
+ }
73
+ .saas-detail-footer {
74
+ // position: absolute;
75
+ padding: 16px 24px;
76
+ background: #fff;
77
+ text-align: center;
78
+ box-shadow: 8px 0px 12px 0px rgba(161, 165, 178, 0.1);
79
+ border-radius: 0px 0px 0px 0px;
80
+ border-top: 1px solid #dbdee7;
81
+ z-index: 5;
82
+ }
83
+
84
+ .saas-steptop-btn {
85
+ display: flex;
86
+ align-items: center;
87
+ }
@@ -1,83 +1,83 @@
1
- @import './common.scss';
2
-
3
- .saas-dialog {
4
- .el-dialog {
5
- border-radius: 6px;
6
- }
7
-
8
- .el-dialog__body {
9
- padding: 0;
10
- }
11
- .btneditclass {
12
- color: #2c68f8;
13
- }
14
- ::v-deep .el-dialog__footer {
15
- padding: 12px 24px 20px;
16
- }
17
-
18
- .el-dialog__header {
19
- border-bottom: 1px solid #dbdee7;
20
- padding: 12px 16px;
21
- }
22
- .el-dialog__footer {
23
- padding: 8px 16px;
24
- border-top: 1px solid #dbdee7;
25
- }
26
- .el-dialog__headerbtn {
27
- top: 16px;
28
- }
29
- }
30
-
31
- .content-no-padding {
32
- .saas-dialog-content {
33
- padding: 0;
34
- }
35
- }
36
-
37
- .saas-dialog-auto {
38
- max-height: calc(85vh - 100px);
39
- overflow-y: auto;
40
- }
41
- .saas-dialog-content {
42
- padding: 16px;
43
- }
44
-
45
- .saas-dialog-footer {
46
- height: auto;
47
- text-align: right;
48
- }
49
-
50
- .saas-drawer {
51
- .el-drawer__body {
52
- display: flex;
53
- }
54
- .btneditclass {
55
- color: #2c68f8;
56
- }
57
- }
58
-
59
- .saas-drawer-content {
60
- flex: 1;
61
- padding: 24px;
62
- overflow-y: auto;
63
- }
64
-
65
- .saas-drawer-footer {
66
- height: auto;
67
- padding: 16px 24px;
68
- border-top: 1px #efefef solid;
69
- text-align: right;
70
- }
71
-
72
- .saas-dialog,
73
- .saas-drawer {
74
- .submit-form {
75
- .el-form-item__content {
76
- line-height: normal;
77
- }
78
- .el-form-item__label {
79
- line-height: normal;
80
- font-weight: 500;
81
- }
82
- }
83
- }
1
+ @import './common.scss';
2
+
3
+ .saas-dialog {
4
+ .el-dialog {
5
+ border-radius: 6px;
6
+ }
7
+
8
+ .el-dialog__body {
9
+ padding: 0;
10
+ }
11
+ .btneditclass {
12
+ color: #2c68f8;
13
+ }
14
+ ::v-deep .el-dialog__footer {
15
+ padding: 12px 24px 20px;
16
+ }
17
+
18
+ .el-dialog__header {
19
+ border-bottom: 1px solid #dbdee7;
20
+ padding: 12px 16px;
21
+ }
22
+ .el-dialog__footer {
23
+ padding: 8px 16px;
24
+ border-top: 1px solid #dbdee7;
25
+ }
26
+ .el-dialog__headerbtn {
27
+ top: 16px;
28
+ }
29
+ }
30
+
31
+ .content-no-padding {
32
+ .saas-dialog-content {
33
+ padding: 0;
34
+ }
35
+ }
36
+
37
+ .saas-dialog-auto {
38
+ max-height: calc(85vh - 100px);
39
+ overflow-y: auto;
40
+ }
41
+ .saas-dialog-content {
42
+ padding: 16px;
43
+ }
44
+
45
+ .saas-dialog-footer {
46
+ height: auto;
47
+ text-align: right;
48
+ }
49
+
50
+ .saas-drawer {
51
+ .el-drawer__body {
52
+ display: flex;
53
+ }
54
+ .btneditclass {
55
+ color: #2c68f8;
56
+ }
57
+ }
58
+
59
+ .saas-drawer-content {
60
+ flex: 1;
61
+ padding: 24px;
62
+ overflow-y: auto;
63
+ }
64
+
65
+ .saas-drawer-footer {
66
+ height: auto;
67
+ padding: 16px 24px;
68
+ border-top: 1px #efefef solid;
69
+ text-align: right;
70
+ }
71
+
72
+ .saas-dialog,
73
+ .saas-drawer {
74
+ .submit-form {
75
+ .el-form-item__content {
76
+ line-height: normal;
77
+ }
78
+ .el-form-item__label {
79
+ line-height: normal;
80
+ font-weight: 500;
81
+ }
82
+ }
83
+ }
@@ -1,82 +1,82 @@
1
- .saas-group {
2
- display: flex;
3
- overflow-x: auto;
4
- min-height: 50px;
5
- padding-bottom: 4px;
6
- div {
7
- box-sizing: border-box;
8
- }
9
-
10
- &::-webkit-scrollbar {
11
- width: 3px;
12
- height: 4px;
13
- background-color: #fff;
14
- cursor: pointer;
15
- }
16
-
17
- &::-webkit-scrollbar-thumb {
18
- background-color: rgba(144, 147, 153, 0.2);
19
-
20
- &:hover {
21
- background-color: rgba(144, 147, 153, 0.5);
22
- }
23
- }
24
- /* 修改滚动条滑道的颜色 */
25
- &::-webkit-scrollbar-track {
26
- background-color: #fff; /* 设置滑道背景颜色 */
27
- }
28
- }
29
- .saas-sort-group {
30
- display: flex;
31
- border-radius: 6px 6px 6px 6px;
32
- margin-right: 8px;
33
- background: #f7f9fb;
34
- }
35
- .saas-sort-item {
36
- width: 136px;
37
- background: #f7f9fb;
38
- border: 1px solid #f7f9fb;
39
- text-align: center;
40
- padding: 8px 4px;
41
- position: relative;
42
- cursor: pointer;
43
- border-radius: 6px;
44
- display: flex;
45
- flex-direction: column;
46
- align-items: center;
47
- justify-content: center;
48
- .title {
49
- font-weight: 600;
50
- font-size: 16px;
51
- color: #0e1822;
52
- line-height: 24px;
53
- }
54
- .text {
55
- font-size: 14px;
56
- color: #7b8089;
57
- line-height: 22px;
58
- max-width: 100%;
59
- }
60
-
61
- img {
62
- display: none;
63
- position: absolute;
64
- width: 16px;
65
- right: -1px;
66
- top: -1px;
67
- }
68
- }
69
- .saas-sort-item.active {
70
- border: 1px solid #28b86a;
71
- border-radius: 6px;
72
- background: #f4fbf8;
73
-
74
- .title,
75
- .text {
76
- color: #28b86a;
77
- }
78
-
79
- img {
80
- display: block;
81
- }
82
- }
1
+ .saas-group {
2
+ display: flex;
3
+ overflow-x: auto;
4
+ min-height: 50px;
5
+ padding-bottom: 4px;
6
+ div {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ &::-webkit-scrollbar {
11
+ width: 3px;
12
+ height: 4px;
13
+ background-color: #fff;
14
+ cursor: pointer;
15
+ }
16
+
17
+ &::-webkit-scrollbar-thumb {
18
+ background-color: rgba(144, 147, 153, 0.2);
19
+
20
+ &:hover {
21
+ background-color: rgba(144, 147, 153, 0.5);
22
+ }
23
+ }
24
+ /* 修改滚动条滑道的颜色 */
25
+ &::-webkit-scrollbar-track {
26
+ background-color: #fff; /* 设置滑道背景颜色 */
27
+ }
28
+ }
29
+ .saas-sort-group {
30
+ display: flex;
31
+ border-radius: 6px 6px 6px 6px;
32
+ margin-right: 8px;
33
+ background: #f7f9fb;
34
+ }
35
+ .saas-sort-item {
36
+ width: 136px;
37
+ background: #f7f9fb;
38
+ border: 1px solid #f7f9fb;
39
+ text-align: center;
40
+ padding: 8px 4px;
41
+ position: relative;
42
+ cursor: pointer;
43
+ border-radius: 6px;
44
+ display: flex;
45
+ flex-direction: column;
46
+ align-items: center;
47
+ justify-content: center;
48
+ .title {
49
+ font-weight: 600;
50
+ font-size: 16px;
51
+ color: #0e1822;
52
+ line-height: 24px;
53
+ }
54
+ .text {
55
+ font-size: 14px;
56
+ color: #7b8089;
57
+ line-height: 22px;
58
+ max-width: 100%;
59
+ }
60
+
61
+ img {
62
+ display: none;
63
+ position: absolute;
64
+ width: 16px;
65
+ right: -1px;
66
+ top: -1px;
67
+ }
68
+ }
69
+ .saas-sort-item.active {
70
+ border: 1px solid #28b86a;
71
+ border-radius: 6px;
72
+ background: #f4fbf8;
73
+
74
+ .title,
75
+ .text {
76
+ color: #28b86a;
77
+ }
78
+
79
+ img {
80
+ display: block;
81
+ }
82
+ }
@@ -1,11 +1,11 @@
1
- @import './common.scss';
2
- @import './dialog.scss';
3
- @import './detail.scss';
4
- @import './unit.scss';
5
- @import './card.scss';
6
- @import './group.scss';
7
- @import './messagebox.scss';
8
- @import './pagetable.scss';
9
- @import './table.scss';
10
- @import "./tablebuttons.scss";
11
- @import './container.scss';
1
+ @import './common.scss';
2
+ @import './dialog.scss';
3
+ @import './detail.scss';
4
+ @import './unit.scss';
5
+ @import './card.scss';
6
+ @import './group.scss';
7
+ @import './messagebox.scss';
8
+ @import './pagetable.scss';
9
+ @import './table.scss';
10
+ @import "./tablebuttons.scss";
11
+ @import './container.scss';
@@ -1,59 +1,59 @@
1
- .message-box-overlay {
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- width: 100%;
6
- height: 100%;
7
- background: rgba(0, 0, 0, 0.5);
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- z-index: 4999;
12
- }
13
-
14
- .message-box {
15
- background: white;
16
- padding: 32px 24px 24px;
17
- width: 480px;
18
- border-radius: 8px;
19
- }
20
-
21
- .message-box__header {
22
- font-weight: 600;
23
- font-size: 16px;
24
- color: #333333;
25
- line-height: 24px;
26
- margin-bottom: 8px;
27
- }
28
-
29
- .message-box__content {
30
- margin-bottom: 24px;
31
- color: #5c616a;
32
- }
33
-
34
- .message-box__footer {
35
- display: flex;
36
- justify-content: flex-end;
37
- // gap: 10px;
38
- }
39
-
40
- .message-box__input {
41
- width: 100%;
42
- padding: 6px;
43
- }
44
-
45
- .message-box_icon {
46
- color: #ff9900;
47
- display: flex;
48
- font-size: 24px;
49
- }
50
-
51
- .message-box_main {
52
- display: flex;
53
- gap: 8px;
54
- }
55
-
56
- .message-box_right {
57
- flex: 1;
58
- width: 0;
59
- }
1
+ .message-box-overlay {
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ background: rgba(0, 0, 0, 0.5);
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ z-index: 4999;
12
+ }
13
+
14
+ .message-box {
15
+ background: white;
16
+ padding: 32px 24px 24px;
17
+ width: 480px;
18
+ border-radius: 8px;
19
+ }
20
+
21
+ .message-box__header {
22
+ font-weight: 600;
23
+ font-size: 16px;
24
+ color: #333333;
25
+ line-height: 24px;
26
+ margin-bottom: 8px;
27
+ }
28
+
29
+ .message-box__content {
30
+ margin-bottom: 24px;
31
+ color: #5c616a;
32
+ }
33
+
34
+ .message-box__footer {
35
+ display: flex;
36
+ justify-content: flex-end;
37
+ // gap: 10px;
38
+ }
39
+
40
+ .message-box__input {
41
+ width: 100%;
42
+ padding: 6px;
43
+ }
44
+
45
+ .message-box_icon {
46
+ color: #ff9900;
47
+ display: flex;
48
+ font-size: 24px;
49
+ }
50
+
51
+ .message-box_main {
52
+ display: flex;
53
+ gap: 8px;
54
+ }
55
+
56
+ .message-box_right {
57
+ flex: 1;
58
+ width: 0;
59
+ }