array(23) {
  ["id"] => string(3) "212"
  ["siteid"] => string(1) "1"
  ["type"] => string(1) "0"
  ["m_id"] => string(1) "1"
  ["p_id"] => string(1) "0"
  ["name"] => string(6) "产品"
  ["thumb"] => string(0) ""
  ["image"] => string(0) ""
  ["desc"] => string(0) ""
  ["pdir"] => string(0) ""
  ["dir"] => string(3) "pro"
  ["url"] => string(0) ""
  ["setting"] => array(15) {
    ["is_html"] => int(1)
    ["content_is_html"] => int(1)
    ["urlrule"] => int(1)
    ["contenturlrule"] => int(1)
    ["meta_title"] => string(0) ""
    ["meta_keywords"] => string(0) ""
    ["meta_description"] => string(0) ""
    ["category_template"] => string(0) ""
    ["list_template"] => string(16) "list_channel.tpl"
    ["show_template"] => string(13) "show_news.tpl"
    ["formid"] => string(0) ""
    ["url"] => string(0) ""
    ["target"] => string(0) ""
    ["pri_grade_visit"] => array(0) {
    }
    ["pri_grade_add"] => array(0) {
    }
  }
  ["order"] => string(1) "0"
  ["sethtml"] => string(1) "0"
  ["stat"] => string(1) "2"
  ["flowid"] => string(1) "0"
  ["image_mo"] => string(0) ""
  ["page_num"] => string(1) "0"
  ["wxstat"] => string(1) "0"
  ["scope"] => string(0) ""
  ["modelname"] => string(12) "信息模型"
  ["son"] => array(7) {
    [0] => array(23) {
      ["id"] => string(3) "213"
      ["siteid"] => string(1) "1"
      ["type"] => string(1) "0"
      ["m_id"] => string(1) "1"
      ["p_id"] => string(3) "212"
      ["name"] => string(12) "智慧教育"
      ["thumb"] => string(0) ""
      ["image"] => string(0) ""
      ["desc"] => string(0) ""
      ["pdir"] => string(0) ""
      ["dir"] => string(9) "Education"
      ["url"] => string(0) ""
      ["setting"] => array(15) {
        ["is_html"] => int(1)
        ["content_is_html"] => int(1)
        ["urlrule"] => int(1)
        ["contenturlrule"] => int(1)
        ["meta_title"] => string(0) ""
        ["meta_keywords"] => string(0) ""
        ["meta_description"] => string(0) ""
        ["category_template"] => string(0) ""
        ["list_template"] => string(16) "list_channel.tpl"
        ["show_template"] => string(8) "show.tpl"
        ["formid"] => string(0) ""
        ["url"] => string(0) ""
        ["target"] => string(0) ""
        ["pri_grade_visit"] => array(0) {
        }
        ["pri_grade_add"] => array(0) {
        }
      }
      ["order"] => string(1) "0"
      ["sethtml"] => string(1) "0"
      ["stat"] => string(1) "2"
      ["flowid"] => string(1) "0"
      ["image_mo"] => string(0) ""
      ["page_num"] => string(1) "0"
      ["wxstat"] => string(1) "0"
      ["scope"] => string(6) "测试"
      ["modelname"] => string(12) "信息模型"
      ["son"] => array(2) {
        [0] => array(22) {
          ["id"] => string(3) "214"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "213"
          ["name"] => string(30) "智慧教育在线考试系统"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/14/06560012026940189.png"
          ["image"] => string(63) "/modules/cms/uploads/recommend/2020/11/12/06585030929966955.png"
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "zxks"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(18) "show_page_exam.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(63) "/modules/cms/uploads/recommend/2020/11/12/06585059401213114.jpg"
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(54) "适用于学校、招聘、培训、知识竞赛......"
          ["modelname"] => NULL
        }
        [1] => array(22) {
          ["id"] => string(3) "215"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "213"
          ["name"] => string(30) "智慧教育在线教育系统"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/14/06559970637340605.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "zxjy"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(17) "show_page_zmy.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(30) "适用于知识付费小程序"
          ["modelname"] => NULL
        }
      }
    }
    [1] => array(23) {
      ["id"] => string(3) "216"
      ["siteid"] => string(1) "1"
      ["type"] => string(1) "0"
      ["m_id"] => string(1) "1"
      ["p_id"] => string(3) "212"
      ["name"] => string(12) "智慧电商"
      ["thumb"] => string(0) ""
      ["image"] => string(0) ""
      ["desc"] => string(0) ""
      ["pdir"] => string(0) ""
      ["dir"] => string(4) "zhds"
      ["url"] => string(0) ""
      ["setting"] => array(15) {
        ["is_html"] => int(1)
        ["content_is_html"] => int(1)
        ["urlrule"] => int(1)
        ["contenturlrule"] => int(1)
        ["meta_title"] => string(0) ""
        ["meta_keywords"] => string(0) ""
        ["meta_description"] => string(0) ""
        ["category_template"] => string(0) ""
        ["list_template"] => string(16) "list_channel.tpl"
        ["show_template"] => string(8) "show.tpl"
        ["formid"] => string(0) ""
        ["url"] => string(0) ""
        ["target"] => string(0) ""
        ["pri_grade_visit"] => array(0) {
        }
        ["pri_grade_add"] => array(0) {
        }
      }
      ["order"] => string(1) "0"
      ["sethtml"] => string(1) "0"
      ["stat"] => string(1) "2"
      ["flowid"] => string(1) "0"
      ["image_mo"] => string(0) ""
      ["page_num"] => string(1) "0"
      ["wxstat"] => string(1) "0"
      ["scope"] => string(0) ""
      ["modelname"] => string(12) "信息模型"
      ["son"] => array(3) {
        [0] => array(22) {
          ["id"] => string(3) "217"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "216"
          ["name"] => string(15) "B2C电商平台"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560909969005392.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(3) "B2C"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(88) "B2C商城系统_B2C商城建设_B2C网店系统_B2C电商系统开发建设-艺源科技"
            ["meta_keywords"] => string(75) "B2C商城系统,B2C商城建设,B2C网店系统,B2C电商系统开发建设"
            ["meta_description"] => string(254) "【艺源科技】是国内知名的B2C商城系统开发服务商,基于长期服务大型企业所积累的B2C网站建设经验,专注于为企业提供高品质的b2c商城系统、b2c网店系统、b2c电商系统开发及b2c商城建设等服务。"
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(17) "show_page_b2c.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(63) "/modules/cms/uploads/recommend/2021/01/19/06643916132914280.jpg"
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(36) "成熟稳定的私有化电商系统"
          ["modelname"] => NULL
        }
        [1] => array(22) {
          ["id"] => string(3) "218"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "216"
          ["name"] => string(26) "B2B2C多商户电商平台"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560910116613836.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(5) "B2B2C"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(58) "打造类京东、天猫平台,支持自营+招商入驻"
          ["modelname"] => NULL
        }
        [2] => array(22) {
          ["id"] => string(3) "219"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "216"
          ["name"] => string(20) "智慧IM客服系统"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560910289244834.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "imkf"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(0) ""
          ["modelname"] => NULL
        }
      }
    }
    [2] => array(23) {
      ["id"] => string(3) "220"
      ["siteid"] => string(1) "1"
      ["type"] => string(1) "0"
      ["m_id"] => string(1) "1"
      ["p_id"] => string(3) "212"
      ["name"] => string(12) "智慧企业"
      ["thumb"] => string(0) ""
      ["image"] => string(0) ""
      ["desc"] => string(0) ""
      ["pdir"] => string(0) ""
      ["dir"] => string(4) "zhqy"
      ["url"] => string(0) ""
      ["setting"] => array(15) {
        ["is_html"] => int(1)
        ["content_is_html"] => int(1)
        ["urlrule"] => int(1)
        ["contenturlrule"] => int(1)
        ["meta_title"] => string(0) ""
        ["meta_keywords"] => string(0) ""
        ["meta_description"] => string(0) ""
        ["category_template"] => string(0) ""
        ["list_template"] => string(16) "list_channel.tpl"
        ["show_template"] => string(16) "show_waiting.tpl"
        ["formid"] => string(0) ""
        ["url"] => string(0) ""
        ["target"] => string(0) ""
        ["pri_grade_visit"] => array(0) {
        }
        ["pri_grade_add"] => array(0) {
        }
      }
      ["order"] => string(1) "0"
      ["sethtml"] => string(1) "0"
      ["stat"] => string(1) "2"
      ["flowid"] => string(1) "0"
      ["image_mo"] => string(0) ""
      ["page_num"] => string(1) "0"
      ["wxstat"] => string(1) "0"
      ["scope"] => string(0) ""
      ["modelname"] => string(12) "信息模型"
      ["son"] => array(2) {
        [0] => array(22) {
          ["id"] => string(3) "221"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "220"
          ["name"] => string(21) "智慧企业CMS系统"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560910702059456.png"
          ["image"] => string(63) "/modules/cms/uploads/recommend/2018/12/27/05992386417829529.jpg"
          ["desc"] => string(234) "企业营销系统|yycms更懂你的企业建站系统;直观、简洁 ,轻松愉悦的后台管理;yycms后台的功能划分都是根据用户习惯设计;采用极简扁平化界面风格;操作人员可以轻松上手。"
          ["pdir"] => string(0) ""
          ["dir"] => string(5) "qycms"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(19) "show_page_yycms.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(63) "/modules/cms/uploads/recommend/2018/05/05/05788532174033094.png"
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(39) "适用于集团、企业、院校官网"
          ["modelname"] => NULL
        }
        [1] => array(22) {
          ["id"] => string(3) "222"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "220"
          ["name"] => string(30) "智慧企业培训考试系统"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560910884723838.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(6) "qypxks"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(0) ""
          ["modelname"] => NULL
        }
      }
    }
    [3] => array(23) {
      ["id"] => string(3) "223"
      ["siteid"] => string(1) "1"
      ["type"] => string(1) "0"
      ["m_id"] => string(1) "1"
      ["p_id"] => string(3) "212"
      ["name"] => string(12) "智慧营销"
      ["thumb"] => string(0) ""
      ["image"] => string(0) ""
      ["desc"] => string(0) ""
      ["pdir"] => string(0) ""
      ["dir"] => string(4) "zhyx"
      ["url"] => string(0) ""
      ["setting"] => array(15) {
        ["is_html"] => int(1)
        ["content_is_html"] => int(1)
        ["urlrule"] => int(1)
        ["contenturlrule"] => int(1)
        ["meta_title"] => string(0) ""
        ["meta_keywords"] => string(0) ""
        ["meta_description"] => string(0) ""
        ["category_template"] => string(0) ""
        ["list_template"] => string(16) "list_channel.tpl"
        ["show_template"] => string(8) "show.tpl"
        ["formid"] => string(0) ""
        ["url"] => string(0) ""
        ["target"] => string(0) ""
        ["pri_grade_visit"] => array(0) {
        }
        ["pri_grade_add"] => array(0) {
        }
      }
      ["order"] => string(1) "0"
      ["sethtml"] => string(1) "0"
      ["stat"] => string(1) "2"
      ["flowid"] => string(1) "0"
      ["image_mo"] => string(0) ""
      ["page_num"] => string(1) "0"
      ["wxstat"] => string(1) "0"
      ["scope"] => string(0) ""
      ["modelname"] => string(12) "信息模型"
      ["son"] => array(2) {
        [0] => array(22) {
          ["id"] => string(3) "224"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "223"
          ["name"] => string(27) "公众号智慧营销系统"
          ["thumb"] => string(0) ""
          ["image"] => string(63) "/modules/cms/uploads/recommend/2019/06/21/06144545225505599.jpg"
          ["desc"] => string(97) "企业做宣传、活动、营销、公众号吸粉?|用艺源公众号智慧营销就够了!"
          ["pdir"] => string(0) ""
          ["dir"] => string(7) "gshzhyx"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(23) "show_page_wxmarking.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(63) "/modules/cms/uploads/recommend/2019/07/02/06153961427945302.png"
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(96) "适用于公众号吸粉,朋友圈活动推广适用于公众号吸粉,朋友圈活动推广"
          ["modelname"] => NULL
        }
        [1] => array(22) {
          ["id"] => string(3) "225"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "223"
          ["name"] => string(21) "朋友圈营销系统"
          ["thumb"] => string(0) ""
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(7) "pyqyxxt"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(30) "适用于朋友圈广告推广"
          ["modelname"] => NULL
        }
      }
    }
    [4] => array(23) {
      ["id"] => string(3) "226"
      ["siteid"] => string(1) "1"
      ["type"] => string(1) "0"
      ["m_id"] => string(1) "1"
      ["p_id"] => string(3) "212"
      ["name"] => string(12) "智慧政务"
      ["thumb"] => string(0) ""
      ["image"] => string(0) ""
      ["desc"] => string(0) ""
      ["pdir"] => string(0) ""
      ["dir"] => string(4) "zhzw"
      ["url"] => string(0) ""
      ["setting"] => array(15) {
        ["is_html"] => int(1)
        ["content_is_html"] => int(1)
        ["urlrule"] => int(1)
        ["contenturlrule"] => int(1)
        ["meta_title"] => string(0) ""
        ["meta_keywords"] => string(0) ""
        ["meta_description"] => string(0) ""
        ["category_template"] => string(0) ""
        ["list_template"] => string(16) "list_channel.tpl"
        ["show_template"] => string(0) ""
        ["formid"] => string(0) ""
        ["url"] => string(0) ""
        ["target"] => string(0) ""
        ["pri_grade_visit"] => array(0) {
        }
        ["pri_grade_add"] => array(0) {
        }
      }
      ["order"] => string(1) "0"
      ["sethtml"] => string(1) "0"
      ["stat"] => string(1) "2"
      ["flowid"] => string(1) "0"
      ["image_mo"] => string(0) ""
      ["page_num"] => string(1) "0"
      ["wxstat"] => string(1) "0"
      ["scope"] => string(0) ""
      ["modelname"] => string(12) "信息模型"
      ["son"] => array(2) {
        [0] => array(22) {
          ["id"] => string(3) "227"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "226"
          ["name"] => string(24) "智慧政务信息系统"
          ["thumb"] => string(0) ""
          ["image"] => string(63) "/modules/cms/uploads/recommend/2018/12/27/05992334036130748.jpg"
          ["desc"] => string(213) "YYGOV更懂你的政务建站系统|后台的功能划分都是根据用户习惯设计  直观、简洁,轻松愉悦的后台管理,采用极简扁平化风格  不需要特别培训就可以轻松上手。
"
          ["pdir"] => string(0) ""
          ["dir"] => string(6) "zhzwxx"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(19) "show_page_yygov.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(27) "适用于市级区级政府"
          ["modelname"] => NULL
        }
        [1] => array(22) {
          ["id"] => string(3) "228"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "226"
          ["name"] => string(30) "消防职业鉴定报名系统"
          ["thumb"] => string(0) ""
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(8) "xfzyjdbm"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(39) "适用于职业鉴定考试在线报名"
          ["modelname"] => NULL
        }
      }
    }
    [5] => array(23) {
      ["id"] => string(3) "229"
      ["siteid"] => string(1) "1"
      ["type"] => string(1) "0"
      ["m_id"] => string(1) "1"
      ["p_id"] => string(3) "212"
      ["name"] => string(9) "智慧O2O"
      ["thumb"] => string(0) ""
      ["image"] => string(0) ""
      ["desc"] => string(0) ""
      ["pdir"] => string(0) ""
      ["dir"] => string(3) "O2O"
      ["url"] => string(0) ""
      ["setting"] => array(15) {
        ["is_html"] => int(1)
        ["content_is_html"] => int(1)
        ["urlrule"] => int(1)
        ["contenturlrule"] => int(1)
        ["meta_title"] => string(0) ""
        ["meta_keywords"] => string(0) ""
        ["meta_description"] => string(0) ""
        ["category_template"] => string(0) ""
        ["list_template"] => string(16) "list_channel.tpl"
        ["show_template"] => string(0) ""
        ["formid"] => string(0) ""
        ["url"] => string(0) ""
        ["target"] => string(0) ""
        ["pri_grade_visit"] => array(0) {
        }
        ["pri_grade_add"] => array(0) {
        }
      }
      ["order"] => string(1) "0"
      ["sethtml"] => string(1) "0"
      ["stat"] => string(1) "2"
      ["flowid"] => string(1) "0"
      ["image_mo"] => string(0) ""
      ["page_num"] => string(1) "0"
      ["wxstat"] => string(1) "0"
      ["scope"] => string(0) ""
      ["modelname"] => string(12) "信息模型"
      ["son"] => array(2) {
        [0] => array(22) {
          ["id"] => string(3) "231"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "229"
          ["name"] => string(21) "智慧社区团系统"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/14/06560008809475963.png"
          ["image"] => string(63) "/modules/cms/uploads/recommend/2020/02/17/06352798620778074.jpg"
          ["desc"] => string(141) "艺源社区团购系统|快速搭建社群平台,抢占社群团购消费红利
全方位立体适配社群团购,始先数据化管理"
          ["pdir"] => string(0) ""
          ["dir"] => string(5) "zhsqt"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_tuangou.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(39) "适用于整合多个社区社群资源"
          ["modelname"] => NULL
        }
        [1] => array(22) {
          ["id"] => string(3) "239"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "2"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "229"
          ["name"] => string(12) "智慧医美"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/14/06560038844148616.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(0) ""
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(0)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(0)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(0) ""
            ["formid"] => string(0) ""
            ["url"] => string(24) "http://yimei.yyvweb.com/"
            ["target"] => string(6) "_blank"
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(30) "适用于美业商家、门店"
          ["modelname"] => NULL
        }
      }
    }
    [6] => array(23) {
      ["id"] => string(3) "232"
      ["siteid"] => string(1) "1"
      ["type"] => string(1) "0"
      ["m_id"] => string(1) "1"
      ["p_id"] => string(3) "212"
      ["name"] => string(18) "小程序快应用"
      ["thumb"] => string(0) ""
      ["image"] => string(0) ""
      ["desc"] => string(0) ""
      ["pdir"] => string(0) ""
      ["dir"] => string(6) "wechat"
      ["url"] => string(0) ""
      ["setting"] => array(15) {
        ["is_html"] => int(1)
        ["content_is_html"] => int(1)
        ["urlrule"] => int(1)
        ["contenturlrule"] => int(1)
        ["meta_title"] => string(0) ""
        ["meta_keywords"] => string(0) ""
        ["meta_description"] => string(0) ""
        ["category_template"] => string(0) ""
        ["list_template"] => string(16) "list_channel.tpl"
        ["show_template"] => string(0) ""
        ["formid"] => string(0) ""
        ["url"] => string(0) ""
        ["target"] => string(0) ""
        ["pri_grade_visit"] => array(0) {
        }
        ["pri_grade_add"] => array(0) {
        }
      }
      ["order"] => string(1) "0"
      ["sethtml"] => string(1) "0"
      ["stat"] => string(1) "2"
      ["flowid"] => string(1) "0"
      ["image_mo"] => string(0) ""
      ["page_num"] => string(1) "0"
      ["wxstat"] => string(1) "0"
      ["scope"] => string(0) ""
      ["modelname"] => string(12) "信息模型"
      ["son"] => array(6) {
        [0] => array(22) {
          ["id"] => string(3) "233"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "232"
          ["name"] => string(21) "在线投票小程序"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560913225347255.png"
          ["image"] => string(0) ""
          ["desc"] => string(60) "支持图片投票,音乐投票,视频投票,文字投票..."
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "zxtp"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(0) ""
          ["modelname"] => NULL
        }
        [1] => array(22) {
          ["id"] => string(3) "234"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "232"
          ["name"] => string(21) "活动报名小程序"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560913421415867.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "hdbm"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(0) ""
          ["modelname"] => NULL
        }
        [2] => array(22) {
          ["id"] => string(3) "235"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "232"
          ["name"] => string(21) "场馆预约小程序"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560912674910792.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "cgyy"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(0) ""
          ["modelname"] => NULL
        }
        [3] => array(22) {
          ["id"] => string(3) "236"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "232"
          ["name"] => string(21) "房产中介小程序"
          ["thumb"] => string(0) ""
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "fczj"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(0) ""
          ["modelname"] => NULL
        }
        [4] => array(22) {
          ["id"] => string(3) "237"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "232"
          ["name"] => string(21) "楼盘报备小程序"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560911477437052.png"
          ["image"] => string(63) "/modules/cms/uploads/recommend/2021/03/18/06694020625466909.jpg"
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "lpbb"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(18) "show_page_100%.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(36) "展示示楼盘及其详细的信息"
          ["modelname"] => NULL
        }
        [5] => array(22) {
          ["id"] => string(3) "238"
          ["siteid"] => string(1) "1"
          ["type"] => string(1) "1"
          ["m_id"] => string(1) "0"
          ["p_id"] => string(3) "232"
          ["name"] => string(21) "调查问卷小程序"
          ["thumb"] => string(63) "/modules/cms/uploads/recommend/2020/10/15/06560911073362241.png"
          ["image"] => string(0) ""
          ["desc"] => string(0) ""
          ["pdir"] => string(0) ""
          ["dir"] => string(4) "dcwj"
          ["url"] => string(0) ""
          ["setting"] => array(15) {
            ["is_html"] => int(1)
            ["content_is_html"] => int(0)
            ["urlrule"] => int(1)
            ["contenturlrule"] => int(0)
            ["meta_title"] => string(0) ""
            ["meta_keywords"] => string(0) ""
            ["meta_description"] => string(0) ""
            ["category_template"] => string(0) ""
            ["list_template"] => string(0) ""
            ["show_template"] => string(16) "show_waiting.tpl"
            ["formid"] => string(0) ""
            ["url"] => string(0) ""
            ["target"] => string(0) ""
            ["pri_grade_visit"] => array(0) {
            }
            ["pri_grade_add"] => array(0) {
            }
          }
          ["order"] => string(1) "0"
          ["sethtml"] => string(1) "0"
          ["stat"] => string(1) "2"
          ["flowid"] => string(1) "0"
          ["image_mo"] => string(0) ""
          ["page_num"] => string(1) "0"
          ["wxstat"] => string(1) "0"
          ["scope"] => string(0) ""
          ["modelname"] => NULL
        }
      }
    }
  }
}
				
当前位置: 首页 > 售后 > 艺源智库
【小程序】小程序•小故事(2)——代码片段
时间:2018-07-14 10:08:59
文章发布:
原创作者:坤力
来源:微信开发者

《小程序•小故事》第二期同大家分享小程序开发者工具「代码片段」的故事。

【小程序开发】小程序•小故事(2)——代码片段


背景

当开发者在交流技术问题的时候,是否遇到过互相交流代码不方便的问题比如:

  • 复现 Bug 的时候需要一个可运行的复现问题的 demo;

  • 展示组件 API 正确写法的时候也希望直接传一个 demo ;

  • 如果想发送代码还得先压缩打包,再上传到云盘或者加微信传送,非常不方便;

……


 Linux 之父 Linus Torvalds 也说过一句的话:

Talk is cheap, show me the code。

对于程序员而言,代码才是美的语言

那么,小程序能否也提供方便好用的代码分享能力呢?


为了解决这个问题,我们在开发者工具中推出了一种新能力:代码片段。


代码片段的介绍

代码片段是一种可分享的小项目,既可以用来分享小程序、小游戏开发经验,也可以用来复现问题和 Bug。他们和普通项目一样可以直接运行,主要区别在于代码片段体积小且可以被分享

代码片段分享的时候会得到一个分享链接,他人拿到这个链接就可以在小程序开发者工具中导入这个代码片段并运行起来。此外,把这个分享链接嵌入到网页中,其他开发者点击链接就可以自动打开工具导入代码片段。


如何编辑代码片段

编辑代码片段前,需要新建一个代码片段或者使用他人分享出来的代码片段。

新建代码片段的时候,需要做以下步骤:

Step1:填写代码片段的名称(必填)。建议开发者起个通俗易懂、让人快速明白的名称。

Step2:填写代码片段的存放目录(选填)。若不填写会默认存放到临时目录。

Step3:填写小程序的 AppID(选填)。填写AppID后,开发者可在手机上预览代码片段、启用远程调试,这在开发者希望展示真机效果的时候尤为重要。若不填写就会无法使用一些依赖 AppID 的工具功能和小程序的 API,如小程序内嵌业务域名等能力。

Step4:填写选择代码片段的创建模板(必填),开发者可以选择小程序、小游戏或插件模板。


代码片段和普通项目有如下区别:

1.编辑主窗口:编辑代码片段的主窗口和普通项目基本一致,但主要区别在于代码片段的主窗口没有上传代码、申请自动化测试、腾讯云集成等,需要与项目绑定的功能。

2.快速启动模版:代码片段的快速启动模板是个精简的可运行模板,与新建项目不一样


如何分享代码片段

分享代码片段的入口在工具栏右侧:


【小程序】小程序•小故事(2)——代码片段_微信小程序开发-艺源科技


分享代码片段时,需要填写以下几项信息:

1.项目描述,用简要的话语告诉其他开发者这个代码片段的主要功能。若需要更详细的描述功能或使用方法,建议在代码目录下新建一个 README.md 文件进行更详细的描述。

2.导入时是否需要 AppID,用来提示其他开发者这个代码片段是否用到了依赖 AppID 的功能。

3.低的基础库版本,用来指定代码片段运行的低的基础库版本,这样将保证导入的开发者不会用比指定版本更低的版本运行这个代码片段。


分享完成后将得到一个分享链接,开发者可以拿这个链接在工具中导入。


此外,为了让大家有更加快捷方便的分享体验,小程序开发者工具还添加了点击链接自动导入的能力。当这个链接被制作为 HTML 链接的时候,如  。开发者点击分享链接会自动打开开发者工具导入代码片段的界面,工具会自动填入分享链接并拉取分享的信息,开发者只需点击导入就可以完成一键导入。


如何导入他人的代码片段

当使用代码片段的链接时,就可以在开发者工具中导入。

在导入的页面中输入链接就可以展示代码片段的名称和描述,在导入之前开发者还可以修改名称、选择存放的目录以及填入 AppID。

【小程序】小程序•小故事(2)——代码片段_微信小程序开发-艺源科技

代码片段的使用场景

场景1:

在大家互相交流技术问题的时候,可以带上一个代码片段,让大家快速复现你的问题给你提供解答;


场景2:

在发表小程序开发经验的文章中带上代码片段的分享链接,可以更好的让其他开发者理解你想表达的意思;


场景3:

在开源小程序项目的介绍上可以用代码片段展示使用示例。


如果在微信开发者社区发帖或评论的时候,可以在编辑器上选择插入超链接,填入代码片段的分享链接,即可成为一个可点击的链接。


注意事项

1. 目前小程序、插件代码片段的代码包大小限制在 100KB,小游戏代码片段的代码包大小限制在 200KB。

2. 插件能力依赖 AppID,所以新建插件代码片段的时候需要填入 AppID。

3. 有 AppID 的时候支持使用远程调试,使用方法和普通项目一致。

4. 代码片段临时目录存放位置: 

  • Windows 下在 %LocalAppData%/微信web开发者工具/User Data/WeappMiniCode

  • macOS 下在 /Library/Application Support/微信web开发者工具/WeappMiniCode


- END -


标签: 微信小程序开发 小程序开发
*版权申明:本站部分文章由艺源科技收集整理,不代表我们的观点。如果这篇转载侵犯您的版权,请及时联系我们删除!
为您推荐
最新文章