zartui 2.0.22 → 2.0.23
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/es/index.js +1 -1
- package/es/timeline/index.css +1 -1
- package/es/timeline/index.js +20 -4
- package/es/timeline/index.less +5 -8
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/timeline/index.css +1 -1
- package/lib/timeline/index.js +20 -4
- package/lib/timeline/index.less +5 -8
- package/lib/zart.js +21 -5
- package/lib/zart.min.js +1 -1
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -76,7 +76,7 @@ import Tag from './tag';
|
|
|
76
76
|
import Timeline from './timeline';
|
|
77
77
|
import Toast from './toast';
|
|
78
78
|
import Uploader from './uploader';
|
|
79
|
-
var version = '2.0.
|
|
79
|
+
var version = '2.0.23';
|
|
80
80
|
|
|
81
81
|
function install(Vue) {
|
|
82
82
|
var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Grid, GridItem, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MediaPicker, MediaPlayer, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, PdfViewer, PdfViewerV2, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Timeline, Toast, Uploader];
|
package/es/timeline/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-timeline{background-color:#fff}.zt-timeline .zt-timeline__top-bar{height:44px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-timeline .zt-timeline__top-left{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-timeline .zt-timeline__bar{width:4px;height:16px;background:#0091fa;margin-right:12px}.zt-timeline .zt-timeline__top-right{padding-right:16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-timeline .zt-timeline__fold-text{font-size:14px;color:rgba(
|
|
1
|
+
.zt-timeline{background-color:#fff}.zt-timeline .zt-timeline__top-bar{height:44px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-timeline .zt-timeline__top-left{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-timeline .zt-timeline__bar{width:4px;height:16px;background:#0091fa;margin-right:12px}.zt-timeline .zt-timeline__top-right{padding-right:16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-timeline .zt-timeline__fold-text{font-size:14px;color:rgba(45,75,115,.6);line-height:24px;margin-right:8px}.zt-timeline .zt-timeline__container{padding-top:16px}.zt-timeline .zt-timeline__item{padding:0 16px 16px 16px;display:-webkit-box;display:-webkit-flex;display:flex}.zt-timeline .zt-timeline__item.last-item .zt-timeline__line{height:0}.zt-timeline .zt-timeline__left-container{margin-right:8px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-timeline .zt-timeline__right-container{-webkit-box-flex:1;-webkit-flex:1;flex:1}.zt-timeline .zt-timeline__avatar-box{width:40px;height:40px;position:relative}.zt-timeline .zt-timeline__status{width:16px;height:16px;position:absolute;bottom:-4px;right:-4px}.zt-timeline .zt-timeline__avatar{width:40px;height:40px;background:rgba(0,145,250,.7);border-radius:4px;font-size:14px;font-weight:700;text-align:center;color:#fff;line-height:40px}.zt-timeline .zt-timeline__line{background-color:#f5f5f5;width:2px;height:100%;margin-top:4px;margin-bottom:-12px}.zt-timeline .zt-timeline__title-box{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:8px}.zt-timeline .zt-timeline__title{font-size:14px;font-weight:700;color:#2d4b73;line-height:24px}.zt-timeline .zt-timeline__time{font-size:12px;color:rgba(45,75,115,.8);line-height:16px}.zt-timeline .zt-timeline__content-box{font-size:14px;color:#2d4b73;line-height:20px;padding-bottom:8px}.zt-timeline .zt-timeline__human-box{padding-bottom:8px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.zt-timeline .zt-timeline__human-box .zt-timeline__depart{font-size:14px;color:#2d4b73;line-height:20px;margin-right:8px}.zt-timeline .zt-timeline__human-box .zt-timeline__human{font-weight:700;font-size:14px;color:#2d4b73;line-height:20px}.zt-timeline .zt-timeline__main-container{background:rgba(45,75,115,.04);border-radius:4px;padding:8px 12px}.zt-timeline .zt-timeline__main-container::before{border-radius:4px}.zt-timeline .zt-timeline__main-container .zt-timeline__text-bold{font-weight:700;color:#2d4b73}.zt-timeline .zt-timeline__opinion-box{padding-top:7px}.zt-timeline .zt-timeline__opinion-box .zt-timeline__opinion--empty{font-size:14px;color:rgba(45,75,115,.2)}.zt-timeline .zt-timeline__content-label,.zt-timeline .zt-timeline__opinion-label{margin-bottom:4px;font-size:14px;color:rgba(45,75,115,.6);line-height:20px}.zt-timeline .zt-timeline__opinion{font-size:14px;color:#2d4b73;line-height:20px}
|
package/es/timeline/index.js
CHANGED
|
@@ -152,10 +152,26 @@ export default createComponent({
|
|
|
152
152
|
"class": bem("content-box" + " half-border-bottom")
|
|
153
153
|
}, [h("div", {
|
|
154
154
|
"class": bem("content-label")
|
|
155
|
-
}, [this.contentKey]),
|
|
156
|
-
"
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
}, [this.contentKey]), h("span", {
|
|
156
|
+
"directives": [{
|
|
157
|
+
name: "show",
|
|
158
|
+
value: item.stage
|
|
159
|
+
}]
|
|
160
|
+
}, ["\u5728", item.stage, "\u9636\u6BB5"]), h("span", [" ", item.action, " "]), h("span", {
|
|
161
|
+
"directives": [{
|
|
162
|
+
name: "show",
|
|
163
|
+
value: item.nextAction
|
|
164
|
+
}]
|
|
165
|
+
}, ["\u5230", item.nextAction]), h("span", {
|
|
166
|
+
"directives": [{
|
|
167
|
+
name: "show",
|
|
168
|
+
value: item.nextDepartment
|
|
169
|
+
}]
|
|
170
|
+
}, [item.nextDepartment]), h("span", {
|
|
171
|
+
"directives": [{
|
|
172
|
+
name: "show",
|
|
173
|
+
value: item.nextHuman
|
|
174
|
+
}]
|
|
159
175
|
}, [" [", item.nextHuman, "]"])]);
|
|
160
176
|
},
|
|
161
177
|
genOpinion: function genOpinion(item, opinionSlot) {
|
package/es/timeline/index.less
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
.zt-timeline__fold-text {
|
|
27
27
|
font-size: 14px;
|
|
28
|
-
color: rgba(
|
|
28
|
+
color: rgba(45, 75, 115, .6);
|
|
29
29
|
line-height: 24px;
|
|
30
30
|
margin-right: 8px;
|
|
31
31
|
}
|
|
@@ -99,14 +99,11 @@
|
|
|
99
99
|
}
|
|
100
100
|
.zt-timeline__content-box {
|
|
101
101
|
font-size: 14px;
|
|
102
|
-
color:
|
|
102
|
+
color: #2D4B73;
|
|
103
103
|
line-height: 20px;
|
|
104
104
|
padding-bottom: 8px;
|
|
105
105
|
}
|
|
106
106
|
.zt-timeline__human-box {
|
|
107
|
-
font-size: 14px;
|
|
108
|
-
color: rgba(0,0,0,0.80);
|
|
109
|
-
line-height: 20px;
|
|
110
107
|
padding-bottom: 8px;
|
|
111
108
|
display: flex;
|
|
112
109
|
align-items: center;
|
|
@@ -135,7 +132,7 @@
|
|
|
135
132
|
}
|
|
136
133
|
.zt-timeline__text-bold {
|
|
137
134
|
font-weight: bold;
|
|
138
|
-
color:
|
|
135
|
+
color: rgba(45, 75, 115, 1);
|
|
139
136
|
}
|
|
140
137
|
}
|
|
141
138
|
.zt-timeline__opinion-box {
|
|
@@ -148,12 +145,12 @@
|
|
|
148
145
|
.zt-timeline__opinion-label, .zt-timeline__content-label {
|
|
149
146
|
margin-bottom: 4px;
|
|
150
147
|
font-size: 14px;
|
|
151
|
-
color: rgba(
|
|
148
|
+
color: rgba(45, 75, 115, .6);
|
|
152
149
|
line-height: 20px;
|
|
153
150
|
}
|
|
154
151
|
.zt-timeline__opinion {
|
|
155
152
|
font-size: 14px;
|
|
156
|
-
color: #
|
|
153
|
+
color: #2D4B73;
|
|
157
154
|
line-height: 20px;
|
|
158
155
|
}
|
|
159
156
|
}
|