--听一首歌,回忆一段往事

This commit is contained in:
meng 2018-12-11 21:40:47 +08:00
parent 9ce39046e6
commit 064aa3e2ee
3 changed files with 93 additions and 0 deletions

13
len-blog-ui/admin.html Normal file
View File

@ -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>

57
len-blog-ui/src/Admin.vue Normal file
View File

@ -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>

23
len-blog-ui/src/admin.js Normal file
View File

@ -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/>'
})