更新记录
1.0.0(2024-09-29)
平台兼容性
App |
快应用 |
微信小程序 |
支付宝小程序 |
百度小程序 |
字节小程序 |
QQ小程序 |
HBuilderX 4.28,Android:5.0,iOS:不支持,HarmonyNext:不确定 |
× |
× |
× |
× |
× |
× |
钉钉小程序 |
快手小程序 |
飞书小程序 |
京东小程序 |
× |
× |
× |
× |
H5-Safari |
Android Browser |
微信浏览器(Android) |
QQ浏览器(Android) |
Chrome |
IE |
Edge |
Firefox |
PC-Safari |
× |
× |
× |
× |
× |
× |
× |
× |
× |
x-dialog-x 基于 Dialog X的插件
快速开始
使用文档
X_POP_TIP参数
参数名称 |
默认值 |
是否必填 |
content |
- |
提示文字 |
是 |
withdraw |
- |
是否显示撤回/撤回文字 |
否 |
background |
- |
背景颜色 |
否 |
radius |
圆角值 |
- |
否 |
noAutoDismiss |
- |
不自动消失,持续显示 |
否 |
autoDismiss |
- |
显示自定义时长(单位:毫秒) |
否 |
contentColor |
- |
提示文字颜色 |
否 |
本插件采用的是Dialog X开源库实现,遵循该库作者Apache License 2.0协议
Copyright Kongzue DialogX
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.