home.vue 1.0 KB
Newer Older
M
maguohua 已提交
1
<template>
M
maguohua 已提交
2
    <div>
M
maguohua 已提交
3
        <head-top></head-top>
M
maguohua 已提交
4 5 6 7 8 9 10 11 12
		<section class="data_section">
			<header class="section_title">当日数据统计</header>
			<el-row :gutter="20">
				<el-col :span="8"><div class="data_list"><span class="data_num">1,621</span> 浏览量</div></el-col>
				<el-col :span="8"><div class="data_list"><span class="data_num">13,087</span> API请求量</div></el-col>
				<el-col :span="8"><div class="data_list"><span class="data_num">833</span> 新增用户</div></el-col>
			</el-row>
		</section>
		<line1></line1>
M
maguohua 已提交
13
    </div>
M
maguohua 已提交
14 15 16
</template>

<script>
M
maguohua 已提交
17
	import headTop from '../components/headTop'
M
maguohua 已提交
18 19 20
	import line1 from '../components/line1' 


M
maguohua 已提交
21
    export default {
M
maguohua 已提交
22 23
    	components: {
    		headTop,
M
maguohua 已提交
24 25 26
    		line1,
    	},
    	
M
maguohua 已提交
27 28 29
    }
</script>

M
maguohua 已提交
30 31
<style lang="less">
	@import '../style/mixin';
M
maguohua 已提交
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
	.data_section{
		padding: 20px;
		.section_title{
			text-align: center;
			font-size: 30px;
			margin-bottom: 10px;
		}
		.data_list{
			text-align: center;
			font-size: 14px;
			.data_num{
				color: #333;
				font-size: 26px;
			}
		}
M
maguohua 已提交
47
	}
M
maguohua 已提交
48
</style>