
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
mini-ali-ui
Advanced tools
px 与 rpx;$ npm install mini-ali-ui --save
同时,我们提供了 rpx 版本的 mini-ali-ui,如需要使用 rpx 作为单位的组件,可以通过下述方式进行安装:
$ npm install mini-ali-ui-rpx --save
在页面 json 中文件中进行注册,如 title 组件的注册如下所示:
{
"usingComponents": {
"title": "mini-ali-ui/es/title/index"
}
}
如安装的是 rpx 版本的 mini-ali-ui,那么在进行组件注册时,修改一下名称即可,方式如下:
{
"usingComponents": {
"title": "mini-ali-ui-rpx/es/title/index"
}
}
组件注册成功之后,具体的使用方式无差别。
在 axml 文件中进行调用:
<title
hasLine="true"
iconURL="https://t.alipayobjects.com/images/T1HHFgXXVeXXXXXXXX.png"
type="close"
onActionTap="titleClose"
>内部标题可关闭</title>
详细使用说明请参照官方文档使用自定义组件
对组件内部的文案进行梳理,将内部的文案提取后,并翻译。目前支持的语种如下:
默认为中文。
在小程序中如需要使用非中文语种时,需要在 app.js 中的 globalData 加入指定 key 和 value。
| key | value |
|---|---|
| miniAliUiLang | ''、'en-US' |
miniAliUiLang 为空或者未定义,将作为以中文展示组件内部的默认文案。
App({
globalData: {
miniAliUiLang: 'en-US',
},
onLaunch() {},
});
如果你有好的意见或建议,欢迎给我们提 issue。
群号:30147295
1.4.1
FAQs
小程序版AntUI
We found that mini-ali-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.