You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

34 lines
615 B

<style lang="scss" scoped>
.d-search{
display:flex;
align-items: center;
background:#fff;
margin:0 30rpx;
border-radius: 40rpx;
padding:6rpx;
height:60rpx;
.u-icon{
margin:0 14rpx;
flex-shrink: 0;
}
input{
flex-grow: 1;
}
.u-button{
flex-shrink: 0;
width:max-content;
}
}
</style>
<template>
<view class="d-search">
<u-icon name="search" color="#999999" size="20"/>
<input placeholder="请输入搜索内容"/>
<u-button type="primary" shape="circle" color="#10C176" text="搜索" size="mini"></u-button>
</view>
</template>
<script>
export default {
}
</script>