<template name="bt-search">
	<view class="search-input">
		<template>
			<view class="gosearch-btn" @click="this.$api.navigateTo(clickPath)">
				<text class="iconfont icon-sousuo"></text>
				<text>{{toestText}}</text>
			</view>
		</template>
	</view>
</template>

<script>
	export default{
		name:"bt-search",
		props:{
			clickPath:{	//选择块级显示还是圆形显示
				type: String,
				default: ''
			},
			toestText:{
				type: String,
				default: ''
			}
		},
		data() {
			return {
				
			};
		},
		methods:{
			
		}
	}	
</script>

<style lang="scss">
	.search-input{
		width: 100%;
		height: 70rpx;
		padding: 12rpx 0;
		background: #FFFFFF;
		.gosearch-btn{
			/* #ifndef APP-NVUE */
			display: flex;
			/* #endif */
			flex: 1;
			flex-direction: row;
			justify-content: center;
			align-items: center;
			width: 662rpx;
			height: 100%;
			border-radius: 40rpx;
			background: #F0F0F0;
			margin: 0 auto;
			padding:0 20rpx;
			font-size: 28rpx;
			line-height: 70rpx;
			color: #8A8A8A;
			.icon-sousuo{
				margin:0 6rpx;
				font-size: 34rpx;
				color: #8A8A8A;
				z-index: 10;
			}
		}
	}
</style>
