diff --git a/components/firstui/fui-tag/fui-tag.vue b/components/firstui/fui-tag/fui-tag.vue index 73cd064..5e70dac 100644 --- a/components/firstui/fui-tag/fui-tag.vue +++ b/components/firstui/fui-tag/fui-tag.vue @@ -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) {