From f6c2fdcac811de16eeb3ddb78134bac90a699dad Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 28 Mar 2025 15:06:00 +0800
Subject: [PATCH] feat: 用户操作
---
src/views/Home/SearchBox.vue | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/views/Home/SearchBox.vue b/src/views/Home/SearchBox.vue
index a5f371d..591231a 100644
--- a/src/views/Home/SearchBox.vue
+++ b/src/views/Home/SearchBox.vue
@@ -1,10 +1,8 @@
<script setup>
-import { ArrowDown, Search } from '@element-plus/icons-vue';
-
const input3 = ref('');
-const select = ref('');
const value = ref('Option1');
+const value2 = ref('Optio44n1');
const options = [
{
@@ -14,6 +12,17 @@
{
value: 'Optio44n1',
label: '事件',
+ },
+];
+
+const options1 = [
+ {
+ value: 'Option1',
+ label: '南昌市',
+ },
+ {
+ value: 'Optio44n1',
+ label: '抚州市',
},
];
</script>
@@ -33,9 +42,9 @@
</div>
<div class="searchBtn"></div>
<div class="region">
- <el-select v-model="value" placeholder="请选择查询">
+ <el-select v-model="value2" placeholder="请选择查询">
<el-option
- v-for="item in options"
+ v-for="item in options1"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -93,6 +102,7 @@
box-shadow: none;
height: 100%;
}
+
.el-input__inner {
font-family: Source Han Sans CN, Source Han Sans CN, serif;
font-weight: 400;
@@ -119,7 +129,7 @@
:deep() {
.el-select__wrapper {
width: 100px;
- padding-left: 30px;
+ padding-left: 20px;
}
}
}
--
Gitblit v1.9.3