Compare commits
9 Commits
V2.3.7-alp
...
V2.3.9-alp
Author | SHA1 | Date | |
---|---|---|---|
46c72a9a68 | |||
1c33d4d7b8 | |||
0d59ebcc04 | |||
c47f6133f4 | |||
f8870f763a | |||
9f00506e73 | |||
e069d52544 | |||
4bd17d0a07 | |||
a1edd0d6f2 |
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,3 +1,15 @@
|
|||||||
|
# 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)
|
# 2.3.7-alpha (2019-08-26)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
16
README.md
16
README.md
@ -1,7 +1,6 @@
|
|||||||
[ENGLISH](./README_EN.md)
|
[ENGLISH](./README_EN.md)
|
||||||
|
|
||||||
<h1 align="center">DataV</h1>
|
<h1 align="center">DataV</h1>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://github.com/jiaming743/datav/blob/master/LICENSE">
|
<a href="https://github.com/jiaming743/datav/blob/master/LICENSE">
|
||||||
<img src="https://img.shields.io/github/license/jiaming743/datav.svg" alt="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)
|
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)
|
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 |
@ -1,7 +1,15 @@
|
|||||||
.dv-percent-pond {
|
.dv-percent-pond {
|
||||||
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
.dv-percent-pond svg {
|
||||||
|
position: absolute;
|
||||||
|
left: 0px;
|
||||||
|
top: 0px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
.dv-percent-pond polyline {
|
.dv-percent-pond polyline {
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
<defs>
|
<defs>
|
||||||
<linearGradient :id="gradientId1" x1="0%" y1="0%" x2="100%" y2="0%">
|
<linearGradient :id="gradientId1" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||||
<stop v-for="lc in linearGradient" :key="lc[0]"
|
<stop v-for="lc in linearGradient" :key="lc[0]"
|
||||||
:offset="lc[0]"
|
:offset="`${lc[0]}%`"
|
||||||
:stop-color="lc[1]" />
|
:stop-color="lc[1]" />
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
|
|
||||||
<linearGradient :id="gradientId2" x1="0%" y1="0%" :x2="gradient2XPos" y2="0%">
|
<linearGradient :id="gradientId2" x1="0%" y1="0%" :x2="gradient2XPos" y2="0%">
|
||||||
<stop v-for="lc in linearGradient" :key="lc[0]"
|
<stop v-for="lc in linearGradient" :key="lc[0]"
|
||||||
:offset="lc[0]"
|
:offset="`${lc[0]}%`"
|
||||||
:stop-color="lc[1]" />
|
:stop-color="lc[1]" />
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
</defs>
|
</defs>
|
||||||
@ -22,8 +22,8 @@
|
|||||||
fill="transparent"
|
fill="transparent"
|
||||||
:stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'"
|
:stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'"
|
||||||
:stroke="`url(#${gradientId1})`"
|
:stroke="`url(#${gradientId1})`"
|
||||||
:width="rectWidth"
|
:width="rectWidth > 0 ? rectWidth : 0"
|
||||||
:height="rectHeight"
|
:height="rectHeight > 0 ? rectHeight : 0"
|
||||||
/>
|
/>
|
||||||
<polyline
|
<polyline
|
||||||
:stroke-width="polylineWidth"
|
:stroke-width="polylineWidth"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@jiaminghi/data-view",
|
"name": "@jiaminghi/data-view",
|
||||||
"version": "2.3.7",
|
"version": "2.3.9",
|
||||||
"author": "JiaMing <743192023@qq.com>",
|
"author": "JiaMing <743192023@qq.com>",
|
||||||
"description": "Vue Large screen data display component library",
|
"description": "Vue Large screen data display component library",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
<defs>
|
<defs>
|
||||||
<linearGradient :id="gradientId1" x1="0%" y1="0%" x2="100%" y2="0%">
|
<linearGradient :id="gradientId1" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||||
<stop v-for="lc in linearGradient" :key="lc[0]"
|
<stop v-for="lc in linearGradient" :key="lc[0]"
|
||||||
:offset="lc[0]"
|
:offset="`${lc[0]}%`"
|
||||||
:stop-color="lc[1]" />
|
:stop-color="lc[1]" />
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
|
|
||||||
<linearGradient :id="gradientId2" x1="0%" y1="0%" :x2="gradient2XPos" y2="0%">
|
<linearGradient :id="gradientId2" x1="0%" y1="0%" :x2="gradient2XPos" y2="0%">
|
||||||
<stop v-for="lc in linearGradient" :key="lc[0]"
|
<stop v-for="lc in linearGradient" :key="lc[0]"
|
||||||
:offset="lc[0]"
|
:offset="`${lc[0]}%`"
|
||||||
:stop-color="lc[1]" />
|
:stop-color="lc[1]" />
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
</defs>
|
</defs>
|
||||||
@ -22,8 +22,8 @@
|
|||||||
fill="transparent"
|
fill="transparent"
|
||||||
:stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'"
|
:stroke-width="mergedConfig ? mergedConfig.borderWidth : '0'"
|
||||||
:stroke="`url(#${gradientId1})`"
|
:stroke="`url(#${gradientId1})`"
|
||||||
:width="rectWidth"
|
:width="rectWidth > 0 ? rectWidth : 0"
|
||||||
:height="rectHeight"
|
:height="rectHeight > 0 ? rectHeight : 0"
|
||||||
/>
|
/>
|
||||||
<polyline
|
<polyline
|
||||||
:stroke-width="polylineWidth"
|
:stroke-width="polylineWidth"
|
||||||
@ -254,9 +254,18 @@ export default {
|
|||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.dv-percent-pond {
|
.dv-percent-pond {
|
||||||
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
position: absolute;
|
||||||
|
left: 0px;
|
||||||
|
top: 0px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
polyline {
|
polyline {
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user