1
0
forked from dyf/APP

018A初步完成

This commit is contained in:
liub
2026-04-14 15:19:05 +08:00
parent d82ae6445e
commit 01ff9c7a05
43 changed files with 2626 additions and 892 deletions

View File

@ -135,30 +135,42 @@
},
methods: {
getTypeStyle(styleType) {
debugger;
const styles = {
success: {
bgColor: '#f0fff0',
borderColor: '#52c41a',
bgColor: '#383934cc',
borderColor: '#52c41a4d',
textColor: '#389e0d',
buttonBgColor: '#52c41a',
buttonTextColor: '#FFFFFF'
},
error: {
bgColor: '#fff0f0',
borderColor: '#ff4d4f',
bgColor: '#383934cc',
borderColor: '#ff4d4f4d',
textColor: '#cf1322',
buttonBgColor: '#ff4d4f',
buttonTextColor: '#FFFFFF'
},
info: {
bgColor: '#e6f7ff',
bgColor: '#383934cc',
borderColor: '#1890ff',
textColor: '#0050b3',
buttonBgColor: '#1890ff',
buttonTextColor: '#FFFFFF'
},
customer:{
bgColor: '#383934cc',
borderColor: '#52c41a4d',
textColor: '#389e0d',
buttonBgColor: '#52c41a',
buttonTextColor: '#232323de'
}
}
return styles[this.type][styleType]
let f= styles[this.type];
if(f){
return f[styleType];
}
},
handleButtonClick() {