Compare commits
6 Commits
V2.3.6-alp
...
V2.3.8-alp
Author | SHA1 | Date | |
---|---|---|---|
e069d52544 | |||
4bd17d0a07 | |||
a1edd0d6f2 | |||
3cba31db56 | |||
c6974cd2e4 | |||
56cc4534d1 |
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,3 +1,15 @@
|
||||
# 2.3.8-alpha (2019-08-27)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **percentPond:** Style compatibility and gradient exceptions.
|
||||
|
||||
# 2.3.7-alpha (2019-08-26)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **borderBox1:** Parent container setting `text-align: center` to cause display exception [(#6)](https://github.com/jiaming743/DataV/issues/6).
|
||||
|
||||
# 2.3.6-alpha (2019-08-24)
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -5,6 +5,7 @@
|
||||
}
|
||||
.dv-border-box-1 .border {
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
.dv-border-box-1 .right-top {
|
||||
right: 0px;
|
||||
|
@ -1,7 +1,15 @@
|
||||
.dv-percent-pond {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.dv-percent-pond svg {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.dv-percent-pond polyline {
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
@ -4,13 +4,13 @@
|
||||
<defs>
|
||||
<linearGradient :id="gradientId1" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||
<stop v-for="lc in linearGradient" :key="lc[0]"
|
||||
:offset="lc[0]"
|
||||
:offset="`${lc[0]}%`"
|
||||
:stop-color="lc[1]" />
|
||||
</linearGradient>
|
||||
|
||||
<linearGradient :id="gradientId2" x1="0%" y1="0%" :x2="gradient2XPos" y2="0%">
|
||||
<stop v-for="lc in linearGradient" :key="lc[0]"
|
||||
:offset="lc[0]"
|
||||
:offset="`${lc[0]}%`"
|
||||
:stop-color="lc[1]" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jiaminghi/data-view",
|
||||
"version": "2.3.6",
|
||||
"version": "2.3.8",
|
||||
"author": "JiaMing <743192023@qq.com>",
|
||||
"description": "Vue Large screen data display component library",
|
||||
"main": "lib/index.js",
|
||||
|
@ -70,6 +70,7 @@ export default {
|
||||
|
||||
.border {
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.right-top {
|
||||
|
@ -4,13 +4,13 @@
|
||||
<defs>
|
||||
<linearGradient :id="gradientId1" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||
<stop v-for="lc in linearGradient" :key="lc[0]"
|
||||
:offset="lc[0]"
|
||||
:offset="`${lc[0]}%`"
|
||||
:stop-color="lc[1]" />
|
||||
</linearGradient>
|
||||
|
||||
<linearGradient :id="gradientId2" x1="0%" y1="0%" :x2="gradient2XPos" y2="0%">
|
||||
<stop v-for="lc in linearGradient" :key="lc[0]"
|
||||
:offset="lc[0]"
|
||||
:offset="`${lc[0]}%`"
|
||||
:stop-color="lc[1]" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
@ -254,9 +254,18 @@ export default {
|
||||
|
||||
<style lang="less">
|
||||
.dv-percent-pond {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
svg {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
polyline {
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
Reference in New Issue
Block a user