From 01f9c88fd0ee768155e5b341c2bb95a85bc11a08 Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Sat, 05 Mar 2022 17:49:36 +0800
Subject: [PATCH] ++
---
src/components/mobileCortrolSearch/index.vue | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/src/components/mobileCortrolSearch/index.vue b/src/components/mobileCortrolSearch/index.vue
index 4b1edab..294b324 100644
--- a/src/components/mobileCortrolSearch/index.vue
+++ b/src/components/mobileCortrolSearch/index.vue
@@ -1,13 +1,20 @@
<template>
<div class="m-left-mobileCortrolSearch">
<div class="m-left-SearchMain">
- <el-input placeholder="请输入内容" v-model="input" clearable size="small"
- ><el-button
+ <el-input
+ placeholder="请输入内容"
+ v-model="input"
+ clearable
+ size="small"
+ class="m-left-S-input"
+ >
+ <el-button
slot="append"
class="iconSearch"
- icon="el-icon-search"
+ icon="el-icon-search icon"
@click="search"
- ></el-button>
+ >
+ </el-button>
</el-input>
</div>
</div>
@@ -42,7 +49,7 @@
};
</script>
-<style scoped lang='scss'>
+<style scoped lang="scss">
.m-left-mobileCortrolSearch {
width: 100%;
position: fixed;
@@ -58,15 +65,21 @@
display: flex;
align-items: center;
justify-content: center;
+ .m-left-S-input {
+ border: none;
+ font-size: 16px;
+ }
.iconSearch {
width: 30px;
height: 30px;
padding-top: 0;
padding-bottom: 0;
+ background-color: rgb(33, 150, 243);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
+ color: #fff;
}
}
}
--
Gitblit v1.9.3