@antv/dumi-theme-antv 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48,7 +48,6 @@ export var Detail = function Detail(_ref) {
|
|
|
48
48
|
remoteNews = _useState2[0],
|
|
49
49
|
setRemoteNews = _useState2[1];
|
|
50
50
|
var lang = useLocale().id;
|
|
51
|
-
console.log(buttons, 'buttons');
|
|
52
51
|
useEffect(function () {
|
|
53
52
|
fetch(AssetsNewsURL).then(function (res) {
|
|
54
53
|
return res.json();
|
|
@@ -90,7 +89,7 @@ export var Detail = function Detail(_ref) {
|
|
|
90
89
|
borderRadius: shape === 'round' ? '1000px' : '12px'
|
|
91
90
|
}, style),
|
|
92
91
|
href: link[lang] ? link[lang] : link
|
|
93
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
92
|
+
}, icon !== null && /*#__PURE__*/React.createElement("div", {
|
|
94
93
|
className: styles.icon,
|
|
95
94
|
style: icon ? {
|
|
96
95
|
backgroundImage: "url(".concat(icon, ")")
|
|
@@ -184,7 +184,7 @@ export var Footer = function Footer(props) {
|
|
|
184
184
|
className: classnames(styles.footer, className, (_classnames = {}, _defineProperty(_classnames, styles.light, theme === 'light'), _defineProperty(_classnames, styles.withMenu, isDynamicFooter), _classnames)),
|
|
185
185
|
bottom: bottom || /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
186
186
|
className: cx(styles.bottom, _defineProperty({}, styles.light, theme === 'light'))
|
|
187
|
-
}, theme === 'light' ?
|
|
187
|
+
}, theme === 'light' ? "\xA9 Copyright ".concat(new Date().getFullYear(), " Ant Group Co., Ltd..\u5907\u6848\u53F7\uFF1A\u4EACICP\u590715032932\u53F7-38") : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("a", {
|
|
188
188
|
href: "https://weibo.com/antv2017",
|
|
189
189
|
target: "_blank",
|
|
190
190
|
rel: "noopener noreferrer"
|