mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-06-07 03:53:57 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -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}`
|
||||||
|
|||||||
Reference in New Issue
Block a user