更新记录
1.0.0(2021-11-17)
下载此版本
首次提交 有问题直接反馈
平台兼容性
uni-app
Vue2 |
Vue3 |
Chrome |
Safari |
app-vue |
app-nvue |
Android |
iOS |
鸿蒙 |
√ |
- |
- |
- |
√ |
- |
- |
- |
- |
微信小程序 |
支付宝小程序 |
抖音小程序 |
百度小程序 |
快手小程序 |
京东小程序 |
鸿蒙元服务 |
QQ小程序 |
飞书小程序 |
快应用-华为 |
快应用-联盟 |
√ |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
其他
使用方式
<hint-comp
v-model="showToast"
textContent="有码物料:到货成功"
operationOne="继续执行"
operationTwo="前往打印"
operationThere="退出"
width='500'
@btn1="btn1"
@btn2="btn2"
@goBack="goBack"
></hint-comp>
组件属性
props: {
// 弹窗显示可通过v-model控制
value: Boolean,
//标题
title: {
type: String,
default: "提示",
},
//弹框宽度
width: {
type: String,
default:'500'
},
//按钮一的文字
operationOne: {
type: String,
default: "",
},
//按钮二的文字
operationTwo: {
type: String,
default: "",
},
//按钮三的文字
operationThree: {
type: String,
default: "取消",
},
//内容
textContent: {
type: String,
default: "",
}