*引入组件

"usingComponents": {
    "mz-category-component":"plugin://mz-plugin/mz-category-component",
    "mz-fcode-component":"plugin://mz-plugin/mz-fcode-component",
    "mz-whitelist-component":"plugin://mz-plugin/mz-whitelist-component"
  }

*示例代码

<!-- wxml代码 -->
<!-- 分类弹窗 -->
<mz-category-component
 mzViewHeignt='996rpx'
 mzViewShow="{{showCategory}}"
 mzMaskClickHide="{{true}}"
 bindclose="bindCategoryClose"
></mz-category-component>

<!-- 白名单弹窗 -->
<mz-fcode-component
 mzViewHeignt='996rpx'
 mzViewShow="{{showFCode}}"
 mzMaskClickHide="{{true}}"
 bindclose="bindFCodeClose"
></mz-fcode-component>

<!-- F码弹窗 -->
<mz-whitelist-component
 mzViewHeignt='996rpx'
 mzViewShow="{{showWhiteList}}"
 mzMaskClickHide="{{true}}"
 bindclose="bindWhitelistClose"
></mz-whitelist-component>

*组件属性列表

属性 类型 默认值 必填 说明
mzViewHeignt String 996rpx 列表高度
maskBackground String "#00000000" 蒙层背景颜色
mzViewShow Boolean 窗口是否显示
mzMaskClickHide Boolean 点击蒙层是否隐藏
bindclose eventhandler 关闭事件,detail为 {{isSure: true, data: {…}}},data为data: {name: "艺术", id: "103"},isSure是否是点击确定关闭,只有为true,data才有数据