From 02409bfbe15f22fc3b5dccadabfd860a660a49d9 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 11 Oct 2025 10:37:14 +0800
Subject: [PATCH] feat: 名称修改
---
src/page/index/top/top-search.vue | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/src/page/index/top/top-search.vue b/src/page/index/top/top-search.vue
index a3da15d..cd62011 100644
--- a/src/page/index/top/top-search.vue
+++ b/src/page/index/top/top-search.vue
@@ -1,6 +1,6 @@
<template>
<el-autocomplete
- class="top-search"
+ class="top-search ztzf-top-search"
popper-class="my-autocomplete"
v-model="value"
:fetch-suggestions="querySearch"
@@ -86,7 +86,21 @@
};
</script>
+
<style lang="scss">
+.ztzf-top-search{
+ display: flex !important;
+ width: 150px;
+ align-items: center;
+ .el-input__inner{
+ background: #ffffff !important;
+ border-radius: 80px 80px 80px 80px;
+ padding: 0 20px;
+ &::placeholder {
+ color:rgba(172, 172, 172, 1) !important;
+ }
+ }
+}
.my-autocomplete {
li {
line-height: normal !important;
--
Gitblit v1.9.3