--听一首歌,回忆一段往事
This commit is contained in:
parent
9ce39046e6
commit
064aa3e2ee
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<title>len开源脚手架博客</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,57 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<Layout>
|
||||
<!--header begin-->
|
||||
<blogHead></blogHead>
|
||||
<!--header end-->
|
||||
|
||||
<!--context begin-->
|
||||
<div class="cont">
|
||||
<div class="content clearfix">
|
||||
<div class="blog-left">
|
||||
<router-view/>
|
||||
</div>
|
||||
<blogRight></blogRight>
|
||||
</div>
|
||||
</div>
|
||||
<!--right begin-->
|
||||
|
||||
<!--right end-->
|
||||
<!--context end-->
|
||||
|
||||
<blog-bottom></blog-bottom>
|
||||
</Layout>
|
||||
<BackTop></BackTop>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import blogHead from "./components/header/head"
|
||||
import blogRight from "./components/right/right"
|
||||
import blogBottom from "./components/bottom/bottom"
|
||||
|
||||
|
||||
export default {
|
||||
components: {
|
||||
blogHead,
|
||||
blogRight,
|
||||
blogBottom
|
||||
},
|
||||
name: 'App',
|
||||
data() {
|
||||
return {}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import '../static/css/blog-index.css'; /*引入公共样式*/
|
||||
#app {
|
||||
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-align: center;
|
||||
color: #28181d;
|
||||
margin-top: 0px;
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,23 @@
|
|||
// The Vue build version to load with the `import` command
|
||||
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
||||
import Vue from 'vue'
|
||||
import App from './App'
|
||||
import router from './router'
|
||||
import iView from 'iview';
|
||||
import 'iview/dist/styles/iview.css';
|
||||
import axios from 'axios'
|
||||
|
||||
|
||||
Vue.prototype.$http = axios
|
||||
|
||||
Vue.use(iView);
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
components: { App },
|
||||
template: '<App/>'
|
||||
})
|
Loading…
Reference in New Issue