zoukankan      html  css  js  c++  java
  • 微信菜单php 数组格式

    //备用


    $menu['button']['0']['name'] = '积分';

    $menu['button']['0']['sub_button']['0']['type'] = 'view';
    $menu['button']['0']['sub_button']['0']['name'] = '积分商城';
    $menu['button']['0']['sub_button']['0']['url'] = 'xxx';

    $menu['button']['0']['sub_button']['1']['type'] = 'view';
    $menu['button']['0']['sub_button']['1']['name'] = '微商城';
    $menu['button']['0']['sub_button']['1']['url'] = 'xxx';

    $menu['button']['0']['sub_button']['2']['type'] = 'view';
    $menu['button']['0']['sub_button']['2']['name'] = '优品专区';
    $menu['button']['0']['sub_button']['2']['url'] = 'xxx';

    $menu['button']['1']['name'] = '活动内容';

    $menu['button']['1']['sub_button']['0']['type'] = 'view';
    $menu['button']['1']['sub_button']['0']['name'] = '最新活动';
    $menu['button']['1']['sub_button']['0']['url'] = 'xxx';

    $menu['button']['1']['sub_button']['1']['type'] = 'view';
    $menu['button']['1']['sub_button']['1']['name'] = '分享有礼';
    $menu['button']['1']['sub_button']['1']['url'] = 'xx';

    $menu['button']['1']['sub_button']['2']['type'] = 'view';
    $menu['button']['1']['sub_button']['2']['name'] = '在线调研';
    $menu['button']['1']['sub_button']['2']['url'] = 'xxx';

    $menu['button']['1']['sub_button']['3']['type'] = 'view';
    $menu['button']['1']['sub_button']['3']['name'] = '秒杀专区';
    $menu['button']['1']['sub_button']['3']['url'] = 'xx';


    //------------------------------------3-------------------------------------

    $menu['button']['2']['name'] = '积分管理';

    $menu['button']['2']['sub_button']['0']['type'] = 'view';
    $menu['button']['2']['sub_button']['0']['name'] = '积分查询';
    $menu['button']['2']['sub_button']['0']['url'] = 'xxx';

    $menu['button']['2']['sub_button']['1']['type'] = 'view';
    $menu['button']['2']['sub_button']['1']['name'] = '订单查询';
    $menu['button']['2']['sub_button']['1']['url'] = 'xx';

    $menu['button']['2']['sub_button']['2']['type'] = 'view';
    $menu['button']['2']['sub_button']['2']['name'] = '购物车';
    $menu['button']['2']['sub_button']['2']['url'] = 'xxx';

    $menu['button']['2']['sub_button']['3']['type'] = 'view';
    $menu['button']['2']['sub_button']['3']['name'] = '积分规则';
    $menu['button']['2']['sub_button']['3']['url'] = 'xxx';

  • 相关阅读:
    普通摄像头交互——视频翻书
    笔记本3K4K
    OOP(转)
    DllImport 和extern
    java串口通信 (转)
    HttpWatch截取网页数据的工具以及介绍
    在 resources 参数中指定了多次。 resources 参数不支持重复项—解决方法
    “设计”你的代码(转)
    如何获取ultraComboEditor选中的值
    将数组绑定到 ODP.NET 数据库命令
  • 原文地址:https://www.cnblogs.com/jackylee92/p/6154742.html
Copyright © 2011-2022 走看看