From 9337c3cf960b60078558b7f942fd27f1ab39364b Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Tue, 16 Dec 2025 18:29:46 +0800
Subject: [PATCH] 改黑夜样式
---
src/views/homePage/components/head.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/homePage/components/head.vue b/src/views/homePage/components/head.vue
index 4a5725e..39f7d08 100644
--- a/src/views/homePage/components/head.vue
+++ b/src/views/homePage/components/head.vue
@@ -1,10 +1,13 @@
<template>
<div class="head flex justify-between items-center pl-5 pr-5">
- <div class="more mr-5"><img src="@/assets/imgs/home/more.png" alt="" @click="onRoute('/my')"></div>
- <div class="more_input pl-5 pr-5 flex items-center justify-start mr-5 pt-2">
+ <div class="more mr-5">
+ <img src="@/assets/imgs/home/more.png" alt="" @click="onRoute('/my')">
+ </div>
+
+ <div class="more_input tabBackground1 pl-5 pr-5 flex items-center justify-start mr-5 pt-2">
<img src="@/assets/imgs/quotes/search.png" alt="">
<!-- <span class="pl-5">{{ $t('请输入关键词搜寻') }}</span> -->
- <van-field v-model="iValue" :placeholder="$t('请输入关键词搜寻')" style="background-color: #F7F7F7;padding: 0 1rem;"
+ <van-field v-model="iValue" :placeholder="$t('请输入关键词搜寻')" style="padding: 0 1rem;"
@input="emit('search', iValue)" />
</div>
<div class="scan"><img src="@/assets/image/assets-center/language.png" alt="" @click="onRoute('/language')">
@@ -40,8 +43,6 @@
<style lang="scss" scoped>
.head {
width: 100%;
- $inp-bg: #F7F7F7;
- $inp-c: #999;
margin-bottom: 1rem;
.more,
@@ -53,11 +54,10 @@
.more_input {
// width: 26rem;
+ // background: #fff;
width: 100%;
height: 4.5rem;
- background: $inp-bg;
border-radius: 2.25rem;
- color: $inp-c;
font-size: 1.5rem;
span {
--
Gitblit v1.9.3