|
|
@ -4,17 +4,6 @@ |
|
|
|
<!-- 导航栏 --> |
|
|
|
<navbar :title="title" leftClick @leftClick="$utils.navigateBack" /> |
|
|
|
|
|
|
|
<view class="top"> |
|
|
|
<!-- 搜索栏 --> |
|
|
|
<view class="search"> |
|
|
|
<uv-search v-model="keyword" placeholder="输入关键词搜索" bgColor="#FBFBFB" @custom="search" @search="search"> |
|
|
|
<template #prefix> |
|
|
|
<image class="search-icon" src="@/static/image/icon-search.png" mode="widthFix"></image> |
|
|
|
</template> |
|
|
|
</uv-search> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="list"> |
|
|
|
<view class="list-item" |
|
|
|
v-for="item in list" |
|
|
@ -73,34 +62,8 @@ |
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
|
|
|
|
.top { |
|
|
|
padding: 49rpx 0 17rpx 0; |
|
|
|
box-sizing: border-box; |
|
|
|
} |
|
|
|
|
|
|
|
.search { |
|
|
|
margin: 0 19rpx; |
|
|
|
width: calc(100% - 20rpx * 2); |
|
|
|
background-color: #FFFFFF; |
|
|
|
border-radius: 37rpx; |
|
|
|
padding: 13rpx 0 13rpx 18rpx; |
|
|
|
box-sizing: border-box; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
|
|
|
|
/deep/ .uv-search__action { |
|
|
|
color: $uni-color; |
|
|
|
padding: 10rpx 18rpx; |
|
|
|
} |
|
|
|
|
|
|
|
&-icon { |
|
|
|
width: 26rpx; |
|
|
|
height: auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.list { |
|
|
|
margin: 0 18rpx; |
|
|
|
margin: 49rpx 18rpx 17rpx 18rpx; |
|
|
|
|
|
|
|
&-item { |
|
|
|
position: relative; |
|
|
|