add linelog page , not fin

This commit is contained in:
Jay 2018-10-14 22:27:11 +08:00
parent de76666bc4
commit 88733e23bc
4 changed files with 29 additions and 7 deletions

13
package-lock.json generated
View File

@ -5417,7 +5417,8 @@
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
@ -5832,7 +5833,8 @@
"safe-buffer": { "safe-buffer": {
"version": "5.1.1", "version": "5.1.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
@ -5888,6 +5890,7 @@
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "2.1.1" "ansi-regex": "2.1.1"
} }
@ -5931,12 +5934,14 @@
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.0.2", "version": "3.0.2",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
} }
} }
}, },

View File

@ -0,0 +1,16 @@
<template>
<sui-container>
<div>test </div>
</sui-container>
</template>
<script>
export default {
name: 'LineLog',
data () {
return {}
},
mounted () {}
}
</script>

View File

@ -1,11 +1,11 @@
<template> <template>
<sui-menu fluid borderless fixed='top'> <sui-menu fluid borderless fixed='top'>
<sui-container> <sui-container>
<sui-menu-menu> <sui-menu-menu position="left">
<sui-menu-item :active="activeItem === '' || activeItem === 'channel'"> <sui-menu-item :active="activeItem === '' || activeItem === 'channel'">
<router-link :to="{name: 'ChannelList'}">Channels</router-link> <router-link :to="{name: 'ChannelList'}">Channels</router-link>
</sui-menu-item> </sui-menu-item>
<sui-menu-item :active="activeItem !== '' && activeItem === 'linelog'" v-show="userInfo.type === 'system'"> <sui-menu-item :active="activeItem !== '' && activeItem === 'linelog'" v-if="userInfo.type === 'system'">
<router-link :to="{name: 'LineLog'}">Line Log</router-link> <router-link :to="{name: 'LineLog'}">Line Log</router-link>
</sui-menu-item> </sui-menu-item>
</sui-menu-menu> </sui-menu-menu>

View File

@ -6,6 +6,7 @@ import ControlPanel from '@/components/ControlPanel'
import ChannelList from '@/components/ControlPanel/channelList' import ChannelList from '@/components/ControlPanel/channelList'
import Channel from '@/components/ControlPanel/channel' import Channel from '@/components/ControlPanel/channel'
import ChannelOpay from '@/components/ControlPanel/channel/opay' import ChannelOpay from '@/components/ControlPanel/channel/opay'
import LineLog from '@/components/ControlPanel/lineLog'
import PublicOpayBar from '@/components/showDonateBar' import PublicOpayBar from '@/components/showDonateBar'
@ -38,7 +39,7 @@ export default new Router({
path: 'linelog', path: 'linelog',
alias: '', alias: '',
name: 'LineLog', name: 'LineLog',
component: null, component: LineLog,
meta: { meta: {
topMenu: 'linelog' topMenu: 'linelog'
} }