@alipay/ams-checkout 0.0.1730706734-dev.2 → 0.0.1730706734-dev.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.
@@ -1782,14 +1782,18 @@ var ComponentApp = /*#__PURE__*/function () {
|
|
1782
1782
|
key: "hideComponentAnimation",
|
1783
1783
|
value: function hideComponentAnimation() {
|
1784
1784
|
var _container$style;
|
1785
|
-
|
1786
|
-
|
1785
|
+
// 修改需当前文件搜索,这段注释appendAliasContainerId
|
1786
|
+
var _selector = this._renderParams.selector.indexOf('#') === -1 ? this._renderParams.selector : this._renderParams.selector.slice(1);
|
1787
|
+
var appendAliasContainerId = this._renderParams.appendAliasContainerId ? "-".concat(_selector) : '';
|
1788
|
+
var inlineId = "".concat(COMPONENT_CONTAINER_ID).concat(appendAliasContainerId);
|
1789
|
+
var container = document.getElementById(inlineId);
|
1790
|
+
if (this.app && container) this.app.style.height = container === null || container === void 0 || (_container$style = container.style) === null || _container$style === void 0 ? void 0 : _container$style.height;
|
1787
1791
|
if (container) {
|
1788
1792
|
// size变化动画取消
|
1789
1793
|
container.style.transition = '';
|
1790
|
-
container === null || container === void 0 || container.classList.remove("".concat(
|
1791
|
-
container === null || container === void 0 || container.classList.remove("".concat(
|
1792
|
-
container === null || container === void 0 || container.classList.add("".concat(
|
1794
|
+
container === null || container === void 0 || container.classList.remove("".concat(inlineId, "-").concat(this.platform));
|
1795
|
+
container === null || container === void 0 || container.classList.remove("".concat(inlineId, "-").concat(this.platform, "-animation"));
|
1796
|
+
container === null || container === void 0 || container.classList.add("".concat(inlineId, "-hidden-").concat(this.platform));
|
1793
1797
|
}
|
1794
1798
|
}
|
1795
1799
|
}, {
|