Commit cefdf390 by zsh

添加内容

parent a266dfa6
...@@ -4,14 +4,12 @@ import Vuex from 'vuex' ...@@ -4,14 +4,12 @@ import Vuex from 'vuex'
import App from './App.vue' import App from './App.vue'
import createStore from './store' // Vuex import createStore from './store' // Vuex
import createRouter from './router/router' import createRouter from './router/router'
import axiosServer from 'runner/request'
import UsePlugin from 'runner/common/plugins' import UsePlugin from 'runner/common/plugins'
import customPlugin from './public/plugins' import customPlugin from './public/plugins'
import utils from 'utils' import utils from 'utils'
Vue.use(Vuex) Vue.use(Vuex)
Vue.use(VueRouter) Vue.use(VueRouter)
Vue.use(axiosServer)
Vue.use(UsePlugin) Vue.use(UsePlugin)
Vue.use(customPlugin) Vue.use(customPlugin)
...@@ -34,7 +32,6 @@ new Vue({ ...@@ -34,7 +32,6 @@ new Vue({
el: '#app', el: '#app',
router, router,
store, store,
axiosServer,
UsePlugin, UsePlugin,
customPlugin, customPlugin,
template: '<App/>', template: '<App/>',
......
<template> <template>
<div class="index-page"> <div class="index-page">
<layout> <layout :layoutConf="layoutSize">
<Header title="头部标题" slot="header" />
<!-- left --> <!-- left -->
<div class="index-left" slot="left"></div> <div class="index-left" slot="left"></div>
<!-- center --> <!-- center -->
...@@ -13,10 +14,21 @@ ...@@ -13,10 +14,21 @@
<script> <script>
export default { export default {
data () {
return {
// 布局设置
layoutSize: {
leftWidth: '530px',
rightWidth: '530px',
center: {
width: '100%'
}
}
}
}
} }
</script> </script>
<style lang="less"> <style lang="less" scoped>
</style> </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