diff --git a/src/components/block-icon/icon.png b/src/components/block-icon/icon.png
new file mode 100644
index 0000000..0a3701e
Binary files /dev/null and b/src/components/block-icon/icon.png differ
diff --git a/src/components/block-icon/index.html b/src/components/block-icon/index.html
new file mode 100644
index 0000000..c7c0195
--- /dev/null
+++ b/src/components/block-icon/index.html
@@ -0,0 +1,11 @@
+
+
![]()
+
+
+ {{data.value}}
+ {{data.unit}}
+
+
+
{{data.name}}
+
+
\ No newline at end of file
diff --git a/src/components/block-icon/index.js b/src/components/block-icon/index.js
new file mode 100644
index 0000000..4c56b25
--- /dev/null
+++ b/src/components/block-icon/index.js
@@ -0,0 +1,25 @@
+
+export default {
+ props: {
+ data: {
+ type: Object,
+ default: function () {
+ return {
+ name: '标题',
+ value: '值',
+ unit: '单位',
+ icon: require('./icon.png')
+ }
+ }
+ },
+
+ },
+ data () {
+ return {
+ };
+ },
+ created () {
+ },
+ methods: {
+ }
+};
diff --git a/src/components/block-icon/index.scss b/src/components/block-icon/index.scss
new file mode 100644
index 0000000..ac49d93
--- /dev/null
+++ b/src/components/block-icon/index.scss
@@ -0,0 +1,38 @@
+.block {
+ display: block;
+ width: 100% !important;
+ height: 76.3px !important;
+ align-items: center;
+ display: flex;
+ background: rgba(107, 129, 165, 0.31);
+ border-radius: 4px;
+ padding: 20px;
+
+ .icon {
+ width: 48px;
+ height: 48px;
+ }
+
+ .right {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ margin-left: 10px;
+
+ .value {
+ font-weight: bold;
+ font-size: 24px;
+ color: #FFFFFF;
+ text-shadow: 0px 3px 2px #05357D;
+
+ .unit {
+ font-size: 14px;
+ }
+ }
+
+ .name {
+ color: rgba(185, 211, 235, 1);
+ font-size: 12px;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/components/block-icon/index.vue b/src/components/block-icon/index.vue
new file mode 100644
index 0000000..5ca257a
--- /dev/null
+++ b/src/components/block-icon/index.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/components/charts/bar-special/index.html b/src/components/charts/bar-special/index.html
new file mode 100644
index 0000000..d60fced
--- /dev/null
+++ b/src/components/charts/bar-special/index.html
@@ -0,0 +1 @@
+
diff --git a/src/components/charts/bar-special/index.js b/src/components/charts/bar-special/index.js
new file mode 100644
index 0000000..1091947
--- /dev/null
+++ b/src/components/charts/bar-special/index.js
@@ -0,0 +1,177 @@
+import * as echarts from 'echarts';
+import elementResizeDetectorMaker from 'element-resize-detector';
+export default {
+ props: {
+ id: {
+ type: String,
+ default: 'BAR332233'
+ },
+ data: {
+ type: Array,
+ default: function () {
+ return [
+ {
+ name: '资不抵债',
+ value: 2
+ },
+ {
+ name: '高债务率',
+ value: 2
+ },
+ {
+ name: '中债务率',
+ value: 2
+ },
+ {
+ name: '低债务率',
+ value: 2
+ }
+ ];
+ }
+ },
+ title: {
+ type: String,
+ default: '溢价率'
+ },
+ color: {
+ type: [Array],
+ default: function () {
+ return ['#3181F6', '#0FFCFC']
+ }
+ }
+ },
+ data () {
+ return {
+ chart: null
+ };
+ },
+ mounted () {
+ this.initChart();
+ },
+ methods: {
+ // 设置监听器 页面尺寸变化重新绘制图表
+ initResizeCallBack () {
+ const erd = elementResizeDetectorMaker();
+ erd.listenTo(document.getElementById(this.id), () => {
+ this.$nextTick(() => {
+ this.chart.resize();
+ });
+ });
+ },
+ initChart () {
+ this.chart = echarts.init(document.getElementById(this.id));
+ this.chartSetOption();
+ },
+ chartSetOption () {
+ const xAxis = [];
+ this.data.forEach(item => {
+ xAxis.push(item.name)
+ });
+ const option = {
+ title: "",
+ grid: {
+ top: 40,
+ left: "7%",
+ right: "7%",
+ bottom: 10,
+ containLabel: true,
+ },
+ tooltip: {
+ trigger: "axis",
+ axisPointer: {
+ type: "none",
+ }
+ },
+ xAxis: [
+ {
+ type: "category",
+ show: true,
+ data: xAxis,
+ axisLabel: {
+ fontSize: 12,
+ color: 'rgba(166, 200, 221, 1)'
+ }
+ }
+ ],
+ yAxis: [
+ {
+ name: '单位:个数',
+ nameTextStyle: {
+ fontSize: 12,
+ color: 'rgba(166, 200, 221, 1)',
+ padding: [0, 0, 0, -12]
+ },
+ splitNumber: 2,
+ type: 'value',
+ splitLine: {
+ lineStyle: {
+ color: 'rgba(65,97,128,0.15)'
+ }
+ },
+ axisLine: {
+ show: false
+ },
+ axisTick: {
+ show: false
+ },
+ axisLabel: {
+ fontSize: 12,
+ color: 'rgba(166, 200, 221, 1)'
+ }
+ }
+ ],
+ color: ["#e54035"],
+ series: [
+ {
+ name: "",
+ type: "pictorialBar",
+ xAxisIndex: 0,
+ barMaxWidth: 70,
+ symbol: "path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z",
+ label: {
+ show: true,
+ fontSize: 18,
+ position: "top",
+ color: "#fff"
+ },
+ itemStyle: {
+ normal: {
+ color: function (params) {
+ const { dataIndex } = params
+ let colorList = [
+ ['rgba(252, 91, 110, 1)', 'rgba(252, 91, 110, 0.8)', 'rgba(252, 91, 110, 0)'],
+ ['rgba(252, 133, 91, 1)', 'rgba(252, 133, 91, 0.8)', 'rgba(252, 133, 91, 0)'],
+ ['rgba(252, 231, 91, 1)', 'rgba(252, 231, 91, 0.8)', 'rgba(252, 231, 91, 0)'],
+ ['rgba(91, 252, 114, 1)', 'rgba(91, 252, 114, 0.8)', 'rgba(91, 252, 114, 0)']
+ ];
+
+ return new echarts.graphic.LinearGradient(0, 1, 0, 0, [
+ {
+ offset: 1,
+ color: colorList[dataIndex][0],
+ },
+ {
+ offset: 0.5,
+ color: colorList[dataIndex][1],
+ },
+ {
+ offset: 0,
+ color: colorList[dataIndex][2],
+ },
+ ])
+ },
+ },
+ emphasis: {
+ opacity: 1,
+ },
+ },
+ data: this.data,
+ },
+ ],
+ };;
+ this.chart.setOption(option);
+ this.initResizeCallBack();
+
+ }
+ }
+};
diff --git a/src/components/charts/bar-special/index.scss b/src/components/charts/bar-special/index.scss
new file mode 100644
index 0000000..8f5690d
--- /dev/null
+++ b/src/components/charts/bar-special/index.scss
@@ -0,0 +1,4 @@
+.chart {
+ width: 100%;
+ height: 100%;
+}
\ No newline at end of file
diff --git a/src/components/charts/bar-special/index.vue b/src/components/charts/bar-special/index.vue
new file mode 100644
index 0000000..5ca257a
--- /dev/null
+++ b/src/components/charts/bar-special/index.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/views/property/comps/left/bottom/4/index.js b/src/views/property/comps/left/bottom/4/index.js
index 3b95b31..f334090 100644
--- a/src/views/property/comps/left/bottom/4/index.js
+++ b/src/views/property/comps/left/bottom/4/index.js
@@ -7,9 +7,9 @@ export default {
},
data () {
return {
- headers: ['资源名称', '类别', '面积(亩)', '部门'],
+ headers: ['组织名称', '负债总额', '资产总额', '负债率'],
data: [
- ['资源名称', '类别', '面积(亩)', '部门']
+ ['组织名称', '负债总额(万元)', '资产总额(万元)', '负债率']
]
};
}
diff --git a/src/views/property/comps/left/middle/4/index.html b/src/views/property/comps/left/middle/4/index.html
index c934b41..7301e5c 100644
--- a/src/views/property/comps/left/middle/4/index.html
+++ b/src/views/property/comps/left/middle/4/index.html
@@ -1,3 +1,4 @@
+
\ No newline at end of file
diff --git a/src/views/property/comps/left/middle/4/index.js b/src/views/property/comps/left/middle/4/index.js
index 7fdf46d..c11e527 100644
--- a/src/views/property/comps/left/middle/4/index.js
+++ b/src/views/property/comps/left/middle/4/index.js
@@ -1,10 +1,18 @@
import Pannel from '@/components/pannel/index.vue';
+import BarSpecial from '@/components/charts/bar-special/index.vue';
export default {
components: {
+ BarSpecial,
Pannel
},
data () {
return {
};
+ },
+ created () {
+ },
+ mounted () {
+ },
+ methods: {
}
};
diff --git a/src/views/property/comps/left/top/4/data.js b/src/views/property/comps/left/top/4/data.js
new file mode 100644
index 0000000..9955929
--- /dev/null
+++ b/src/views/property/comps/left/top/4/data.js
@@ -0,0 +1,40 @@
+export default {
+ 'topData': [
+ [
+ {
+ value: '29',
+ unit: '个',
+ name: '资不抵债',
+ text: '资产负债率>100%',
+ color: 'rgba(252, 91, 110, 1)',
+ icon: require('./组 4669@2x.png')
+ },
+ {
+ value: '29',
+ unit: '个',
+ name: '高负债率',
+ text: '60%<资产负债率≤100%',
+ color: 'rgba(252, 133, 91, 1)',
+ icon: require('./组 4669@2x(1).png')
+ }
+ ],
+ [
+ {
+ value: '29',
+ unit: '个',
+ name: '中负债率',
+ color: 'rgba(252, 231, 91, 1)',
+ text: '40%≤资产负债率≤60%',
+ icon: require('./组 4669@2x(2).png')
+ },
+ {
+ value: '29',
+ unit: '个',
+ name: '低负债率',
+ color: 'rgba(91, 252, 114, 1)',
+ text: '资产负债率<40%',
+ icon: require('./组 4669@2x(3).png')
+ }
+ ]
+ ]
+}
\ No newline at end of file
diff --git a/src/views/property/comps/left/top/4/index.html b/src/views/property/comps/left/top/4/index.html
index 77f683c..84123e6 100644
--- a/src/views/property/comps/left/top/4/index.html
+++ b/src/views/property/comps/left/top/4/index.html
@@ -1,3 +1,26 @@
+
\ No newline at end of file
diff --git a/src/views/property/comps/left/top/4/index.js b/src/views/property/comps/left/top/4/index.js
index 7fdf46d..c2071c5 100644
--- a/src/views/property/comps/left/top/4/index.js
+++ b/src/views/property/comps/left/top/4/index.js
@@ -1,10 +1,14 @@
import Pannel from '@/components/pannel/index.vue';
+import BlockIcon from '@/components/block-icon/index.vue';
+import data from './data.js';
export default {
components: {
+ BlockIcon,
Pannel
},
data () {
return {
+ data
};
}
};
diff --git a/src/views/property/comps/left/top/4/index.scss b/src/views/property/comps/left/top/4/index.scss
index e69de29..aff97d9 100644
--- a/src/views/property/comps/left/top/4/index.scss
+++ b/src/views/property/comps/left/top/4/index.scss
@@ -0,0 +1,41 @@
+.full {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+
+ .top {
+ flex: 4;
+ }
+
+ .buttom {
+ flex: 1;
+ }
+
+ table {
+ width: 100%;
+ border-spacing: 10px;
+
+ tr {
+ td {
+ width: 50%;
+ }
+ }
+ }
+}
+
+.block_item {
+ display: flex;
+ align-items: center;
+
+ .icon {
+ width: 10px !important;
+ height: 10px !important;
+ }
+
+ .label {
+ margin-left: 4px;
+ color: rgba(185, 211, 235, 1);
+ font-size: 12px;
+ }
+}
\ No newline at end of file
diff --git a/src/views/property/comps/left/top/4/组 4669@2x(1).png b/src/views/property/comps/left/top/4/组 4669@2x(1).png
new file mode 100644
index 0000000..56318de
Binary files /dev/null and b/src/views/property/comps/left/top/4/组 4669@2x(1).png differ
diff --git a/src/views/property/comps/left/top/4/组 4669@2x(2).png b/src/views/property/comps/left/top/4/组 4669@2x(2).png
new file mode 100644
index 0000000..4d412ec
Binary files /dev/null and b/src/views/property/comps/left/top/4/组 4669@2x(2).png differ
diff --git a/src/views/property/comps/left/top/4/组 4669@2x(3).png b/src/views/property/comps/left/top/4/组 4669@2x(3).png
new file mode 100644
index 0000000..3778ba5
Binary files /dev/null and b/src/views/property/comps/left/top/4/组 4669@2x(3).png differ
diff --git a/src/views/property/comps/left/top/4/组 4669@2x.png b/src/views/property/comps/left/top/4/组 4669@2x.png
new file mode 100644
index 0000000..b095859
Binary files /dev/null and b/src/views/property/comps/left/top/4/组 4669@2x.png differ
diff --git a/src/views/property/comps/right/bottom/4/index.js b/src/views/property/comps/right/bottom/4/index.js
index 1b2fd92..329cf99 100644
--- a/src/views/property/comps/right/bottom/4/index.js
+++ b/src/views/property/comps/right/bottom/4/index.js
@@ -7,8 +7,10 @@ export default {
},
data () {
return {
- headers: ['合同编码', '合同名称', '合同截止日期', '部门'],
- data: [['合同编码', '合同名称', '合同截止日期', '部门']]
+ headers: ['组织名称', '负债总额', '资产总额', '负债率'],
+ data: [
+ ['组织名称', '负债总额', '资产总额', '负债率']
+ ]
};
},
created () {
diff --git a/src/views/property/comps/right/middle/4/index.html b/src/views/property/comps/right/middle/4/index.html
index 9411ad1..e0136a1 100644
--- a/src/views/property/comps/right/middle/4/index.html
+++ b/src/views/property/comps/right/middle/4/index.html
@@ -1,3 +1,4 @@
+
\ No newline at end of file
diff --git a/src/views/property/comps/right/middle/4/index.js b/src/views/property/comps/right/middle/4/index.js
index 97a817b..c11e527 100644
--- a/src/views/property/comps/right/middle/4/index.js
+++ b/src/views/property/comps/right/middle/4/index.js
@@ -1,6 +1,8 @@
import Pannel from '@/components/pannel/index.vue';
+import BarSpecial from '@/components/charts/bar-special/index.vue';
export default {
components: {
+ BarSpecial,
Pannel
},
data () {
diff --git a/src/views/property/comps/right/top/4/data.js b/src/views/property/comps/right/top/4/data.js
new file mode 100644
index 0000000..9955929
--- /dev/null
+++ b/src/views/property/comps/right/top/4/data.js
@@ -0,0 +1,40 @@
+export default {
+ 'topData': [
+ [
+ {
+ value: '29',
+ unit: '个',
+ name: '资不抵债',
+ text: '资产负债率>100%',
+ color: 'rgba(252, 91, 110, 1)',
+ icon: require('./组 4669@2x.png')
+ },
+ {
+ value: '29',
+ unit: '个',
+ name: '高负债率',
+ text: '60%<资产负债率≤100%',
+ color: 'rgba(252, 133, 91, 1)',
+ icon: require('./组 4669@2x(1).png')
+ }
+ ],
+ [
+ {
+ value: '29',
+ unit: '个',
+ name: '中负债率',
+ color: 'rgba(252, 231, 91, 1)',
+ text: '40%≤资产负债率≤60%',
+ icon: require('./组 4669@2x(2).png')
+ },
+ {
+ value: '29',
+ unit: '个',
+ name: '低负债率',
+ color: 'rgba(91, 252, 114, 1)',
+ text: '资产负债率<40%',
+ icon: require('./组 4669@2x(3).png')
+ }
+ ]
+ ]
+}
\ No newline at end of file
diff --git a/src/views/property/comps/right/top/4/index.html b/src/views/property/comps/right/top/4/index.html
index b0eddce..446219b 100644
--- a/src/views/property/comps/right/top/4/index.html
+++ b/src/views/property/comps/right/top/4/index.html
@@ -1,3 +1,26 @@
+
\ No newline at end of file
diff --git a/src/views/property/comps/right/top/4/index.js b/src/views/property/comps/right/top/4/index.js
index 97a817b..c2071c5 100644
--- a/src/views/property/comps/right/top/4/index.js
+++ b/src/views/property/comps/right/top/4/index.js
@@ -1,16 +1,14 @@
import Pannel from '@/components/pannel/index.vue';
+import BlockIcon from '@/components/block-icon/index.vue';
+import data from './data.js';
export default {
components: {
+ BlockIcon,
Pannel
},
data () {
return {
+ data
};
- },
- created () {
- },
- mounted () {
- },
- methods: {
}
};
diff --git a/src/views/property/comps/right/top/4/index.scss b/src/views/property/comps/right/top/4/index.scss
index e69de29..aff97d9 100644
--- a/src/views/property/comps/right/top/4/index.scss
+++ b/src/views/property/comps/right/top/4/index.scss
@@ -0,0 +1,41 @@
+.full {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+
+ .top {
+ flex: 4;
+ }
+
+ .buttom {
+ flex: 1;
+ }
+
+ table {
+ width: 100%;
+ border-spacing: 10px;
+
+ tr {
+ td {
+ width: 50%;
+ }
+ }
+ }
+}
+
+.block_item {
+ display: flex;
+ align-items: center;
+
+ .icon {
+ width: 10px !important;
+ height: 10px !important;
+ }
+
+ .label {
+ margin-left: 4px;
+ color: rgba(185, 211, 235, 1);
+ font-size: 12px;
+ }
+}
\ No newline at end of file
diff --git a/src/views/property/comps/right/top/4/组 4669@2x(1).png b/src/views/property/comps/right/top/4/组 4669@2x(1).png
new file mode 100644
index 0000000..56318de
Binary files /dev/null and b/src/views/property/comps/right/top/4/组 4669@2x(1).png differ
diff --git a/src/views/property/comps/right/top/4/组 4669@2x(2).png b/src/views/property/comps/right/top/4/组 4669@2x(2).png
new file mode 100644
index 0000000..4d412ec
Binary files /dev/null and b/src/views/property/comps/right/top/4/组 4669@2x(2).png differ
diff --git a/src/views/property/comps/right/top/4/组 4669@2x(3).png b/src/views/property/comps/right/top/4/组 4669@2x(3).png
new file mode 100644
index 0000000..3778ba5
Binary files /dev/null and b/src/views/property/comps/right/top/4/组 4669@2x(3).png differ
diff --git a/src/views/property/comps/right/top/4/组 4669@2x.png b/src/views/property/comps/right/top/4/组 4669@2x.png
new file mode 100644
index 0000000..b095859
Binary files /dev/null and b/src/views/property/comps/right/top/4/组 4669@2x.png differ