<template>
	<view class="home-base-bg">
		<InputAndSwiper></InputAndSwiper>
		<TabBar :current-page="0"></TabBar>
		<view class="nav-card">
			<u-grid :col="4">
					<u-grid-item>
						<u-icon name="photo" :size="30"></u-icon>
						<view class="grid-text">图片</view>
					</u-grid-item>
					<u-grid-item>
						<u-icon name="lock" :size="30"></u-icon>
						<view class="grid-text">锁头</view>
					</u-grid-item>
					<u-grid-item>
						<u-icon name="hourglass" :size="30"></u-icon>
						<view class="grid-text">沙漏</view>
					</u-grid-item>
					<u-grid-item>
						<u-icon name="hourglass" :size="30"></u-icon>
						<view class="grid-text">沙漏</view>
					</u-grid-item>
					<u-grid-item>
						<u-icon name="photo" :size="30"></u-icon>
						<view class="grid-text">图片</view>
					</u-grid-item>
					<u-grid-item>
						<u-icon name="lock" :size="30"></u-icon>
						<view class="grid-text">锁头</view>
					</u-grid-item>
					<u-grid-item>
						<u-icon name="hourglass" :size="30"></u-icon>
						<view class="grid-text">沙漏</view>
					</u-grid-item>
					<u-grid-item>
						<u-icon name="hourglass" :size="30"></u-icon>
						<view class="grid-text">沙漏</view>
					</u-grid-item>
				</u-grid>
		</view>
		<view class="news-box">
			<u-notice-bar
				:text="newsTextLists"
				:bg-color="$uni-bg-color"
			></u-notice-bar>
		</view>
		
		<ShowShopListItem></ShowShopListItem>
		
	</view>
	
</template>

<script>
	export default {
		components: {
			
		},
		data() {
			return {
				newsTextLists: [
					'寒雨连江夜入吴',
					'平明送客楚山孤',
					'洛阳亲友如相问',
					'一片冰心在玉壶'],
			}
		},
		onLoad() {
			
		},
		methods: {
			// 头部区域
			//获取热点搜索词、背景URL
			getHeaderAreaURL() {
				this.headerBgList = [];
				this.hotSearchWord = ''
			}
		},
		computed:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.home-base-bg {
		background-color: $uni-bg-color-grey;
		width: 100%;
	}
	.nav-card {
		margin: 15px 7px;
		padding: 10px 0;
		background-color: $uni-bg-color;
		
		border-radius: $uni-border-radius-lg;
		box-shadow: 0 3px 3px 0 $u-border-color;

		.grid-text {
			font-size: 14px;
		}
	}
	
</style>