This commit is contained in:
徐哼唧L
2022-12-09 16:18:12 +08:00
parent dc4d87a990
commit 5ed3073b6e
130 changed files with 41608 additions and 2013 deletions

View File

@@ -110,7 +110,7 @@ a {
}
.el-table tr:nth-child(2n) {
background: #ecf5f9;
background: #00669908;
}
/* .el-table tr:hover {
@@ -278,8 +278,9 @@ a {
.el-submenu__title i {
color: #fff !important;
color: #fff !important;
}
/* 编辑分步骤稿件流程 */
@font-face {
font-family: 'Helvetica Neue For Number';
@@ -545,9 +546,7 @@ a {
right: -65px;
}
.art_file {
}
.art_file {}
@@ -665,7 +664,7 @@ a {
.art_file_btn .btn_remarks {
display: inline-block;
border: 1px solid #fff;
/* border: 1px solid #fff; */
margin: 0 20px 0 0;
padding: 8px 12px;
cursor: pointer;
@@ -716,7 +715,7 @@ a {
.art_state_btn div {
display: inline-block;
border: 1px solid #fff;
/* border: 1px solid #fff; */
border-radius: 5px;
margin: 0 20px 0 0;
padding: 8px 12px;
@@ -785,23 +784,27 @@ a {
}
.art_state_btn div i {
margin: 0 8px 0 0;
margin: 0 4px 0 0;
font-weight: bolder;
}
.art_caozuo_ div.btn_remarks {
position: absolute;
right: -22px;
top: -2px;
right: -20px;
top: 0;
font-size: 13px;
background-color: #006699;
color: #0b87c5;
/* background-color: #006699; */
border-radius: 0px;
border-top-right-radius: 5px;
padding-top: 10px;
padding-right: 15px;
padding-bottom: 12px;
}
.art_caozuo_ div.btn_remarks:hover {
text-decoration: underline;
background-color: #045883;
background-color: #e3eff7;
}
.art_state_remark {
@@ -896,3 +899,159 @@ a {
color: #888 !important;
vertical-align: text-bottom;
}
.auth_collna_ew {
border: 0 !important;
}
.auth_collna_ew .el-collapse-item__header {
border: 0 !important;
padding-left: 15px;
}
.auth_collna_ew .el-collapse-item__arrow {
left: 28px;
}
.auth_collna_list .el-collapse-item__header {
padding-left: 30px;
}
.art_author_list pre {
font-family: "Helvetica Neue For Number", "Elsevier Gulliver", Georgia, serif;
white-space: break-spaces;
word-wrap: break-word;
word-break: normal;
}
.text_bor_ghu {
padding: 6px 0 38px 0;
position: relative;
display: block;
border: 1px solid #DCDFE6;
border-radius: 4px;
}
.text_bor_ghu .el-textarea__inner {
border: 0;
}
.text_bor_ghu button {
position: absolute;
bottom: 1px;
right: 1px;
}
.zip_load {
margin: 0px 0px 0px 25px;
}
.zip_load:hover {
text-decoration: underline;
}
.zip_load>span {
margin: 0px 10px;
color: #333;
}
.zip_load>i {
color: #006699;
}
.zip_load>img {
vertical-align: middle;
}
/* 排版 */
.ref_buz_2 .el-input__inner {
color: #006699 !important;
line-height: 26px !important;
height: 26px !important;
}
.chanFerAll .RefProBar .el-progress-bar__inner:before {
content: "";
width: 100%;
height: 100%;
display: block;
background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.3) 0, rgba(255, 255, 255, 0.3) 12.5%, transparent 0, transparent 25%);
background-size: 80px 80px;
animation: move 2.5s linear infinite;
}
@keyframes move {
from {
background-position: 80px 0;
}
to {
background-position: 0;
}
}
.myRefload .el-loading-spinner {
top: 300px !important;
}
.typeA_act .vefi_cation .el-textarea__inner,
.typeA_act .vefi_cation .el-input__inner,
.typeB_act .chanFerAll .el-textarea__inner,
.typeB_act .chanFerAll .el-input__inner {
border: 0;
box-shadow: 1px 1px 5px 1px rgb(0 102 153 / 20%);
font-size: 14px;
font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
}
.typeA_steps .el-step__title:hover {
text-decoration: underline !important;
}
.typeA_act .typeA_MTxt .el-textarea {}
.typeA_act .typeA_MTxt .el-textarea .el-textarea__inner {
padding-right: 55px;
box-shadow: none;
border-radius: 0;
}
.bor_style_onli .typeA_MTxt .el-textarea .el-textarea__inner {
padding-right: 55px;
box-shadow: none;
border-radius: 0;
border: 0;
padding: 0 35px 0 0;
}
/* 排版 */
.lit_er .el-checkbox__input {
vertical-align: top;
}
.lit_er .el-checkbox__label {
width: 94% !important;
}
.lit_er .el-checkbox.is-checked .el-checkbox__label {
color: #000000;
}
.nullTable .is-scrolling-none {
display: none !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
src/assets/img/PDF.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
src/assets/img/browser.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
src/assets/img/mes_ne.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

BIN
src/assets/img/mes_op.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

BIN
src/assets/img/output-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
src/assets/img/step1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

BIN
src/assets/img/step2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

BIN
src/assets/img/step3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 B

BIN
src/assets/img/stepn1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
src/assets/img/stepn2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
src/assets/img/stepn3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

280
src/assets/js/jwps.es6.js Normal file
View File

@@ -0,0 +1,280 @@
var e, t, n = function () {
return (n = Object.assign || function (e) {
for (var t, n = 1, o = arguments.length; n < o; n++) for (var r in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
return e
}).apply(this, arguments)
}, o = function () {
function e() {
}
return e.add = function (t) {
e._handleList.push(t), window.addEventListener("message", t, !1)
}, e.remove = function (t) {
var n = e._handleList.indexOf(t);
n >= 0 && e._handleList.splice(n, 1), window.removeEventListener("message", t, !1)
}, e.empty = function () {
for (; e._handleList.length;) window.removeEventListener("message", e._handleList.shift(), !1)
}, e.parse = function (e) {
return "object" == typeof e ? e : JSON.parse(e)
}, e._handleList = [], e
}();
!function (e) {
e.unknown = "unknown", e.spreadsheet = "s", e.writer = "w", e.presentation = "p", e.pdf = "f"
}(e || (e = {})), function (e) {
e.wps = "w", e.et = "s", e.presentation = "p", e.pdf = "f"
}(t || (t = {}));
var r, i, a, p, c, s, u, d = (r = 0, function () {
return ++r
}), f = (i = null, function (e, t) {
if (!i) {
i = document.createElement("iframe");
var n = {
id: "wps-iframe",
src: e,
scrolling: "no",
frameborder: "0",
allowfullscreen: "allowfullscreen",
webkitallowfullscreen: "true",
mozallowfullscreen: "true",
height: 'auto',
width: '100%'
};
for (var o in n) i.setAttribute(o, n[o]);
t ? t.appendChild(i) : document.body.appendChild(i), i.destroy = function () {
i.parentNode.removeChild(i), i = null
}
}
return i
}), l = function (e) {
f().contentWindow.postMessage(JSON.stringify(e), "*")
}, m = function (e) {
return new Promise(function (t) {
var n = d();
e.type = y();
var r = function (e) {
var i = o.parse(e.data);
"wps.api.reply" === i.eventName && i.msgId === n && (t(i.data), o.remove(r))
};
o.add(r), l({eventName: "wps.jssdk.api", data: e, msgId: n})
})
}, v = function (e) {
var t = n({}, e), o = t.headers, r = void 0 === o ? {} : o, i = t.subscriptions, a = void 0 === i ? {} : i,
p = (t.wpsUrl, r.backBtn), c = void 0 === p ? {} : p, s = r.shareBtn, u = void 0 === s ? {} : s,
d = r.otherMenuBtn, f = void 0 === d ? {} : d, l = function (e, t) {
e.subscribe && "function" == typeof e.subscribe && (e.callback = t, a[t] = e.subscribe, delete e.subscribe)
};
if (l(c, "wpsconfig_back_btn"), l(u, "wpsconfig_share_btn"), l(f, "wpsconfig_other_menu_btn"), f.items && Array.isArray(f.items)) {
var m = [];
f.items.forEach(function (e, t) {
switch (void 0 === e && (e = {}), e.type) {
case"export_img":
e.type = 1, e.callback = "export_img";
break;
case"export_pdf":
e.type = 1, e.callback = "export_pdf";
break;
case"save_version":
e.type = 1, e.callback = "save_version";
break;
case"about_wps":
e.type = 1, e.callback = "about_wps";
break;
case"split_line":
e.type = 2;
break;
case"custom":
e.type = 3, l(e, "wpsconfig_other_menu_btn_" + t), m.push(e)
}
}), m.length && (x || b) && (f.items = m)
}
if ("object" == typeof a.print) {
var v = "wpsconfig_print";
"function" == typeof a.print.subscribe && (a[v] = a.print.subscribe, t.print = {callback: v}, void 0 !== a.print.custom && (t.print.custom = a.print.custom)), delete a.print
}
"function" == typeof a.exportPdf && (a[v = "wpsconfig_export_pdf"] = a.exportPdf, t.exportPdf = {callback: v}, delete a.exportPdf);
return n({}, t, {subscriptions: a})
}, y = (a = "", function (n) {
if (void 0 === n && (n = ""), !a && n) {
var o = n.toLowerCase();
-1 !== o.indexOf("/office/s/") && (a = e.spreadsheet), -1 !== o.indexOf("/office/w/") && (a = e.writer), -1 !== o.indexOf("/office/p/") && (a = e.presentation), -1 !== o.indexOf("/office/f/") && (a = e.pdf)
}
if (!a) {
var r = n.match(/[\\?&]type=([a-z]+)/) || [];
a = t[r[1]] || ""
}
return a
}), w = window.navigator.userAgent.toLowerCase(), x = /Android|webOS|iPhone|iPod|BlackBerry|iPad/i.test(w),
b = function () {
try {
return -1 !== window._parent.location.search.indexOf("from=wxminiprogram")
} catch (e) {
return !1
}
}();
!function (e) {
e[e.wdExportFormatPDF = 17] = "wdExportFormatPDF", e[e.wdExportFormatXPS = 18] = "wdExportFormatXPS"
}(p || (p = {})), function (e) {
e[e.wdExportAllDocument = 0] = "wdExportAllDocument", e[e.wdExportSelection = 1] = "wdExportSelection", e[e.wdExportCurrentPage = 2] = "wdExportCurrentPage", e[e.wdExportFromTo = 3] = "wdExportFromTo"
}(c || (c = {})), function (e) {
e[e.wdExportDocumentContent = 0] = "wdExportDocumentContent", e[e.wdExportDocumentWithMarkup = 7] = "wdExportDocumentWithMarkup"
}(s || (s = {})), function (e) {
e[e.title = 1] = "title", e[e.tag = 2] = "tag"
}(u || (u = {}));
var F;
!function (e) {
e[e.xlTypePDF = 0] = "xlTypePDF", e[e.xlTypeXPS = 1] = "xlTypeXPS"
}(F || (F = {}));
var A, g, E;
!function (e) {
e[e.ppFixedFormatTypePDF = 2] = "ppFixedFormatTypePDF", e[e.ppFixedFormatTypeXPS = 1] = "ppFixedFormatTypeXPS"
}(A || (A = {})), function (e) {
e[e.ppPrintAll = 1] = "ppPrintAll", e[e.ppPrintCurrent = 3] = "ppPrintCurrent"
}(g || (g = {})), function (e) {
e[e.msoFalse = 0] = "msoFalse", e[e.msoTrue = -1] = "msoTrue"
}(E || (E = {}));
var h;
function P(e) {
return e = e || Object.create(null), {
on: function (t, n) {
(e[t] || (e[t] = [])).push(n)
}, off: function (t, n) {
e[t] && e[t].splice(e[t].indexOf(n) >>> 0, 1)
}, emit: function (t, n) {
(e[t] || []).slice().map(function (e) {
e(n)
}), (e["*"] || []).slice().map(function (e) {
e(t, n)
})
}
}
}
var k = "fileOpen", D = function (e) {
return "wps.advanced.api.ready" === e || "web_loaded" === e
}, _ = function (e, t) {
void 0 === e && (e = {});
o.add(function (n) {
var r = o.parse(n.data), i = r.eventName, a = void 0 === i ? "" : i, p = r.data, c = void 0 === p ? null : p,
s = r.url, u = void 0 === s ? null : s;
-1 === ["wps.jssdk.api"].indexOf(a) && ("ready" === a ? (l({
eventName: "setConfig",
data: e
}), h.tokenData && l({
eventName: "setToken",
data: h.tokenData
}), h.iframeReady = !0) : "open.result" === a && h.emit(k, c), D(a) && T(), "function" == typeof t[a] && t[a](h, u || c))
})
}, T = function () {
var t = y(h.url);
t === e.writer && function (e) {
e.WpsApplication = function () {
return {
ActiveDocument: {
ExportAsFixedFormatAsync: function (e) {
var t = {
api: "WpsApplication().ActiveDocument.ExportAsFixedFormatAsync",
args: n({
ExportFormat: p.wdExportFormatPDF,
Range: c.wdExportAllDocument,
From: 1,
To: 1,
Item: s.wdExportDocumentWithMarkup,
IncludeDocProps: !0
}, "object" == typeof e ? e : {})
};
return m(t)
}, ImportDataIntoFieldsAsync: function (e) {
var t = {
api: "WpsApplication().ActiveDocument.ImportDataIntoFieldsAsync",
args: {Data: e.Data, Options: e.Options}
};
return m(t)
}, ReplaceTextAsync: function (e) {
var t = {api: "WpsApplication().ActiveDocument.ReplaceTextAsync", args: {Data: e.Data}};
return m(t)
}
}, Enum: n({}, p, c, s)
}
}
}(h), t === e.spreadsheet && function (e) {
e.EtApplication = function () {
return {
ActiveWorkbook: {
ExportAsFixedFormatAsync: function (e) {
var t = {
api: "EtApplication().ActiveWorkbook.ExportAsFixedFormatAsync",
args: n({Type: F.xlTypePDF, IncludeDocProps: !0}, "object" == typeof e ? e : {})
};
return m(t)
}, ActiveSheet: {
ExportAsFixedFormatAsync: function (e) {
var t = {
api: "EtApplication().ActiveWorkbook.ActiveSheet.ExportAsFixedFormatAsync",
args: n({Type: F.xlTypePDF, IncludeDocProps: !0}, "object" == typeof e ? e : {})
};
return m(t)
}
}
}, Enum: n({}, F)
}
}
}(h), t === e.presentation && function (e) {
e.WppApplication = function () {
return {
ActivePresentation: {
ExportAsFixedFormatAsync: function (e) {
var t = {
api: "WppApplication().ActivePresentation.ExportAsFixedFormatAsync",
args: n({
FixedFormatType: A.ppFixedFormatTypePDF,
RangeType: g.ppPrintAll,
FrameSlides: E.msoTrue
}, "object" == typeof e ? e : {})
};
return m(t)
}
}, Enum: n({}, A, g)
}
}
}(h)
};
// console.log("WPS WebOffice JS-SDK V1.0.11");
var O = function (e) {
void 0 === e && (e = {}), h && h.destroy();
try {
var t, r = v(e), i = r.wpsUrl, a = r.subscriptions, p = void 0 === a ? {} : a, c = r.mount,
s = f(i, void 0 === c ? null : c);
return delete r.mount, delete r.wpsUrl, delete r.subscriptions, h = {
url: i,
version: "1.0.11",
iframe: s,
Enum: n({}, E),
iframeReady: !1,
tokenData: null,
setToken: function (e) {
h.tokenData = e, h.iframeReady && l({eventName: "setToken", data: e})
},
ready: function () {
return t || (t = new Promise(function (e) {
var t = function (n) {
var r = o.parse(n.data).eventName;
D(r) && (e(), o.remove(t))
};
o.add(t)
}))
},
destroy: function () {
s.destroy(), o.empty(), h = null
},
save: function () {
return m({api: "save"})
}
}, Object.assign(h, new P.prototype.constructor), _(r, p), h.ready(), h
} catch (e) {
// console.error(e)
}
};
export default {config: O};
export {O as config};
//# sourceMappingURL=jwps.es6.js.map