diff --git a/src/components/SeclectBox.vue b/src/components/SeclectBox.vue index 2385e54..ee35137 100644 --- a/src/components/SeclectBox.vue +++ b/src/components/SeclectBox.vue @@ -4,13 +4,14 @@ {{ i }} @@ -23,6 +24,7 @@ const selectArray = ['显示行政区划', '2413', '660', '主要交通路网', diff --git a/src/components/ecologyTitle.vue b/src/components/ecologyTitle.vue index 50fab46..c722525 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, @@ -92,18 +92,19 @@ const props = defineProps({ padding: 0.2rem; width: 9rem; height: 3.6rem; - border-radius: var(--border-radius); - background: linear-gradient(to right, #898888 0%, #73737300 100%); + border-radius: 1.75rem; + background: linear-gradient(to right, #a8a8a8 0%, #73737300 100%); .title1 { width: 100%; height: 100%; - border-radius: var(--border-radius); + border-radius: 1.75rem; opacity: 1; background: linear-gradient(to left, #73737300 0%, #366543 100%); display: flex; justify-content: center; align-items: center; + line-height: 3.6rem; } } }