dpzvc-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +46 -0
- package/build-style.js +42 -0
- package/dist/dpzvc.js +17605 -0
- package/dist/styles/dpzvc.css +1 -0
- package/dist-prod/index.html +26 -0
- package/dist-prod/main.js +1 -0
- package/dist-prod/vendor.bundle.js +1 -0
- package/package.json +88 -0
- package/src/components/Indicator/Indicator.vue +77 -0
- package/src/components/Indicator/index.js +153 -0
- package/src/components/Text/Number.vue +201 -0
- package/src/components/Text/index.js +7 -0
- package/src/components/Text/textBar.vue +142 -0
- package/src/components/action-sheet/actionSheet.vue +91 -0
- package/src/components/action-sheet/index.js +5 -0
- package/src/components/app.vue +66 -0
- package/src/components/badge/badge.vue +77 -0
- package/src/components/badge/index.js +5 -0
- package/src/components/button/button.vue +122 -0
- package/src/components/button/index.js +5 -0
- package/src/components/card/card.vue +59 -0
- package/src/components/card/index.js +5 -0
- package/src/components/cell/cell.vue +103 -0
- package/src/components/cell/index.js +5 -0
- package/src/components/cell-swipe/cell-swipe.vue +148 -0
- package/src/components/cell-swipe/index.js +5 -0
- package/src/components/checkBox/checkbox-group.vue +76 -0
- package/src/components/checkBox/checkbox.vue +107 -0
- package/src/components/checkBox/index.js +8 -0
- package/src/components/header/header.vue +82 -0
- package/src/components/header/index.js +5 -0
- package/src/components/loadMore/index.js +5 -0
- package/src/components/loadMore/loadmore.vue +293 -0
- package/src/components/message/confirm.js +52 -0
- package/src/components/message/index.js +132 -0
- package/src/components/message/message.vue +135 -0
- package/src/components/message/messageGroup.vue +74 -0
- package/src/components/modal/confirm.js +161 -0
- package/src/components/modal/index.js +63 -0
- package/src/components/modal/modal.vue +144 -0
- package/src/components/picker/area-picker/area-picker.vue +223 -0
- package/src/components/picker/area-picker/props.js +17 -0
- package/src/components/picker/date-picker/date-picker.vue +291 -0
- package/src/components/picker/date-picker/props.js +24 -0
- package/src/components/picker/index.js +5 -0
- package/src/components/picker/normal-picker/normal-picker.vue +107 -0
- package/src/components/picker/normal-picker/props.js +20 -0
- package/src/components/picker/picker-slot.vue +206 -0
- package/src/components/picker/picker.vue +111 -0
- package/src/components/popup/index.js +5 -0
- package/src/components/popup/popup.vue +117 -0
- package/src/components/progress/index.js +5 -0
- package/src/components/progress/progress.vue +77 -0
- package/src/components/prompt/confirm.js +174 -0
- package/src/components/prompt/index.js +50 -0
- package/src/components/prompt/prompt.vue +166 -0
- package/src/components/radioBox/index.js +8 -0
- package/src/components/radioBox/radiobox-group.vue +74 -0
- package/src/components/radioBox/radiobox.vue +117 -0
- package/src/components/rater/index.js +5 -0
- package/src/components/rater/rater.vue +164 -0
- package/src/components/slideBar/index.js +6 -0
- package/src/components/slideBar/slideBar.vue +269 -0
- package/src/components/spinner/behavior/blade.vue +22 -0
- package/src/components/spinner/behavior/double-bounce.vue +22 -0
- package/src/components/spinner/behavior/fading-circle.vue +37 -0
- package/src/components/spinner/behavior/snake.vue +32 -0
- package/src/components/spinner/behavior/triple-bounce.vue +41 -0
- package/src/components/spinner/index.js +5 -0
- package/src/components/spinner/props.js +25 -0
- package/src/components/spinner/spinner.vue +74 -0
- package/src/components/swipe/index.js +5 -0
- package/src/components/swipe/swipe.vue +399 -0
- package/src/components/switchbar/index.js +5 -0
- package/src/components/switchbar/switchbar.vue +83 -0
- package/src/components/tab/index.js +6 -0
- package/src/components/tab/tab.vue +95 -0
- package/src/components/toTop/index.js +5 -0
- package/src/components/toTop/topTop.vue +76 -0
- package/src/components/upload/index.js +5 -0
- package/src/components/upload/upload.vue +200 -0
- package/src/config/config.js +17 -0
- package/src/directives/clickoutside.js +32 -0
- package/src/directives/tranferDom.js +65 -0
- package/src/index.js +83 -0
- package/src/lib/MegaPixImage.js +253 -0
- package/src/lib/exif.js +808 -0
- package/src/main.js +76 -0
- package/src/mixin/emitter.js +41 -0
- package/src/mixin/input.js +41 -0
- package/src/router.js +229 -0
- package/src/styles/base/font.less +99 -0
- package/src/styles/base/reset.less +69 -0
- package/src/styles/base/variable.less +108 -0
- package/src/styles/components/actionSheet.less +43 -0
- package/src/styles/components/badge.less +79 -0
- package/src/styles/components/button.less +123 -0
- package/src/styles/components/card.less +31 -0
- package/src/styles/components/cell-swipe.less +20 -0
- package/src/styles/components/cell.less +71 -0
- package/src/styles/components/checkBox.less +111 -0
- package/src/styles/components/editor.less +3 -0
- package/src/styles/components/header.less +70 -0
- package/src/styles/components/indicator.less +37 -0
- package/src/styles/components/loadmore.less +48 -0
- package/src/styles/components/message.less +57 -0
- package/src/styles/components/modal.less +82 -0
- package/src/styles/components/number.less +58 -0
- package/src/styles/components/picker.less +150 -0
- package/src/styles/components/popup.less +46 -0
- package/src/styles/components/progress.less +50 -0
- package/src/styles/components/prompt.less +37 -0
- package/src/styles/components/radioBox.less +136 -0
- package/src/styles/components/slide-Bar.less +147 -0
- package/src/styles/components/spinner.less +328 -0
- package/src/styles/components/swipe.less +125 -0
- package/src/styles/components/switchBar.less +88 -0
- package/src/styles/components/tab.less +69 -0
- package/src/styles/components/text.less +80 -0
- package/src/styles/components/toTop.less +26 -0
- package/src/styles/components/upload.less +23 -0
- package/src/styles/index.less +38 -0
- package/src/styles/utils/1px.less +204 -0
- package/src/styles/utils/animation.less +131 -0
- package/src/styles/utils/nowrap.less +19 -0
- package/src/template/index.ejs +26 -0
- package/src/utils/util.js +203 -0
- package/src/vconsole-resources.min.js +6 -0
- package/src/vconsole-sources.min.js +6 -0
- package/src/vconsole.min.js +7 -0
- package/src/views/ActionSheet.vue +33 -0
- package/src/views/Badge.vue +40 -0
- package/src/views/Button.vue +40 -0
- package/src/views/Card.vue +52 -0
- package/src/views/Cell.vue +21 -0
- package/src/views/CellSwipe.vue +85 -0
- package/src/views/CheckBox.vue +53 -0
- package/src/views/Header.vue +47 -0
- package/src/views/Indicator.vue +69 -0
- package/src/views/LoadMore.vue +54 -0
- package/src/views/Message.vue +42 -0
- package/src/views/Modal.vue +32 -0
- package/src/views/Picker.vue +50 -0
- package/src/views/Popup.vue +87 -0
- package/src/views/Progress.vue +32 -0
- package/src/views/Prompt.vue +31 -0
- package/src/views/RadioBox.vue +55 -0
- package/src/views/Rater.vue +39 -0
- package/src/views/SlideBar.vue +47 -0
- package/src/views/Spinner.vue +15 -0
- package/src/views/Swipe.vue +34 -0
- package/src/views/SwitchBar.vue +36 -0
- package/src/views/Tab.vue +41 -0
- package/src/views/Text.vue +64 -0
- package/src/views/ToTop.vue +17 -0
- package/src/views/Upload.vue +44 -0
- package/src/views/guide.vue +159 -0
- package/src/views/index.vue +435 -0
- package/webpack.base.config.js +74 -0
- package/webpack.dev.config.js +67 -0
- package/webpack.dist.dev.config.js +44 -0
- package/webpack.dist.prod.config.js +50 -0
- package/webpack.prod.config.js +72 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
.dpzvc-modal {
|
|
2
|
+
transform: translate3d(-50%, -50%, 0) scale(1);
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 50%;
|
|
5
|
+
left: 50%;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
border-radius: @BorderRadius;
|
|
8
|
+
background: @ModalBgColor;
|
|
9
|
+
z-index: 100;
|
|
10
|
+
color: @ModalColor;
|
|
11
|
+
|
|
12
|
+
.dpzvc-modal-header {
|
|
13
|
+
text-align: center;
|
|
14
|
+
padding: 0 10px;
|
|
15
|
+
|
|
16
|
+
//border-bottom: 1px solid @BorderColor;
|
|
17
|
+
.dpzvc-modal-header-inner {
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
font-size: 20px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
padding-top: 20px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.dpzvc-modal-body {
|
|
26
|
+
|
|
27
|
+
.dpzvc-modal-body-inner {
|
|
28
|
+
text-align: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
line-height:25px;
|
|
32
|
+
padding:30px 20px;
|
|
33
|
+
word-wrap:break-word;
|
|
34
|
+
overflow-y:scroll;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.dpzvc-modal-footer {
|
|
38
|
+
width: 100%;
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
flex-direction: row;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
|
|
44
|
+
.dpzvc-button {
|
|
45
|
+
border-top: 1px solid @BorderColor;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
//.dpzvc-button:nth-of-type(1){
|
|
49
|
+
// border-right:1px solid @BorderColor;
|
|
50
|
+
//}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.dpzvc-modal-button {
|
|
54
|
+
flex: 1;
|
|
55
|
+
height: 40px;
|
|
56
|
+
border: 1px solid @BorderColor;
|
|
57
|
+
border-left: 0 none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.dpzvc-modal-button-sure {
|
|
61
|
+
|
|
62
|
+
color: red;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
//.v-lc-modal-button-cancle,.dpzvc-prompt-button-cancle{
|
|
66
|
+
//
|
|
67
|
+
// color: #ccc;
|
|
68
|
+
//}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//遮罩层
|
|
72
|
+
.dpzvc-modal-mask {
|
|
73
|
+
position: fixed;
|
|
74
|
+
left: 0;
|
|
75
|
+
top: 0;
|
|
76
|
+
right: 0;
|
|
77
|
+
bottom: 0;
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: 100%;
|
|
80
|
+
background: rgba(0, 0, 0, .4);
|
|
81
|
+
z-index: 99;
|
|
82
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.dpzvc-number {
|
|
2
|
+
|
|
3
|
+
width: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
justify-content: flex-start;
|
|
7
|
+
align-items: center;
|
|
8
|
+
color: #4a4a4a;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
& input {
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
border: .5px solid #c0c4cc;
|
|
14
|
+
text-align: center;
|
|
15
|
+
transition: border-color .2s linear;
|
|
16
|
+
will-change: border-color;
|
|
17
|
+
background: #ffffff;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& input:focus {
|
|
21
|
+
border-color: @ThemeColor
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
& .disabled {
|
|
25
|
+
|
|
26
|
+
color: #c0c4cc;
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&-changevalue {
|
|
32
|
+
align-items: center;
|
|
33
|
+
position: relative;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
display: inline-block;
|
|
36
|
+
text-align: center;
|
|
37
|
+
border: .5px solid #c0c4cc;
|
|
38
|
+
background: #e1e2ea;
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&-changevalue.left {
|
|
46
|
+
border-bottom-left-radius: 3px;
|
|
47
|
+
border-top-left-radius: 3px;
|
|
48
|
+
border-right: 0;
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-changevalue.right {
|
|
53
|
+
border-bottom-right-radius: 3px;
|
|
54
|
+
border-top-right-radius: 3px;
|
|
55
|
+
border-left: 0;
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
.dpzvc-picker-wrapper {
|
|
2
|
+
position: relative;
|
|
3
|
+
height: 100%;
|
|
4
|
+
|
|
5
|
+
.dpzvc-mask {
|
|
6
|
+
position: absolute;
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
top: 0;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
background: @MaskColor;
|
|
12
|
+
z-index: 10;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.dpzvc-picker-content {
|
|
16
|
+
position: absolute;
|
|
17
|
+
left: 0;
|
|
18
|
+
right: 0;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
background: #fff;
|
|
21
|
+
z-index: 10;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dpzvc-picker,
|
|
25
|
+
.dpzvc-date-picker,
|
|
26
|
+
.dpzvc-normal-picker {
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
.header {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
background: @PickerHeaderBgColor;
|
|
33
|
+
color: @ThemeColor;
|
|
34
|
+
|
|
35
|
+
.title {
|
|
36
|
+
height: @PickerHeaderHeight;
|
|
37
|
+
line-height: @PickerHeaderHeight;
|
|
38
|
+
font-weight: bold;
|
|
39
|
+
color: #454545;
|
|
40
|
+
font-size: 15px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.left,
|
|
44
|
+
.right {
|
|
45
|
+
|
|
46
|
+
height: @PickerHeaderHeight;
|
|
47
|
+
line-height: @PickerHeaderHeight;
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
padding: 0 @SpaceHor;
|
|
50
|
+
font-weight: bold;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.left {
|
|
54
|
+
color: #c0c4cc;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.main {
|
|
61
|
+
height: @PickerHeight;
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
flex-direction: row;
|
|
65
|
+
align-items: center;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.dpzvc-picker-slot {
|
|
69
|
+
flex: 1;
|
|
70
|
+
position: relative;
|
|
71
|
+
height: 100%;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
|
|
74
|
+
ul {
|
|
75
|
+
position: absolute;
|
|
76
|
+
top: 0;
|
|
77
|
+
left: 0;
|
|
78
|
+
width: 100%;
|
|
79
|
+
transition: all .2s ease-in;
|
|
80
|
+
|
|
81
|
+
li {
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 35px;
|
|
84
|
+
line-height: 35px;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
white-space: nowrap;
|
|
87
|
+
text-overflow: ellipsis;
|
|
88
|
+
color: @PickerTxtColor;
|
|
89
|
+
|
|
90
|
+
&.level_1 {
|
|
91
|
+
transform: rotateY(15deg);
|
|
92
|
+
transform-style: preserve-3d;
|
|
93
|
+
font-size: @PickerTxtSize - 2;
|
|
94
|
+
opacity: .7;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.level_1_1 {
|
|
98
|
+
transform: rotateY(-15deg);
|
|
99
|
+
transform-style: preserve-3d;
|
|
100
|
+
font-size: @PickerTxtSize - 2;
|
|
101
|
+
opacity: .7;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.level_2 {
|
|
105
|
+
transform: rotateY(20deg);
|
|
106
|
+
transform-style: preserve-3d;
|
|
107
|
+
font-size: @PickerTxtSize - 3;
|
|
108
|
+
opacity: .5;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.level_2_1 {
|
|
112
|
+
transform: rotateY(-20deg);
|
|
113
|
+
transform-style: preserve-3d;
|
|
114
|
+
font-size: @PickerTxtSize - 3;
|
|
115
|
+
opacity: .5;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.level_3 {
|
|
119
|
+
transform: rotateY(45deg);
|
|
120
|
+
transform-style: preserve-3d;
|
|
121
|
+
font-size: @PickerTxtSize - 4;
|
|
122
|
+
opacity: .3;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.level_3_1 {
|
|
126
|
+
transform: rotateY(-45deg);
|
|
127
|
+
transform-style: preserve-3d;
|
|
128
|
+
font-size: @PickerTxtSize - 4;
|
|
129
|
+
opacity: .3;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.current {
|
|
133
|
+
font-size: @PickerTxtSize;
|
|
134
|
+
font-weight: bold;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
.dpzvc-picker-slot ul.dpzvc-picker-slot-dragging {
|
|
147
|
+
transition: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.dpzvc-popup {
|
|
2
|
+
|
|
3
|
+
&-mask {
|
|
4
|
+
position: absolute;
|
|
5
|
+
left: 0;
|
|
6
|
+
top: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
background: rgba(0, 0, 0, .7);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&-content {
|
|
13
|
+
background: #ffffff;
|
|
14
|
+
position: absolute;
|
|
15
|
+
z-index: 300;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-left {
|
|
19
|
+
top: 0;
|
|
20
|
+
bottom: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-right {
|
|
25
|
+
top: 0;
|
|
26
|
+
bottom: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-top {
|
|
31
|
+
top: 0;
|
|
32
|
+
left: 0;
|
|
33
|
+
right: 0;
|
|
34
|
+
text-align: center;
|
|
35
|
+
min-height: 50px;
|
|
36
|
+
line-height: 50px;
|
|
37
|
+
color: #ffffff;
|
|
38
|
+
background: rgba(0, 0, 0, .7);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&-bottom {
|
|
42
|
+
left: 0;
|
|
43
|
+
right: 0;
|
|
44
|
+
bottom: 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.dpzvc-progress {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: relative;
|
|
4
|
+
height: @ProgressHeight;
|
|
5
|
+
line-height: @ProgressHeight;
|
|
6
|
+
|
|
7
|
+
&>[slot="left"] {
|
|
8
|
+
margin-right: 5px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&>[slot="right"] {
|
|
12
|
+
margin-left: 5px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&>* {
|
|
16
|
+
display: flex;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-outer {
|
|
20
|
+
flex: 1;
|
|
21
|
+
position: relative;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-runaway {
|
|
27
|
+
position: absolute;
|
|
28
|
+
left: 0;
|
|
29
|
+
top: 50%;
|
|
30
|
+
transform: translate(0, -50%);
|
|
31
|
+
right: 0;
|
|
32
|
+
background: #ebebeb;
|
|
33
|
+
height: 3px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-progress {
|
|
37
|
+
position: absolute;
|
|
38
|
+
display: block;
|
|
39
|
+
top: 50%;
|
|
40
|
+
transform: translate(0, -50%);
|
|
41
|
+
background: -webkit-linear-gradient(left, #ffffff, @ThemeColor);
|
|
42
|
+
width: 0;
|
|
43
|
+
height: 3px;
|
|
44
|
+
transition: width 150ms ease-out;
|
|
45
|
+
will-change: width;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.dpzvc-prompt-content {
|
|
2
|
+
|
|
3
|
+
width: 100%;
|
|
4
|
+
|
|
5
|
+
.dpzvc-prompt-spec {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
width: 100%;
|
|
8
|
+
line-height: 25px;
|
|
9
|
+
text-indent: 5px;
|
|
10
|
+
color: #555;
|
|
11
|
+
font-size: 13px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.dpzvc-prompt-button {
|
|
19
|
+
width: 50%;
|
|
20
|
+
border: 1px solid #eee;
|
|
21
|
+
border-left: 0 none;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
button {
|
|
25
|
+
background: #ffffff;
|
|
26
|
+
color: red;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.dpzvc-prompt-error {
|
|
31
|
+
|
|
32
|
+
color: red;
|
|
33
|
+
text-align: left;
|
|
34
|
+
text-indent: 5px;
|
|
35
|
+
line-height: 25px;
|
|
36
|
+
height: 25px;
|
|
37
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
//.dpzvc-radiobox-checked{
|
|
2
|
+
// .dpzvc-radiobox-inner{
|
|
3
|
+
//
|
|
4
|
+
// //border-color: @checkBoxColor!important;
|
|
5
|
+
// border-color: #555!important;
|
|
6
|
+
// &:after{
|
|
7
|
+
// background-color:@radioBoxColor!important;
|
|
8
|
+
// }
|
|
9
|
+
// }
|
|
10
|
+
//}
|
|
11
|
+
.dpzvc-radioBoxGroup.dpzvc-radioBoxGroup-vertical .dpzvc-radiobox {
|
|
12
|
+
margin-right: 0;
|
|
13
|
+
margin-bottom: 8px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.dpzvc-radiobox {
|
|
17
|
+
display: inline-block;
|
|
18
|
+
margin-right: 8px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
.dpzvc-radiobox-wrapper {
|
|
23
|
+
display: inline-block;
|
|
24
|
+
vertical-align: middle;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
outline: 0;
|
|
28
|
+
line-height: 1;
|
|
29
|
+
position: relative
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dpzvc-radiobox-inner {
|
|
33
|
+
display: inline-block;
|
|
34
|
+
width: 14px;
|
|
35
|
+
height: 14px;
|
|
36
|
+
position: relative;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: 0;
|
|
39
|
+
border: 1px solid #d7dde4;
|
|
40
|
+
border-radius: 100%;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
transition: border-color .2s ease-in-out, background-color .2s ease-in-out;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
.dpzvc-radiobox-inner:before {
|
|
48
|
+
position: absolute;
|
|
49
|
+
width: 14px;
|
|
50
|
+
height: 14px;
|
|
51
|
+
left: 0px;
|
|
52
|
+
top: 0px;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
display: table;
|
|
55
|
+
border-top: 0;
|
|
56
|
+
border-left: 0;
|
|
57
|
+
content: " ";
|
|
58
|
+
background-color: @radioBoxColor;
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transition: all .2s ease-in-out;
|
|
61
|
+
transform: scale(0);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dpzvc-radiobox-inner:after {
|
|
65
|
+
position: absolute;
|
|
66
|
+
width: 6px;
|
|
67
|
+
height: 6px;
|
|
68
|
+
left: 4px;
|
|
69
|
+
top: 4px;
|
|
70
|
+
border-radius: 50%;
|
|
71
|
+
display: table;
|
|
72
|
+
border-top: 0;
|
|
73
|
+
border-left: 0;
|
|
74
|
+
content: " ";
|
|
75
|
+
background-color: #ffffff;
|
|
76
|
+
opacity: 0;
|
|
77
|
+
transition: all .2s ease-in-out;
|
|
78
|
+
transform: scale(0);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dpzvc-radiobox-checked .dpzvc-radiobox-inner:after,
|
|
82
|
+
.dpzvc-radiobox-checked .dpzvc-radiobox-inner:before {
|
|
83
|
+
opacity: 1;
|
|
84
|
+
transform: scale(1);
|
|
85
|
+
transition: all .2s ease-in-out;
|
|
86
|
+
box-shadow: 0 0 1px 1px @ThemeColor
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
.dpzvc-radiobox-disable.dpzvc-radiobox-checked .dpzvc-radiobox-inner:after,
|
|
91
|
+
.dpzvc-radiobox-disable.dpzvc-radiobox-checked .dpzvc-radiobox-inner:before {
|
|
92
|
+
background-color: #f3f3f3;
|
|
93
|
+
cursor: not-allowed;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.dpzvc-radiobox-disable .dpzvc-radiobox-inner:after,
|
|
97
|
+
.dpzvc-radiobox-disable .dpzvc-radiobox-inner:before {
|
|
98
|
+
background-color: #f3f3f3;
|
|
99
|
+
cursor: not-allowed;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
.dpzvc-radiobox-checked.dpzvc-radiobox-disable .dpzvc-radiobox-inner {
|
|
104
|
+
border-color: #f3f3f3;
|
|
105
|
+
cursor: not-allowed;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.dpzvc-radiobox-disable input {
|
|
109
|
+
cursor: not-allowed;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.dpzvc-radiobox-disable .dpzvc-radiobox-inner {
|
|
113
|
+
border-color: #f3f3f3;
|
|
114
|
+
cursor: not-allowed;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.dpzvc-radiobox-disable+span {
|
|
118
|
+
color: #f3f3f3;
|
|
119
|
+
cursor: not-allowed;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
.dpzvc-radiobox-input {
|
|
126
|
+
width: 100%;
|
|
127
|
+
height: 100%;
|
|
128
|
+
position: absolute;
|
|
129
|
+
left: 0;
|
|
130
|
+
top: 0;
|
|
131
|
+
right: 0;
|
|
132
|
+
bottom: 0;
|
|
133
|
+
opacity: 0;
|
|
134
|
+
z-index: 1;
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
.dpzvc-slideBar {
|
|
2
|
+
border-top-color: @SlideBarBgColor;
|
|
3
|
+
border-bottom-color: @SlideBarBgColor;
|
|
4
|
+
border-top-style: solid;
|
|
5
|
+
border-bottom-style: solid;
|
|
6
|
+
border-bottom-width: 1px;
|
|
7
|
+
border-top-width: 1px;
|
|
8
|
+
|
|
9
|
+
//border-bottom: 1px solid #eee;
|
|
10
|
+
//border-top: 1px solid #eee;
|
|
11
|
+
.dpzvc-slideBar-child {
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
|
|
14
|
+
background-color: @SlideBackgroundCorlor;
|
|
15
|
+
|
|
16
|
+
>a {
|
|
17
|
+
|
|
18
|
+
color: @slideChildColor;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dpzvc-slideBar {
|
|
24
|
+
display: block;
|
|
25
|
+
width: 100%;
|
|
26
|
+
background: #ffffff;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
position: relative;
|
|
29
|
+
|
|
30
|
+
&-header {
|
|
31
|
+
overflow-x: scroll;
|
|
32
|
+
overflow-y: hidden;
|
|
33
|
+
width: 100%;
|
|
34
|
+
position: relative;
|
|
35
|
+
//&.fixed {
|
|
36
|
+
// position: absolute;
|
|
37
|
+
// top:0;
|
|
38
|
+
// left:0;
|
|
39
|
+
// z-index:10;
|
|
40
|
+
// background: #fff;
|
|
41
|
+
//}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.dpzvc-slideBar-wrapper {
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
//border-bottom: 1px solid #eeeeee;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.dpzvc-slideBar-wrapper-absolute {
|
|
52
|
+
position: absolute;
|
|
53
|
+
bottom: 0;
|
|
54
|
+
height: 2px;
|
|
55
|
+
background-color: @ThemeColor;
|
|
56
|
+
transition: transform .2s ease-out;
|
|
57
|
+
will-change: transform;
|
|
58
|
+
z-index: 3;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
//.dpzvc-slideBar-wrapper::before {
|
|
62
|
+
// width:100%;
|
|
63
|
+
// bottom:0;
|
|
64
|
+
// left: 0;
|
|
65
|
+
// position: absolute;
|
|
66
|
+
// content: '';
|
|
67
|
+
// height: 1px;
|
|
68
|
+
// background: #eeeeee;
|
|
69
|
+
//
|
|
70
|
+
//}
|
|
71
|
+
|
|
72
|
+
.dpzvc-slideBar-wrapper .dpzvc-slideBar-child {
|
|
73
|
+
height: 100%;
|
|
74
|
+
line-height: 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.dpzvc-slideBar-wrapper .dpzvc-slideBar-child.active>a {
|
|
78
|
+
color: @ThemeColor;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dpzvc-slideBar-wrapper .dpzvc-slideBar-child a {
|
|
82
|
+
display: inline-block;
|
|
83
|
+
width: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.dpzvc-slideBar-wrapper.dpzvc-slideBar-flex {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.dpzvc-slideBar-wrapper.dpzvc-slideBar-flex.normal {
|
|
93
|
+
flex-direction: row;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.dpzvc-slideBar-wrapper.dpzvc-slideBar-flex.vertical {
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.dpzvc-slideBar-wrapper.dpzvc-slideBar-flex .dpzvc-slideBar-child {
|
|
101
|
+
flex: 1;
|
|
102
|
+
width: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.dpzvc-slideBar-slide {
|
|
106
|
+
width: auto;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.dpzvc-slideBar-slide .dpzvc-slideBar-child {
|
|
110
|
+
display: inline-block;
|
|
111
|
+
margin-bottom: -3px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
//.dpzvc-slideBar-slide .dpzvc-slideBar-child.normalChild {
|
|
115
|
+
// height: 30px;
|
|
116
|
+
//}
|
|
117
|
+
|
|
118
|
+
.dpzvc-slideBar-container {
|
|
119
|
+
width: 100%;
|
|
120
|
+
position: relative;
|
|
121
|
+
left: 0;
|
|
122
|
+
top: 0;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.dpzvc-slideBar-content {
|
|
127
|
+
transition: transform .2s ease-in;
|
|
128
|
+
will-change: transform;
|
|
129
|
+
height: 100%;
|
|
130
|
+
//display: flex;
|
|
131
|
+
//flex-flow: row nowrap;
|
|
132
|
+
|
|
133
|
+
overflow: auto;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.dpzvc-slideBar-content.dpzvc-slideBar-dragging {
|
|
137
|
+
transition: none;
|
|
138
|
+
will-change: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.dpzvc-slideBar-content-item {
|
|
142
|
+
//flex: 1;
|
|
143
|
+
//width:0;
|
|
144
|
+
display: inline-block;
|
|
145
|
+
height: 100%;
|
|
146
|
+
|
|
147
|
+
}
|