<template>
	<footer class="v-footer">
		<div id="sino-footer">
			<div class="sino-footer-box">
				<div class="footer-info">
					<ul>
						<li class="tel">010-59626411</li>
						<li class="time">周一至周日10:00-19:00</li>
						<li class="foote-logo">
							<img src="~/assets/images/index/logo2.png" alt="" srcset="">
						</li>
					</ul>
				</div>
				<div class="footer-nav">
					<ul class="footer-nav-parent">
						<li class="footer-nav-list">
							<nuxt-link class="title" to="/">产品与服务</nuxt-link>
							<ul class="footer-nav-child">
								<li>
									<nuxt-link to="/">产品商城</nuxt-link>
								</li>
								<li>
									<nuxt-link to="/">多端课堂</nuxt-link>
								</li>
							</ul>
						</li>
						<li class="footer-nav-list">
							<nuxt-link class="title" to="/">关于我们</nuxt-link>
							<ul class="footer-nav-child">
								<li>
									<nuxt-link to="/">品牌故事</nuxt-link>
								</li>
								<li>
									<nuxt-link to="/">专家团队</nuxt-link>
								</li>
								<li>
									<nuxt-link to="/">联系我们</nuxt-link>
								</li>
								<li>
									<nuxt-link to="/">线下门店</nuxt-link>
								</li>
							</ul>
						</li>
					</ul>
				</div>
				<div class="footer-about">
					<div class="title">关注我们</div>
					<div class="content">
						<ul>
							<li>
								<img src="~/assets/images/index/wechat.png" alt="" srcset="">
								<div class="officle">
									<p>逻辑狗</p>
									<p>官方服务号</p>
								</div>
							</li>
							<li>
								<img src="~/assets/images/index/wechat.png" alt="" srcset="">
								<div class="officle">
									<p>逻辑狗</p>
									<p>官方服务号</p>
								</div>
							</li>
							<li>
								<img src="~/assets/images/index/wechat.png" alt="" srcset="">
								<div class="officle">
									<p>逻辑狗</p>
									<p>官方服务号</p>
								</div>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="sino-footer-bottom">
				<p class="copyright">Copyright © 2020.北京中德智慧教育文化有限公司 京ICP备15045880号-2</p>
				<p>京公网安备 11010502032093号</p>
			</div>
		</div>
	</footer>
</template>

<style lang="scss" scoped>
@import '~static/common/style.sass';

#sino-footer {
	background: $theme_footer;
	padding: 68px 0 28px;
	.sino-footer-box {
		display: flex;
		width: 1200px;
    height: auto;
    margin: 0 auto;
		.footer-info {
			margin-right: 130px;
			.tel {
				color: #FFFFFF;
				font-size: 46px;
				line-height: 46px;
				font-family: PingFangSC-Medium,PingFang SC;
				font-weight: 500;
			}
			.time {
				color: #9EA1AB;
				line-height: 20px;
				margin: 20px 0 62px;
			}
			.foote-logo {
				img {
					height: 60px;
				}
			}
		}
		.footer-nav {
			.footer-nav-parent {
				display: flex;
				.footer-nav-list {
					margin-right: 105px;
					.title {
						font-size: 22px;
						font-weight: 400;
						color: #ffffff;
					}
					.footer-nav-child {
						margin-top: 55px;
						li {
							margin-bottom: 20px;
							&:last-child {
								margin-bottom: 0px;
							}
							a {
								color: #9EA1AB;
								font-size: 14px;
							}
						}

					}
				}
			}
		}
		.footer-about {
			margin-bottom: 120px;
			.title {
				font-size: 22px;
				font-weight: 400;
				color: #ffffff;
			}
			.content {
				margin-top: 64px;
				ul {
					display: flex;
					li {
						margin-right: 82px;
						&:last-child {
							margin-right: 0px;
						}
						p {
							color: #858893;
							font-size:12px;
							line-height:17px;
						}
					}
					.officle {
						margin-top: 27px;
					}
				}
				img {
					width: 45px;
					height: 40px;
				}
			}
			
		}
	}
	.sino-footer-bottom {
		width: 1200px;
    margin: 0 auto;
		display: flex;
		p {
			font-size: 12px;
			line-height: 17px;
			color: #717379;
		}
		.copyright {
			margin-right: 330px;
		}
	}
}

</style>

<script>
	import { mapState } from 'vuex'

	export default {
		name: 'VFooter',
		components: {},
		
		computed: {
			...mapState(['headProdNav','headNewsNav','indexLinksData'])
		},
		// mounted (){
		// 	//判断是否为首页，首页则改变友情链接控制字段，只在首页显示
		// 	let that = this
		// 	if(that.$route.params.tag === undefined && that.$route.fullPath === '/'){
		// 		that.$store.commit('setIndexShowLinks', true)
		// 	}else {
		// 		that.$store.commit('setIndexShowLinks', false)
		// 	}
		// }
	}
</script>