dpzvc-ui 1.0.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.
Files changed (164) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +46 -0
  3. package/build-style.js +42 -0
  4. package/dist/dpzvc.js +17605 -0
  5. package/dist/styles/dpzvc.css +1 -0
  6. package/dist-prod/index.html +26 -0
  7. package/dist-prod/main.js +1 -0
  8. package/dist-prod/vendor.bundle.js +1 -0
  9. package/package.json +88 -0
  10. package/src/components/Indicator/Indicator.vue +77 -0
  11. package/src/components/Indicator/index.js +153 -0
  12. package/src/components/Text/Number.vue +201 -0
  13. package/src/components/Text/index.js +7 -0
  14. package/src/components/Text/textBar.vue +142 -0
  15. package/src/components/action-sheet/actionSheet.vue +91 -0
  16. package/src/components/action-sheet/index.js +5 -0
  17. package/src/components/app.vue +66 -0
  18. package/src/components/badge/badge.vue +77 -0
  19. package/src/components/badge/index.js +5 -0
  20. package/src/components/button/button.vue +122 -0
  21. package/src/components/button/index.js +5 -0
  22. package/src/components/card/card.vue +59 -0
  23. package/src/components/card/index.js +5 -0
  24. package/src/components/cell/cell.vue +103 -0
  25. package/src/components/cell/index.js +5 -0
  26. package/src/components/cell-swipe/cell-swipe.vue +148 -0
  27. package/src/components/cell-swipe/index.js +5 -0
  28. package/src/components/checkBox/checkbox-group.vue +76 -0
  29. package/src/components/checkBox/checkbox.vue +107 -0
  30. package/src/components/checkBox/index.js +8 -0
  31. package/src/components/header/header.vue +82 -0
  32. package/src/components/header/index.js +5 -0
  33. package/src/components/loadMore/index.js +5 -0
  34. package/src/components/loadMore/loadmore.vue +293 -0
  35. package/src/components/message/confirm.js +52 -0
  36. package/src/components/message/index.js +132 -0
  37. package/src/components/message/message.vue +135 -0
  38. package/src/components/message/messageGroup.vue +74 -0
  39. package/src/components/modal/confirm.js +161 -0
  40. package/src/components/modal/index.js +63 -0
  41. package/src/components/modal/modal.vue +144 -0
  42. package/src/components/picker/area-picker/area-picker.vue +223 -0
  43. package/src/components/picker/area-picker/props.js +17 -0
  44. package/src/components/picker/date-picker/date-picker.vue +291 -0
  45. package/src/components/picker/date-picker/props.js +24 -0
  46. package/src/components/picker/index.js +5 -0
  47. package/src/components/picker/normal-picker/normal-picker.vue +107 -0
  48. package/src/components/picker/normal-picker/props.js +20 -0
  49. package/src/components/picker/picker-slot.vue +206 -0
  50. package/src/components/picker/picker.vue +111 -0
  51. package/src/components/popup/index.js +5 -0
  52. package/src/components/popup/popup.vue +117 -0
  53. package/src/components/progress/index.js +5 -0
  54. package/src/components/progress/progress.vue +77 -0
  55. package/src/components/prompt/confirm.js +174 -0
  56. package/src/components/prompt/index.js +50 -0
  57. package/src/components/prompt/prompt.vue +166 -0
  58. package/src/components/radioBox/index.js +8 -0
  59. package/src/components/radioBox/radiobox-group.vue +74 -0
  60. package/src/components/radioBox/radiobox.vue +117 -0
  61. package/src/components/rater/index.js +5 -0
  62. package/src/components/rater/rater.vue +164 -0
  63. package/src/components/slideBar/index.js +6 -0
  64. package/src/components/slideBar/slideBar.vue +269 -0
  65. package/src/components/spinner/behavior/blade.vue +22 -0
  66. package/src/components/spinner/behavior/double-bounce.vue +22 -0
  67. package/src/components/spinner/behavior/fading-circle.vue +37 -0
  68. package/src/components/spinner/behavior/snake.vue +32 -0
  69. package/src/components/spinner/behavior/triple-bounce.vue +41 -0
  70. package/src/components/spinner/index.js +5 -0
  71. package/src/components/spinner/props.js +25 -0
  72. package/src/components/spinner/spinner.vue +74 -0
  73. package/src/components/swipe/index.js +5 -0
  74. package/src/components/swipe/swipe.vue +399 -0
  75. package/src/components/switchbar/index.js +5 -0
  76. package/src/components/switchbar/switchbar.vue +83 -0
  77. package/src/components/tab/index.js +6 -0
  78. package/src/components/tab/tab.vue +95 -0
  79. package/src/components/toTop/index.js +5 -0
  80. package/src/components/toTop/topTop.vue +76 -0
  81. package/src/components/upload/index.js +5 -0
  82. package/src/components/upload/upload.vue +200 -0
  83. package/src/config/config.js +17 -0
  84. package/src/directives/clickoutside.js +32 -0
  85. package/src/directives/tranferDom.js +65 -0
  86. package/src/index.js +83 -0
  87. package/src/lib/MegaPixImage.js +253 -0
  88. package/src/lib/exif.js +808 -0
  89. package/src/main.js +76 -0
  90. package/src/mixin/emitter.js +41 -0
  91. package/src/mixin/input.js +41 -0
  92. package/src/router.js +229 -0
  93. package/src/styles/base/font.less +99 -0
  94. package/src/styles/base/reset.less +69 -0
  95. package/src/styles/base/variable.less +108 -0
  96. package/src/styles/components/actionSheet.less +43 -0
  97. package/src/styles/components/badge.less +79 -0
  98. package/src/styles/components/button.less +123 -0
  99. package/src/styles/components/card.less +31 -0
  100. package/src/styles/components/cell-swipe.less +20 -0
  101. package/src/styles/components/cell.less +71 -0
  102. package/src/styles/components/checkBox.less +111 -0
  103. package/src/styles/components/editor.less +3 -0
  104. package/src/styles/components/header.less +70 -0
  105. package/src/styles/components/indicator.less +37 -0
  106. package/src/styles/components/loadmore.less +48 -0
  107. package/src/styles/components/message.less +57 -0
  108. package/src/styles/components/modal.less +82 -0
  109. package/src/styles/components/number.less +58 -0
  110. package/src/styles/components/picker.less +150 -0
  111. package/src/styles/components/popup.less +46 -0
  112. package/src/styles/components/progress.less +50 -0
  113. package/src/styles/components/prompt.less +37 -0
  114. package/src/styles/components/radioBox.less +136 -0
  115. package/src/styles/components/slide-Bar.less +147 -0
  116. package/src/styles/components/spinner.less +328 -0
  117. package/src/styles/components/swipe.less +125 -0
  118. package/src/styles/components/switchBar.less +88 -0
  119. package/src/styles/components/tab.less +69 -0
  120. package/src/styles/components/text.less +80 -0
  121. package/src/styles/components/toTop.less +26 -0
  122. package/src/styles/components/upload.less +23 -0
  123. package/src/styles/index.less +38 -0
  124. package/src/styles/utils/1px.less +204 -0
  125. package/src/styles/utils/animation.less +131 -0
  126. package/src/styles/utils/nowrap.less +19 -0
  127. package/src/template/index.ejs +26 -0
  128. package/src/utils/util.js +203 -0
  129. package/src/vconsole-resources.min.js +6 -0
  130. package/src/vconsole-sources.min.js +6 -0
  131. package/src/vconsole.min.js +7 -0
  132. package/src/views/ActionSheet.vue +33 -0
  133. package/src/views/Badge.vue +40 -0
  134. package/src/views/Button.vue +40 -0
  135. package/src/views/Card.vue +52 -0
  136. package/src/views/Cell.vue +21 -0
  137. package/src/views/CellSwipe.vue +85 -0
  138. package/src/views/CheckBox.vue +53 -0
  139. package/src/views/Header.vue +47 -0
  140. package/src/views/Indicator.vue +69 -0
  141. package/src/views/LoadMore.vue +54 -0
  142. package/src/views/Message.vue +42 -0
  143. package/src/views/Modal.vue +32 -0
  144. package/src/views/Picker.vue +50 -0
  145. package/src/views/Popup.vue +87 -0
  146. package/src/views/Progress.vue +32 -0
  147. package/src/views/Prompt.vue +31 -0
  148. package/src/views/RadioBox.vue +55 -0
  149. package/src/views/Rater.vue +39 -0
  150. package/src/views/SlideBar.vue +47 -0
  151. package/src/views/Spinner.vue +15 -0
  152. package/src/views/Swipe.vue +34 -0
  153. package/src/views/SwitchBar.vue +36 -0
  154. package/src/views/Tab.vue +41 -0
  155. package/src/views/Text.vue +64 -0
  156. package/src/views/ToTop.vue +17 -0
  157. package/src/views/Upload.vue +44 -0
  158. package/src/views/guide.vue +159 -0
  159. package/src/views/index.vue +435 -0
  160. package/webpack.base.config.js +74 -0
  161. package/webpack.dev.config.js +67 -0
  162. package/webpack.dist.dev.config.js +44 -0
  163. package/webpack.dist.prod.config.js +50 -0
  164. package/webpack.prod.config.js +72 -0
@@ -0,0 +1,43 @@
1
+ .dpzvc-actionSheet {
2
+ background: #eeeeee;
3
+ font-size: 15px;
4
+ position: absolute;
5
+ bottom: 0;
6
+ left: 0;
7
+ z-index: 300;
8
+ width: 100%;
9
+
10
+ &-wrapper {
11
+ width: 100%;
12
+ height: auto;
13
+ margin-bottom: 5px;
14
+
15
+ &-action {
16
+ width: 100%;
17
+
18
+
19
+ height: 45px;
20
+ background: #ffffff;
21
+ display: flex;
22
+ justify-content: center;
23
+ align-items: center;
24
+ border-bottom: 1px solid #eeeeee;
25
+
26
+ &:nth-last-child(1) {
27
+ border-bottom: none;
28
+ }
29
+ }
30
+
31
+ }
32
+
33
+
34
+ &-cancle {
35
+
36
+ width: 100%;
37
+ height: 45px;
38
+ background: #ffffff;
39
+ display: inline-block;
40
+ text-align: center;
41
+ line-height: 45px;
42
+ }
43
+ }
@@ -0,0 +1,79 @@
1
+ .dpzvc-badge {
2
+ position: relative;
3
+ display: inline-block;
4
+ color: @BadgeColor;
5
+ text-align: center;
6
+ line-height: 1;
7
+ vertical-align: middle;
8
+
9
+ &-size-normal {
10
+ height: @BadgeNormalHeight;
11
+ border-radius: @BadgeNormalHeight/2;
12
+ font-size: @BadgeNormalFontSize;
13
+ padding: @BadgeNormalPadding;
14
+ min-width: @BadgeNormalHeight;
15
+ top: -@BadgeNormalHeight/2;
16
+ line-height: @BadgeNormalHeight - 2;
17
+ }
18
+
19
+ &-size-large {
20
+ height: @BadgeLargeHeight;
21
+ border-radius: @BadgeLargeHeight/2;
22
+ font-size: @BadgeLargeFontSize;
23
+ padding: @BadgeLargePadding;
24
+ min-width: @BadgeLargeHeight;
25
+ top: -@BadgeLargeHeight/2;
26
+ line-height: @BadgeLargeHeight - 2;
27
+
28
+ }
29
+
30
+ &-size-small {
31
+ height: @BadgeSmallHeight;
32
+ border-radius: @BadgeSmallHeight/2;
33
+ font-size: @BadgeSmallFontSize;
34
+ padding: @BadgeSmallPadding;
35
+ min-width: @BadgeSmallHeight;
36
+ top: -@BadgeSmallHeight/2;
37
+ line-height: @BadgeSmallHeight - 2;
38
+ }
39
+
40
+ &-dot {
41
+ position: absolute;
42
+ transform-origin: 0 center;
43
+ top: -4px;
44
+ right: -8px;
45
+ height: 8px;
46
+ width: 8px;
47
+ min-width: 0;
48
+ padding: 0;
49
+ border-radius: 100%;
50
+ }
51
+
52
+ &-success {
53
+ background-color: @BadgeSuccessBg;
54
+ }
55
+
56
+ &-danger {
57
+ background-color: @BadgeDangerBg;
58
+ }
59
+
60
+ &-warning {
61
+ background-color: @BadgeWarningBg;
62
+ }
63
+
64
+ &-normal {
65
+ background-color: @BadgeNormalBg;
66
+ }
67
+
68
+ >sup {
69
+ position: absolute;
70
+ right: 0;
71
+ text-align: center;
72
+ transform-origin: -10% center;
73
+ z-index: 10;
74
+ box-shadow: 0 0 0 1px #fff;
75
+ transform: translateX(50%);
76
+ border: 1px solid transparent;
77
+ box-sizing: border-box;
78
+ }
79
+ }
@@ -0,0 +1,123 @@
1
+ @width: 40px;
2
+
3
+ .dpzvc-button {
4
+ position: relative;
5
+ width: 100%;
6
+ overflow-x: hidden;
7
+ box-sizing: content-box;
8
+
9
+
10
+ .loading {
11
+ display: inline-block;
12
+ vertical-align: middle;
13
+ }
14
+
15
+ &-radius {
16
+ border-radius: 5px;
17
+ }
18
+
19
+ }
20
+
21
+ .dpzvc-button.dpzvc-button-circle {
22
+
23
+ width: @width;
24
+ height: @width;
25
+ border-radius: 50%
26
+ }
27
+
28
+ .dpzvc-button .dpzvc-button-btn {
29
+ width: 100%;
30
+ height: 100%;
31
+
32
+ &::after {
33
+ position: absolute;
34
+ content: '';
35
+ left: 0;
36
+ top: 0;
37
+ right: 0;
38
+ bottom: 0;
39
+ background: #000;
40
+ opacity: 0;
41
+ }
42
+
43
+ }
44
+
45
+ .dpzvc-button-inline {
46
+ letter-spacing: -3px;
47
+ }
48
+
49
+ .dpzvc-button-inline>button {
50
+
51
+ letter-spacing: 0;
52
+ }
53
+
54
+ .dpzvc-button-success {
55
+ background: @ButtonSuccessBgColor;
56
+ color: @ButtonColor;
57
+ border-color: @ButtonSuccessBgColor;
58
+
59
+ &:active {
60
+ background: @SuccessActiveBgColor;
61
+ border-color: @SuccessActiveBgColor;
62
+ }
63
+ }
64
+
65
+ .dpzvc-button-danger {
66
+ color: @ButtonColor;
67
+ background-color: @ButtonDangerBgColor;
68
+ border-color: @ButtonDangerBgColor;
69
+
70
+ &:active {
71
+ background: @DangerActiveBgColor;
72
+ border-color: @DangerActiveBgColor;
73
+ }
74
+ }
75
+
76
+ .dpzvc-button-primary {
77
+ color: #4d4d4d;
78
+ background-color: @ButtonPrimaryBgColor;
79
+ border-color: @ButtonPrimaryBgColor;
80
+
81
+ &:active {
82
+ background-color: @PrimaryActiveBgColor;
83
+ border-color: @PrimaryActiveBgColor;
84
+ }
85
+ }
86
+
87
+ .dpzvc-button-warning {
88
+ color: @ButtonColor;
89
+ background-color: @ButtonWarningBgColor;
90
+ border-color: @ButtonWarningBgColor;
91
+
92
+ &:active {
93
+ background-color: @WarningActiveBgColor;
94
+ border-color: @WarningActiveBgColor;
95
+ }
96
+ }
97
+
98
+ .dpzvc-button-normal {
99
+ color: @ButtonColor;
100
+ background-color: @ButtonNormalBgColor;
101
+ border-color: @ButtonNormalBgColor;
102
+
103
+ &:active {
104
+ background-color: @NormalActiveBgColor;
105
+ border-color: @NormalActiveBgColor;
106
+ }
107
+ }
108
+
109
+ .dpzvc-button-text {
110
+ color: #657180;
111
+ background-color: @ButtonTextBgColor;
112
+ border-color: @ButtonTextBgColor;
113
+
114
+ &:active {
115
+ background-color: @TextActiveBgColor;
116
+ border-color: @TextActiveBgColor;
117
+ }
118
+ }
119
+
120
+ .dpzvc-button-btn.dpzvc-button-disabled {
121
+ color: @ButtonColor;
122
+ opacity: .6;
123
+ }
@@ -0,0 +1,31 @@
1
+ .dpzvc-card {
2
+ background: #ffffff;
3
+ width: 100%;
4
+ border: 1px solid #eee;
5
+ border-radius: 5px;
6
+ overflow: hidden;
7
+
8
+ &-header,
9
+ &-footer {
10
+ position: relative;
11
+ box-sizing: border-box;
12
+ padding: 0 10px;
13
+ display: flex;
14
+ height: 48px;
15
+ overflow: hidden;
16
+
17
+ }
18
+
19
+
20
+ &-content {
21
+ position: relative;
22
+ box-sizing: border-box;
23
+
24
+ .main {
25
+ min-height: 300px;
26
+
27
+ }
28
+ }
29
+
30
+
31
+ }
@@ -0,0 +1,20 @@
1
+ .dpzvc-cell-swipe {
2
+ &-group {
3
+ height: 100%;
4
+ }
5
+
6
+ &-btn {
7
+ height: 100%;
8
+ line-height: 48px;
9
+ text-align: center;
10
+ padding: 0 10px;
11
+ display: inline-block;
12
+
13
+ }
14
+ }
15
+
16
+ .dpzvc-cell-main,
17
+ .dpzvc-cell-left,
18
+ .dpzvc-cell-right {
19
+ transition: transform 150ms ease-in;
20
+ }
@@ -0,0 +1,71 @@
1
+ .dpzvc-cell {
2
+ box-sizing: border-box;
3
+ color: inherit;
4
+ background-color: #ffffff;
5
+ min-height: 48px;
6
+ display: block;
7
+ overflow: hidden;
8
+ position: relative;
9
+ text-decoration: none;
10
+
11
+ &-mask:before {
12
+ content: '';
13
+ position: absolute;
14
+ left: 0;
15
+ top: 0;
16
+ right: 0;
17
+ bottom: 0;
18
+ background: #000;
19
+ opacity: 0;
20
+
21
+ }
22
+
23
+ &:active>&-mask:before {
24
+ opacity: .1;
25
+ }
26
+
27
+ &-left {
28
+ position: absolute;
29
+ left: 0;
30
+
31
+ height: 100%;
32
+ transform: translate3d(-100%, 0, 0);
33
+ }
34
+
35
+ &-right {
36
+ position: absolute;
37
+ right: 0;
38
+ top: 0;
39
+ height: 100%;
40
+ transform: translate3d(100%, 0, 0);
41
+ }
42
+
43
+ &-main {
44
+ display: flex;
45
+ align-items: center;
46
+ line-height: 1;
47
+ min-height: inherit;
48
+ overflow: hidden;
49
+ padding: 0 10px;
50
+ width: 100%;
51
+ font-size: 16px;
52
+
53
+ &-title {
54
+ flex: 1;
55
+
56
+ }
57
+
58
+ &-label {
59
+ font-size: 12px;
60
+ color: #999;
61
+ margin-top: 6px;
62
+ display: block;
63
+ }
64
+
65
+ &-value {
66
+ color: #999;
67
+ display: flex;
68
+ align-items: center;
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,111 @@
1
+ .dpzvc-checkbox {
2
+ display: inline-block;
3
+ margin-right: 8px;
4
+ }
5
+
6
+ .dpzvc-checkBoxGroup-vertical .dpzvc-checkbox {
7
+ margin-right: 0;
8
+ margin-bottom: 8px;
9
+ }
10
+
11
+ .dpzvc-checkbox-wrapper {
12
+ display: inline-block;
13
+ vertical-align: middle;
14
+ white-space: nowrap;
15
+ cursor: pointer;
16
+ outline: 0;
17
+ line-height: 1;
18
+ position: relative
19
+ }
20
+
21
+ .dpzvc-checkbox-inner {
22
+ display: inline-block;
23
+ width: 14px;
24
+ height: 14px;
25
+ position: relative;
26
+ top: 0;
27
+ left: 0;
28
+ border: 1px solid #d7dde4;
29
+ border-radius: 2px;
30
+ background-color: #fff;
31
+ transition: border-color .2s ease-in-out, background-color .2s ease-in-out;
32
+
33
+ &:after {
34
+ content: "";
35
+ display: table;
36
+ width: 4px;
37
+ height: 8px;
38
+ position: absolute;
39
+ top: 1px;
40
+ left: 4px;
41
+ border: 2px solid #fff;
42
+ border-top: 0;
43
+ border-left: 0;
44
+ transform: rotate(45deg) scale(0);
45
+ transition: all .2s ease-in-out;
46
+ }
47
+ }
48
+
49
+ .dpzvc-checkbox-checked {
50
+ .dpzvc-checkbox-inner {
51
+ border-color: @checkBoxColor;
52
+ background-color: @checkBoxColor;
53
+
54
+ &:after {
55
+ content: "";
56
+ display: table;
57
+ width: 4px;
58
+ height: 8px;
59
+ position: absolute;
60
+ top: 1px;
61
+ left: 4px;
62
+ border: 2px solid #fff;
63
+ border-top: 0;
64
+ border-left: 0;
65
+ transform: rotate(45deg) scale(1);
66
+ transition: all .2s ease-in-out;
67
+ }
68
+ }
69
+
70
+ .dpzvc-checkbox-disable+span {
71
+ color: #f3f3f3;
72
+ cursor: not-allowed;
73
+ }
74
+ }
75
+
76
+ .dpzvc-checkbox-input {
77
+ width: 100%;
78
+ height: 100%;
79
+ position: absolute;
80
+ left: 0;
81
+ top: 0;
82
+ right: 0;
83
+ bottom: 0;
84
+ opacity: 0;
85
+ z-index: 1;
86
+ cursor: pointer;
87
+ }
88
+
89
+ .dpzvc-checkbox-disable {
90
+ .dpzvc-checkbox-inner {
91
+ background-color: #f3f3f3;
92
+ border-color: #d7dde4;
93
+
94
+ input {
95
+ cursor: not-allowed;
96
+ }
97
+
98
+ }
99
+
100
+ &.dpzvc-checkbox-checked {
101
+ .dpzvc-checkbox-inner {
102
+ background-color: #f3f3f3;
103
+ border-color: #d7dde4;
104
+ }
105
+ }
106
+ }
107
+
108
+ .dpzvc-checkbox-disable+span {
109
+ color: #f3f3f3;
110
+ cursor: not-allowed;
111
+ }
@@ -0,0 +1,3 @@
1
+ .ace-twilight{
2
+ background-color: #555!important;
3
+ }
@@ -0,0 +1,70 @@
1
+ .dpzvc-header {
2
+ position: absolute;
3
+ left: 0;
4
+ top: 0;
5
+ width: 100%;
6
+
7
+ &+div {
8
+ padding-top: @HeaderHeight;
9
+ }
10
+
11
+ &>header {
12
+ display: flex;
13
+ justify-content: center;
14
+ align-items: center;
15
+ height: @HeaderHeight;
16
+ background: @HeaderBgColor;
17
+ color: @HeaderTxtColor;
18
+ }
19
+
20
+ .left,
21
+ .right {
22
+ height: 100%;
23
+ font-size: @FontSizeSmall;
24
+ display: flex;
25
+ align-items: center;
26
+
27
+ }
28
+
29
+ .left {
30
+ padding-left: @SpaceHor;
31
+
32
+ .arrow {
33
+ width: 8px;
34
+ height: 8px;
35
+ border-top: 1px solid #ffffff;
36
+ border-left: 1px solid #ffffff;
37
+ transform: rotate(-45deg);
38
+ display: inline-block;
39
+ }
40
+
41
+ .text {
42
+ display: inline-block;
43
+ }
44
+
45
+ }
46
+
47
+ .right {
48
+ padding-right: @SpaceHor;
49
+ }
50
+
51
+ .title {
52
+ flex: 1;
53
+ font-size: @HeaderTitleSize;
54
+ padding: 0 @SpaceHor;
55
+ text-align: center;
56
+ }
57
+
58
+ &.dpzvc-header-fixed>header {
59
+ position: fixed;
60
+ left: 0;
61
+ top: 0;
62
+ right: 0;
63
+ z-index: 3;
64
+ }
65
+
66
+ .header-place {
67
+ padding-top: @HeaderHeight;
68
+
69
+ }
70
+ }
@@ -0,0 +1,37 @@
1
+ .dpzvc-Indicator {
2
+ width: 100%;
3
+ position: absolute;
4
+ height: 100%;
5
+ left: 0;
6
+ top: 0;
7
+
8
+ &-container {
9
+ position: relative;
10
+ left: 50%;
11
+ top: 50%;
12
+ transform: translate3d(-50%, -50%, 0);
13
+ width: 35%;
14
+ height: 0;
15
+ padding-bottom: 35%;
16
+
17
+ }
18
+
19
+ &-wrapper {
20
+ position: absolute;
21
+ left: 0;
22
+ top: 0;
23
+ width: 100%;
24
+ height: 100%;
25
+ display: flex;
26
+ flex-direction: column;
27
+ justify-content: center;
28
+ align-items: center;
29
+ background: rgba(0, 0, 0, .7);
30
+ border-radius: @BorderRadius;
31
+
32
+ >span {
33
+ margin-top: 20px;
34
+ font-size: 16px;
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,48 @@
1
+ .dpzvc-loadmore {
2
+ height: 100%;
3
+ overflow-y: scroll;
4
+ box-sizing: border-box;
5
+
6
+ //-webkit-overflow-scrolling: touch;
7
+ &-top,
8
+ &-bottom {
9
+
10
+ position: relative;
11
+ height: 0;
12
+ line-height: 40px;
13
+ overflow: hidden;
14
+ font-size: 14px;
15
+ transform: translateZ(0);
16
+
17
+ .dpzvc-loadmore-status {
18
+ vertical-align: middle;
19
+ height: 40px;
20
+ line-height: 40px;
21
+ text-align: center;
22
+
23
+ .spinner {
24
+ display: inline-block;
25
+ vertical-align: middle;
26
+ }
27
+
28
+ .dpzvc-loadmore-text {
29
+ margin-left: 5px;
30
+ vertical-align: middle;
31
+ }
32
+ }
33
+ }
34
+
35
+ &-bottom {
36
+ height: 40px;
37
+ }
38
+
39
+ &-content {
40
+ height: auto;
41
+ background: #ffffff;
42
+
43
+ }
44
+
45
+ &-drag {
46
+ transition: all .3s linear;
47
+ }
48
+ }
@@ -0,0 +1,57 @@
1
+ .dpzvc-message {
2
+ z-index: 300;
3
+ width: 150px;
4
+ position: absolute;
5
+ top: 50%;
6
+ left: 50%;
7
+ //transform: translate3d(50%,50%,0);
8
+ text-align: center;
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ justify-content: center;
13
+ white-space: normal;
14
+ border-radius: 10px;
15
+ background: rgba(0, 0, 0, 0.7);
16
+ overflow-y: scroll;
17
+
18
+ &-position-center {
19
+
20
+ transform: translate3d(-50%, -50%, 0)
21
+ }
22
+
23
+ &-position-top {
24
+ top: 5%;
25
+ transform: translate3d(-50%, 0, 0)
26
+ }
27
+
28
+ &-position-bottom {
29
+
30
+ top: 90%;
31
+ transform: translate3d(-50%, 0, 0)
32
+ }
33
+
34
+ &-left {
35
+ display: block;
36
+ padding: 10px;
37
+ }
38
+
39
+ &-text {
40
+ width: calc(100% - 30px);
41
+ padding: 0 15px;
42
+ line-height: 40px;
43
+ color: #ffffff;
44
+ font-size: 18px;
45
+ white-space: normal;
46
+ }
47
+ }
48
+
49
+ .dpzvc-message-group {
50
+
51
+ position: static;
52
+ left: 0;
53
+ right: 0;
54
+ margin: auto;
55
+ width: 150px;
56
+
57
+ }