<template>
	<view class="">
		<image v-if="show" class="logo animated bounceIn fast" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title" @tap="show = !show">{{title}}</text>
		</view>
		<scroll-view scroll-x="true" class="scroll-row">
			<view style="width: 200upx;" class="border border-danger scroll-row-item">1</view>
			<view style="width: 200upx;" class="border scroll-row-item">2</view>
			<view style="width: 200upx;" class="border scroll-row-item">3</view>
			<view style="width: 200upx;" class="border scroll-row-item">4</view>
			<view style="width: 200upx;" class="border scroll-row-item">5</view>
		</scroll-view>

		<view class="row p-2">
			<view class="span-4 text-center">2</view>
			<view class="span-4 text-center">1</view>
			<view class="span-4 text-center">3</view>
			<view class="span-4 text-center">4</view>
			<view class="span-4 text-center">5</view>
			<view class="span-4 text-center">6</view>
			<view class="span-4 text-center">7</view>
			<view class="span-4 text-center">8</view>
			<view class="span-4 text-center">9</view>
			<view class="span-4 text-center">10</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show: false,
				title: 'Hello'
			}
		},
		onLoad() {
			// console.log(uni.getStorageSync("erpToken"));
		},
		methods: {

		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
