|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <el-aside style="width: 200px;">
|
|
|
+ <el-aside>
|
|
|
<div class="sidebar">
|
|
|
<div class="side-logo">
|
|
|
<img @click="$router.push({path:'/'})" src="../../static/image/logo.png" class="logo" />
|
|
@@ -47,7 +47,6 @@ export default {
|
|
|
items: [
|
|
|
{
|
|
|
path: "/",
|
|
|
- name: "home",
|
|
|
title: "一键发单",
|
|
|
icon: require("../../static/image/order-icon.png"),
|
|
|
children: [
|
|
@@ -70,77 +69,73 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
path: "/shopInfo",
|
|
|
- name: "shopInfo",
|
|
|
title: "商户信息",
|
|
|
icon: require("../../static/image/shop-icon.png"),
|
|
|
children: [
|
|
|
{
|
|
|
- path: "/shopInfo/shopInfos",
|
|
|
- name: "shopInfos",
|
|
|
+ path: "/shop/shopList",
|
|
|
+ name: "shopList",
|
|
|
title: "我的店铺",
|
|
|
},
|
|
|
{
|
|
|
- path: "/shopInfo/shopAccount",
|
|
|
- name: "shopInfos",
|
|
|
+ path: "/platformAccount/index",
|
|
|
+ name: "platformAccount",
|
|
|
title: "账号管理",
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- path: "/shopInfo/shopAccount",
|
|
|
- name: "shopInfos",
|
|
|
+ path: "/account",
|
|
|
title: "我的账户",
|
|
|
icon: require("../../static/image/shop-icon.png"),
|
|
|
children: [
|
|
|
{
|
|
|
- path: "/shopInfo/shopInfos",
|
|
|
- name: "shopInfos",
|
|
|
+ path: "/account/wallet",
|
|
|
+ name: "wallet",
|
|
|
title: "我的钱包",
|
|
|
},
|
|
|
{
|
|
|
- path: "/shopInfo/shopAccount",
|
|
|
- name: "shopInfos",
|
|
|
- title: "收支明细",
|
|
|
+ path: "/account/walletDetail",
|
|
|
+ name: "walletDetail",
|
|
|
+ title: "消费明细",
|
|
|
},
|
|
|
{
|
|
|
- path: "/shopInfo/shopAccount",
|
|
|
- name: "shopInfos",
|
|
|
+ path: "/account/coupon",
|
|
|
+ name: "coupon",
|
|
|
title: "优惠券",
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- path: "/shopInfo",
|
|
|
- name: "shopInfo",
|
|
|
+ path: "/platform",
|
|
|
title: "平台管理",
|
|
|
icon: require("../../static/image/shop-icon.png"),
|
|
|
children: [
|
|
|
{
|
|
|
- path: "/shopInfo/shopInfos",
|
|
|
- name: "shopInfos",
|
|
|
+ path: "/platform/bindTakeOut",
|
|
|
+ name: "bindTakeOut",
|
|
|
title: "邦定外卖平台",
|
|
|
},
|
|
|
{
|
|
|
- path: "/shopInfo/shopAccount",
|
|
|
- name: "shopInfos",
|
|
|
+ path: "/platform/bindDelivery",
|
|
|
+ name: "bindDelivery",
|
|
|
title: "绑定配送平台",
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- path: "/setUp",
|
|
|
- name: "setUp",
|
|
|
+ path: "/set",
|
|
|
title: "设置中心",
|
|
|
icon: require("../../static/image/setting-icon.png"),
|
|
|
children: [
|
|
|
{
|
|
|
- path: "/setUp/set",
|
|
|
- name: "set",
|
|
|
+ path: "/set/waimai",
|
|
|
+ name: "waimai",
|
|
|
title: "外卖设置",
|
|
|
},
|
|
|
{
|
|
|
- path: "/setUp/set",
|
|
|
- name: "set",
|
|
|
+ path: "/set/system",
|
|
|
+ name: "system",
|
|
|
title: "系统设置",
|
|
|
},
|
|
|
// {
|
|
@@ -157,32 +152,31 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
path: "/help",
|
|
|
- name: "help",
|
|
|
title: "帮助中心",
|
|
|
icon: require("../../static/image/help-icon.png"),
|
|
|
children: [
|
|
|
{
|
|
|
- path: "/setUp/set",
|
|
|
- name: "set",
|
|
|
+ path: "/help/commonProblem",
|
|
|
+ name: "commonProblem",
|
|
|
title: "常见问题",
|
|
|
},
|
|
|
{
|
|
|
- path: "/download",
|
|
|
- name: "download",
|
|
|
+ path: "/help/customerService",
|
|
|
+ name: "customerService",
|
|
|
title: "客服中心",
|
|
|
},
|
|
|
{
|
|
|
- path: "/download",
|
|
|
+ path: "/help/download",
|
|
|
name: "download",
|
|
|
title: "下载中心",
|
|
|
},
|
|
|
{
|
|
|
- path: "/download",
|
|
|
- name: "download",
|
|
|
+ path: "/help/feedback",
|
|
|
+ name: "feedback",
|
|
|
title: "意见反馈",
|
|
|
},
|
|
|
{
|
|
|
- path: "/about",
|
|
|
+ path: "/help/about",
|
|
|
name: "about",
|
|
|
title: "关于我们",
|
|
|
},
|
|
@@ -222,30 +216,12 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang='scss' scoped='scoped'>
|
|
|
-/deep/ .el-submenu .el-submenu__title {
|
|
|
- font-size: 18px;
|
|
|
- height: 50px;
|
|
|
- line-height: 50px;
|
|
|
- padding: 0 29px !important;
|
|
|
-}
|
|
|
-/deep/ .el-submenu .el-submenu__icon-arrow {
|
|
|
- right: 37px !important;
|
|
|
- font-size: 14px !important;
|
|
|
- font-weight: bolder;
|
|
|
-}
|
|
|
/deep/ .el-submenu .el-menu-item {
|
|
|
padding-left: 76px !important;
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
- font-size: 16px;
|
|
|
- opacity: 0.8;
|
|
|
- margin-top: 9px;
|
|
|
}
|
|
|
/deep/ .el-menu-item.is-active {
|
|
|
- color: #fc7200 !important;
|
|
|
- background-color: rgba(12, 43, 71, 0.39) !important;
|
|
|
+ background-color: #0c2b47 !important;
|
|
|
border-right: 4px solid #fc7200;
|
|
|
- opacity: 1;
|
|
|
}
|
|
|
.sidebar {
|
|
|
display: block;
|
|
@@ -275,10 +251,10 @@ export default {
|
|
|
height: 44px;
|
|
|
}
|
|
|
.side-bar-icon {
|
|
|
- width: 30px;
|
|
|
- height: 30px;
|
|
|
- margin-right: 10px;
|
|
|
- // margin-left: 14px;
|
|
|
+ width: 21px;
|
|
|
+ height: 21px;
|
|
|
+ margin-right: 18px;
|
|
|
+ margin-left: 14px;
|
|
|
}
|
|
|
.aliFamily {
|
|
|
font-size: 24px;
|
|
@@ -290,7 +266,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.sidebar-el-menu:not(.el-menu--collapse) {
|
|
|
- width: 220px;
|
|
|
+ width: 254px;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|