wxa-module-exhibits

小程序展览模块:

Usage no npm install needed!

<script type="module">
  import wxaModuleExhibits from 'https://cdn.skypack.dev/wxa-module-exhibits';
</script>

README

wxa-module-exhibits

小程序展览模块:

  • 代码结构有待优化

commentData 属性

属性名称 类型 默认 必填 说明
isBindLogin boolean 绑定授权
commpantIsShow boolean 评论功能是否显示
hideTwo boolean 二级评论是否显示
commpantAll Array 所有评论
inputShowed boolean 默认不获取焦点

使用方法

  • 安装依赖:
npm i wxa-module-exhibits
  • page.json 中添加配置
{
  "usingComponents": {
    "comment": "wxa-module-exhibits"
  }
}
  • index.wxml 中添加组件
<comment placeholder="" comment-data="[]" bottom="0" commpantAll='{{commpantAll}}' usercontent='{{usercontent}}' objectid='{{objectid}}' wx:if="{{list}}"></comment>

组件说明---目前属性说明未全部描述

反馈建议

E-mail: m17625375207@163.com

@ EternalZh

MIT License