dpzvc3-ui 3.1.4 → 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.
- package/README.md +1 -1
- package/dist/dpzvc3.esm.js +5 -4
- package/dist/dpzvc3.esm.js.map +1 -1
- package/dist/dpzvc3.esm.min.js +1 -1
- package/dist/dpzvc3.esm.min.js.map +1 -1
- package/dist/dpzvc3.js +5 -4
- package/dist/dpzvc3.js.map +1 -1
- package/dist/dpzvc3.min.js +1 -1
- package/dist/dpzvc3.min.js.map +1 -1
- package/dist/types/components/actionSheet/index.d.ts +6 -1
- package/dist/types/components/actionSheet/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/package.json +7 -2
- package/build-style.js +0 -58
- package/dist-prod/91.05c8ec5277a15f939b0f.js +0 -3
- package/dist-prod/91.05c8ec5277a15f939b0f.js.LICENSE.txt +0 -25
- package/dist-prod/91.05c8ec5277a15f939b0f.js.map +0 -1
- package/dist-prod/actionsheet.0d67b6b08a62cf9360be.chunk.js +0 -2
- package/dist-prod/actionsheet.0d67b6b08a62cf9360be.chunk.js.map +0 -1
- package/dist-prod/badge.16ab5c05734fe1530701.chunk.js +0 -2
- package/dist-prod/badge.16ab5c05734fe1530701.chunk.js.map +0 -1
- package/dist-prod/button.39ac33aa7aaccc24b6a1.chunk.js +0 -2
- package/dist-prod/button.39ac33aa7aaccc24b6a1.chunk.js.map +0 -1
- package/dist-prod/card.16ed7eafe471bcc60ec6.chunk.js +0 -2
- package/dist-prod/card.16ed7eafe471bcc60ec6.chunk.js.map +0 -1
- package/dist-prod/cell.70ff74fba57e27df7f5a.chunk.js +0 -2
- package/dist-prod/cell.70ff74fba57e27df7f5a.chunk.js.map +0 -1
- package/dist-prod/cellswipe.f3ec62abd60729d8bc5a.chunk.js +0 -2
- package/dist-prod/cellswipe.f3ec62abd60729d8bc5a.chunk.js.map +0 -1
- package/dist-prod/checkbox.05c63a947ac98293c9f2.chunk.js +0 -2
- package/dist-prod/checkbox.05c63a947ac98293c9f2.chunk.js.map +0 -1
- package/dist-prod/guide.24f1968a568f20fbc84b.chunk.js +0 -2
- package/dist-prod/guide.24f1968a568f20fbc84b.chunk.js.map +0 -1
- package/dist-prod/header.eb10433dd892738ee95a.chunk.js +0 -2
- package/dist-prod/header.eb10433dd892738ee95a.chunk.js.map +0 -1
- package/dist-prod/index.html +0 -19
- package/dist-prod/indicator.0c09e3f238791cb478e0.chunk.js +0 -2
- package/dist-prod/indicator.0c09e3f238791cb478e0.chunk.js.map +0 -1
- package/dist-prod/loadmore.9bad88767cc43603f473.chunk.js +0 -2
- package/dist-prod/loadmore.9bad88767cc43603f473.chunk.js.map +0 -1
- package/dist-prod/main.662ad15361e7f3d20234.js +0 -2
- package/dist-prod/main.662ad15361e7f3d20234.js.map +0 -1
- package/dist-prod/message.de17fea3de4daa70bab4.chunk.js +0 -2
- package/dist-prod/message.de17fea3de4daa70bab4.chunk.js.map +0 -1
- package/dist-prod/modal.f9ec857acd9fbdf53f3b.chunk.js +0 -2
- package/dist-prod/modal.f9ec857acd9fbdf53f3b.chunk.js.map +0 -1
- package/dist-prod/picker.bca059ef59e3c42a401f.chunk.js +0 -2
- package/dist-prod/picker.bca059ef59e3c42a401f.chunk.js.map +0 -1
- package/dist-prod/popup.538422c7e188363a468d.chunk.js +0 -2
- package/dist-prod/popup.538422c7e188363a468d.chunk.js.map +0 -1
- package/dist-prod/progress.240de4b633002f573030.chunk.js +0 -2
- package/dist-prod/progress.240de4b633002f573030.chunk.js.map +0 -1
- package/dist-prod/prompt.dcda0b05ea02d59106b7.chunk.js +0 -2
- package/dist-prod/prompt.dcda0b05ea02d59106b7.chunk.js.map +0 -1
- package/dist-prod/radiobox.7c10f77aba5ae04b2e5c.chunk.js +0 -2
- package/dist-prod/radiobox.7c10f77aba5ae04b2e5c.chunk.js.map +0 -1
- package/dist-prod/rater.d46ae462c598c458e5a8.chunk.js +0 -2
- package/dist-prod/rater.d46ae462c598c458e5a8.chunk.js.map +0 -1
- package/dist-prod/slidebar.833e75b9eb0abef92453.chunk.js +0 -2
- package/dist-prod/slidebar.833e75b9eb0abef92453.chunk.js.map +0 -1
- package/dist-prod/spinner.6afb4f84cc29f0e2f8eb.chunk.js +0 -2
- package/dist-prod/spinner.6afb4f84cc29f0e2f8eb.chunk.js.map +0 -1
- package/dist-prod/swipe.3fe6ee6638765ec52d94.chunk.js +0 -2
- package/dist-prod/swipe.3fe6ee6638765ec52d94.chunk.js.map +0 -1
- package/dist-prod/switchbar.f24c76a03120f1bd961a.chunk.js +0 -2
- package/dist-prod/switchbar.f24c76a03120f1bd961a.chunk.js.map +0 -1
- package/dist-prod/tab.29f19483f699b7811259.chunk.js +0 -2
- package/dist-prod/tab.29f19483f699b7811259.chunk.js.map +0 -1
- package/dist-prod/text.a6e4251f772d23843e2b.chunk.js +0 -2
- package/dist-prod/text.a6e4251f772d23843e2b.chunk.js.map +0 -1
- package/dist-prod/totop.713c5ab7f7dbcffbf2a3.chunk.js +0 -2
- package/dist-prod/totop.713c5ab7f7dbcffbf2a3.chunk.js.map +0 -1
- package/dist-prod/upload.0638581e551ed9afaba2.chunk.js +0 -2
- package/dist-prod/upload.0638581e551ed9afaba2.chunk.js.map +0 -1
- package/postcss.config.js +0 -5
- package/src/components/Indicator/Indicator.tsx +0 -67
- package/src/components/Indicator/Indicator.vue +0 -82
- package/src/components/Indicator/index.ts +0 -111
- package/src/components/Indicator/types.ts +0 -15
- package/src/components/Text/index.ts +0 -14
- package/src/components/Text/textBar.tsx +0 -104
- package/src/components/Text/types.ts +0 -13
- package/src/components/actionSheet/actionSheet.d.ts +0 -16
- package/src/components/actionSheet/actionSheet.tsx +0 -86
- package/src/components/actionSheet/index.ts +0 -6
- package/src/components/actionSheet/types.ts +0 -10
- package/src/components/app.vue +0 -59
- package/src/components/badge/badge.tsx +0 -80
- package/src/components/badge/index.ts +0 -12
- package/src/components/badge/types.ts +0 -8
- package/src/components/button/button.tsx +0 -105
- package/src/components/button/index.ts +0 -13
- package/src/components/button/types.ts +0 -13
- package/src/components/card/card.d.ts +0 -16
- package/src/components/card/card.tsx +0 -38
- package/src/components/card/index.ts +0 -12
- package/src/components/card/types.ts +0 -3
- package/src/components/cell/cell.tsx +0 -89
- package/src/components/cell/index.ts +0 -12
- package/src/components/cell/types.ts +0 -8
- package/src/components/cellSwipe/cellSwipe.tsx +0 -188
- package/src/components/cellSwipe/index.ts +0 -13
- package/src/components/cellSwipe/types.ts +0 -17
- package/src/components/checkBox/checkbox-group.tsx +0 -75
- package/src/components/checkBox/checkbox.tsx +0 -107
- package/src/components/checkBox/index.ts +0 -29
- package/src/components/checkBox/types.ts +0 -32
- package/src/components/header/header.tsx +0 -119
- package/src/components/header/index.ts +0 -13
- package/src/components/header/types.ts +0 -7
- package/src/components/loadMore/index.ts +0 -14
- package/src/components/loadMore/loadMore.tsx +0 -265
- package/src/components/loadMore/types.ts +0 -26
- package/src/components/message/confirm.ts +0 -104
- package/src/components/message/index.ts +0 -113
- package/src/components/message/message.tsx +0 -100
- package/src/components/message/messageGroup.tsx +0 -59
- package/src/components/message/types.ts +0 -48
- package/src/components/modal/confirm.ts +0 -123
- package/src/components/modal/index.ts +0 -68
- package/src/components/modal/modal.tsx +0 -248
- package/src/components/modal/types.ts +0 -51
- package/src/components/number/Number.tsx +0 -143
- package/src/components/number/index.ts +0 -10
- package/src/components/number/types.ts +0 -13
- package/src/components/picker/area-picker/area-picker.vue +0 -230
- package/src/components/picker/area-picker/props.js +0 -17
- package/src/components/picker/date-picker/date-picker.vue +0 -191
- package/src/components/picker/date-picker/props.js +0 -24
- package/src/components/picker/index.ts +0 -12
- package/src/components/picker/normal-picker/normal-picker.vue +0 -120
- package/src/components/picker/normal-picker/props.js +0 -20
- package/src/components/picker/picker-slot.vue +0 -217
- package/src/components/picker/picker.tsx +0 -112
- package/src/components/picker/types.ts +0 -17
- package/src/components/popup/index.ts +0 -12
- package/src/components/popup/popup.d.ts +0 -16
- package/src/components/popup/popup.tsx +0 -68
- package/src/components/popup/types.ts +0 -9
- package/src/components/progress/index.ts +0 -12
- package/src/components/progress/progress.tsx +0 -81
- package/src/components/progress/types.ts +0 -9
- package/src/components/prompt/confirm.ts +0 -104
- package/src/components/prompt/index.ts +0 -50
- package/src/components/prompt/prompt.tsx +0 -161
- package/src/components/prompt/types.ts +0 -45
- package/src/components/radioBox/index.ts +0 -34
- package/src/components/radioBox/radiobox-group.tsx +0 -66
- package/src/components/radioBox/radiobox-group1.vue +0 -66
- package/src/components/radioBox/radiobox.tsx +0 -115
- package/src/components/radioBox/radiobox1.vue +0 -89
- package/src/components/radioBox/types.ts +0 -24
- package/src/components/rater/index.ts +0 -12
- package/src/components/rater/rater.d.ts +0 -16
- package/src/components/rater/raters.tsx +0 -101
- package/src/components/rater/types.ts +0 -10
- package/src/components/slideBar/index.ts +0 -13
- package/src/components/slideBar/slideBar.tsx +0 -288
- package/src/components/slideBar/types.ts +0 -20
- package/src/components/spinner/behavior/blade.vue +0 -42
- package/src/components/spinner/behavior/double-bounce.vue +0 -38
- package/src/components/spinner/behavior/fading-circle.vue +0 -55
- package/src/components/spinner/behavior/snake.vue +0 -41
- package/src/components/spinner/behavior/triple-bounce.vue +0 -52
- package/src/components/spinner/index.ts +0 -13
- package/src/components/spinner/props.js +0 -28
- package/src/components/spinner/spinner.tsx +0 -85
- package/src/components/spinner/types.ts +0 -20
- package/src/components/swipe/index.ts +0 -13
- package/src/components/swipe/swipe.tsx +0 -292
- package/src/components/swipe/types.ts +0 -21
- package/src/components/switchbar/index.ts +0 -13
- package/src/components/switchbar/switchbar.tsx +0 -58
- package/src/components/switchbar/types.ts +0 -6
- package/src/components/tab/index.ts +0 -12
- package/src/components/tab/tab.tsx +0 -71
- package/src/components/tab/types.ts +0 -15
- package/src/components/toTop/index.ts +0 -13
- package/src/components/toTop/toTop.tsx +0 -54
- package/src/components/toTop/types.ts +0 -7
- package/src/components/upload/index.ts +0 -13
- package/src/components/upload/types.ts +0 -9
- package/src/components/upload/upload.tsx +0 -180
- package/src/config/config.js +0 -16
- package/src/directives/clickoutside.js +0 -42
- package/src/directives/tranferDom.js +0 -66
- package/src/index.d.ts +0 -131
- package/src/index.ts +0 -136
- package/src/lib/MegaPixImage.js +0 -164
- package/src/lib/MegaPixImageOld.js +0 -153
- package/src/lib/exif-js.js +0 -235
- package/src/lib/exif.js +0 -789
- package/src/lib/lib.js +0 -22
- package/src/main.ts +0 -33
- package/src/mixin/emitter.js +0 -72
- package/src/mixin/input.js +0 -41
- package/src/router.ts +0 -36
- package/src/shims-vue.d.ts +0 -37
- package/src/styles/base/font.less +0 -99
- package/src/styles/base/reset.less +0 -135
- package/src/styles/base/variable.less +0 -108
- package/src/styles/components/actionSheet.less +0 -43
- package/src/styles/components/badge.less +0 -81
- package/src/styles/components/button.less +0 -124
- package/src/styles/components/card.less +0 -31
- package/src/styles/components/cell-swipe.less +0 -20
- package/src/styles/components/cell.less +0 -75
- package/src/styles/components/checkBox.less +0 -113
- package/src/styles/components/editor.less +0 -3
- package/src/styles/components/header.less +0 -72
- package/src/styles/components/indicator.less +0 -39
- package/src/styles/components/loadmore.less +0 -48
- package/src/styles/components/message.less +0 -57
- package/src/styles/components/modal.less +0 -84
- package/src/styles/components/number.less +0 -60
- package/src/styles/components/picker.less +0 -152
- package/src/styles/components/popup.less +0 -46
- package/src/styles/components/progress.less +0 -52
- package/src/styles/components/prompt.less +0 -37
- package/src/styles/components/radioBox.less +0 -142
- package/src/styles/components/rater.less +0 -16
- package/src/styles/components/slide-Bar.less +0 -149
- package/src/styles/components/spinner.less +0 -329
- package/src/styles/components/swipe.less +0 -125
- package/src/styles/components/switchBar.less +0 -88
- package/src/styles/components/tab.less +0 -71
- package/src/styles/components/text.less +0 -82
- package/src/styles/components/toTop.less +0 -28
- package/src/styles/components/upload.less +0 -23
- package/src/styles/index.less +0 -39
- package/src/styles/utils/1px.less +0 -206
- package/src/styles/utils/animation.less +0 -165
- package/src/styles/utils/nowrap.less +0 -19
- package/src/template/index.ejs +0 -40
- package/src/types/index.d.ts +0 -127
- package/src/types/js-shims.d.ts +0 -36
- package/src/utils/test.ts +0 -2
- package/src/utils/util.ts +0 -168
- package/src/utils/util1.js +0 -202
- package/src/vconsole-resources.min.js +0 -6
- package/src/vconsole-sources.min.js +0 -6
- package/src/vconsole.min.js +0 -7
- package/src/views/ActionSheet.vue +0 -46
- package/src/views/Badge/Badge.less +0 -12
- package/src/views/Badge/Badge.tsx +0 -23
- package/src/views/Badge.vue +0 -53
- package/src/views/Button.vue +0 -69
- package/src/views/Card.vue +0 -89
- package/src/views/Cell.vue +0 -31
- package/src/views/CellSwipe.vue +0 -80
- package/src/views/CheckBox.vue +0 -78
- package/src/views/Header.vue +0 -71
- package/src/views/Indicator.vue +0 -82
- package/src/views/LoadMore.vue +0 -76
- package/src/views/Message.vue +0 -61
- package/src/views/Modal.vue +0 -69
- package/src/views/Picker.vue +0 -142
- package/src/views/Popup.vue +0 -103
- package/src/views/Progress.vue +0 -49
- package/src/views/Prompt.vue +0 -43
- package/src/views/RadioBox.vue +0 -70
- package/src/views/Rater.vue +0 -53
- package/src/views/SlideBar.vue +0 -62
- package/src/views/Spinner.vue +0 -27
- package/src/views/Swipe.vue +0 -59
- package/src/views/SwitchBar.vue +0 -49
- package/src/views/Tab.vue +0 -55
- package/src/views/Text.vue +0 -97
- package/src/views/ToTop.vue +0 -31
- package/src/views/Upload.vue +0 -65
- package/src/views/guide.vue +0 -164
- package/src/views/index.vue +0 -554
- package/tsconfig.build.json +0 -31
- package/tsconfig.json +0 -41
- package/webpack.base.config.js +0 -85
- package/webpack.dev.config.js +0 -43
- package/webpack.dist.dev.config.js +0 -76
- package/webpack.dist.prod.config.js +0 -90
- package/webpack.prod.config.js +0 -52
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
@import "../base/variable.less";
|
|
2
|
-
|
|
3
|
-
.dpzvc3-tab {
|
|
4
|
-
background: @TabBgColor;
|
|
5
|
-
position: absolute;
|
|
6
|
-
height: @TabHeight;
|
|
7
|
-
left: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
box-sizing: content-box;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
ul {
|
|
14
|
-
display: flex;
|
|
15
|
-
height: 100%;
|
|
16
|
-
|
|
17
|
-
li {
|
|
18
|
-
position: relative;
|
|
19
|
-
flex: 1;
|
|
20
|
-
width: 0%;
|
|
21
|
-
height: 100%;
|
|
22
|
-
color: @TabTxtColor;
|
|
23
|
-
font-size: @TabTxtSize;
|
|
24
|
-
line-height: @TabTxtSize;
|
|
25
|
-
|
|
26
|
-
a {
|
|
27
|
-
width: 100%;
|
|
28
|
-
display: inline-block;
|
|
29
|
-
position: absolute;
|
|
30
|
-
top: 50%;
|
|
31
|
-
left: 50%;
|
|
32
|
-
transform: translate3d(-50%, -50%, 0);
|
|
33
|
-
vertical-align: middle;
|
|
34
|
-
text-align: center;
|
|
35
|
-
color: #666666;
|
|
36
|
-
|
|
37
|
-
i {
|
|
38
|
-
display: inline-block;
|
|
39
|
-
font-size: 22px;
|
|
40
|
-
line-height: 1;
|
|
41
|
-
margin-top: 2px;
|
|
42
|
-
text-align: center;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
span {
|
|
47
|
-
display: inline-block;
|
|
48
|
-
width: 100%;
|
|
49
|
-
text-align: center;
|
|
50
|
-
line-height: 23px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
p {
|
|
54
|
-
width: 100%;
|
|
55
|
-
display: inline-block;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
&.cur {
|
|
60
|
-
color: @TabTxtColorCur;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
@import "../base/variable.less";
|
|
2
|
-
|
|
3
|
-
.dpzvc3-textBar {
|
|
4
|
-
|
|
5
|
-
background: #ffffff;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
|
|
8
|
-
&-input {
|
|
9
|
-
width: 100%;
|
|
10
|
-
display: inline-block;
|
|
11
|
-
|
|
12
|
-
&>input {
|
|
13
|
-
border: 1px solid @TextBorderColor;
|
|
14
|
-
border-radius: 0;
|
|
15
|
-
height: @TextInputHeight;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
width: 100%;
|
|
18
|
-
padding-left: 10px;
|
|
19
|
-
color: @TextColor;
|
|
20
|
-
transition: all .2s linear;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&>input:focus {
|
|
24
|
-
|
|
25
|
-
border-color: @ThemeColor;
|
|
26
|
-
box-shadow: 0 0 2px @ThemeColor
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&>input::placeholder {
|
|
30
|
-
color: @TextPlaceholderColor;
|
|
31
|
-
font-family: "Microsoft Tai Le";
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
&-textarea {
|
|
37
|
-
|
|
38
|
-
width: 100%;
|
|
39
|
-
display: inline-block;
|
|
40
|
-
|
|
41
|
-
&>textarea {
|
|
42
|
-
width: 100%;
|
|
43
|
-
padding: 10px 5px;
|
|
44
|
-
box-sizing: border-box;
|
|
45
|
-
height: @TextAreaHeight;
|
|
46
|
-
border: 1px solid @TextBorderColor;
|
|
47
|
-
border-radius: 0;
|
|
48
|
-
color: @TextColor;
|
|
49
|
-
transition: border-color .2s linear;
|
|
50
|
-
will-change: border-color;
|
|
51
|
-
font-size: 12px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&>textarea:focus {
|
|
55
|
-
border-color: #39f;
|
|
56
|
-
box-shadow: 0 0 2px #39f
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&>textarea::placeholder {
|
|
60
|
-
color: #e5e5e5;
|
|
61
|
-
font-family: "Microsoft Tai Le";
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
&-tip {
|
|
68
|
-
flex: 1;
|
|
69
|
-
align-self: center;
|
|
70
|
-
text-indent: 3px;
|
|
71
|
-
line-height: 1;
|
|
72
|
-
font-size: 12px;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&-tip.success {
|
|
76
|
-
color: lightgreen;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-tip.error {
|
|
80
|
-
color: red;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@import "../base/variable.less";
|
|
2
|
-
|
|
3
|
-
.dpzvc3-toTop {
|
|
4
|
-
position: fixed;
|
|
5
|
-
right: 15px;
|
|
6
|
-
bottom: 80px;
|
|
7
|
-
z-index: 100;
|
|
8
|
-
|
|
9
|
-
&-wrapper {
|
|
10
|
-
position: relative;
|
|
11
|
-
width: 45px;
|
|
12
|
-
height: 45px;
|
|
13
|
-
border-radius: 100%;
|
|
14
|
-
background: @ThemeColor;
|
|
15
|
-
|
|
16
|
-
&:before {
|
|
17
|
-
position: absolute;
|
|
18
|
-
left: 50%;
|
|
19
|
-
top: 50%;
|
|
20
|
-
content: '';
|
|
21
|
-
border-top: 2px solid #ffffff;
|
|
22
|
-
border-right: 2px solid #ffffff;
|
|
23
|
-
transform: rotate(-45deg) translate3d(-15%, -60%, 0);
|
|
24
|
-
height: 15px;
|
|
25
|
-
width: 15px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.dpzvc3-upload {
|
|
2
|
-
position: relative;
|
|
3
|
-
|
|
4
|
-
&-wrapper {
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
background: #39f;
|
|
8
|
-
color: #ffffff;
|
|
9
|
-
line-height: 50px;
|
|
10
|
-
text-align: center;
|
|
11
|
-
border-radius: 10px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
input[type=file] {
|
|
15
|
-
position: absolute;
|
|
16
|
-
left: 0;
|
|
17
|
-
top: 0;
|
|
18
|
-
opacity: 0;
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
}
|
package/src/styles/index.less
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// base
|
|
2
|
-
@import "base/variable.less";
|
|
3
|
-
@import "base/reset.less";
|
|
4
|
-
|
|
5
|
-
// utils
|
|
6
|
-
@import "utils/animation.less";
|
|
7
|
-
@import "utils/nowrap.less";
|
|
8
|
-
@import "utils/1px.less";
|
|
9
|
-
|
|
10
|
-
// components
|
|
11
|
-
@import "components/rater.less";
|
|
12
|
-
@import "components/header.less";
|
|
13
|
-
@import "components/actionsheet.less";
|
|
14
|
-
@import "components/message.less";
|
|
15
|
-
@import "components/picker.less";
|
|
16
|
-
@import "components/tab.less";
|
|
17
|
-
@import "components/modal.less";
|
|
18
|
-
@import "components/prompt.less";
|
|
19
|
-
@import "components/slide-Bar.less";
|
|
20
|
-
@import "components/button.less";
|
|
21
|
-
@import "components/checkBox.less";
|
|
22
|
-
@import "components/radioBox.less";
|
|
23
|
-
@import "components/editor.less";
|
|
24
|
-
@import "components/number.less";
|
|
25
|
-
@import "components/text.less";
|
|
26
|
-
@import "components/swipe.less";
|
|
27
|
-
@import "components/switchBar.less";
|
|
28
|
-
@import "components/upload.less";
|
|
29
|
-
@import "components/spinner.less";
|
|
30
|
-
@import "components/loadmore.less";
|
|
31
|
-
@import "components/popup.less";
|
|
32
|
-
@import "components/indicator.less";
|
|
33
|
-
@import "components/progress.less";
|
|
34
|
-
@import "components/toTop.less";
|
|
35
|
-
@import "components/cell.less";
|
|
36
|
-
@import "components/cell-swipe.less";
|
|
37
|
-
@import "components/badge.less";
|
|
38
|
-
@import "components/card.less";
|
|
39
|
-
@import "base/font.less";
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
// 使用1px类时,需要注意 如果是absolute定位的,在引入mx-1px后,需要重新写入absolute定位
|
|
2
|
-
@import "../base/variable.less";
|
|
3
|
-
|
|
4
|
-
.dpzvc3-1px {
|
|
5
|
-
&-all {
|
|
6
|
-
.dpzvc3-1px(@BorderColor);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-top {
|
|
10
|
-
.dpzvc3-1px-side(@BorderColor, top, before);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&-bottom {
|
|
14
|
-
.dpzvc3-1px-side(@BorderColor, bottom, after);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&-left {
|
|
18
|
-
.dpzvc3-1px-side(@BorderColor, left, before);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-right {
|
|
22
|
-
.dpzvc3-1px-side(@BorderColor, right, after);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-left-right {
|
|
26
|
-
.dpzvc3-1px-side(@BorderColor, left, before);
|
|
27
|
-
.dpzvc3-1px-side(@BorderColor, right, after);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-top-bottom {
|
|
31
|
-
.dpzvc3-1px-side(@BorderColor, top, before);
|
|
32
|
-
.dpzvc3-1px-side(@BorderColor, bottom, after);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-left-top {
|
|
36
|
-
.dpzvc3-1px-side(@BorderColor, left, before);
|
|
37
|
-
.dpzvc3-1px-side(@BorderColor, top, after);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-left-bottom {
|
|
41
|
-
.dpzvc3-1px-side(@BorderColor, left, before);
|
|
42
|
-
.dpzvc3-1px-side(@BorderColor, bottom, after);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&-right-top {
|
|
46
|
-
.dpzvc3-1px-side(@BorderColor, right, before);
|
|
47
|
-
.dpzvc3-1px-side(@BorderColor, top, after);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&-right-bottom {
|
|
51
|
-
.dpzvc3-1px-side(@BorderColor, right, before);
|
|
52
|
-
.dpzvc3-1px-side(@BorderColor, bottom, after);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// @mixin
|
|
57
|
-
.dpzvc3-1px(@color: #ccc) {
|
|
58
|
-
position: relative;
|
|
59
|
-
border-color: @color;
|
|
60
|
-
|
|
61
|
-
&:before {
|
|
62
|
-
position: absolute;
|
|
63
|
-
content: "";
|
|
64
|
-
width: 100%;
|
|
65
|
-
height: 100%;
|
|
66
|
-
top: 0;
|
|
67
|
-
left: 0;
|
|
68
|
-
transform-origin: 0 0;
|
|
69
|
-
box-sizing: border-box;
|
|
70
|
-
pointer-events: none;
|
|
71
|
-
border: 1px solid;
|
|
72
|
-
border-color: inherit;
|
|
73
|
-
border-radius: inherit;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@media screen and (-webkit-min-device-pixel-ratio:1.5) {
|
|
77
|
-
&:before {
|
|
78
|
-
width: 150%;
|
|
79
|
-
height: 150%;
|
|
80
|
-
transform: scale(0.6667);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@media screen and (-webkit-min-device-pixel-ratio: 2) {
|
|
85
|
-
&:before {
|
|
86
|
-
width: 200%;
|
|
87
|
-
height: 200%;
|
|
88
|
-
transform: scale(0.5);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.dpzvc3-1px-side-base(@color, @pseudo) {
|
|
94
|
-
position: relative;
|
|
95
|
-
border-color: @color;
|
|
96
|
-
|
|
97
|
-
&:@{pseudo} {
|
|
98
|
-
position: absolute;
|
|
99
|
-
content: "";
|
|
100
|
-
transform-origin: 0 0;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.dpzvc3-1px-side(@color: #ccc, @direction: top, @pseudo: before) when (@direction =top) {
|
|
105
|
-
.dpzvc3-1px-side-base(@color, @pseudo);
|
|
106
|
-
|
|
107
|
-
&:@{pseudo} {
|
|
108
|
-
width: 100%;
|
|
109
|
-
height: 1px;
|
|
110
|
-
top: 0;
|
|
111
|
-
left: 0;
|
|
112
|
-
border-top: 1px solid;
|
|
113
|
-
border-color: inherit;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.dpzvc3-1px-device-fix(@pseudo, "Y");
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.dpzvc3-1px-side(@color: #ccc, @direction: top, @pseudo: before) when (@direction =bottom) {
|
|
120
|
-
.dpzvc3-1px-side-base(@color, @pseudo);
|
|
121
|
-
|
|
122
|
-
&:@{pseudo} {
|
|
123
|
-
width: 100%;
|
|
124
|
-
height: 1px;
|
|
125
|
-
bottom: -1px;
|
|
126
|
-
left: 0;
|
|
127
|
-
border-bottom: 1px solid;
|
|
128
|
-
border-color: inherit;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.dpzvc3-1px-device-fix(@pseudo, "Y");
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.dpzvc3-1px-side(@color: #ccc, @direction: top, @pseudo: before) when (@direction =left) {
|
|
135
|
-
.dpzvc3-1px-side-base(@color, @pseudo);
|
|
136
|
-
|
|
137
|
-
&:@{pseudo} {
|
|
138
|
-
width: 1px;
|
|
139
|
-
height: 100%;
|
|
140
|
-
top: 0;
|
|
141
|
-
left: 0;
|
|
142
|
-
border-left: 1px solid;
|
|
143
|
-
border-color: inherit;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.dpzvc3-1px-device-fix(@pseudo, "X");
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.dpzvc3-1px-side(@color: #ccc, @direction: top, @pseudo: before) when (@direction =right) {
|
|
150
|
-
.dpzvc3-1px-side-base(@color, @pseudo);
|
|
151
|
-
|
|
152
|
-
&:@{pseudo} {
|
|
153
|
-
width: 1px;
|
|
154
|
-
height: 100%;
|
|
155
|
-
top: 0;
|
|
156
|
-
right: -1px;
|
|
157
|
-
border-right: 1px solid;
|
|
158
|
-
border-color: inherit;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.dpzvc3-1px-device-fix(@pseudo, "X");
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.dpzvc3-1px-device-fix(@pseudo, @transform) when (@transform ="X") {
|
|
165
|
-
@media screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
|
166
|
-
&:@{pseudo} {
|
|
167
|
-
transform: scaleX(0.6667);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
@media screen and (-webkit-min-device-pixel-ratio: 2) {
|
|
172
|
-
&:@{pseudo} {
|
|
173
|
-
transform: scaleX(0.5);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
@media screen and (-webkit-min-device-pixel-ratio: 3) {
|
|
178
|
-
&:@{pseudo} {
|
|
179
|
-
transform: scaleX(0.333);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
;
|
|
185
|
-
|
|
186
|
-
.dpzvc3-1px-device-fix(@pseudo, @transform) when (@transform ="Y") {
|
|
187
|
-
@media screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
|
188
|
-
&:@{pseudo} {
|
|
189
|
-
transform: scaleY(0.6667);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
@media screen and (-webkit-min-device-pixel-ratio: 2) {
|
|
194
|
-
&:@{pseudo} {
|
|
195
|
-
transform: scaleY(0.5);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
@media screen and (-webkit-min-device-pixel-ratio: 3) {
|
|
200
|
-
&:@{pseudo} {
|
|
201
|
-
transform: scaleY(0.333);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
;
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
.dpzvc3-ani {
|
|
2
|
-
&-fade {
|
|
3
|
-
|
|
4
|
-
&-enter-from,
|
|
5
|
-
&-leave-to {
|
|
6
|
-
opacity: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-enter-to,
|
|
10
|
-
&-leave-from {
|
|
11
|
-
opacity: 1;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&-enter-active,
|
|
15
|
-
&-leave-active {
|
|
16
|
-
transition: opacity .3s ease;
|
|
17
|
-
will-change: opacity;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-bottom {
|
|
22
|
-
|
|
23
|
-
&-enter-from,
|
|
24
|
-
&-leave-to {
|
|
25
|
-
transform: translate3d(0, 100%, 0);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-enter-to,
|
|
29
|
-
&-leave-from {
|
|
30
|
-
transform: translate3d(0, 0, 0);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-enter-active,
|
|
34
|
-
&-leave-active {
|
|
35
|
-
transition: transform .3s ease-out 100ms;
|
|
36
|
-
will-change: transform;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-scale {
|
|
41
|
-
|
|
42
|
-
&-enter-from,
|
|
43
|
-
&-leave-to {
|
|
44
|
-
transform: translate3d(-50%, -50%, 0) scale(.9);
|
|
45
|
-
opacity: .2;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&-enter-to,
|
|
49
|
-
&-leave-from {
|
|
50
|
-
transform: translate3d(-50%, -50%, 0) scale(1);
|
|
51
|
-
opacity: 1;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&-enter-active,
|
|
55
|
-
&-leave-active {
|
|
56
|
-
transition: all .3s ease-in;
|
|
57
|
-
will-change: transform, opacity;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&-top {
|
|
62
|
-
|
|
63
|
-
&-enter-from,
|
|
64
|
-
&-leave-to {
|
|
65
|
-
transform: translate3d(0, -100%, 0);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&-enter-to,
|
|
69
|
-
&-leave-from {
|
|
70
|
-
transform: translate3d(0, 0, 0);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-enter-active,
|
|
74
|
-
&-leave-active {
|
|
75
|
-
transition: transform .3s ease-out 100ms;
|
|
76
|
-
will-change: transform;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&-left {
|
|
81
|
-
|
|
82
|
-
&-enter-from,
|
|
83
|
-
&-leave-to {
|
|
84
|
-
transform: translate3d(-100%, 0, 0);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&-enter-to,
|
|
88
|
-
&-leave-from {
|
|
89
|
-
transform: translate3d(0, 0, 0);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&-enter-active,
|
|
93
|
-
&-leave-active {
|
|
94
|
-
transition: all .3s ease;
|
|
95
|
-
will-change: transform;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-right {
|
|
100
|
-
|
|
101
|
-
&-enter-from,
|
|
102
|
-
&-leave-to {
|
|
103
|
-
transform: translate3d(100%, 0, 0);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&-enter-to,
|
|
107
|
-
&-leave-from {
|
|
108
|
-
transform: translate3d(0, 0, 0);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&-enter-active,
|
|
112
|
-
&-leave-active {
|
|
113
|
-
transition: all .3s ease;
|
|
114
|
-
will-change: transform;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&-slide-up {
|
|
119
|
-
|
|
120
|
-
&-enter-from,
|
|
121
|
-
&-leave-to {
|
|
122
|
-
transform: translate3d(0, 100%, 0);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&-enter-to,
|
|
126
|
-
&-leave-from {
|
|
127
|
-
transform: translate3d(0, 0, 0);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&-enter-active,
|
|
131
|
-
&-leave-active {
|
|
132
|
-
transition: all .3s ease;
|
|
133
|
-
will-change: transform;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&-slide-down {
|
|
138
|
-
|
|
139
|
-
&-enter-from,
|
|
140
|
-
&-leave-to {
|
|
141
|
-
transform: translate3d(0, -100%, 0);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&-enter-to,
|
|
145
|
-
&-leave-from {
|
|
146
|
-
transform: translate3d(0, 0, 0);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&-enter-active,
|
|
150
|
-
&-leave-active {
|
|
151
|
-
transition: all .3s ease;
|
|
152
|
-
will-change: transform;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
@keyframes rotate {
|
|
158
|
-
0% {
|
|
159
|
-
transform: rotate(0deg) translateZ(0deg);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
100% {
|
|
163
|
-
transform: rotate(360deg) translateZ(0deg);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.dpzvc3-nowrap {
|
|
2
|
-
max-width: 100%;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
white-space: nowrap;
|
|
5
|
-
text-overflow: ellipsis;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.dpzvc3-nowrap(@n, @i: 1) when (@i <=@n) {
|
|
9
|
-
.dpzvc3-nowrap-@{i} {
|
|
10
|
-
.dpzvc3-nowrap();
|
|
11
|
-
display: -webkit-box;
|
|
12
|
-
-webkit-box-orient: vertical;
|
|
13
|
-
-webkit-line-clamp: @i;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.dpzvc3-nowrap(@n, (@i+1));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.dpzvc3-nowrap(5);
|
package/src/template/index.ejs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<title>丁平中vc移动端组件</title>
|
|
6
|
-
<meta name="viewport"
|
|
7
|
-
content="width=device-width,
|
|
8
|
-
initial-scale=1.0,
|
|
9
|
-
maximum-scale=1.0,
|
|
10
|
-
minimum-scale=1.0">
|
|
11
|
-
<style>
|
|
12
|
-
html, body {
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 100%;
|
|
15
|
-
margin: 0;
|
|
16
|
-
}
|
|
17
|
-
</style>
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
<div id="app"></div>
|
|
21
|
-
|
|
22
|
-
<script>
|
|
23
|
-
(function (doc, win) {
|
|
24
|
-
var docEl = doc.documentElement;
|
|
25
|
-
|
|
26
|
-
function recalc() {
|
|
27
|
-
var clientWidth = docEl.clientWidth;
|
|
28
|
-
if (!clientWidth) return;
|
|
29
|
-
|
|
30
|
-
if (clientWidth > 750) clientWidth = 750;
|
|
31
|
-
|
|
32
|
-
docEl.style.fontSize = 100 * (clientWidth / 375) + 'px';
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
win.addEventListener('resize', recalc);
|
|
36
|
-
doc.addEventListener('DOMContentLoaded', recalc);
|
|
37
|
-
})(document, window);
|
|
38
|
-
</script>
|
|
39
|
-
</body>
|
|
40
|
-
</html>
|