From 25fbc16aa14667064ac5de854183b09e01105f2c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 30 三月 2022 15:44:05 +0800 Subject: [PATCH] 2022-03-30 --- src/tabviews/custom/components/card/prop-card/index.jsx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/card/prop-card/index.jsx b/src/tabviews/custom/components/card/prop-card/index.jsx index 0659fb4..5a8912e 100644 --- a/src/tabviews/custom/components/card/prop-card/index.jsx +++ b/src/tabviews/custom/components/card/prop-card/index.jsx @@ -113,6 +113,7 @@ _config.wrap.selStyle = _config.wrap.selStyle || 'active' _config.wrap.priKeyType = _config.wrap.priKeyType || 'static' _config.wrap.scale = _config.wrap.scale === 'true' ? 'scale' : '' + _config.wrap.layout = (_config.wrap.layout || 'grid') + '-layout' _config.wrap.wrapClass = `${_config.wrap.selStyle} ${_config.wrap.cardType || ''} ${_config.wrap.scale || ''}` @@ -418,7 +419,7 @@ </div> : null } <NormalHeader config={config}/> - <Row className={`card-row-list data-zoom ${config.wrap.wrapClass}`}> + <Row className={`card-row-list data-zoom ${config.wrap.wrapClass} ${config.wrap.layout}`}> {config.subcards.map((item, index) => { let className = item.setting.click ? 'mk-card pointer ' : 'mk-card ' if (activeKey === index) { -- Gitblit v1.8.0