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": {
"version": "2.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
@ -5832,7 +5833,8 @@
"safe-buffer": {
"version": "5.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
@ -5888,6 +5890,7 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "2.1.1"
}
@ -5931,12 +5934,14 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"yallist": {
"version": "3.0.2",
"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>
<sui-menu fluid borderless fixed='top'>
<sui-container>
<sui-menu-menu>
<sui-menu-menu position="left">
<sui-menu-item :active="activeItem === '' || activeItem === 'channel'">
<router-link :to="{name: 'ChannelList'}">Channels</router-link>
</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>
</sui-menu-item>
</sui-menu-menu>

View File

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