Commit 8cc41c87 authored by 张娇(东信)'s avatar 张娇(东信)

搜索框优化

parent ff660141
...@@ -2,7 +2,14 @@ ...@@ -2,7 +2,14 @@
<view class="container"> <view class="container">
<!-- 顶部搜索框--> <!-- 顶部搜索框-->
<view class="top"> <view class="top">
<Search background="rgba(255, 255, 255, 0.8)" backIcon="black"></Search> <view class="top">
<Search
background="rgba(255, 255, 255, 0.8)"
backIcon="black"
iconSrc="/static/assets/blackLeft.png"
placeholderText="请输入要搜索的内容"
></Search>
</view>
</view> </view>
<!-- 图片--> <!-- 图片-->
<view class="nav"> <view class="nav">
...@@ -350,4 +357,8 @@ function toCart() { ...@@ -350,4 +357,8 @@ function toCart() {
margin-top: -90rpx; margin-top: -90rpx;
margin-left: 400rpx; margin-left: 400rpx;
} }
::v-deep.icon {
width: 56rpx;
height: 56rpx;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment