@fonixtree/magic-design 0.0.144 → 0.0.146
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.
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +2 -2
- package/es/core/Designer/RenderHtml/index.js +1 -1
- package/es/meta-comp/components/Text/index.js +1 -1
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +2 -2
- package/lib/core/Designer/RenderHtml/index.js +1 -1
- package/lib/meta-comp/components/Text/index.js +1 -1
- package/package.json +1 -1
|
@@ -283,7 +283,7 @@ function (_super) {
|
|
|
283
283
|
};
|
|
284
284
|
|
|
285
285
|
_this.initTab = function (index, hideTabs) {
|
|
286
|
-
var selectedTabDom = document.querySelector(".tab-select-wrap .tabTitle:nth-child(" + (index + 1) + ")");
|
|
286
|
+
var selectedTabDom = document.querySelector(".recommend_" + _this.props.panelProps.id + " .tab-select-wrap .tabTitle:nth-child(" + (index + 1) + ")");
|
|
287
287
|
var tabLeft = 0;
|
|
288
288
|
var tabWidth = 0;
|
|
289
289
|
|
|
@@ -589,7 +589,7 @@ function (_super) {
|
|
|
589
589
|
if (layout === 'layout1' && contentWidth) imgHeight = (contentWidth - 12) / 2;
|
|
590
590
|
if (layout === 'layout3' && contentWidth) imgHeight = (contentWidth - 12 * 2) / 3;
|
|
591
591
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
592
|
-
className: "m-recommend-mobile"
|
|
592
|
+
className: "m-recommend-mobile recommend_" + panelProps.id
|
|
593
593
|
}, !hideTabs && /*#__PURE__*/_react["default"].createElement("div", {
|
|
594
594
|
className: "tab-select-wrap"
|
|
595
595
|
}, groupSource.map(function (tab, index) {
|
|
@@ -498,9 +498,9 @@ function (_super) {
|
|
|
498
498
|
// textDecorationStyle: data?.underline.textDecorationStyle,
|
|
499
499
|
// };
|
|
500
500
|
// mode == 'designer' && !readonly
|
|
501
|
+
// console.log('!readonly: ', mode, readonly);
|
|
501
502
|
|
|
502
503
|
|
|
503
|
-
console.log('!readonly: ', mode, readonly);
|
|
504
504
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
505
505
|
ref: this.textRef,
|
|
506
506
|
className: (0, _classnames["default"])('m-meta-text', className),
|
|
@@ -283,7 +283,7 @@ function (_super) {
|
|
|
283
283
|
};
|
|
284
284
|
|
|
285
285
|
_this.initTab = function (index, hideTabs) {
|
|
286
|
-
var selectedTabDom = document.querySelector(".tab-select-wrap .tabTitle:nth-child(" + (index + 1) + ")");
|
|
286
|
+
var selectedTabDom = document.querySelector(".recommend_" + _this.props.panelProps.id + " .tab-select-wrap .tabTitle:nth-child(" + (index + 1) + ")");
|
|
287
287
|
var tabLeft = 0;
|
|
288
288
|
var tabWidth = 0;
|
|
289
289
|
|
|
@@ -589,7 +589,7 @@ function (_super) {
|
|
|
589
589
|
if (layout === 'layout1' && contentWidth) imgHeight = (contentWidth - 12) / 2;
|
|
590
590
|
if (layout === 'layout3' && contentWidth) imgHeight = (contentWidth - 12 * 2) / 3;
|
|
591
591
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
592
|
-
className: "m-recommend-mobile"
|
|
592
|
+
className: "m-recommend-mobile recommend_" + panelProps.id
|
|
593
593
|
}, !hideTabs && /*#__PURE__*/_react["default"].createElement("div", {
|
|
594
594
|
className: "tab-select-wrap"
|
|
595
595
|
}, groupSource.map(function (tab, index) {
|
|
@@ -498,9 +498,9 @@ function (_super) {
|
|
|
498
498
|
// textDecorationStyle: data?.underline.textDecorationStyle,
|
|
499
499
|
// };
|
|
500
500
|
// mode == 'designer' && !readonly
|
|
501
|
+
// console.log('!readonly: ', mode, readonly);
|
|
501
502
|
|
|
502
503
|
|
|
503
|
-
console.log('!readonly: ', mode, readonly);
|
|
504
504
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
505
505
|
ref: this.textRef,
|
|
506
506
|
className: (0, _classnames["default"])('m-meta-text', className),
|