hzerojs-plugin-yqcloud-jssdk 1.0.20 → 1.0.22
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/lib/index.js +10 -6
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -128,23 +128,27 @@ var src_default = (props) => {
|
|
|
128
128
|
urlParam = `&fieldData=${fieldData}${authParam}`;
|
|
129
129
|
}
|
|
130
130
|
const modal = import_modal.default.open({
|
|
131
|
-
// title: '测试',
|
|
132
131
|
maskClosable: true,
|
|
133
132
|
bodyStyle: {
|
|
134
|
-
width:
|
|
135
|
-
padding: 0,
|
|
133
|
+
width: "100%",
|
|
136
134
|
height: "100%",
|
|
137
|
-
|
|
135
|
+
position: "relative",
|
|
136
|
+
maxHeight: "100vh",
|
|
137
|
+
padding: "0",
|
|
138
|
+
margin: "0"
|
|
138
139
|
},
|
|
139
140
|
style: {
|
|
140
141
|
// top: 50,
|
|
141
142
|
},
|
|
142
143
|
contentStyle: {
|
|
144
|
+
position: "relative",
|
|
143
145
|
width: (openFunction == null ? void 0 : openFunction.viewSize) || 800,
|
|
144
|
-
height: "calc(100vh - 100px)"
|
|
146
|
+
height: "calc(100vh - 100px)",
|
|
147
|
+
padding: "0",
|
|
148
|
+
margin: "0"
|
|
145
149
|
},
|
|
146
150
|
header: null,
|
|
147
|
-
children: /* @__PURE__ */ import_react.default.createElement("iframe", { id: "yq-sdk-frame", style: { width: "100%", height: "100%" }, src: `${openFunction.link}${urlParam}`, frameBorder: "0" }),
|
|
151
|
+
children: /* @__PURE__ */ import_react.default.createElement("div", { style: { position: "absolute", width: "100%", height: "calc(100% - 40px)", bottom: "0" } }, /* @__PURE__ */ import_react.default.createElement("div", { style: { position: "absolute", top: "-30px", right: "10px" } }, /* @__PURE__ */ import_react.default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react.default.createElement("path", { d: "M8 8L40 40", stroke: "#333", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M8 40L40 8", stroke: "#333", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ import_react.default.createElement("iframe", { id: "yq-sdk-frame", style: { width: "100%", height: "100%" }, src: `${openFunction.link}${urlParam}`, frameBorder: "0" })),
|
|
148
152
|
footer: null
|
|
149
153
|
});
|
|
150
154
|
function closeModal(e) {
|