diff --git a/src/components/tabs/actice.png b/src/components/tabs/actice.png index e8ce27c..19c5c20 100644 Binary files a/src/components/tabs/actice.png and b/src/components/tabs/actice.png differ diff --git a/src/components/value/bk.png b/src/components/value/bk.png new file mode 100644 index 0000000..fec3005 Binary files /dev/null and b/src/components/value/bk.png differ diff --git a/src/components/value/index.html b/src/components/value/index.html new file mode 100644 index 0000000..8748d50 --- /dev/null +++ b/src/components/value/index.html @@ -0,0 +1,6 @@ +
+
+
{{data.value}}
+
{{data.name}}
+
+
\ No newline at end of file diff --git a/src/components/value/index.js b/src/components/value/index.js new file mode 100644 index 0000000..1d729f0 --- /dev/null +++ b/src/components/value/index.js @@ -0,0 +1,14 @@ + +export default { + props: { + data: { + type: Object, + default: function () { + return { + name: '经营收入', + value: '716' + } + } + }, + } +}; diff --git a/src/components/value/index.scss b/src/components/value/index.scss new file mode 100644 index 0000000..23a4a59 --- /dev/null +++ b/src/components/value/index.scss @@ -0,0 +1,37 @@ +.block_value { + background: url('./bk.png'); + background-size: 100% 100%; + width: 130px; + height: 130px; + position: relative; + + .value_pos { + position: absolute; + left: 50%; + top: 0; + transform: translateX(-50%); + display: flex; + flex-direction: column; + align-items: center; + + .value { + font-family: Arial; + font-weight: bold; + font-size: 24px; + color: #FFFFFF; + line-height: 30px; + text-shadow: 0px 3px 2px #05357D; + } + + .name { + font-weight: 500; + font-size: 14px; + color: #B9D3EB; + text-shadow: 0px 3px 3px rgba(30, 63, 112, 0.6); + background: linear-gradient(180deg, #FEFFFF 17.4072265625%, #e0e9f9 99.6337890625%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + } + } + +} \ No newline at end of file diff --git a/src/components/value/index.vue b/src/components/value/index.vue new file mode 100644 index 0000000..5ca257a --- /dev/null +++ b/src/components/value/index.vue @@ -0,0 +1,3 @@ +