dpzvc3-ui 3.1.5 → 3.1.6

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 (276) hide show
  1. package/README.md +1 -1
  2. package/dist/dpzvc3.esm.js +5 -4
  3. package/dist/dpzvc3.esm.js.map +1 -1
  4. package/dist/dpzvc3.esm.min.js +1 -1
  5. package/dist/dpzvc3.esm.min.js.map +1 -1
  6. package/dist/dpzvc3.js +5 -4
  7. package/dist/dpzvc3.js.map +1 -1
  8. package/dist/dpzvc3.min.js +1 -1
  9. package/dist/dpzvc3.min.js.map +1 -1
  10. package/dist/types/components/actionSheet/index.d.ts +6 -1
  11. package/dist/types/components/actionSheet/index.d.ts.map +1 -1
  12. package/package.json +7 -2
  13. package/build-style.js +0 -58
  14. package/dist-prod/91.05c8ec5277a15f939b0f.js +0 -3
  15. package/dist-prod/91.05c8ec5277a15f939b0f.js.LICENSE.txt +0 -25
  16. package/dist-prod/91.05c8ec5277a15f939b0f.js.map +0 -1
  17. package/dist-prod/actionsheet.0d67b6b08a62cf9360be.chunk.js +0 -2
  18. package/dist-prod/actionsheet.0d67b6b08a62cf9360be.chunk.js.map +0 -1
  19. package/dist-prod/badge.16ab5c05734fe1530701.chunk.js +0 -2
  20. package/dist-prod/badge.16ab5c05734fe1530701.chunk.js.map +0 -1
  21. package/dist-prod/button.39ac33aa7aaccc24b6a1.chunk.js +0 -2
  22. package/dist-prod/button.39ac33aa7aaccc24b6a1.chunk.js.map +0 -1
  23. package/dist-prod/card.16ed7eafe471bcc60ec6.chunk.js +0 -2
  24. package/dist-prod/card.16ed7eafe471bcc60ec6.chunk.js.map +0 -1
  25. package/dist-prod/cell.70ff74fba57e27df7f5a.chunk.js +0 -2
  26. package/dist-prod/cell.70ff74fba57e27df7f5a.chunk.js.map +0 -1
  27. package/dist-prod/cellswipe.f3ec62abd60729d8bc5a.chunk.js +0 -2
  28. package/dist-prod/cellswipe.f3ec62abd60729d8bc5a.chunk.js.map +0 -1
  29. package/dist-prod/checkbox.05c63a947ac98293c9f2.chunk.js +0 -2
  30. package/dist-prod/checkbox.05c63a947ac98293c9f2.chunk.js.map +0 -1
  31. package/dist-prod/guide.24f1968a568f20fbc84b.chunk.js +0 -2
  32. package/dist-prod/guide.24f1968a568f20fbc84b.chunk.js.map +0 -1
  33. package/dist-prod/header.eb10433dd892738ee95a.chunk.js +0 -2
  34. package/dist-prod/header.eb10433dd892738ee95a.chunk.js.map +0 -1
  35. package/dist-prod/index.html +0 -19
  36. package/dist-prod/indicator.0c09e3f238791cb478e0.chunk.js +0 -2
  37. package/dist-prod/indicator.0c09e3f238791cb478e0.chunk.js.map +0 -1
  38. package/dist-prod/loadmore.9bad88767cc43603f473.chunk.js +0 -2
  39. package/dist-prod/loadmore.9bad88767cc43603f473.chunk.js.map +0 -1
  40. package/dist-prod/main.662ad15361e7f3d20234.js +0 -2
  41. package/dist-prod/main.662ad15361e7f3d20234.js.map +0 -1
  42. package/dist-prod/message.de17fea3de4daa70bab4.chunk.js +0 -2
  43. package/dist-prod/message.de17fea3de4daa70bab4.chunk.js.map +0 -1
  44. package/dist-prod/modal.f9ec857acd9fbdf53f3b.chunk.js +0 -2
  45. package/dist-prod/modal.f9ec857acd9fbdf53f3b.chunk.js.map +0 -1
  46. package/dist-prod/picker.bca059ef59e3c42a401f.chunk.js +0 -2
  47. package/dist-prod/picker.bca059ef59e3c42a401f.chunk.js.map +0 -1
  48. package/dist-prod/popup.538422c7e188363a468d.chunk.js +0 -2
  49. package/dist-prod/popup.538422c7e188363a468d.chunk.js.map +0 -1
  50. package/dist-prod/progress.240de4b633002f573030.chunk.js +0 -2
  51. package/dist-prod/progress.240de4b633002f573030.chunk.js.map +0 -1
  52. package/dist-prod/prompt.dcda0b05ea02d59106b7.chunk.js +0 -2
  53. package/dist-prod/prompt.dcda0b05ea02d59106b7.chunk.js.map +0 -1
  54. package/dist-prod/radiobox.7c10f77aba5ae04b2e5c.chunk.js +0 -2
  55. package/dist-prod/radiobox.7c10f77aba5ae04b2e5c.chunk.js.map +0 -1
  56. package/dist-prod/rater.d46ae462c598c458e5a8.chunk.js +0 -2
  57. package/dist-prod/rater.d46ae462c598c458e5a8.chunk.js.map +0 -1
  58. package/dist-prod/slidebar.833e75b9eb0abef92453.chunk.js +0 -2
  59. package/dist-prod/slidebar.833e75b9eb0abef92453.chunk.js.map +0 -1
  60. package/dist-prod/spinner.6afb4f84cc29f0e2f8eb.chunk.js +0 -2
  61. package/dist-prod/spinner.6afb4f84cc29f0e2f8eb.chunk.js.map +0 -1
  62. package/dist-prod/swipe.3fe6ee6638765ec52d94.chunk.js +0 -2
  63. package/dist-prod/swipe.3fe6ee6638765ec52d94.chunk.js.map +0 -1
  64. package/dist-prod/switchbar.f24c76a03120f1bd961a.chunk.js +0 -2
  65. package/dist-prod/switchbar.f24c76a03120f1bd961a.chunk.js.map +0 -1
  66. package/dist-prod/tab.29f19483f699b7811259.chunk.js +0 -2
  67. package/dist-prod/tab.29f19483f699b7811259.chunk.js.map +0 -1
  68. package/dist-prod/text.a6e4251f772d23843e2b.chunk.js +0 -2
  69. package/dist-prod/text.a6e4251f772d23843e2b.chunk.js.map +0 -1
  70. package/dist-prod/totop.713c5ab7f7dbcffbf2a3.chunk.js +0 -2
  71. package/dist-prod/totop.713c5ab7f7dbcffbf2a3.chunk.js.map +0 -1
  72. package/dist-prod/upload.0638581e551ed9afaba2.chunk.js +0 -2
  73. package/dist-prod/upload.0638581e551ed9afaba2.chunk.js.map +0 -1
  74. package/postcss.config.js +0 -5
  75. package/src/components/Indicator/Indicator.tsx +0 -67
  76. package/src/components/Indicator/Indicator.vue +0 -82
  77. package/src/components/Indicator/index.ts +0 -111
  78. package/src/components/Indicator/types.ts +0 -15
  79. package/src/components/Text/index.ts +0 -14
  80. package/src/components/Text/textBar.tsx +0 -104
  81. package/src/components/Text/types.ts +0 -13
  82. package/src/components/actionSheet/actionSheet.d.ts +0 -16
  83. package/src/components/actionSheet/actionSheet.tsx +0 -86
  84. package/src/components/actionSheet/index.ts +0 -6
  85. package/src/components/actionSheet/types.ts +0 -10
  86. package/src/components/app.vue +0 -59
  87. package/src/components/badge/badge.tsx +0 -80
  88. package/src/components/badge/index.ts +0 -12
  89. package/src/components/badge/types.ts +0 -8
  90. package/src/components/button/button.tsx +0 -105
  91. package/src/components/button/index.ts +0 -13
  92. package/src/components/button/types.ts +0 -13
  93. package/src/components/card/card.d.ts +0 -16
  94. package/src/components/card/card.tsx +0 -38
  95. package/src/components/card/index.ts +0 -12
  96. package/src/components/card/types.ts +0 -3
  97. package/src/components/cell/cell.tsx +0 -89
  98. package/src/components/cell/index.ts +0 -12
  99. package/src/components/cell/types.ts +0 -8
  100. package/src/components/cellSwipe/cellSwipe.tsx +0 -188
  101. package/src/components/cellSwipe/index.ts +0 -13
  102. package/src/components/cellSwipe/types.ts +0 -17
  103. package/src/components/checkBox/checkbox-group.tsx +0 -75
  104. package/src/components/checkBox/checkbox.tsx +0 -107
  105. package/src/components/checkBox/index.ts +0 -29
  106. package/src/components/checkBox/types.ts +0 -32
  107. package/src/components/header/header.tsx +0 -119
  108. package/src/components/header/index.ts +0 -13
  109. package/src/components/header/types.ts +0 -7
  110. package/src/components/loadMore/index.ts +0 -14
  111. package/src/components/loadMore/loadMore.tsx +0 -265
  112. package/src/components/loadMore/types.ts +0 -26
  113. package/src/components/message/confirm.ts +0 -104
  114. package/src/components/message/index.ts +0 -113
  115. package/src/components/message/message.tsx +0 -100
  116. package/src/components/message/messageGroup.tsx +0 -59
  117. package/src/components/message/types.ts +0 -48
  118. package/src/components/modal/confirm.ts +0 -123
  119. package/src/components/modal/index.ts +0 -68
  120. package/src/components/modal/modal.tsx +0 -248
  121. package/src/components/modal/types.ts +0 -51
  122. package/src/components/number/Number.tsx +0 -143
  123. package/src/components/number/index.ts +0 -10
  124. package/src/components/number/types.ts +0 -13
  125. package/src/components/picker/area-picker/area-picker.vue +0 -230
  126. package/src/components/picker/area-picker/props.js +0 -17
  127. package/src/components/picker/date-picker/date-picker.vue +0 -191
  128. package/src/components/picker/date-picker/props.js +0 -24
  129. package/src/components/picker/index.ts +0 -12
  130. package/src/components/picker/normal-picker/normal-picker.vue +0 -120
  131. package/src/components/picker/normal-picker/props.js +0 -20
  132. package/src/components/picker/picker-slot.vue +0 -217
  133. package/src/components/picker/picker.tsx +0 -112
  134. package/src/components/picker/types.ts +0 -17
  135. package/src/components/popup/index.ts +0 -12
  136. package/src/components/popup/popup.d.ts +0 -16
  137. package/src/components/popup/popup.tsx +0 -68
  138. package/src/components/popup/types.ts +0 -9
  139. package/src/components/progress/index.ts +0 -12
  140. package/src/components/progress/progress.tsx +0 -81
  141. package/src/components/progress/types.ts +0 -9
  142. package/src/components/prompt/confirm.ts +0 -104
  143. package/src/components/prompt/index.ts +0 -50
  144. package/src/components/prompt/prompt.tsx +0 -161
  145. package/src/components/prompt/types.ts +0 -45
  146. package/src/components/radioBox/index.ts +0 -34
  147. package/src/components/radioBox/radiobox-group.tsx +0 -66
  148. package/src/components/radioBox/radiobox.tsx +0 -115
  149. package/src/components/radioBox/types.ts +0 -24
  150. package/src/components/rater/index.ts +0 -12
  151. package/src/components/rater/rater.d.ts +0 -16
  152. package/src/components/rater/raters.tsx +0 -101
  153. package/src/components/rater/types.ts +0 -10
  154. package/src/components/slideBar/index.ts +0 -13
  155. package/src/components/slideBar/slideBar.tsx +0 -288
  156. package/src/components/slideBar/types.ts +0 -20
  157. package/src/components/spinner/behavior/blade.vue +0 -42
  158. package/src/components/spinner/behavior/double-bounce.vue +0 -38
  159. package/src/components/spinner/behavior/fading-circle.vue +0 -55
  160. package/src/components/spinner/behavior/snake.vue +0 -41
  161. package/src/components/spinner/behavior/triple-bounce.vue +0 -52
  162. package/src/components/spinner/index.ts +0 -13
  163. package/src/components/spinner/props.js +0 -28
  164. package/src/components/spinner/spinner.tsx +0 -85
  165. package/src/components/spinner/types.ts +0 -20
  166. package/src/components/swipe/index.ts +0 -13
  167. package/src/components/swipe/swipe.tsx +0 -292
  168. package/src/components/swipe/types.ts +0 -21
  169. package/src/components/switchbar/index.ts +0 -13
  170. package/src/components/switchbar/switchbar.tsx +0 -58
  171. package/src/components/switchbar/types.ts +0 -6
  172. package/src/components/tab/index.ts +0 -12
  173. package/src/components/tab/tab.tsx +0 -71
  174. package/src/components/tab/types.ts +0 -15
  175. package/src/components/toTop/index.ts +0 -13
  176. package/src/components/toTop/toTop.tsx +0 -54
  177. package/src/components/toTop/types.ts +0 -7
  178. package/src/components/upload/index.ts +0 -13
  179. package/src/components/upload/types.ts +0 -9
  180. package/src/components/upload/upload.tsx +0 -180
  181. package/src/config/config.js +0 -16
  182. package/src/directives/clickoutside.js +0 -42
  183. package/src/directives/tranferDom.js +0 -66
  184. package/src/index.d.ts +0 -131
  185. package/src/index.ts +0 -136
  186. package/src/lib/MegaPixImage.js +0 -164
  187. package/src/lib/MegaPixImageOld.js +0 -153
  188. package/src/lib/exif-js.js +0 -235
  189. package/src/lib/exif.js +0 -789
  190. package/src/lib/lib.js +0 -22
  191. package/src/main.ts +0 -33
  192. package/src/mixin/emitter.js +0 -72
  193. package/src/mixin/input.js +0 -41
  194. package/src/router.ts +0 -36
  195. package/src/shims-vue.d.ts +0 -37
  196. package/src/styles/base/font.less +0 -99
  197. package/src/styles/base/reset.less +0 -135
  198. package/src/styles/base/variable.less +0 -108
  199. package/src/styles/components/actionSheet.less +0 -43
  200. package/src/styles/components/badge.less +0 -81
  201. package/src/styles/components/button.less +0 -124
  202. package/src/styles/components/card.less +0 -31
  203. package/src/styles/components/cell-swipe.less +0 -20
  204. package/src/styles/components/cell.less +0 -75
  205. package/src/styles/components/checkBox.less +0 -113
  206. package/src/styles/components/editor.less +0 -3
  207. package/src/styles/components/header.less +0 -72
  208. package/src/styles/components/indicator.less +0 -39
  209. package/src/styles/components/loadmore.less +0 -48
  210. package/src/styles/components/message.less +0 -57
  211. package/src/styles/components/modal.less +0 -84
  212. package/src/styles/components/number.less +0 -60
  213. package/src/styles/components/picker.less +0 -152
  214. package/src/styles/components/popup.less +0 -46
  215. package/src/styles/components/progress.less +0 -52
  216. package/src/styles/components/prompt.less +0 -37
  217. package/src/styles/components/radioBox.less +0 -142
  218. package/src/styles/components/rater.less +0 -16
  219. package/src/styles/components/slide-Bar.less +0 -149
  220. package/src/styles/components/spinner.less +0 -329
  221. package/src/styles/components/swipe.less +0 -125
  222. package/src/styles/components/switchBar.less +0 -88
  223. package/src/styles/components/tab.less +0 -71
  224. package/src/styles/components/text.less +0 -82
  225. package/src/styles/components/toTop.less +0 -28
  226. package/src/styles/components/upload.less +0 -23
  227. package/src/styles/index.less +0 -39
  228. package/src/styles/utils/1px.less +0 -206
  229. package/src/styles/utils/animation.less +0 -165
  230. package/src/styles/utils/nowrap.less +0 -19
  231. package/src/template/index.ejs +0 -40
  232. package/src/types/index.d.ts +0 -127
  233. package/src/types/js-shims.d.ts +0 -36
  234. package/src/utils/test.ts +0 -2
  235. package/src/utils/util.ts +0 -168
  236. package/src/utils/util1.js +0 -202
  237. package/src/vconsole-resources.min.js +0 -6
  238. package/src/vconsole-sources.min.js +0 -6
  239. package/src/vconsole.min.js +0 -7
  240. package/src/views/ActionSheet.vue +0 -46
  241. package/src/views/Badge/Badge.less +0 -12
  242. package/src/views/Badge/Badge.tsx +0 -23
  243. package/src/views/Badge.vue +0 -53
  244. package/src/views/Button.vue +0 -69
  245. package/src/views/Card.vue +0 -89
  246. package/src/views/Cell.vue +0 -31
  247. package/src/views/CellSwipe.vue +0 -80
  248. package/src/views/CheckBox.vue +0 -78
  249. package/src/views/Header.vue +0 -71
  250. package/src/views/Indicator.vue +0 -82
  251. package/src/views/LoadMore.vue +0 -76
  252. package/src/views/Message.vue +0 -61
  253. package/src/views/Modal.vue +0 -69
  254. package/src/views/Picker.vue +0 -142
  255. package/src/views/Popup.vue +0 -103
  256. package/src/views/Progress.vue +0 -49
  257. package/src/views/Prompt.vue +0 -43
  258. package/src/views/RadioBox.vue +0 -70
  259. package/src/views/Rater.vue +0 -53
  260. package/src/views/SlideBar.vue +0 -62
  261. package/src/views/Spinner.vue +0 -27
  262. package/src/views/Swipe.vue +0 -59
  263. package/src/views/SwitchBar.vue +0 -49
  264. package/src/views/Tab.vue +0 -55
  265. package/src/views/Text.vue +0 -97
  266. package/src/views/ToTop.vue +0 -31
  267. package/src/views/Upload.vue +0 -65
  268. package/src/views/guide.vue +0 -164
  269. package/src/views/index.vue +0 -554
  270. package/tsconfig.build.json +0 -31
  271. package/tsconfig.json +0 -41
  272. package/webpack.base.config.js +0 -85
  273. package/webpack.dev.config.js +0 -43
  274. package/webpack.dist.dev.config.js +0 -76
  275. package/webpack.dist.prod.config.js +0 -90
  276. package/webpack.prod.config.js +0 -52
@@ -1,164 +0,0 @@
1
- <template>
2
- <div class="guide">
3
- <Cell
4
- v-for="v in componentList"
5
- :key="v.title"
6
- :title="v.title"
7
- :label="v.label"
8
- :link="v.link"
9
- has-mask
10
- />
11
- </div>
12
- </template>
13
-
14
- <script>
15
-
16
- export default {
17
- name: 'ViewGuide',
18
- data () {
19
- return {
20
- componentList: [
21
- {
22
- title: 'ActionSheet',
23
- label: 'dpzvc3-ui操作列表',
24
- link: '/ActionSheet'
25
- },
26
- {
27
- title: 'Badge',
28
- label: 'dpzvc3-ui消息气泡',
29
- link: '/Badge'
30
- },
31
- {
32
- title: 'Button',
33
- label: 'dpzvc3-ui按钮',
34
- link: '/Button'
35
- },
36
- {
37
- title: 'Card',
38
- label: 'dpzvc3-ui卡片',
39
- link: '/Card'
40
- },
41
- {
42
- title: 'Cell',
43
- label: 'dpzvc3-ui单元格',
44
- link: '/Cell'
45
- },
46
- {
47
- title: 'CellSwipe',
48
- label: 'dpzvc3-ui滑动单元格',
49
- link: '/CellSwipe'
50
- },
51
- {
52
- title: 'CheckBox',
53
- label: 'dpzvc3-ui多选',
54
- link: '/CheckBox'
55
- },
56
- {
57
- title: 'Header',
58
- label: 'dpzvc3-ui导航栏',
59
- link: '/Header'
60
- },
61
- {
62
- title: 'Indicator',
63
- label: 'dpzvc3-ui加载框',
64
- link: '/Indicator'
65
- },
66
- {
67
- title: 'LoadMore',
68
- label: 'dpzvc3-ui上拉加载/下拉刷新',
69
- link: '/LoadMore'
70
- },
71
- {
72
- title: 'Message',
73
- label: 'dpzvc3-ui消息弹出框',
74
- link: '/Message'
75
- },
76
- {
77
- title: 'Modal',
78
- label: 'dpzvc3-ui弹窗',
79
- link: '/Modal'
80
- },
81
- {
82
- title: 'Picker',
83
- label: 'dpzvc3-ui选择器',
84
- link: '/Picker'
85
- },
86
- {
87
- title: 'Popup',
88
- label: 'dpzvc3-ui拉起列表',
89
- link: '/Popup'
90
- },
91
- {
92
- title: 'Progress',
93
- label: 'dpzvc3-ui进度条',
94
- link: '/Progress'
95
- },
96
- {
97
- title: 'Prompt',
98
- label: 'dpzvc3-ui交互式弹窗',
99
- link: '/Prompt'
100
- },
101
- {
102
- title: 'RadioBox',
103
- label: 'dpzvc3-ui单选按钮',
104
- link: '/RadioBox'
105
- },
106
- {
107
- title: 'Rater',
108
- label: 'dpzvc3-ui评分',
109
- link: '/Rater'
110
- },
111
- {
112
- title: 'SlideBar',
113
- label: 'dpzvc3-ui选项卡',
114
- link: '/SlideBar'
115
- },
116
- {
117
- title: 'Spinner',
118
- label: 'dpzvc3-ui加载动画',
119
- link: '/Spinner'
120
- },
121
- {
122
- title: 'Swipe',
123
- label: 'dpzvc3-ui轮播',
124
- link: '/Swipe'
125
- },
126
- {
127
- title: 'SwitchBar',
128
- label: 'dpzvc3-ui开关',
129
- link: '/SwitchBar'
130
- },
131
- {
132
- title: 'Tab',
133
- label: 'dpzvc3-ui菜单栏',
134
- link: '/Tab'
135
- },
136
- {
137
- title: 'Text',
138
- label: 'dpzvc3-ui输入框',
139
- link: '/Text'
140
- },
141
- {
142
- title: 'ToTop',
143
- label: 'dpzvc3-ui回到顶部',
144
- link: '/ToTop'
145
- },
146
- {
147
- title: 'Upload',
148
- label: 'dpzvc3-ui图片上传',
149
- link: '/Upload'
150
- }
151
-
152
- ]
153
- }
154
- }
155
-
156
- }
157
- </script>
158
-
159
- <style lang="less" scoped>
160
- .guide {
161
- width: 100%;
162
- position: relative;
163
- }
164
- </style>
@@ -1,554 +0,0 @@
1
- <template>
2
- <div style="position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: #fff;">
3
- <!--<dpzvc3-header title="asdasdsssssssssssssssssssssssssssssssssssssssssssssssss"></dpzvc3-header>-->
4
-
5
- <Header title="aaaa" />
6
- <div style="height: 50px;" />
7
- <div style="min-height: 50px; background: pink; padding: 0 10px;">
8
- <div><i class="dpzvc3-icono-back" /></div>
9
- </div>
10
- <Picker
11
- v-model="visible"
12
- type="AreaPicker"
13
- @normal-change="normalChange"
14
- @sure="pickerSure"
15
- @cancle="pickerCancle"
16
- />
17
- <v-button
18
- :loading="disable"
19
- @on-click="popup = true"
20
- >
21
- 确定
22
- </v-button>
23
- <h1>111111111111</h1>
24
- <!--<tab></tab>-->
25
- <p>{{ address }}</p>
26
- <v-button @click.native="showMessage">
27
- asdasssssdaaaaaasdadd
28
- </v-button>
29
- <CheckBox-group
30
- v-model="data"
31
- :vertical="visible"
32
- >
33
- <CheckBox
34
- label="aaa"
35
- :disable="visible"
36
- />
37
- <CheckBox label="bbb" />
38
- <CheckBox label="ccc" />
39
- </CheckBox-group>
40
- <CheckBox
41
- v-model="checked"
42
- label="ddd"
43
- />
44
- <Radio
45
- v-model="checked"
46
- label="1111"
47
- />
48
- <Radio-group
49
- v-model="radio"
50
- :vertical="visible"
51
- >
52
- <Radio
53
- :disable="visible"
54
- label="1111"
55
- />
56
- <Radio label="222" />
57
- <Radio label="333" />
58
- </Radio-group>
59
- <span>{{ data }}</span>
60
- <span>{{ radio }}</span>
61
-
62
- <Slide-bar
63
- :list="items"
64
- :flex="false"
65
- index="1"
66
- :can-drag="false"
67
- height="100%"
68
- scroll-height="50px"
69
- :is-fixed-header="true"
70
- >
71
- <div
72
- slot="slot-item-0"
73
- style="height:100%;flex: 1;background:red;overflow: scroll"
74
- >
75
- <div style="height: 40px;width: 100%;background-color: blue;" />
76
- <div style="height: 40px;width: 100%;background-color: blue;" />
77
- <div style="height: 40px;width: 100%;background-color: blue;" />
78
- <div style="height: 40px;width: 100%;background-color: blue;" />
79
- <div style="height: 40px;width: 100%;background-color: blue;" />
80
- </div>
81
- <div
82
- slot="slot-item-1"
83
- style="height:100%;flex: 1;background:yellow"
84
- >
85
- <Load-more
86
- ref="more"
87
- :refresh="topMethod"
88
- height="100%"
89
- :load-more="topMethod"
90
- :has-more="hasMore"
91
- @on-change-up-status="getStatus"
92
- >
93
- <div
94
- v-for="item in loadmore"
95
- style="width: 100%;height: 50px;"
96
- >
97
- {{ item }}
98
- </div>
99
- </Load-more>
100
- </div>
101
- <div
102
- slot="slot-item-2"
103
- style="height:100%;flex: 1;background:black"
104
- />
105
- </Slide-bar>
106
- <!--<Tab :items="items" v-model="maskCloseble"></Tab>-->
107
-
108
- <Swipe
109
- :multiple="false"
110
- :list="files"
111
- >
112
- <template scope="props">
113
- <div>
114
- <span>{{ props.item.id }}</span>
115
- <img :src="props.item.image">
116
- <span v-text="props.index" />
117
- </div>
118
- </template>
119
- </Swipe>
120
-
121
- <TextBar
122
- v-model="texts"
123
- type="textarea"
124
- :maxlength="9"
125
- />
126
- <span>{{ texts }}</span>
127
- <Number
128
- v-model="number"
129
- :min="1"
130
- :max="10"
131
- :focus="true"
132
- />
133
- <span>{{ number }}</span>
134
- <Upload
135
- ref="upload"
136
- :multiple="true"
137
- @on-change-file="onChangeFile"
138
- />
139
- <img
140
- v-for="item in files"
141
- :src="item.base64"
142
- >
143
- <SwitchBar
144
- v-model="check"
145
- size="large"
146
- />
147
- <span>{{ check }}</span>
148
- <SwitchBar size="large" />
149
-
150
- <v-button
151
- :inline="true"
152
- width="40%"
153
- type="warning"
154
- :loading="loading"
155
- @click.native="load"
156
- />
157
- <v-button
158
- :inline="true"
159
- disabled
160
- width="40%"
161
- type="success"
162
- :loading="loading"
163
- @click.native="load"
164
- />
165
- <Rater
166
- v-model="rate"
167
- disabled
168
- />
169
- {{ rate }}
170
-
171
- <Spinner
172
- type="blade"
173
- size="60"
174
- />
175
- <Action-sheet
176
- v-model="popup"
177
- :items="actionSheet"
178
- />
179
- <Progress v-model="progress" />
180
- <ToTop />
181
- <Cell
182
- title="标题"
183
- label="小标题"
184
- value="说明文字"
185
- has-mask
186
- />
187
- <CellSwipe
188
- :right="right"
189
- title="标题"
190
- has-mask
191
- />
192
- <CellSwipe
193
- :left="left"
194
- :right="right"
195
- title="标题"
196
- has-mask
197
- />
198
- <CellSwipe
199
- :left="left"
200
- :right="right"
201
- title="标题"
202
- has-mask
203
- />
204
- <CellSwipe
205
- :left="left"
206
- :right="right"
207
- title="标题"
208
- has-mask
209
- />
210
- <CellSwipe
211
- :left="left"
212
- :right="right"
213
- title="标题"
214
- has-mask
215
- />
216
- <CellSwipe
217
- :left="left"
218
- :right="right"
219
- title="标题"
220
- has-mask
221
- />
222
- <Badge
223
- number="10"
224
- max="99"
225
- :dot="false"
226
- >
227
- <div style="width: 45px;height: 45px;background-color: red" />
228
- </Badge>
229
- <Card />
230
- </div>
231
- </template>
232
-
233
- <script>
234
-
235
- export default {
236
- filters: {},
237
- directives: {},
238
- components: {},
239
- data () {
240
- return {
241
- left: [
242
- {
243
- content: 'btn1',
244
- style: {
245
- backgroundColor: '#eee',
246
- color: '#fff'
247
- },
248
- handleClick: function () {
249
- console.log('btn1')
250
- }
251
- },
252
- {
253
- content: 'btn2',
254
- style: {
255
- backgroundColor: 'red',
256
- color: '#fff'
257
- },
258
- handleClick: function () {
259
- console.log('btn2')
260
- }
261
- }
262
- ],
263
- right: [
264
- {
265
- content: 'btn1',
266
- style: {
267
- backgroundColor: '#eee',
268
- color: '#fff'
269
- },
270
- handleClick: function () {
271
- console.log('btn1')
272
- }
273
- },
274
- {
275
- content: 'btn2',
276
- style: {
277
- backgroundColor: 'red',
278
- color: '#fff'
279
- },
280
- handleClick: function () {
281
- console.log('btn2')
282
- }
283
- }
284
- ],
285
- badge: true,
286
- progress: 40,
287
- loadmore: [1, 1, 1],
288
- popup: false,
289
- inita: [9, 1, 1],
290
- listss: [
291
- {
292
- target: 'a',
293
- list: [{ value: 'w', code: 1 }, { value: 2, code: 2 }, { value: 3, code: 3 }, {
294
- value: 4,
295
- code: 4
296
- }, { value: 5, code: 5 }, { value: 6, code: 6 }, { value: 7, code: 7 }, {
297
- value: 8,
298
- code: 8
299
- }, { value: 'c', code: 9 }, { value: 0, code: 0 }]
300
- },
301
- {
302
- target: 'b',
303
- list: [{ value: 'e', code: 1 }, { value: 2, code: 2 }, { value: 3, code: 3 }, {
304
- value: 4,
305
- code: 4
306
- }, { value: 5, code: 5 }, { value: 6, code: 6 }, { value: 7, code: 7 }, {
307
- value: 8,
308
- code: 8
309
- }, { value: 9, code: 9 }, { value: 0, code: 0 }]
310
- },
311
- {
312
- target: 'c',
313
- list: [{ value: 'r', code: 1 }, { value: 2, code: 2 }, { value: 3, code: 3 }, {
314
- value: 4,
315
- code: 4
316
- }, { value: 5, code: 5 }, { value: 6, code: 6 }, { value: 7, code: 7 }, {
317
- value: 8,
318
- code: 8
319
- }, { value: 9, code: 9 }, { value: 0, code: 0 }]
320
- }
321
- ],
322
-
323
- loading: false,
324
- rate: 4.0,
325
- check: false,
326
- files: [],
327
- number: 1,
328
- msgTip: '',
329
- texts: 1,
330
- list: [
331
-
332
- {
333
- image: 'https://vuefe.cn/images/logo.png',
334
- spec: '1111',
335
- onClick: function (item, index) {
336
- console.log(item)
337
- }
338
- },
339
- {
340
- image: 'https://vuefe.cn/images/logo.png',
341
- spec: '2222'
342
- },
343
-
344
- {
345
- image: 'https://vuefe.cn/images/logo.png',
346
- spec: '3333'
347
- },
348
- {
349
- image: 'https://vuefe.cn/images/logo.png',
350
- spec: '5555'
351
- },
352
-
353
- {
354
- image: 'https://vuefe.cn/images/logo.png',
355
- spec: '121231'
356
- },
357
- {
358
- image: 'https://vuefe.cn/images/logo.png',
359
- spec: '0000'
360
- }
361
-
362
- ],
363
-
364
- pcd: '河北省/唐山市/路南区',
365
- dates: '2017/07/08',
366
- showAddressPicker: false,
367
- items: [],
368
-
369
- lists: [
370
- {
371
- text: 'aaa',
372
- onClick: this.callback
373
-
374
- },
375
- {
376
- text: 'bbb',
377
- onClick: function () {
378
- console.log('bbb')
379
- }
380
- }
381
- ],
382
-
383
- visible: true,
384
- indicator: true,
385
- maskCloseble: true,
386
- address: '',
387
- data: [],
388
- checked: true,
389
- radio: '1111',
390
- theme: 'twilight',
391
- mode: 'javascript',
392
- text: 'test',
393
- disable: false,
394
- actionSheet: [
395
- { text: 'aaa' },
396
- { text: 'bbb' },
397
- { text: 'ccc' }
398
- ],
399
- hasMore: true
400
- }
401
- },
402
- mounted () {
403
- // this.$Message.loading({showLeft:false,text:'加载中...',duration:0,position:'center'})
404
- this.$Modal.info({ showHead: false, body: '加中...', title: 'a' })
405
- setTimeout(() => {
406
- this.files = [{ id: 521, ad_id: 10, name: '\u73a9\u8f6c\u5927\u6570\u636e\u5206\u6790\uff01Spark2.X+Python \u7cbe\u534e\u5b9e\u6218\u8bfe\u7a0b', image: 'https:\/\/o74ly5e8r.qnssl.com\/9MhSVW1gJD.png', background: { color: '' }, link: 'https:\/\/edu.hellobi.com\/course\/222', sort: 0, meta: '', created_at: '2017-12-21 09:48:29', updated_at: '2017-12-21 09:48:29', deleted_at: null }, { id: 506, ad_id: 10, name: '\u6570\u636e\u5206\u6790\u62a5\u544a\u5236\u4f5c\u79d8\u7c4d\u5347\u7ea7\u7248', image: 'https:\/\/o74ly5e8r.qnssl.com\/EAbxDnBMcX.png', background: { color: '' }, link: 'https:\/\/edu.hellobi.com\/course\/132', sort: 1, meta: '', created_at: '2017-10-31 09:43:15', updated_at: '2017-12-21 09:46:16', deleted_at: null }, { id: 504, ad_id: 10, name: '\u72ec\u4e00\u65e0\u4e8c\u7684\u6570\u636e\u4ed3\u5e93\u5efa\u6a21\u6307\u5357\u7cfb\u5217\u6559\u7a0b\u5347\u7ea7\u7248 \uff08\u8fde\u8f7d\u4e2d\uff09', image: 'https:\/\/o74ly5e8r.qnssl.com\/dmJqsjtLNS.png', background: { color: '' }, link: 'https:\/\/edu.hellobi.com\/course\/102', sort: 2, meta: '', created_at: '2017-10-18 09:35:05', updated_at: '2017-12-21 09:50:03', deleted_at: null }]
407
- }, 2000)
408
-
409
- setInterval(() => {
410
- this.progress += 8
411
- }, 1000)
412
- setTimeout(() => {
413
- this.items = [
414
- {
415
-
416
- name: '首页',
417
- icon: '&#xe662;',
418
- iconCur: '&#xe663;',
419
- path: '/index'
420
- }, {
421
- name: '商品',
422
- icon: '&#xe665;',
423
-
424
- iconCur: '&#xe667;',
425
- path: '/list'
426
- }, {
427
- name: '晒单',
428
- icon: '&#xe666;',
429
- iconCur: '&#xe668;',
430
- path: '/shareOrder'
431
- }
432
- ]
433
- }, 1000)
434
- },
435
- beforeDestroy () {
436
-
437
- },
438
- methods: {
439
-
440
- normalChange (val) {
441
- console.log(val)
442
- },
443
- async a (a) {
444
- await setTimeout(() => {
445
- console.log(a.c)
446
- console.log(a.b)
447
- })
448
- },
449
-
450
- load () {
451
- this.loading = !this.loading
452
- },
453
- onChangeFile (val) {
454
- this.files = val
455
- },
456
- onLoad (val) {
457
-
458
- },
459
- valida (val) {
460
- if (val != 'a') {
461
- return false
462
- }
463
-
464
- return true
465
- },
466
- getConfirm (val) {
467
- val ? this.msgTip = '成功' : this.msgTip = '失败'
468
- },
469
- getVal (val) {
470
- console.log(val)
471
- },
472
- topMethod () {
473
- this.loadmore.push(...[2, 2])
474
- this.$refs.more.onLoadOff()
475
- // this.hasMore = true;
476
- },
477
- pickerSure (value) {
478
- // this.address = `${province} ${city} ${district}`
479
- console.log(value)
480
- },
481
- pickerCancle () {
482
- console.log('您取消了选择')
483
- this.disable = true
484
- },
485
- ok () {
486
- console.log(this.radio)
487
- },
488
- close () {
489
- console.log('asdasdasd')
490
- },
491
- newTip () {
492
- // this.$Notice.open({desc: 'asdasd', onClose: this.close, duration: 4, styles: {right: '0'}})
493
- },
494
- callback (item, index) {
495
- console.log('asdasdasd')
496
- },
497
- callback2 (item, index) {
498
- console.log(item.text)
499
- },
500
- getStatus (val) {
501
- console.log(val)
502
- },
503
- showMessage () {
504
- console.log('a')
505
- this.$Message.show({ text: 'asdasdasdasd', duration: 0 })
506
- this.$Message.show({ text: 'ascx', duration: 0 })
507
-
508
- setTimeout(() => {
509
- this.$Message.destroy()
510
- }, 2000)
511
- }
512
-
513
- }
514
- }
515
- </script>
516
-
517
- <style>
518
- html, body {
519
- height: 100%
520
- }
521
-
522
- .dpzvc3-slideBar {
523
- height: 100%;
524
- }
525
-
526
- @font-face {
527
- font-family: "ifont";
528
- /*src: url('font/iconfont.eot'); !* IE9*!*/
529
- /*src: url('font/iconfont.eot?#iefix') format('embedded-opentype'), !* IE6-IE8 *!*/
530
- /*url('font/iconfont.woff') format('woff'), !* chrome、firefox *!*/
531
- /*url('font/iconfont.ttf') format('truetype'), !* chrome、firefox、opera、Safari, Android, iOS 4.2+*!*/
532
- /*url('font/iconfont.svg#iconfont') format('svg'); !* iOS 4.1- *!*/
533
- /*src: url('//at.alicdn.com/t/font_gm9v3xai12z6ko6r.eot');*/
534
- /*src: url('//at.alicdn.com/t/font_gm9v3xai12z6ko6r.eot?#iefix') format('embedded-opentype'),*/
535
- /*url('//at.alicdn.com/t/font_gm9v3xai12z6ko6r.woff') format('woff'),*/
536
- /*url('//at.alicdn.com/t/font_gm9v3xai12z6ko6r.ttf') format('truetype'),*/
537
- /*url('//at.alicdn.com/t/font_gm9v3xai12z6ko6r.svg#iconfont') format('svg');*/
538
- src: url('//at.alicdn.com/t/font_mrhpq9yw1ssxxbt9.eot');
539
- src: url('//at.alicdn.com/t/font_mrhpq9yw1ssxxbt9.eot?#iefix') format('embedded-opentype'),
540
- url('//at.alicdn.com/t/font_mrhpq9yw1ssxxbt9.woff') format('woff'),
541
- url('//at.alicdn.com/t/font_mrhpq9yw1ssxxbt9.ttf') format('truetype'),
542
- url('//at.alicdn.com/t/font_mrhpq9yw1ssxxbt9.svg#iconfont') format('svg');
543
- }
544
-
545
- .ifont {
546
- margin: 0 3px;
547
- font-family: "ifont" !important;
548
- font-size: 16px;
549
- font-style: normal;
550
- -webkit-font-smoothing: antialiased;
551
- -webkit-text-stroke-width: 0.2px;
552
- -moz-osx-font-smoothing: grayscale;
553
- }
554
- </style>