diff --git a/src/components/SeclectBox.vue b/src/components/SeclectBox.vue index 4cd0ff3..868b3a2 100644 --- a/src/components/SeclectBox.vue +++ b/src/components/SeclectBox.vue @@ -20,49 +20,61 @@ import UniversalButton from './UniversalButton.vue' const selectArray = ['显示行政区划', '2413', '660', '主要交通路网', '36.6边界', '主要设施用地'] - + \ No newline at end of file diff --git a/src/components/UnAeraButton.vue b/src/components/UnAeraButton.vue index 4bfc31d..4c9d423 100644 --- a/src/components/UnAeraButton.vue +++ b/src/components/UnAeraButton.vue @@ -87,6 +87,7 @@ let x = defineProps({ diff --git a/src/components/UniversalButton.vue b/src/components/UniversalButton.vue index a5dacaa..5be5b98 100644 --- a/src/components/UniversalButton.vue +++ b/src/components/UniversalButton.vue @@ -1,31 +1,28 @@ diff --git a/src/components/ecologyTitle.vue b/src/components/ecologyTitle.vue index 369bd62..4baff09 100644 --- a/src/components/ecologyTitle.vue +++ b/src/components/ecologyTitle.vue @@ -2,7 +2,7 @@ const props = defineProps({ data: { type: Object, - default: () => {} + default: () => { } }, width: { type: String, @@ -26,7 +26,9 @@ const props = defineProps({
-
{{ iten.title }}
+
+ {{ iten.title }} +
@@ -37,10 +39,11 @@ const props = defineProps({ width: 100%; height: 100%; /* background-color: antiquewhite; */ - font-family: 'SourceHanSansCN'; + font-family: "SourceHanSansCN"; padding: 1.999rem; font-size: 1.6rem; color: #fff; + .container { width: 100%; height: 50%; @@ -49,13 +52,16 @@ const props = defineProps({ justify-content: space-around; align-items: start; } + } + .titleBox { display: flex; width: 100%; height: 10%; /* justify-content: center; */ align-items: center; + .icon { width: 0.6rem; height: 0.6rem; @@ -63,6 +69,7 @@ const props = defineProps({ border-radius: 50%; margin-right: 0.9rem; } + .title { width: 14.799rem; height: 1.8rem; @@ -73,23 +80,34 @@ const props = defineProps({ padding-left: 1rem; } } + .main { + margin-left: 1rem ; width: 80%; height: 20%; display: flex; - justify-content: center; + justify-content: start; align-items: center; - .title1 { - border: 1px transparent solid; + .title2 { + padding: 0.3rem; width: 9rem; height: 3.6rem; - border-radius: 1.75rem; + border-radius: 17.5px; + background: linear-gradient(to right, #b8b7b7 0%, transparent 100%); + display: flex; + justify-content: center; + align-items: center; + .title1 { + width: 9rem; + height: 3.6rem; + border-radius: 17.5px; opacity: 1; background: linear-gradient(270deg, #73737300 0%, #366543 100%); display: flex; - justify-content: center; + justify-content: center; align-items: center; - /* border-image:linear-gradient(to right #94AEA3 0%, transparent 100%) 1; */ } } +} + diff --git a/src/style.css b/src/style.css index a3bfb30..e8f8e3c 100644 --- a/src/style.css +++ b/src/style.css @@ -15,7 +15,7 @@ --border-default: rgba(255, 255, 255, 0.3); --border-light: rgba(255, 255, 255, 0.1); --border-active: rgba(255, 255, 255, 0.3); - --border-radius: 8px; + --border-radius:0.8rem; /* 图表颜色 */ --chart-green-normal: #275b38;