From 4453a9e63e8e176c70c432b03fd4ba3ebf00a04c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 09 二月 2023 14:55:20 +0800 Subject: [PATCH] 2023-02-09 --- src/tabviews/custom/components/card/cardcellList/index.jsx | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx index 8f74c29..a8a0620 100644 --- a/src/tabviews/custom/components/card/cardcellList/index.jsx +++ b/src/tabviews/custom/components/card/cardcellList/index.jsx @@ -558,10 +558,6 @@ if (url === '' && card.noValue === 'hide') { // 绌哄�奸殣钘� return null } - - if (_style.borderRadius) { - _imagestyle.borderRadius = _style.borderRadius - } if (PicRadio[card.lenWidRadio]) { _imagestyle.paddingTop = PicRadio[card.lenWidRadio] @@ -569,7 +565,10 @@ _imagestyle.paddingTop = '100%' } - _imagestyle.backgroundSize = card.backgroundSize || 'cover' + _imagestyle.borderRadius = _style.borderRadius || 0 + _imagestyle.backgroundSize = _style.backgroundSize || 'cover' + _imagestyle.backgroundPosition = _style.backgroundPosition || 'center' + _imagestyle.backgroundRepeat = _style.backgroundRepeat || 'no-repeat' if (card.link) { _style.cursor = 'pointer' -- Gitblit v1.8.0