Commit cefdf390 by zsh

添加内容

parent a266dfa6
......@@ -4,14 +4,12 @@ import Vuex from 'vuex'
import App from './App.vue'
import createStore from './store' // Vuex
import createRouter from './router/router'
import axiosServer from 'runner/request'
import UsePlugin from 'runner/common/plugins'
import customPlugin from './public/plugins'
import utils from 'utils'
Vue.use(Vuex)
Vue.use(VueRouter)
Vue.use(axiosServer)
Vue.use(UsePlugin)
Vue.use(customPlugin)
......@@ -34,7 +32,6 @@ new Vue({
el: '#app',
router,
store,
axiosServer,
UsePlugin,
customPlugin,
template: '<App/>',
......
<template>
<div class="index-page">
<layout>
<layout :layoutConf="layoutSize">
<Header title="头部标题" slot="header" />
<!-- left -->
<div class="index-left" slot="left"></div>
<!-- center -->
......@@ -13,10 +14,21 @@
<script>
export default {
data () {
return {
// 布局设置
layoutSize: {
leftWidth: '530px',
rightWidth: '530px',
center: {
width: '100%'
}
}
}
}
}
</script>
<style lang="less">
<style lang="less" scoped>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment