dpzvc3-ui 3.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 (268) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +175 -0
  3. package/build-style.js +58 -0
  4. package/dist/dpzvc3.esm.js +17676 -0
  5. package/dist/dpzvc3.esm.js.map +1 -0
  6. package/dist/dpzvc3.esm.min.js +2 -0
  7. package/dist/dpzvc3.esm.min.js.map +1 -0
  8. package/dist/dpzvc3.js +15200 -0
  9. package/dist/dpzvc3.js.map +1 -0
  10. package/dist/dpzvc3.min.js +2 -0
  11. package/dist/dpzvc3.min.js.map +1 -0
  12. package/dist/styles/base/font.css +1 -0
  13. package/dist/styles/base/reset.css +1 -0
  14. package/dist/styles/base/variable.css +0 -0
  15. package/dist/styles/components/actionSheet.css +1 -0
  16. package/dist/styles/components/badge.css +1 -0
  17. package/dist/styles/components/button.css +1 -0
  18. package/dist/styles/components/card.css +1 -0
  19. package/dist/styles/components/cell-swipe.css +1 -0
  20. package/dist/styles/components/cell.css +1 -0
  21. package/dist/styles/components/checkBox.css +1 -0
  22. package/dist/styles/components/editor.css +1 -0
  23. package/dist/styles/components/header.css +1 -0
  24. package/dist/styles/components/indicator.css +1 -0
  25. package/dist/styles/components/loadmore.css +1 -0
  26. package/dist/styles/components/message.css +1 -0
  27. package/dist/styles/components/modal.css +1 -0
  28. package/dist/styles/components/number.css +1 -0
  29. package/dist/styles/components/picker.css +1 -0
  30. package/dist/styles/components/popup.css +1 -0
  31. package/dist/styles/components/progress.css +1 -0
  32. package/dist/styles/components/prompt.css +1 -0
  33. package/dist/styles/components/radioBox.css +1 -0
  34. package/dist/styles/components/slide-Bar.css +1 -0
  35. package/dist/styles/components/spinner.css +1 -0
  36. package/dist/styles/components/swipe.css +1 -0
  37. package/dist/styles/components/switchBar.css +1 -0
  38. package/dist/styles/components/tab.css +1 -0
  39. package/dist/styles/components/text.css +1 -0
  40. package/dist/styles/components/toTop.css +1 -0
  41. package/dist/styles/components/upload.css +1 -0
  42. package/dist/styles/dpzvc3.css +1 -0
  43. package/dist/styles/utils/1px.css +1 -0
  44. package/dist/styles/utils/animation.css +1 -0
  45. package/dist/styles/utils/nowrap.css +1 -0
  46. package/dist-prod/91.9d79b442ec3131707419.js +3 -0
  47. package/dist-prod/91.9d79b442ec3131707419.js.LICENSE.txt +25 -0
  48. package/dist-prod/91.9d79b442ec3131707419.js.map +1 -0
  49. package/dist-prod/actionsheet.e2f7c32d0120f5147a4f.chunk.js +2 -0
  50. package/dist-prod/actionsheet.e2f7c32d0120f5147a4f.chunk.js.map +1 -0
  51. package/dist-prod/badge.6038c4ccc54ffb56a645.chunk.js +2 -0
  52. package/dist-prod/badge.6038c4ccc54ffb56a645.chunk.js.map +1 -0
  53. package/dist-prod/button.28b491339fbba29c3f16.chunk.js +2 -0
  54. package/dist-prod/button.28b491339fbba29c3f16.chunk.js.map +1 -0
  55. package/dist-prod/card.3ad847f07bebc1391125.chunk.js +2 -0
  56. package/dist-prod/card.3ad847f07bebc1391125.chunk.js.map +1 -0
  57. package/dist-prod/cell.8920796a9ebd2d84bbd3.chunk.js +2 -0
  58. package/dist-prod/cell.8920796a9ebd2d84bbd3.chunk.js.map +1 -0
  59. package/dist-prod/cellswipe.53b0178e4638c201dcf1.chunk.js +2 -0
  60. package/dist-prod/cellswipe.53b0178e4638c201dcf1.chunk.js.map +1 -0
  61. package/dist-prod/checkbox.87403976981ee0f64f4a.chunk.js +2 -0
  62. package/dist-prod/checkbox.87403976981ee0f64f4a.chunk.js.map +1 -0
  63. package/dist-prod/guide.5195c74796a7a0e37f7b.chunk.js +2 -0
  64. package/dist-prod/guide.5195c74796a7a0e37f7b.chunk.js.map +1 -0
  65. package/dist-prod/header.e3cecc6d60f801c1c105.chunk.js +2 -0
  66. package/dist-prod/header.e3cecc6d60f801c1c105.chunk.js.map +1 -0
  67. package/dist-prod/index.html +19 -0
  68. package/dist-prod/indicator.6b0c7a91ca254c3586e8.chunk.js +2 -0
  69. package/dist-prod/indicator.6b0c7a91ca254c3586e8.chunk.js.map +1 -0
  70. package/dist-prod/loadmore.ba86c35311fc68ee215b.chunk.js +2 -0
  71. package/dist-prod/loadmore.ba86c35311fc68ee215b.chunk.js.map +1 -0
  72. package/dist-prod/main.2e9aaa9095e329ea2d7b.js +2 -0
  73. package/dist-prod/main.2e9aaa9095e329ea2d7b.js.map +1 -0
  74. package/dist-prod/message.e57fa263a214006f7191.chunk.js +2 -0
  75. package/dist-prod/message.e57fa263a214006f7191.chunk.js.map +1 -0
  76. package/dist-prod/modal.1172c8ba7d90503fc8e8.chunk.js +2 -0
  77. package/dist-prod/modal.1172c8ba7d90503fc8e8.chunk.js.map +1 -0
  78. package/dist-prod/picker.4ff114161c5c3f8df57a.chunk.js +2 -0
  79. package/dist-prod/picker.4ff114161c5c3f8df57a.chunk.js.map +1 -0
  80. package/dist-prod/popup.8f92c027932e4d47fa59.chunk.js +2 -0
  81. package/dist-prod/popup.8f92c027932e4d47fa59.chunk.js.map +1 -0
  82. package/dist-prod/progress.1e0d785044aecadc5615.chunk.js +2 -0
  83. package/dist-prod/progress.1e0d785044aecadc5615.chunk.js.map +1 -0
  84. package/dist-prod/prompt.c2b442c3dd0e6d8319bc.chunk.js +2 -0
  85. package/dist-prod/prompt.c2b442c3dd0e6d8319bc.chunk.js.map +1 -0
  86. package/dist-prod/radiobox.479703c69b75d473e85d.chunk.js +2 -0
  87. package/dist-prod/radiobox.479703c69b75d473e85d.chunk.js.map +1 -0
  88. package/dist-prod/rater.939e0e7e770728f684c3.chunk.js +2 -0
  89. package/dist-prod/rater.939e0e7e770728f684c3.chunk.js.map +1 -0
  90. package/dist-prod/slidebar.3d3f48a631f03a2210c9.chunk.js +2 -0
  91. package/dist-prod/slidebar.3d3f48a631f03a2210c9.chunk.js.map +1 -0
  92. package/dist-prod/spinner.f20e3bd8cec27d26afe0.chunk.js +2 -0
  93. package/dist-prod/spinner.f20e3bd8cec27d26afe0.chunk.js.map +1 -0
  94. package/dist-prod/swipe.2e5b0acc3bbb2bf49dd5.chunk.js +2 -0
  95. package/dist-prod/swipe.2e5b0acc3bbb2bf49dd5.chunk.js.map +1 -0
  96. package/dist-prod/switchbar.56d03d96c275ff4c65a1.chunk.js +2 -0
  97. package/dist-prod/switchbar.56d03d96c275ff4c65a1.chunk.js.map +1 -0
  98. package/dist-prod/tab.4c391211c41b7d12b585.chunk.js +2 -0
  99. package/dist-prod/tab.4c391211c41b7d12b585.chunk.js.map +1 -0
  100. package/dist-prod/text.ee2804ba87e6a460aa7d.chunk.js +2 -0
  101. package/dist-prod/text.ee2804ba87e6a460aa7d.chunk.js.map +1 -0
  102. package/dist-prod/totop.c6f9dce152bb6abe5cb2.chunk.js +2 -0
  103. package/dist-prod/totop.c6f9dce152bb6abe5cb2.chunk.js.map +1 -0
  104. package/dist-prod/upload.ec7a954970889869d93e.chunk.js +2 -0
  105. package/dist-prod/upload.ec7a954970889869d93e.chunk.js.map +1 -0
  106. package/images/IMG_2614 2 2.JPG +0 -0
  107. package/images/IMG_2614.JPG +0 -0
  108. package/images/IMG_2615 2.JPG +0 -0
  109. package/images/IMG_2615.JPG +0 -0
  110. package/package.json +113 -0
  111. package/postcss.config.js +5 -0
  112. package/src/components/Indicator/Indicator.vue +82 -0
  113. package/src/components/Indicator/index.js +86 -0
  114. package/src/components/Text/Number.vue +167 -0
  115. package/src/components/Text/index.js +7 -0
  116. package/src/components/Text/textBar.vue +122 -0
  117. package/src/components/action-sheet/actionSheet.vue +93 -0
  118. package/src/components/action-sheet/index.js +5 -0
  119. package/src/components/app.vue +61 -0
  120. package/src/components/badge/badge.vue +80 -0
  121. package/src/components/badge/index.js +5 -0
  122. package/src/components/button/button.vue +111 -0
  123. package/src/components/button/index.js +5 -0
  124. package/src/components/card/card.vue +49 -0
  125. package/src/components/card/index.js +5 -0
  126. package/src/components/cell/cell.vue +93 -0
  127. package/src/components/cell/index.js +5 -0
  128. package/src/components/cell-swipe/cell-swipe.vue +169 -0
  129. package/src/components/cell-swipe/index.js +5 -0
  130. package/src/components/checkBox/checkbox-group.vue +74 -0
  131. package/src/components/checkBox/checkbox.vue +117 -0
  132. package/src/components/checkBox/index.js +8 -0
  133. package/src/components/header/header.vue +130 -0
  134. package/src/components/header/index.js +5 -0
  135. package/src/components/loadMore/index.js +5 -0
  136. package/src/components/loadMore/loadmore.vue +258 -0
  137. package/src/components/message/confirm.js +60 -0
  138. package/src/components/message/index.js +111 -0
  139. package/src/components/message/message.vue +137 -0
  140. package/src/components/message/messageGroup.vue +82 -0
  141. package/src/components/modal/confirm.js +122 -0
  142. package/src/components/modal/index.js +52 -0
  143. package/src/components/modal/modal.vue +138 -0
  144. package/src/components/picker/area-picker/area-picker.vue +230 -0
  145. package/src/components/picker/area-picker/props.js +17 -0
  146. package/src/components/picker/date-picker/date-picker.vue +191 -0
  147. package/src/components/picker/date-picker/props.js +24 -0
  148. package/src/components/picker/index.js +5 -0
  149. package/src/components/picker/normal-picker/normal-picker.vue +120 -0
  150. package/src/components/picker/normal-picker/props.js +20 -0
  151. package/src/components/picker/picker-slot.vue +217 -0
  152. package/src/components/picker/picker.vue +111 -0
  153. package/src/components/popup/index.js +5 -0
  154. package/src/components/popup/popup.vue +91 -0
  155. package/src/components/progress/index.js +5 -0
  156. package/src/components/progress/progress.vue +86 -0
  157. package/src/components/prompt/confirm.js +91 -0
  158. package/src/components/prompt/index.js +53 -0
  159. package/src/components/prompt/prompt.vue +125 -0
  160. package/src/components/radioBox/index.js +8 -0
  161. package/src/components/radioBox/radiobox-group.vue +66 -0
  162. package/src/components/radioBox/radiobox.vue +88 -0
  163. package/src/components/rater/index.js +5 -0
  164. package/src/components/rater/rater.vue +118 -0
  165. package/src/components/slideBar/index.js +6 -0
  166. package/src/components/slideBar/slideBar.vue +207 -0
  167. package/src/components/spinner/behavior/blade.vue +42 -0
  168. package/src/components/spinner/behavior/double-bounce.vue +38 -0
  169. package/src/components/spinner/behavior/fading-circle.vue +55 -0
  170. package/src/components/spinner/behavior/snake.vue +41 -0
  171. package/src/components/spinner/behavior/triple-bounce.vue +52 -0
  172. package/src/components/spinner/index.js +5 -0
  173. package/src/components/spinner/props.js +28 -0
  174. package/src/components/spinner/spinner.vue +78 -0
  175. package/src/components/swipe/index.js +5 -0
  176. package/src/components/swipe/swipe.vue +281 -0
  177. package/src/components/switchbar/index.js +5 -0
  178. package/src/components/switchbar/switchbar.vue +79 -0
  179. package/src/components/tab/index.js +6 -0
  180. package/src/components/tab/tab.vue +89 -0
  181. package/src/components/toTop/index.js +5 -0
  182. package/src/components/toTop/topTop.vue +78 -0
  183. package/src/components/upload/index.js +5 -0
  184. package/src/components/upload/upload.vue +166 -0
  185. package/src/config/config.js +16 -0
  186. package/src/directives/clickoutside.js +42 -0
  187. package/src/directives/tranferDom.js +66 -0
  188. package/src/index.js +149 -0
  189. package/src/lib/MegaPixImage.js +163 -0
  190. package/src/lib/MegaPixImageOld.js +153 -0
  191. package/src/lib/exif-js.js +235 -0
  192. package/src/lib/exif.js +789 -0
  193. package/src/main.js +31 -0
  194. package/src/mixin/emitter.js +72 -0
  195. package/src/mixin/input.js +41 -0
  196. package/src/router.js +36 -0
  197. package/src/styles/base/font.less +99 -0
  198. package/src/styles/base/reset.less +135 -0
  199. package/src/styles/base/variable.less +108 -0
  200. package/src/styles/components/actionSheet.less +43 -0
  201. package/src/styles/components/badge.less +81 -0
  202. package/src/styles/components/button.less +124 -0
  203. package/src/styles/components/card.less +31 -0
  204. package/src/styles/components/cell-swipe.less +20 -0
  205. package/src/styles/components/cell.less +75 -0
  206. package/src/styles/components/checkBox.less +113 -0
  207. package/src/styles/components/editor.less +3 -0
  208. package/src/styles/components/header.less +72 -0
  209. package/src/styles/components/indicator.less +39 -0
  210. package/src/styles/components/loadmore.less +48 -0
  211. package/src/styles/components/message.less +57 -0
  212. package/src/styles/components/modal.less +84 -0
  213. package/src/styles/components/number.less +60 -0
  214. package/src/styles/components/picker.less +152 -0
  215. package/src/styles/components/popup.less +46 -0
  216. package/src/styles/components/progress.less +52 -0
  217. package/src/styles/components/prompt.less +37 -0
  218. package/src/styles/components/radioBox.less +138 -0
  219. package/src/styles/components/slide-Bar.less +149 -0
  220. package/src/styles/components/spinner.less +329 -0
  221. package/src/styles/components/swipe.less +125 -0
  222. package/src/styles/components/switchBar.less +88 -0
  223. package/src/styles/components/tab.less +71 -0
  224. package/src/styles/components/text.less +82 -0
  225. package/src/styles/components/toTop.less +28 -0
  226. package/src/styles/components/upload.less +23 -0
  227. package/src/styles/index.less +38 -0
  228. package/src/styles/utils/1px.less +206 -0
  229. package/src/styles/utils/animation.less +165 -0
  230. package/src/styles/utils/nowrap.less +19 -0
  231. package/src/template/index.ejs +40 -0
  232. package/src/utils/util.js +202 -0
  233. package/src/vconsole-resources.min.js +6 -0
  234. package/src/vconsole-sources.min.js +6 -0
  235. package/src/vconsole.min.js +7 -0
  236. package/src/views/ActionSheet.vue +46 -0
  237. package/src/views/Badge.vue +51 -0
  238. package/src/views/Button.vue +69 -0
  239. package/src/views/Card.vue +88 -0
  240. package/src/views/Cell.vue +30 -0
  241. package/src/views/CellSwipe.vue +68 -0
  242. package/src/views/CheckBox.vue +77 -0
  243. package/src/views/Header.vue +70 -0
  244. package/src/views/Indicator.vue +82 -0
  245. package/src/views/LoadMore.vue +73 -0
  246. package/src/views/Message.vue +61 -0
  247. package/src/views/Modal.vue +69 -0
  248. package/src/views/Picker.vue +140 -0
  249. package/src/views/Popup.vue +97 -0
  250. package/src/views/Progress.vue +47 -0
  251. package/src/views/Prompt.vue +43 -0
  252. package/src/views/RadioBox.vue +68 -0
  253. package/src/views/Rater.vue +49 -0
  254. package/src/views/SlideBar.vue +55 -0
  255. package/src/views/Spinner.vue +15 -0
  256. package/src/views/Swipe.vue +59 -0
  257. package/src/views/SwitchBar.vue +47 -0
  258. package/src/views/Tab.vue +53 -0
  259. package/src/views/Text.vue +93 -0
  260. package/src/views/ToTop.vue +17 -0
  261. package/src/views/Upload.vue +61 -0
  262. package/src/views/guide.vue +164 -0
  263. package/src/views/index.vue +554 -0
  264. package/webpack.base.config.js +65 -0
  265. package/webpack.dev.config.js +42 -0
  266. package/webpack.dist.dev.config.js +75 -0
  267. package/webpack.dist.prod.config.js +89 -0
  268. package/webpack.prod.config.js +51 -0
@@ -0,0 +1,124 @@
1
+ @width: 40px;
2
+ @import "../base/variable.less";
3
+
4
+ .dpzvc3-button {
5
+ position: relative;
6
+ width: 100%;
7
+ overflow-x: hidden;
8
+ box-sizing: content-box;
9
+
10
+
11
+ .loading {
12
+ display: inline-block;
13
+ vertical-align: middle;
14
+ }
15
+
16
+ &-radius {
17
+ border-radius: 5px;
18
+ }
19
+
20
+ }
21
+
22
+ .dpzvc3-button.dpzvc3-button-circle {
23
+
24
+ width: @width;
25
+ height: @width;
26
+ border-radius: 50%
27
+ }
28
+
29
+ .dpzvc3-button .dpzvc3-button-btn {
30
+ width: 100%;
31
+ height: 100%;
32
+
33
+ &::after {
34
+ position: absolute;
35
+ content: '';
36
+ left: 0;
37
+ top: 0;
38
+ right: 0;
39
+ bottom: 0;
40
+ background: #000;
41
+ opacity: 0;
42
+ }
43
+
44
+ }
45
+
46
+ .dpzvc3-button-inline {
47
+ letter-spacing: -3px;
48
+ }
49
+
50
+ .dpzvc3-button-inline>button {
51
+
52
+ letter-spacing: 0;
53
+ }
54
+
55
+ .dpzvc3-button-success {
56
+ background: @ButtonSuccessBgColor;
57
+ color: @ButtonColor;
58
+ border-color: @ButtonSuccessBgColor;
59
+
60
+ &:active {
61
+ background: @SuccessActiveBgColor;
62
+ border-color: @SuccessActiveBgColor;
63
+ }
64
+ }
65
+
66
+ .dpzvc3-button-danger {
67
+ color: @ButtonColor;
68
+ background-color: @ButtonDangerBgColor;
69
+ border-color: @ButtonDangerBgColor;
70
+
71
+ &:active {
72
+ background: @DangerActiveBgColor;
73
+ border-color: @DangerActiveBgColor;
74
+ }
75
+ }
76
+
77
+ .dpzvc3-button-primary {
78
+ color: #4d4d4d;
79
+ background-color: @ButtonPrimaryBgColor;
80
+ border-color: @ButtonPrimaryBgColor;
81
+
82
+ &:active {
83
+ background-color: @PrimaryActiveBgColor;
84
+ border-color: @PrimaryActiveBgColor;
85
+ }
86
+ }
87
+
88
+ .dpzvc3-button-warning {
89
+ color: @ButtonColor;
90
+ background-color: @ButtonWarningBgColor;
91
+ border-color: @ButtonWarningBgColor;
92
+
93
+ &:active {
94
+ background-color: @WarningActiveBgColor;
95
+ border-color: @WarningActiveBgColor;
96
+ }
97
+ }
98
+
99
+ .dpzvc3-button-normal {
100
+ color: @ButtonColor;
101
+ background-color: @ButtonNormalBgColor;
102
+ border-color: @ButtonNormalBgColor;
103
+
104
+ &:active {
105
+ background-color: @NormalActiveBgColor;
106
+ border-color: @NormalActiveBgColor;
107
+ }
108
+ }
109
+
110
+ .dpzvc3-button-text {
111
+ color: #657180;
112
+ background-color: @ButtonTextBgColor;
113
+ border-color: @ButtonTextBgColor;
114
+
115
+ &:active {
116
+ background-color: @TextActiveBgColor;
117
+ border-color: @TextActiveBgColor;
118
+ }
119
+ }
120
+
121
+ .dpzvc3-button-btn.dpzvc3-button-disabled {
122
+ color: @ButtonColor;
123
+ opacity: .6;
124
+ }
@@ -0,0 +1,31 @@
1
+ .dpzvc3-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
+ .dpzvc3-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
+ .dpzvc3-cell-main,
17
+ .dpzvc3-cell-left,
18
+ .dpzvc3-cell-right {
19
+ transition: transform 150ms ease-in;
20
+ }
@@ -0,0 +1,75 @@
1
+ .dpzvc3-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
+ &:hover {
12
+ cursor: pointer;
13
+ }
14
+
15
+ &-mask:before {
16
+ content: '';
17
+ position: absolute;
18
+ left: 0;
19
+ top: 0;
20
+ right: 0;
21
+ bottom: 0;
22
+ background: #000;
23
+ opacity: 0;
24
+
25
+ }
26
+
27
+ &:active>&-mask:before {
28
+ opacity: .1;
29
+ }
30
+
31
+ &-left {
32
+ position: absolute;
33
+ left: 0;
34
+
35
+ height: 100%;
36
+ transform: translate3d(-100%, 0, 0);
37
+ }
38
+
39
+ &-right {
40
+ position: absolute;
41
+ right: 0;
42
+ top: 0;
43
+ height: 100%;
44
+ transform: translate3d(100%, 0, 0);
45
+ }
46
+
47
+ &-main {
48
+ display: flex;
49
+ align-items: center;
50
+ line-height: 1;
51
+ min-height: inherit;
52
+ overflow: hidden;
53
+ padding: 0 10px;
54
+ width: 100%;
55
+ font-size: 16px;
56
+
57
+ &-title {
58
+ flex: 1;
59
+
60
+ }
61
+
62
+ &-label {
63
+ font-size: 12px;
64
+ color: #999;
65
+ margin-top: 6px;
66
+ display: block;
67
+ }
68
+
69
+ &-value {
70
+ color: #999;
71
+ display: flex;
72
+ align-items: center;
73
+ }
74
+ }
75
+ }
@@ -0,0 +1,113 @@
1
+ @import "../base/variable.less";
2
+
3
+ .dpzvc3-checkbox {
4
+ display: inline-block;
5
+ margin-right: 8px;
6
+ }
7
+
8
+ .dpzvc3-checkBoxGroup-vertical .dpzvc3-checkbox {
9
+ margin-right: 0;
10
+ margin-bottom: 8px;
11
+ }
12
+
13
+ .dpzvc3-checkbox-wrapper {
14
+ display: inline-block;
15
+ vertical-align: middle;
16
+ white-space: nowrap;
17
+ cursor: pointer;
18
+ outline: 0;
19
+ line-height: 1;
20
+ position: relative
21
+ }
22
+
23
+ .dpzvc3-checkbox-inner {
24
+ display: inline-block;
25
+ width: 14px;
26
+ height: 14px;
27
+ position: relative;
28
+ top: 0;
29
+ left: 0;
30
+ border: 1px solid #d7dde4;
31
+ border-radius: 2px;
32
+ background-color: #fff;
33
+ transition: border-color .2s ease-in-out, background-color .2s ease-in-out;
34
+
35
+ &:after {
36
+ content: "";
37
+ display: table;
38
+ width: 4px;
39
+ height: 8px;
40
+ position: absolute;
41
+ top: 1px;
42
+ left: 4px;
43
+ border: 2px solid #fff;
44
+ border-top: 0;
45
+ border-left: 0;
46
+ transform: rotate(45deg) scale(0);
47
+ transition: all .2s ease-in-out;
48
+ }
49
+ }
50
+
51
+ .dpzvc3-checkbox-checked {
52
+ .dpzvc3-checkbox-inner {
53
+ border-color: @checkBoxColor;
54
+ background-color: @checkBoxColor;
55
+
56
+ &:after {
57
+ content: "";
58
+ display: table;
59
+ width: 4px;
60
+ height: 8px;
61
+ position: absolute;
62
+ top: 1px;
63
+ left: 4px;
64
+ border: 2px solid #fff;
65
+ border-top: 0;
66
+ border-left: 0;
67
+ transform: rotate(45deg) scale(1);
68
+ transition: all .2s ease-in-out;
69
+ }
70
+ }
71
+
72
+ .dpzvc3-checkbox-disable+span {
73
+ color: #f3f3f3;
74
+ cursor: not-allowed;
75
+ }
76
+ }
77
+
78
+ .dpzvc3-checkbox-input {
79
+ width: 100%;
80
+ height: 100%;
81
+ position: absolute;
82
+ left: 0;
83
+ top: 0;
84
+ right: 0;
85
+ bottom: 0;
86
+ opacity: 0;
87
+ z-index: 1;
88
+ cursor: pointer;
89
+ }
90
+
91
+ .dpzvc3-checkbox-disable {
92
+ .dpzvc3-checkbox-inner {
93
+ background-color: #f3f3f3;
94
+ border-color: #d7dde4;
95
+
96
+ input {
97
+ cursor: not-allowed;
98
+ }
99
+
100
+ }
101
+
102
+ &.dpzvc3-checkbox-checked {
103
+ .dpzvc3-checkbox-inner {
104
+ background-color: #f3f3f3;
105
+ border-color: #d7dde4;
106
+ }
107
+ }
108
+ }
109
+
110
+ .dpzvc3-checkbox-disable+span {
111
+ color: #f3f3f3;
112
+ cursor: not-allowed;
113
+ }
@@ -0,0 +1,3 @@
1
+ .ace-twilight{
2
+ background-color: #555!important;
3
+ }
@@ -0,0 +1,72 @@
1
+ @import "../base/variable.less";
2
+
3
+ .dpzvc3-header {
4
+ position: absolute;
5
+ left: 0;
6
+ top: 0;
7
+ width: 100%;
8
+
9
+ &+div {
10
+ padding-top: @HeaderHeight;
11
+ }
12
+
13
+ &>header {
14
+ display: flex;
15
+ justify-content: center;
16
+ align-items: center;
17
+ height: @HeaderHeight;
18
+ background: @HeaderBgColor;
19
+ color: @HeaderTxtColor;
20
+ }
21
+
22
+ .left,
23
+ .right {
24
+ height: 100%;
25
+ font-size: @FontSizeSmall;
26
+ display: flex;
27
+ align-items: center;
28
+
29
+ }
30
+
31
+ .left {
32
+ padding-left: @SpaceHor;
33
+
34
+ .arrow {
35
+ width: 8px;
36
+ height: 8px;
37
+ border-top: 1px solid #ffffff;
38
+ border-left: 1px solid #ffffff;
39
+ transform: rotate(-45deg);
40
+ display: inline-block;
41
+ }
42
+
43
+ .text {
44
+ display: inline-block;
45
+ }
46
+
47
+ }
48
+
49
+ .right {
50
+ padding-right: @SpaceHor;
51
+ }
52
+
53
+ .title {
54
+ flex: 1;
55
+ font-size: @HeaderTitleSize;
56
+ padding: 0 @SpaceHor;
57
+ text-align: center;
58
+ }
59
+
60
+ &.dpzvc3-header-fixed>header {
61
+ position: fixed;
62
+ left: 0;
63
+ top: 0;
64
+ right: 0;
65
+ z-index: 3;
66
+ }
67
+
68
+ .header-place {
69
+ padding-top: @HeaderHeight;
70
+
71
+ }
72
+ }
@@ -0,0 +1,39 @@
1
+ @import "../base/variable.less";
2
+
3
+ .dpzvc3-Indicator {
4
+ width: 100%;
5
+ position: absolute;
6
+ height: 100%;
7
+ left: 0;
8
+ top: 0;
9
+
10
+ &-container {
11
+ position: relative;
12
+ left: 50%;
13
+ top: 50%;
14
+ transform: translate3d(-50%, -50%, 0);
15
+ width: 35%;
16
+ height: 0;
17
+ padding-bottom: 35%;
18
+
19
+ }
20
+
21
+ &-wrapper {
22
+ position: absolute;
23
+ left: 0;
24
+ top: 0;
25
+ width: 100%;
26
+ height: 100%;
27
+ display: flex;
28
+ flex-direction: column;
29
+ justify-content: center;
30
+ align-items: center;
31
+ background: rgba(0, 0, 0, .7);
32
+ border-radius: @BorderRadius;
33
+
34
+ >span {
35
+ margin-top: 20px;
36
+ font-size: 16px;
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,48 @@
1
+ .dpzvc3-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
+ .dpzvc3-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
+ .dpzvc3-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
+ .dpzvc3-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
+ .dpzvc3-message-group {
50
+
51
+ position: static;
52
+ left: 0;
53
+ right: 0;
54
+ margin: auto;
55
+ width: 150px;
56
+
57
+ }
@@ -0,0 +1,84 @@
1
+ @import "../base/variable.less";
2
+
3
+ .dpzvc3-modal {
4
+ transform: translate3d(-50%, -50%, 0) scale(1);
5
+ position: absolute;
6
+ top: 50%;
7
+ left: 50%;
8
+ overflow: hidden;
9
+ border-radius: @BorderRadius;
10
+ background: @ModalBgColor;
11
+ z-index: 100;
12
+ color: @ModalColor;
13
+
14
+ .dpzvc3-modal-header {
15
+ text-align: center;
16
+ padding: 0 10px;
17
+
18
+ //border-bottom: 1px solid @BorderColor;
19
+ .dpzvc3-modal-header-inner {
20
+ font-weight: bold;
21
+ font-size: 20px;
22
+ width: 100%;
23
+ padding-top: 20px;
24
+ }
25
+ }
26
+
27
+ .dpzvc3-modal-body {
28
+
29
+ .dpzvc3-modal-body-inner {
30
+ text-align: center;
31
+ }
32
+
33
+ line-height:25px;
34
+ padding:30px 20px;
35
+ word-wrap:break-word;
36
+ overflow-y:scroll;
37
+ }
38
+
39
+ .dpzvc3-modal-footer {
40
+ width: 100%;
41
+ display: flex;
42
+ justify-content: center;
43
+ flex-direction: row;
44
+ overflow: hidden;
45
+
46
+ .dpzvc3-button {
47
+ border-top: 1px solid @BorderColor;
48
+ }
49
+
50
+ //.dpzvc3-button:nth-of-type(1){
51
+ // border-right:1px solid @BorderColor;
52
+ //}
53
+ }
54
+
55
+ .dpzvc3-modal-button {
56
+ flex: 1;
57
+ height: 40px;
58
+ border: 1px solid @BorderColor;
59
+ border-left: 0 none;
60
+ }
61
+
62
+ .dpzvc3-modal-button-sure {
63
+
64
+ color: red;
65
+ }
66
+
67
+ //.v-lc-modal-button-cancle,.dpzvc3-prompt-button-cancle{
68
+ //
69
+ // color: #ccc;
70
+ //}
71
+ }
72
+
73
+ //遮罩层
74
+ .dpzvc3-modal-mask {
75
+ position: fixed;
76
+ left: 0;
77
+ top: 0;
78
+ right: 0;
79
+ bottom: 0;
80
+ width: 100%;
81
+ height: 100%;
82
+ background: rgba(0, 0, 0, .4);
83
+ z-index: 99;
84
+ }