Compare commits
19 Commits
V2.3.5-alp
...
V2.3.9-alp
Author | SHA1 | Date | |
---|---|---|---|
46c72a9a68 | |||
1c33d4d7b8 | |||
0d59ebcc04 | |||
c47f6133f4 | |||
f8870f763a | |||
9f00506e73 | |||
e069d52544 | |||
4bd17d0a07 | |||
a1edd0d6f2 | |||
3cba31db56 | |||
c6974cd2e4 | |||
56cc4534d1 | |||
8884121c4c | |||
60bf393fd7 | |||
d497dfa7d7 | |||
37469f7097 | |||
104e636bd7 | |||
0d1b1d9c29 | |||
429e5b9478 |
30
CHANGELOG.md
30
CHANGELOG.md
@ -1,8 +1,36 @@
|
||||
# 2.3.9-alpha (2019-08-27)
|
||||
|
||||
### Perfect
|
||||
|
||||
- **percentPond:** Compatibility enhancement.
|
||||
|
||||
# 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)
|
||||
|
||||
|
16
README.md
16
README.md
@ -1,7 +1,6 @@
|
||||
[ENGLISH](./README_EN.md)
|
||||
|
||||
<h1 align="center">DataV</h1>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/jiaming743/datav/blob/master/LICENSE">
|
||||
<img src="https://img.shields.io/github/license/jiaming743/datav.svg" alt="LICENSE" />
|
||||
@ -37,4 +36,17 @@ import { borderBox1 } from '@jiaminghi/data-view'
|
||||
Vue.use(borderBox1)
|
||||
```
|
||||
|
||||
详细文档及示例请移步[HomePage](http://datav.jiaminghi.com).
|
||||
详细文档及示例请移步[HomePage](http://datav.jiaminghi.com).
|
||||
|
||||
### Demo
|
||||
|
||||
Demo页面使用了全屏组件,请F11全屏后查看。
|
||||
|
||||
* [Construction Data](http://datav.jiaminghi.com/demo/construction-data/index.html)
|
||||
|
||||

|
||||
|
||||
* [Manage-Desk](http://datav.jiaminghi.com/demo/manage-desk/index.html)
|
||||
|
||||

|
||||
|
||||
|
14
README_EN.md
14
README_EN.md
@ -37,4 +37,16 @@ import { borderBox1 } from '@jiaminghi/data-view'
|
||||
Vue.use(borderBox1)
|
||||
```
|
||||
|
||||
Detailed documents and examples can be viewed on the [HomePage](http://datav.jiaminghi.com).
|
||||
Detailed documents and examples can be viewed on the [HomePage](http://datav.jiaminghi.com).
|
||||
|
||||
### Demo
|
||||
|
||||
The Demo page uses the full-screen component, please view it after F11 full screen.
|
||||
|
||||
* [施工养护综合数据](http://datav.jiaminghi.com/demo/construction-data/index.html)
|
||||
|
||||

|
||||
|
||||
* [机电运维管理台](http://datav.jiaminghi.com/demo/manage-desk/index.html)
|
||||
|
||||

|
BIN
demoImg/construction-data.jpg
Normal file
BIN
demoImg/construction-data.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 KiB |
BIN
demoImg/manage-desk.jpg
Normal file
BIN
demoImg/manage-desk.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 151 KiB |
@ -5,6 +5,7 @@
|
||||
}
|
||||
.dv-border-box-1 .border {
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
.dv-border-box-1 .right-top {
|
||||
right: 0px;
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
/>
|
||||
|
@ -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>
|
||||
@ -22,8 +22,8 @@
|
||||
fill="transparent"
|
||||
:stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'"
|
||||
:stroke="`url(#${gradientId1})`"
|
||||
:width="rectWidth"
|
||||
:height="rectHeight"
|
||||
:width="rectWidth > 0 ? rectWidth : 0"
|
||||
:height="rectHeight > 0 ? rectHeight : 0"
|
||||
/>
|
||||
<polyline
|
||||
:stroke-width="polylineWidth"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jiaminghi/data-view",
|
||||
"version": "2.3.5",
|
||||
"version": "2.3.9",
|
||||
"author": "JiaMing <743192023@qq.com>",
|
||||
"description": "Vue Large screen data display component library",
|
||||
"main": "lib/index.js",
|
||||
|
@ -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 {
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
/>
|
||||
|
@ -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>
|
||||
@ -22,8 +22,8 @@
|
||||
fill="transparent"
|
||||
:stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'"
|
||||
:stroke="`url(#${gradientId1})`"
|
||||
:width="rectWidth"
|
||||
:height="rectHeight"
|
||||
:width="rectWidth > 0 ? rectWidth : 0"
|
||||
:height="rectHeight > 0 ? rectHeight : 0"
|
||||
/>
|
||||
<polyline
|
||||
:stroke-width="polylineWidth"
|
||||
@ -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