mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-28 07:03:09 +02:00
wip
This commit is contained in:
parent
bc17a0b2cb
commit
ccf153b8cd
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<ul class="me-nu">
|
||||
<ul class="menu">
|
||||
<li v-for="(item, i) in menu" :key="i" :class="item.type">
|
||||
<template v-if="item.type == 'item'">
|
||||
<p @click="click(item)"><span :class="$style.icon" v-if="item.icon" v-html="item.icon"></span>{{ item.text }}</p>
|
||||
|
@ -29,7 +29,7 @@ export default Vue.extend({
|
|||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.me-nu
|
||||
.menu
|
||||
$width = 240px
|
||||
$item-height = 38px
|
||||
$padding = 10px
|
|
@ -8,7 +8,7 @@
|
|||
import Vue from 'vue';
|
||||
import * as anime from 'animejs';
|
||||
import contains from '../../../common/scripts/contains';
|
||||
import meNu from './context-menu-menu.vue';
|
||||
import meNu from './context-menu.menu.vue';
|
||||
|
||||
export default Vue.extend({
|
||||
components: {
|
||||
|
|
Loading…
Reference in a new issue