Commit 7b0415b1 by 汤强勇

调整

parent ef38b147
module.exports = {
"preProduct": {
"host":"//10.0.16.179:8080",
"url":"minapro",
"baseUrl":"vue"
},
"product": {
"host":"//wxapp.hotwind.net",
"baseUrl":"vue",
"url":"minapro"
},
"devProduct": {
"host":"//wxapp.hotwind.net",
"baseUrl":"vue",
"url":"mina"
}
}
<template lang='pug'>
.sidebar
.logo
img(':src'="logo")
.item('v-for'="item in menuList" ,':key'="item.id",'@click'='choseMenu(item)')
sidebar-item&attributes({
':icon':'item.ico',
':link':'item.link',
':type':'item.type',
':id':'item.id',
':name':'item.name',
':pid':'item.pid',
':grade':'item.grade',
':sort':'item.sort'
})
.sidebar-wrapper
.sidebar
.logo
img(':src'="logo")
.item('v-for'="item in menuList" ,':key'="item.id",'@click'='choseMenu(item)')
sidebar-item&attributes({
':icon':'item.ico',
':link':'item.link',
':type':'item.type',
':id':'item.id',
':name':'item.name',
':pid':'item.pid',
':grade':'item.grade',
':sort':'item.sort'
})
</template>
<script>
import sidebarItem from '../sidebarItem'
......@@ -50,6 +51,11 @@ export default {
}
</script>
<style lang="stylus" scoped>
.sidebar-wrapper
position relative
width 70px
height 100px
display inline-block
.sidebar
position fixed
left 0
......
......@@ -20,13 +20,13 @@ export default new Router({
component: () => import(/* web packChunkName: 'wxhome' */ 'pages/home'),
children: [
{
path: '/marketing',
path: 'marketing',
name: 'marketing',
component: () =>
import(/* webpackChunkName: 'marketing' */ 'pages/marketing-center')
},
{
path: '/addmarketing',
path: 'addmarketing',
name: 'addmarketing',
component: () =>
import(/* webpackChunkName: 'wxlogin' */ 'pages/addmarketing')
......
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