mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
wip
This commit is contained in:
parent
f3460a3a2d
commit
7db938be69
@ -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 New Issue
Block a user