myOrder.vue 1.05 KB
<template>
	<view class="content">
		<view class="header">
			<!-- 搜索-->
			<view class="searchBar">
				<icon class="searchIcon" type="search" size="14"></icon>
				<input class="searchIpt" placeholder="老花镜" confirm-type="search"/>
			</view>
			
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: #F7F6F6;
		height: 100vh;
	}
	.header{
		background-color: #ffffff;
		width: 100%;
		height: 232rpx;
		padding: 40rpx 40rpx 36rpx 40rpx;
		box-sizing: border-box;
		.searchBar {
			width: 670rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			box-sizing: border-box;
			padding: 0rpx 16rpx;
			border: 1px solid #FF6B4A;
			border-radius: 8rpx;
			background-color: #ffffff;
		}
		
		.searchIpt {
			height: 68rpx;
			width: 670rpx;
			padding: 16rpx;
			font-size: 28rpx;
			box-sizing: border-box;
		}
	}
</style>