Merge remote-tracking branch 'origin/master'

This commit is contained in:
Aisen
2024-06-21 18:24:09 +08:00
2 changed files with 10 additions and 2 deletions
@@ -139,7 +139,7 @@
} }
}, },
elZIndex() { elZIndex() {
return this.zIndex ? this.zIndex : this.$t.zIndex.popup return this.zIndex ? this.zIndex : this.$tn.zIndex.popup
} }
}, },
methods: { methods: {
+9 -1
View File
@@ -1,7 +1,7 @@
<template> <template>
<view <view
class="tn-avatar-class tn-avatar" class="tn-avatar-class tn-avatar"
:class="[backgroundColorClass,avatarClass]" :class="[backgroundColorClass,fontColorClass,avatarClass]"
:style="[avatarStyle]" :style="[avatarStyle]"
@tap="click" @tap="click"
> >
@@ -176,6 +176,14 @@
} else if (this.shadow && this.showImg) { } else if (this.shadow && this.showImg) {
style.backgroundImage = `url(${this.src})` style.backgroundImage = `url(${this.src})`
} }
if(this.fontColorStyle) {
style.color = this.fontColorStyle
}
if(this.fontSizeStyle) {
style.fontSize = this.fontSizeStyle
}
if (this.border) { if (this.border) {
style.border = `${this.borderSize}rpx solid ${this.borderColor}` style.border = `${this.borderSize}rpx solid ${this.borderColor}`