@sw7d/paper-renderer 0.7.1 → 0.7.2
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/dist/paper-renderer.js
CHANGED
|
@@ -5164,7 +5164,7 @@ text.swed-question-score {
|
|
|
5164
5164
|
/* ---------- foreignObject 头部样式 ---------- */
|
|
5165
5165
|
.swed-title_wrapper {
|
|
5166
5166
|
font-size: 14pt;
|
|
5167
|
-
font-family: 'Times New Roman',
|
|
5167
|
+
font-family: 'Times New Roman', 黑体, SimHei, 'Heiti SC', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
|
|
5168
5168
|
border: none;
|
|
5169
5169
|
max-width: 100%;
|
|
5170
5170
|
height: 38px;
|
|
@@ -5200,7 +5200,7 @@ text.swed-question-score {
|
|
|
5200
5200
|
}
|
|
5201
5201
|
|
|
5202
5202
|
.swed-header-block {
|
|
5203
|
-
font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
|
|
5203
|
+
font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
|
|
5204
5204
|
}
|
|
5205
5205
|
.swed-header-school-info {
|
|
5206
5206
|
display: flex;
|
|
@@ -5363,7 +5363,7 @@ text.swed-question-score {
|
|
|
5363
5363
|
/* ---------- foreignObject 尾部样式 ---------- */
|
|
5364
5364
|
.swed-tail-time-wrapper {
|
|
5365
5365
|
width: 100%;
|
|
5366
|
-
font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
|
|
5366
|
+
font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
|
|
5367
5367
|
font-size: 12px;
|
|
5368
5368
|
color: #595959;
|
|
5369
5369
|
}
|
|
@@ -5563,7 +5563,7 @@ function $i(e) {
|
|
|
5563
5563
|
function ea(e) {
|
|
5564
5564
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
5565
5565
|
}
|
|
5566
|
-
var ta = (/* @__PURE__ */ "*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }(html, body { width: 100%; background: #fff; font-family: \"SimSun\", \"Times New Roman\", serif; color: #000; line-height: 1.6; }(.answer-container { max-width: 800px; margin: 0 auto; background: #fff; }(.answer-header { text-align: center; padding: 24px 40px 16px; border-bottom: 1px solid #000; }(.answer-header h1 { font-size: 22px; font-weight: 700; color: #000; margin-bottom: 4px; }(.answer-subtitle { font-size: 14px; color: #333; font-weight: 500; letter-spacing: 2px; }(.answer-body { padding: 16px 40px; }(.section-title { font-size: 16px; font-weight: 700; color: #000; padding: 10px 0 6px; margin-bottom: 6px; }(.answer-item { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }(.answer-item:last-child { border-bottom: none; }(.q-label { flex-shrink: 0; font-size: 14px; font-weight: 600; color: #000; min-width: 40px; }(.answer-content { font-size: 15px; color: #000; line-height: 1.6; }(.answer-content--html { font-family: \"Times New Roman\", SimSun, serif; }(.answer-content--html img { vertical-align: middle; }(.answer-content--html img.Wirisformula { height: 0.8em; width: auto; vertical-align: middle; opacity: 0.85; }(.answer-content--html p { margin: 4px 0; }(.answer-content--html .sw-quest-block { display: inline; }(.sub-answers { display: flex; flex-direction: column; gap: 4px; }(.sub-answer-item { display: flex; align-items: baseline; gap: 6px; }(.sub-label { font-size: 13px; font-weight: 600; color: #333; flex-shrink: 0; }(.sub-answer-text { font-size: 14px; color: #000; }(.underline-answers { display: flex; flex-wrap: wrap; gap: 6px 12px; }(.underline-item { display: flex; align-items: baseline; gap: 4px; }(.blank-index { font-size: 12px; color: #666; }(.blank-answer { font-size: 14px; color: #000; font-weight: 500; padding: 1px 6px; border: 1px solid #ccc; border-radius: 2px; }(.no-answer { text-align: center; padding: 40px 0; font-size: 14px; color: #999; }(@media print { html, body { background: #fff; } .answer-container { max-width: 100%; margin: 0; } .answer-header { padding: 16px 40px 12px; } .answer-body { padding: 12px 40px; } }".split("(")).join("\n");
|
|
5566
|
+
var ta = (/* @__PURE__ */ "*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }(html, body { width: 100%; background: #fff; font-family: \"SimSun\", \"Times New Roman\", \"Songti SC\", \"Source Han Serif SC\", \"Noto Serif CJK SC\", serif; color: #000; line-height: 1.6; }(.answer-container { max-width: 800px; margin: 0 auto; background: #fff; }(.answer-header { text-align: center; padding: 24px 40px 16px; border-bottom: 1px solid #000; }(.answer-header h1 { font-size: 22px; font-weight: 700; color: #000; margin-bottom: 4px; }(.answer-subtitle { font-size: 14px; color: #333; font-weight: 500; letter-spacing: 2px; }(.answer-body { padding: 16px 40px; }(.section-title { font-size: 16px; font-weight: 700; color: #000; padding: 10px 0 6px; margin-bottom: 6px; }(.answer-item { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }(.answer-item:last-child { border-bottom: none; }(.q-label { flex-shrink: 0; font-size: 14px; font-weight: 600; color: #000; min-width: 40px; }(.answer-content { font-size: 15px; color: #000; line-height: 1.6; }(.answer-content--html { font-family: \"Times New Roman\", SimSun, \"Songti SC\", \"Source Han Serif SC\", \"Noto Serif CJK SC\", serif; }(.answer-content--html img { vertical-align: middle; }(.answer-content--html img.Wirisformula { height: 0.8em; width: auto; vertical-align: middle; opacity: 0.85; }(.answer-content--html p { margin: 4px 0; }(.answer-content--html .sw-quest-block { display: inline; }(.sub-answers { display: flex; flex-direction: column; gap: 4px; }(.sub-answer-item { display: flex; align-items: baseline; gap: 6px; }(.sub-label { font-size: 13px; font-weight: 600; color: #333; flex-shrink: 0; }(.sub-answer-text { font-size: 14px; color: #000; }(.underline-answers { display: flex; flex-wrap: wrap; gap: 6px 12px; }(.underline-item { display: flex; align-items: baseline; gap: 4px; }(.blank-index { font-size: 12px; color: #666; }(.blank-answer { font-size: 14px; color: #000; font-weight: 500; padding: 1px 6px; border: 1px solid #ccc; border-radius: 2px; }(.no-answer { text-align: center; padding: 40px 0; font-size: 14px; color: #999; }(@media print { html, body { background: #fff; } .answer-container { max-width: 100%; margin: 0; } .answer-header { padding: 16px 40px 12px; } .answer-body { padding: 12px 40px; } }".split("(")).join("\n");
|
|
5567
5567
|
//#endregion
|
|
5568
5568
|
//#region src/utils/pageRegionCalculator.ts
|
|
5569
5569
|
function na(e, t, n, r) {
|
|
@@ -15560,7 +15560,7 @@ var Us = { class: "pe-root" }, X = { class: "pe-main" }, Ws = { class: "pe-edito
|
|
|
15560
15560
|
}, E(ie.value ? "非作答位" : "恢复作答"), 41, Qs)], 4)) : r("", !0)
|
|
15561
15561
|
], 512)])])]));
|
|
15562
15562
|
}
|
|
15563
|
-
}), [["__scopeId", "data-v-
|
|
15563
|
+
}), [["__scopeId", "data-v-e33fc5c3"]]), ec = { class: "pe-preview__pages" }, tc = ["innerHTML"], nc = {
|
|
15564
15564
|
key: 0,
|
|
15565
15565
|
class: "pe-preview__helpers"
|
|
15566
15566
|
}, rc = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AIConfig, AnswerSpot } from '../ai';
|
|
2
2
|
import type { PageSettings, ContentBlock, QuestionType, PaperSize, ColumnMode, FloatingAnswer } from '../types/paper';
|
|
3
|
-
import '../styles/fonts.css';
|
|
4
3
|
import '../styles/renderer.css';
|
|
5
4
|
type __VLS_Props = {
|
|
6
5
|
initialData?: string;
|
package/dist/style.css
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
[diffend] Oversized file quarantined before diffing.
|
|
2
|
-
|
|
3
|
-
size: 63298808 bytes
|
|
4
|
-
sha256: 265e846b66dd044a389fa27169715785c21920b19d44a30b9057c53c34201d64
|
|
1
|
+
.swed-title_wrapper[data-v-d6ca3368]{font-family:Microsoft YaHei,PingFang SC,sans-serif}.swed-title-content[data-v-d6ca3368]{align-items:center;gap:8px;height:100%;display:flex}.swed-title-text[data-v-d6ca3368]{font-size:14px;font-weight:700}.swed-title-score[data-v-d6ca3368]{color:#666;font-size:12px}.paper-page text.swed-text{dominant-baseline:hanging;white-space:pre;font-family:Times New Roman,SimSun,Songti SC,Source Han Serif SC,Noto Serif CJK SC,serif!important}.paper-page [data-block-id]:hover{cursor:default}.paper-page .swed-formula svg{vertical-align:middle;overflow:visible}.paper-page text[fill=\#aaa]{-webkit-user-select:none;user-select:none;font-size:13px}.paper-page [data-block-id]{cursor:pointer}.paper-page rect[stroke-dasharray="4,4"]{pointer-events:none}svg.paper-page{display:block}text.swed-topic-no,text.swed-question-score{dominant-baseline:hanging;font-family:Times New Roman,SimSun,Songti SC,Source Han Serif SC,Noto Serif CJK SC,serif!important}.swed-title_wrapper{box-sizing:border-box;color:#231f20;text-align:left;background:#fff;border:none;align-items:center;max-width:100%;height:38px;padding:5px 0;font-family:Times New Roman,黑体,SimHei,Heiti SC,Source Han Sans SC,Noto Sans CJK SC,sans-serif;font-size:14pt;display:flex;position:relative}.swed-title_wrapper .swed-title-content{align-items:center;width:100%;display:inline-flex;overflow:hidden}.swed-title_wrapper .swed-title-content .swed-title-text{color:#231f20;white-space:nowrap;font-size:15px;font-weight:400;line-height:32px}.swed-title_wrapper .swed-title-content .swed-title-score{color:#231f20;border:none;padding:0 2px 0 8px;font-size:10pt;font-weight:400;line-height:1.2}.swed-header-block{font-family:Microsoft YaHei,PingFang SC,Hiragino Sans GB,Source Han Sans SC,Noto Sans CJK SC,sans-serif}.swed-header-school-info{color:#595959;justify-content:center;align-items:center;gap:12px;width:100%;padding:6px 0 0;display:flex}.swed-header-school-info--simple{padding-top:3px}.swed-headerDesc{font-size:14px;line-height:1.5}.swed-headerDesc strong{color:#000;font-size:16px}.swed-header-school-info .swed-score{white-space:nowrap;font-size:12px;line-height:1.5;display:inline-block}.swed-header-paper-name{text-align:center;width:100%;padding:2px 0}.swed-header-paper-name .swed-input-box{flex-direction:column;justify-content:center;align-items:center;display:flex}.swed-header-paper-name .swed-input-box__label{display:none}.swed-header-paper-name .swed-input-box__input{color:#000;text-align:center;background:0 0;border:none;outline:none;padding:2px 8px;font-size:22px;font-weight:700;line-height:1.5;display:block}.swed-header-student-info{flex-direction:row;align-items:center;gap:16px;width:100%;padding:4px 0 0;display:flex}.swed-header-student-info .swed-qr-code-img{flex-shrink:0;width:65px;height:65px}.header-student-info .qr-code-img img{width:100%;height:auto;display:block}.swed-student-fields{flex-direction:column;flex:1;gap:16px;min-width:0;display:flex}.swed-student-fields-row{flex-wrap:wrap;gap:16px;display:flex}.swed-student-field{flex:1;align-items:center;min-width:120px;display:flex}.swed-student-field .swed-label{color:#000;white-space:nowrap;margin-right:4px;font-size:14px}.swed-student-field .swed-underline{border-bottom:1px solid #000;flex:1;min-width:60px;height:22px}.swed-student-code{color:#000;align-items:center;width:100%;font-size:13px;display:flex}.swed-student-code-table{border-collapse:collapse;vertical-align:middle;margin-left:4px;display:inline-table}.swed-student-code-cell{text-align:center;border:1px solid #000;width:25px;height:30px;font-size:14px}.swed-student-code-filler{box-sizing:border-box;border:1px solid #000;flex:1;justify-content:space-between;align-items:center;gap:16px;min-width:20px;height:30px;margin-left:8px;padding:0 6px;display:flex}.swed-filler-time{white-space:nowrap;align-items:center;gap:2px;display:flex}.swed-filler-self-eval{white-space:nowrap;align-items:center;gap:4px;display:flex}.swed-filler-icon{flex-shrink:0;width:16px;height:16px}.swed-filler-text,.swed-filler-label{color:#000;font-size:12px}.swed-tail-time-wrapper{color:#595959;width:100%;font-family:Microsoft YaHei,PingFang SC,Hiragino Sans GB,Source Han Sans SC,Noto Sans CJK SC,sans-serif;font-size:12px}.swed-answer-wrapper,.swed-revise-wrapper{align-items:center;gap:6px;display:flex}.swed-tail-col{align-items:center;gap:3px;display:flex}.swed-center-col{flex-direction:column;align-items:center;gap:2px;display:flex}.swed-tail-col-item{gap:1px}.swed-tail-label.swed-text{color:#8c8c8c;white-space:nowrap;font-size:11px}.swed-tail-col .swed-text{color:#595959;white-space:nowrap;font-size:12px}.swed-tail-col .swed-text-second{color:#bfbfbf;font-size:10px}.swed-rect{box-sizing:border-box;border:1px solid #d9d9d9;border-radius:2px;width:18px;height:18px}.swed-rect-fill{background:#f0f0f0}.swed-rect-stroke{background:0 0}.swed-revise-area{align-items:center;gap:4px;display:flex}.swed-revise-area-label{color:#8c8c8c;white-space:nowrap;font-size:11px}.swed-revise-area-rect{box-sizing:border-box;border:1px solid #d9d9d9;border-radius:2px;width:18px;height:18px}.swed-el-icon.swed-triangle{color:#8c8c8c;justify-content:center;align-items:center;font-size:14px;display:inline-flex}.pe-ctrl-sub{pointer-events:auto;z-index:10;position:absolute;top:-30px;left:0}.pe-merge-btn,.pe-split-btn{color:#409eff;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #409eff;border-radius:3px;padding:2px 8px;font-size:12px;line-height:1.6}.pe-merge-btn:hover,.pe-split-btn:hover{color:#fff;background:#409eff}.pe-editor-surface::-webkit-scrollbar{width:6px;height:6px}.pe-editor-surface::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}.pe-editor-surface::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.paper-page g.swed-question:hover>rect.swed-question-hitarea{fill:#409eff0a}.paper-page g.swed-question:hover>path.swed-question-border{stroke:#409eff}.paper-page g.swed-underline:hover>rect.swed-underline-hitarea{fill:#409eff0f}.paper-page g.swed-underline:hover>rect[fill="rgb(245,245,245)"]{fill:#f0f8f7}.pe-editor-viewport [data-editable]{-webkit-user-select:text;user-select:text}.swed-editable-dashed{cursor:text;outline-offset:1px;border-radius:2px;outline:1px dashed #bfbfbf;padding:0 2px}.editable-dashed:hover,.editable-dashed:focus{outline-offset:1px;border-radius:2px;outline:1px dashed #409eff}.pe-root[data-v-e33fc5c3]{background:#f0f2f5;flex-direction:column;width:100%;height:100%;font-family:Microsoft YaHei,PingFang SC,sans-serif;display:flex;overflow:hidden}.pe-main[data-v-e33fc5c3]{background:#e8ebf0;flex:1;justify-content:center;display:flex;position:relative;overflow:hidden}.pe-editor[data-v-e33fc5c3]{justify-content:center;width:100%;height:100%;display:flex;overflow:hidden}.pe-editor-surface[data-v-e33fc5c3]{box-sizing:border-box;-webkit-user-select:none;user-select:none;scrollbar-width:none;-ms-overflow-style:none;font-synthesis:unset;text-rendering:auto;-webkit-font-smoothing:auto;background-color:#eee;width:100%;height:100%;padding:10px 0;position:relative;overflow:auto;transform:scaleY(.99999)}.pe-editor-defs[data-v-e33fc5c3]{width:1px;height:1px;position:absolute;overflow:hidden}.pe-editor-pages[data-v-e33fc5c3]{flex-direction:column;align-items:center;gap:24px;min-height:100%;padding:24px 0;display:flex}.pe-editor-page[data-v-e33fc5c3]{background:#fff;border:2px solid #0000;flex-shrink:0;line-height:0;transition:border-color .2s,box-shadow .2s;box-shadow:0 1px 6px #00000014}.pe-editor-page.active[data-v-e33fc5c3]{border-color:#409eff;box-shadow:0 2px 12px #409eff33}.pe-editor-viewport[data-v-e33fc5c3]{transform-origin:0 0;-webkit-user-select:none;user-select:none}.pe-editor-viewport[data-v-e33fc5c3] svg.paper-page{display:block}.pe-editor-controllers[data-v-e33fc5c3]{pointer-events:none;z-index:102;width:100%;height:100%;position:absolute;top:0;left:0;overflow:visible}.pe-text-selection[data-v-e33fc5c3]{pointer-events:none;background:#409eff47;border-radius:1px;position:absolute}.pe-ctrl-block[data-v-e33fc5c3]{pointer-events:auto}.pe-ctrl-height[data-v-e33fc5c3]{cursor:ns-resize;color:#fff;opacity:.85;z-index:103;pointer-events:auto;background:#409eff;border-radius:4px;justify-content:center;align-items:center;width:44px;height:20px;transition:opacity .15s;display:flex;position:absolute;bottom:-11px;left:50%;transform:translate(-50%)}.pe-ctrl-height[data-v-e33fc5c3]:hover{opacity:1;background:#048f80}.pe-ctrl-height[data-v-e33fc5c3]:active{background:#037066}.pe-ctrlUnderline[data-v-e33fc5c3]{pointer-events:auto;box-sizing:border-box;border:1.5px solid #409eff;border-radius:2px}.pe-ctrl-ul-left[data-v-e33fc5c3],.pe-ctrl-ul-right[data-v-e33fc5c3]{cursor:ew-resize;color:#fff;opacity:.85;z-index:103;background:#409eff;border-radius:4px;justify-content:center;align-items:center;width:20px;height:28px;transition:opacity .15s;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.pe-ctrl-ul-left[data-v-e33fc5c3]{left:-12px}.pe-ctrl-ul-right[data-v-e33fc5c3]{right:-12px}.pe-ctrl-ul-left[data-v-e33fc5c3]:hover,.pe-ctrl-ul-right[data-v-e33fc5c3]:hover{opacity:1;background:#048f80}.pe-ctrl-ul-left[data-v-e33fc5c3]:active,.pe-ctrl-ul-right[data-v-e33fc5c3]:active{background:#037066}.pe-ctrl-ul-body[data-v-e33fc5c3]{cursor:move;z-index:101;position:absolute;inset:0 10px}.pe-ctrlAnchor[data-v-e33fc5c3]{pointer-events:auto;box-sizing:border-box;cursor:move;border:1.5px solid #409eff;border-radius:1px}.pe-resize-se[data-v-e33fc5c3],.pe-resize-sw[data-v-e33fc5c3],.pe-resize-ne[data-v-e33fc5c3],.pe-resize-nw[data-v-e33fc5c3]{box-sizing:border-box;z-index:104;background:#409eff;border:1px solid #fff;border-radius:2px;width:10px;height:10px;position:absolute}.pe-resize-se[data-v-e33fc5c3]{cursor:nwse-resize;bottom:-5px;right:-5px}.pe-resize-sw[data-v-e33fc5c3]{cursor:nesw-resize;bottom:-5px;left:-5px}.pe-resize-ne[data-v-e33fc5c3]{cursor:nesw-resize;top:-5px;right:-5px}.pe-resize-nw[data-v-e33fc5c3]{cursor:nwse-resize;top:-5px;left:-5px}.pe-resize-se[data-v-e33fc5c3]:hover,.pe-resize-sw[data-v-e33fc5c3]:hover,.pe-resize-ne[data-v-e33fc5c3]:hover,.pe-resize-nw[data-v-e33fc5c3]:hover{background:#048f80}.pe-ctrlFloating[data-v-e33fc5c3]{pointer-events:auto;box-sizing:border-box;border:1.5px dashed #ff4d4f;border-radius:1px}.pe-floating-move[data-v-e33fc5c3]{cursor:move;position:absolute;inset:0}.pe-floating-del[data-v-e33fc5c3]{color:#fff;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;background:#f56c6c;border-radius:50%;width:18px;height:18px;font-size:12px;line-height:18px;position:absolute;top:-9px;right:-9px}.pe-img-align-bar[data-v-e33fc5c3]{z-index:105;background:#409eff;border-radius:4px;gap:0;display:flex;position:absolute;overflow:hidden}.pe-align-btn[data-v-e33fc5c3]{color:#fff;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:28px;height:24px;font-size:12px;transition:background .15s;display:flex}.pe-align-btn[data-v-e33fc5c3]:hover{background:#fff3}.pe-align-btn.active[data-v-e33fc5c3]{background:#00000040}.pe-cursor-underline-bar[data-v-e33fc5c3]{z-index:105;background:#048f80;border-radius:4px;display:flex;position:absolute;overflow:hidden;box-shadow:0 1px 4px #00000040}.pe-cursor-underline-bar .pe-align-btn[data-v-e33fc5c3]{letter-spacing:1px;width:28px;height:24px;font-size:14px;font-weight:700}.pe-cursor-underline-bar .pe-aa-cancel-btn[data-v-e33fc5c3]{letter-spacing:0;white-space:nowrap;background:#048f80;width:auto;padding:0 8px;font-size:12px;font-weight:500}.pe-context-menu[data-v-e33fc5c3]{z-index:106;pointer-events:auto;color:#333;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #e2e6ee;border-radius:6px;min-width:132px;padding:4px;font-size:13px;position:absolute;box-shadow:0 4px 16px #0000001f}.pe-context-menu-item[data-v-e33fc5c3]{cursor:pointer;white-space:nowrap;border-radius:4px;padding:7px 12px;transition:background .12s,color .12s}.pe-context-menu-item+.pe-context-menu-item[data-v-e33fc5c3]{border-top:1px solid #f0f1f5;border-radius:0 0 4px 4px}.pe-context-menu-item[data-v-e33fc5c3]:hover{color:#2563eb;background:#eef4ff}.pe-editor-input-wrapper[data-v-e33fc5c3]{z-index:-1;opacity:0;width:0;position:absolute}.pe-editor-virtual-input[data-v-e33fc5c3]{width:5px;height:30px}.pe-editor-cursor[data-v-e33fc5c3]{z-index:99999999;background:#000;width:1px;height:0;animation:1s ease-in-out infinite pe-blink-e33fc5c3;position:absolute;top:0;left:0}@keyframes pe-blink-e33fc5c3{0%{opacity:.8}50%{opacity:0}}.pe-preview[data-v-4c12d2f4]{width:100%;font-family:Times New Roman,宋体,Cambria Math,serif;overflow:hidden}.pe-preview__pages[data-v-4c12d2f4]{flex-direction:column;align-items:center;gap:16px;padding:16px 0;display:flex}.pe-preview__page[data-v-4c12d2f4]{background:#fff;position:relative;overflow:hidden;box-shadow:0 2px 12px #00000026}.pe-preview__page-col[data-v-4c12d2f4]{position:absolute;top:0;left:0}.pe-preview__page-col[data-v-4c12d2f4] svg{width:100%;height:100%;display:block}.pe-preview__helpers[data-v-4c12d2f4]{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.pe-preview__helper-box[data-v-4c12d2f4]{box-sizing:border-box}.pe-preview__page-num[data-v-4c12d2f4]{color:#bfbfbf;pointer-events:none;font-size:11px;position:absolute;bottom:4px;right:8px}.pe-preview--print .pe-preview__page[data-v-4c12d2f4]{box-shadow:none;page-break-before:always;page-break-after:always;page-break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:0}.pe-preview--print .pe-preview__pages[data-v-4c12d2f4]{gap:0;padding:0}.pe-preview--print .pe-preview__helpers[data-v-4c12d2f4],.pe-preview--print .pe-preview__page-num[data-v-4c12d2f4]{display:none!important}@media print{@page{margin:0}body[data-v-4c12d2f4]{margin:0;padding:0}}
|
|
2
|
+
/*$vite$:1*/
|
package/package.json
CHANGED
package/dist/fonts/README.txt
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# 字体文件目录
|
|
2
|
-
# 请将下载的字体文件放置到此目录:
|
|
3
|
-
# NotoSerifSC-Regular.woff2 (~5MB) — 替代 SimSun(宋体)
|
|
4
|
-
# NotoSansSC-Regular.woff2 (~3MB) — 替代 Microsoft YaHei / 黑体
|
|
5
|
-
#
|
|
6
|
-
# 下载地址:
|
|
7
|
-
# Noto Serif SC: https://fonts.google.com/specimen/Noto+Serif+SC
|
|
8
|
-
# Noto Sans SC: https://fonts.google.com/specimen/Noto+Sans+SC
|
|
9
|
-
# GitHub: https://github.com/googlefonts/noto-cjk/releases
|
|
10
|
-
# → 下载 otf/NotoSansSC-Regular.otf 和 otf/NotoSerifSC-Regular.otf
|
|
11
|
-
# → 使用 https://everythingfonts.com/otf-to-woff2 在线转换为 WOFF2
|