1
0
forked from dyf/APP

完成008A功能开发

This commit is contained in:
liub
2026-05-19 17:38:56 +08:00
parent 6d9df4c945
commit 8f53a45280
63 changed files with 4162 additions and 766 deletions

View File

@ -133,8 +133,10 @@
return json;
},
//弹出预定好的四种弹窗
showMsg(msg, btnTxt, type, okCallback) {
showMsg(msg, btnTxt, type, okCallback,showCancel) {
if(!showCancel){
showCancel=false;
}
let cfg = {
error: {
icoUrl: '/static/images/common/uploadErr.png',
@ -142,7 +144,7 @@
buttonBgColor: "#E03434",
bgColor:'#383934cc',
buttonTextColor:'#FFFFFFde',
showCancel:true,
showCancel:showCancel,
buttonCancelText:'取消'
},
succ: {
@ -151,35 +153,34 @@
buttonBgColor: "#BBE600",
buttonTextColor:'#232323de',
bgColor:'#383934cc',
showCancel:true,
showCancel:showCancel,
buttonCancelText:'取消'
},
warn: {
icoUrl: '/static/images/common/warning.png',
borderColor: "#FFC84E4d",
buttonBgColor: "#FFC84E",
buttonTextColor:'#FFFFFFde',
buttonTextColor:'#1a1A1A',
bgColor:'#383934cc',
showCancel:true,
showCancel:showCancel,
buttonCancelText:'取消'
},
info:{
borderColor: "#BBE6004d",
buttonBgColor: "#BBE600",
bgColor:'#383934cc',
icoUrl: '/static/images/common/ver.png',
borderColor: "#FFFFFF4d",
buttonBgColor: "#FFFFFFde",
buttonTextColor:'#232323de',
showCancel:true,
bgColor:'#383934cc',
showCancel:showCancel,
buttonCancelText:'取消'
},
prompt:{
prompt:{
borderColor: "#aed6004d",
buttonBgColor: "#aed600",
bgColor:'#38393466',
bgColor:'#383934cc',
buttonTextColor:'#232323de',
showSlot:true,
showCancel:true,
showCancel:showCancel,
buttonCancelText:'取消'
}
}