ecshop 如何在后台新建一个菜单-desktop.xml详解

一、desktop/app/b2c/desktop.xml文件详解

<desktop>

    <panelgroup id="shipment" icon="panel-shipment.png" order='30'>配送设置</panelgroup>

    <widgets id="b2c_desktop_widgets_stats" order='30'>业务概览</widgets>
    <widgets id="b2c_desktop_widgets_workcount" order='30'>待处理事项</widgets>
    <widgets id="b2c_desktop_widgets_exstatistics" order='30'>运营分析</widgets>

展示对已图片实例1

    <adminpanel group="b2c_shipment" controller="admin_dlytype" action="index" permission="shipment" display="true" order='20'>配送方式</adminpanel>
    <adminpanel group="b2c_shipment" controller="admin_dlytype" action="add_dlytype" permission="shipment" display="false" order='21'>添加配送方式</adminpanel>
    <adminpanel group="b2c_shipment" controller="admin_dlycorp" action="index" permission="shipment" display="true" order='30'>物流公司</adminpanel>
展示对已图片实例2-1
    <adminpanel group="desktop_setting" controller="admin_setting" action="index" permission="shopsetting" display="true" order='10'>商店设置</adminpanel>
    <adminpanel group="desktop_setting" permission="shopsetting" controller='admin_member_attr' action='index' display='true' order="40">会员注册项</adminpanel>
    <adminpanel group="desktop_setting" permission="shopsetting" controller='admin_member_messenger' action='index' display='true' order="30">邮件短信设置</adminpanel>
展示对已图片实例2-3
    <adminpanel group="desktop_other" permission="other" controller='admin_shoprelation' action='index' display='true'>数据互联</adminpanel>
    <adminpanel group="desktop_other" permission="other" controller='admin_shopnode' action='index' display='false'>网店节点显示</adminpanel>
    <adminpanel group="desktop_other" permission="other" controller='admin_goods_share' action='index' display='true'>商品分享配置</adminpanel>
展示对已图片实例2-3

    <permissions>
        <permission id="shipment" display='true' parent='0'>配送设置</permission>
      
        <permission id="addorder" display='true' parent='0' workground='ectools.wrokground.order'>添加订单</permission>
        <permission id="editorder" display='true' parent='0' workground='ectools.wrokground.order'>编辑订单</permission>
        <permission id="bills" display='true' parent='0' workground='ectools.wrokground.order'>单据管理</permission>
       
    </permissions>

    <workground name="订单" id="ectools.wrokground.order" app="b2c" controller="admin_order" action="index" order='10'>
        <menugroup name="订单列表">
            <menu controller='admin_order' action='addnew' permission='addorder' display='false' order='10'>新建订单</menu>
            <menu controller='admin_order' action='showEdit' permission='editorder' display='false' order='11'>编辑订单</menu>
            <menu controller='admin_order' action='index' permission='order' display='true' order='20'>订单</menu>
            <menu controller='admin_delivery' action='index' permission='bills' display='true' order='40'>发货单</menu>
            <menu controller='admin_reship' action='index' permission='bills' display='true' order='60'>退货单</menu>
        </menugroup>
    </workground>
展示对已图片实例3
</desktop>

展示对已图片实例1(桌面)


ecshop 如何在后台新建一个菜单-desktop.xml详解_第1张图片
 

 

展示对已图片实例2(控制面板)


ecshop 如何在后台新建一个菜单-desktop.xml详解_第2张图片
 

 

 

展示对已图片实例3


ecshop 如何在后台新建一个菜单-desktop.xml详解_第3张图片
 

你可能感兴趣的:(Desktop)