1.H5接入钉钉小程序参考资料:
https://developers.dingtalk.com/document/app/scheme-of-mini-programs
tips: 企业内部应用可以用
dingtalk://dingtalkclient/action/open_mini_app?miniAppId=
直接点击访问,appId是你要访问的小程序上传版本详情里的信息,可以在后台管理端查看
2.钉钉小程序可以使用的UI组件库
taro
https://taro-docs.jd.com/taro/docs/README/index.html
(推荐,但没有在项目中使用,文档中注明了支持钉钉小程序)
阿里旗下的小程序
https://opendocs.alipay.com/mini/component
(项目中使用了,手机上显示正常)
uni-app
https://uniapp.dcloud.net.cn/component/README
(推荐,示例二维码未展示钉钉二维码,但在展示效果中显示了钉钉小程序的效果)
如果做过微信小程序,使用方式可比照微信小程序用法。
3.钉钉小程序点击list-item,获取item值
.axml
data-item = "item"
onClic="onItemClick"
console.log(ev.target.dataset.item);