Skip to content

Commit b70ec62

Browse files
committed
fix: qrcode style
1 parent 33db8e9 commit b70ec62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

front-end/h5/src/components/common/work/card-cover.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ export default {
3232
<div style={style}></div>
3333
]
3434
},
35-
getCoverBg (img) {
35+
getCoverBg (img, isQrcode = false) {
3636
const style = {
3737
...getDefaultStyle(img),
38-
filter: 'blur(10px)'
38+
filter: !isQrcode && 'blur(10px)'
3939
}
4040
return [
4141
<div style={style}></div>
@@ -47,7 +47,7 @@ export default {
4747
const coverImg = this.coverImageUrl
4848

4949
if (this.qrcodeUrl) {
50-
covers = this.getCover(this.qrcodeUrl)
50+
covers = this.getCoverBg(this.qrcodeUrl, true)
5151
} else if (coverImg) {
5252
covers = [this.getCover(coverImg), this.getCoverBg(coverImg)]
5353
}

0 commit comments

Comments
 (0)