chore: fui-tag 空心加背景色
This commit is contained in:
@ -115,7 +115,6 @@
|
||||
data() {
|
||||
const app = uni && uni.$fui && uni.$fui.color;
|
||||
return {
|
||||
// #ifdef APP-NVUE
|
||||
dark: {
|
||||
primary: (app && app.primary) || '#465CFF',
|
||||
success: (app && app.success) || '#09BE4F',
|
||||
@ -123,12 +122,14 @@
|
||||
danger: (app && app.danger) || '#FF2B2B',
|
||||
purple: (app && app.purple) || '#6831FF',
|
||||
}
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
getBackground() {
|
||||
let background = this.background
|
||||
if (!background && this.theme === 'plain') {
|
||||
background = `rgba(${hexToRGB(this.dark[this.type])},.05)!important`
|
||||
}
|
||||
// #ifdef APP-NVUE
|
||||
if (!background) {
|
||||
switch (this.theme) {
|
||||
|
Reference in New Issue
Block a user