Compare commits

...

13 Commits

Author SHA1 Message Date
e069d52544 Fixes: Style compatibility and gradient exceptions 2019-08-27 10:21:42 +08:00
4bd17d0a07 update version to 2.3.8 2019-08-27 10:21:02 +08:00
a1edd0d6f2 update change log for v 2.3.8 2019-08-27 10:20:52 +08:00
3cba31db56 Bug Fixes: bug #6 v 2.3.7 2019-08-26 17:07:00 +08:00
c6974cd2e4 update version to 2.3.7 2019-08-26 17:06:11 +08:00
56cc4534d1 update changelog for v 2.3.7 2019-08-26 17:06:01 +08:00
8884121c4c update change log 2019-08-24 13:11:05 +08:00
60bf393fd7 svg animation compatibility enhancement 2019-08-24 13:05:15 +08:00
d497dfa7d7 update version to 2.3.6 2019-08-24 13:04:26 +08:00
37469f7097 update changelog 2019-08-24 13:04:17 +08:00
JM
104e636bd7 Merge pull request #5 from Xiaoleng123/master
Bug Fixes: Enhance the animation compatibility of borderbox1 and fix spelling errors
2019-08-24 12:50:03 +08:00
0d1b1d9c29 🐛 animate compatible with Firefox 2019-08-23 22:20:40 +08:00
429e5b9478 update change log for v 2.3.5 2019-08-22 14:49:03 +08:00
14 changed files with 65 additions and 24 deletions

View File

@ -1,8 +1,30 @@
# 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
- **borderBox1:** Animation exception caused by incompatible syntax and spelling mistake [(#4)](https://github.com/jiaming743/DataV/issues/4)[(#5)](https://github.com/jiaming743/DataV/pull/5).
### Perfect
- **svg:** Svg animation compatibility enhancement.
# 2.3.5-alpha (2019-08-22)
### Bug Fixes
- **activeRingChart:** Color configuration does not take effect.
- **activeRingChart:** Color configuration does not take effect [(#3)](https://github.com/jiaming743/DataV/pull/3).
# 2.3.4-alpha (2019-08-15)

View File

@ -5,6 +5,7 @@
}
.dv-border-box-1 .border {
position: absolute;
display: block;
}
.dv-border-box-1 .right-top {
right: 0px;

View File

@ -14,7 +14,7 @@
<animate
attributeName="fill"
values="#4fd2dd;#235fa7;#4fd2dd"
dur=".5s"
dur="0.5s"
begin="0s"
repeatCount="indefinite"
/>
@ -26,7 +26,7 @@
<animate
attributeName="fill"
values="#235fa7;#4fd2dd;#235fa7"
dur=".5s"
dur="0.5s"
begin="0s"
repeatCount="indefinite"
/>
@ -37,7 +37,7 @@
>
<animate
attributeName="fill"
values="#4fd2dd;#235fa7;#transparent"
values="#4fd2dd;#235fa7;transparent"
dur="1s"
begin="0s"
repeatCount="indefinite"

View File

@ -22,7 +22,7 @@
dur="6s"
calcMode="spline"
keyTimes="0;1"
keySplines=".42,0,.58,1"
keySplines="0.42,0,0.58,1"
repeatCount="indefinite"
/>
</rect>

View File

@ -16,7 +16,7 @@
begin="0s"
calcMode="spline"
keyTimes="0;1"
keySplines=".4,1,.49,.98"
keySplines="0.4,1,0.49,0.98"
repeatCount="indefinite"
/>
</polyline>

View File

@ -16,9 +16,9 @@
attributeName="y"
:values="`${point[1] - minHeights[i] / 2};${point[1] - heights[i] / 2};${point[1] - minHeights[i] / 2}`"
:dur="`${randoms[i]}s`"
keyTimes="0;.5;1"
keyTimes="0;0.5;1"
calcMode="spline"
keySplines=".42,0,.58,1;.42,0,.58,1"
keySplines="0.42,0,0.58,1;0.42,0,0.58,1"
begin="0s"
repeatCount="indefinite"
/>
@ -26,9 +26,9 @@
attributeName="height"
:values="`${minHeights[i]};${heights[i]};${minHeights[i]}`"
:dur="`${randoms[i]}s`"
keyTimes="0;.5;1"
keyTimes="0;0.5;1"
calcMode="spline"
keySplines=".42,0,.58,1;.42,0,.58,1"
keySplines="0.42,0,0.58,1;0.42,0,0.58,1"
begin="0s"
repeatCount="indefinite"
/>

View File

@ -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;
}

View File

@ -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>

View File

@ -1,6 +1,6 @@
{
"name": "@jiaminghi/data-view",
"version": "2.3.5",
"version": "2.3.8",
"author": "JiaMing <743192023@qq.com>",
"description": "Vue Large screen data display component library",
"main": "lib/index.js",

View File

@ -14,7 +14,7 @@
<animate
attributeName="fill"
values="#4fd2dd;#235fa7;#4fd2dd"
dur=".5s"
dur="0.5s"
begin="0s"
repeatCount="indefinite"
/>
@ -26,7 +26,7 @@
<animate
attributeName="fill"
values="#235fa7;#4fd2dd;#235fa7"
dur=".5s"
dur="0.5s"
begin="0s"
repeatCount="indefinite"
/>
@ -37,7 +37,7 @@
>
<animate
attributeName="fill"
values="#4fd2dd;#235fa7;#transparent"
values="#4fd2dd;#235fa7;transparent"
dur="1s"
begin="0s"
repeatCount="indefinite"
@ -70,6 +70,7 @@ export default {
.border {
position: absolute;
display: block;
}
.right-top {

View File

@ -22,7 +22,7 @@
dur="6s"
calcMode="spline"
keyTimes="0;1"
keySplines=".42,0,.58,1"
keySplines="0.42,0,0.58,1"
repeatCount="indefinite"
/>
</rect>

View File

@ -16,7 +16,7 @@
begin="0s"
calcMode="spline"
keyTimes="0;1"
keySplines=".4,1,.49,.98"
keySplines="0.4,1,0.49,0.98"
repeatCount="indefinite"
/>
</polyline>

View File

@ -16,9 +16,9 @@
attributeName="y"
:values="`${point[1] - minHeights[i] / 2};${point[1] - heights[i] / 2};${point[1] - minHeights[i] / 2}`"
:dur="`${randoms[i]}s`"
keyTimes="0;.5;1"
keyTimes="0;0.5;1"
calcMode="spline"
keySplines=".42,0,.58,1;.42,0,.58,1"
keySplines="0.42,0,0.58,1;0.42,0,0.58,1"
begin="0s"
repeatCount="indefinite"
/>
@ -26,9 +26,9 @@
attributeName="height"
:values="`${minHeights[i]};${heights[i]};${minHeights[i]}`"
:dur="`${randoms[i]}s`"
keyTimes="0;.5;1"
keyTimes="0;0.5;1"
calcMode="spline"
keySplines=".42,0,.58,1;.42,0,.58,1"
keySplines="0.42,0,0.58,1;0.42,0,0.58,1"
begin="0s"
repeatCount="indefinite"
/>

View File

@ -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;
}