|
@@ -1,45 +1,15 @@
|
|
<template>
|
|
<template>
|
|
- <m-menu :btnTitle="title">
|
|
|
|
- <v-card elevation="3" style="padding: 40px 60px;">
|
|
|
|
- <div class="d-flex">
|
|
|
|
- <div v-for="(item, i) in list" :key="'product'+i" :style="{'margin-left': i ? '150px' : 'auto'}">
|
|
|
|
- <div style="font-size: 20px; color: var(--v-primary-lighten2)" class="mb-5">{{ item.title }}</div>
|
|
|
|
- <v-divider class="mb-2" style="color: var(--v-primary-lighten2)"></v-divider>
|
|
|
|
- <div v-for="(arr, j) in item.appList" :key="'productApp'+j" class="d-flex">
|
|
|
|
- <div v-for="(val, k) in arr" :key="'productAppArr'+k">
|
|
|
|
- <div
|
|
|
|
- class=""
|
|
|
|
- :style="{width: k ? 'auto' : width}"
|
|
|
|
- style="font-size: 16px; line-height: 50px;"
|
|
|
|
- >
|
|
|
|
- {{ val.title }}
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </v-card>
|
|
|
|
- </m-menu>
|
|
|
|
|
|
+ <defineListPage v-bind="$attrs" :list="list" @emitClick="val => emits('emitClick', val)"></defineListPage>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
-import MMenu from './commonMenuStyle.vue'
|
|
|
|
|
|
+import defineListPage from './defineListPage.vue'
|
|
defineOptions({name: 'navBar-product'})
|
|
defineOptions({name: 'navBar-product'})
|
|
-defineProps({
|
|
|
|
- title: {
|
|
|
|
- type: String,
|
|
|
|
- default: 'title'
|
|
|
|
- },
|
|
|
|
- width: {
|
|
|
|
- type: String,
|
|
|
|
- default: '160px'
|
|
|
|
- }
|
|
|
|
-})
|
|
|
|
|
|
+const emits = defineEmits(['emitClick'])
|
|
|
|
|
|
const list = [
|
|
const list = [
|
|
{
|
|
{
|
|
title: '酒店管理',
|
|
title: '酒店管理',
|
|
- column: 2,
|
|
|
|
appList: [
|
|
appList: [
|
|
[{ title: '招聘管理系统', path: '/' }, { title: '绩效管理系统', path: '/' }],
|
|
[{ title: '招聘管理系统', path: '/' }, { title: '绩效管理系统', path: '/' }],
|
|
[{ title: '组织人事系统', path: '/' }, { title: '盘点发展系统', path: '/' }],
|
|
[{ title: '组织人事系统', path: '/' }, { title: '盘点发展系统', path: '/' }],
|