update
This commit is contained in:
parent
b3a47589d8
commit
c1d65d91e8
@ -1,8 +1,3 @@
|
|||||||
|
|
||||||
.xml-show-catalog .el-tree-node__content {
|
|
||||||
display: flex !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.catalog-node-label[data-v-842ba544] {
|
.catalog-node-label[data-v-842ba544] {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -20,3 +15,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=XmlCatalog.vue.map */
|
/*# sourceMappingURL=XmlCatalog.vue.map */
|
||||||
|
|
||||||
|
.xml-show-catalog .el-tree-node__content {
|
||||||
|
display: flex !important;
|
||||||
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
.xml-show-catalog .el-tree-node__content{display:flex!important}.catalog-node-label[data-v-842ba544]{display:flex;align-items:center}.catalog-node-label img[data-v-842ba544]{margin-right:4px}.xml-show-catalog[data-v-842ba544] .el-tree-node__content{height:auto}.xml-show-catalog[data-v-842ba544] .el-tree-node__content .catalog-node-label{max-width:calc(100% - 24px);word-break:break-all;white-space:normal}
|
.catalog-node-label[data-v-842ba544]{display:flex;align-items:center}.catalog-node-label img[data-v-842ba544]{margin-right:4px}.xml-show-catalog[data-v-842ba544] .el-tree-node__content{height:auto}.xml-show-catalog[data-v-842ba544] .el-tree-node__content .catalog-node-label{max-width:calc(100% - 24px);word-break:break-all;white-space:normal}.xml-show-catalog .el-tree-node__content{display:flex!important}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
@ -183,6 +183,9 @@
|
|||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
// import "../block.scss"
|
// import "../block.scss"
|
||||||
var script = {
|
var script = {
|
||||||
@ -480,6 +483,27 @@ var __vue_render__ = function () {
|
|||||||
on: { click: _vm.blockClick },
|
on: { click: _vm.blockClick },
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
|
_vm.noshow
|
||||||
|
? _c(
|
||||||
|
"div",
|
||||||
|
{
|
||||||
|
staticClass: "xml-full-screen",
|
||||||
|
staticStyle: { display: "none" },
|
||||||
|
on: {
|
||||||
|
click: function ($event) {
|
||||||
|
return _vm.open(_vm.blockData)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
[
|
||||||
|
_c("i", {
|
||||||
|
staticClass: "el-icon-full-screen",
|
||||||
|
attrs: { title: "全屏" },
|
||||||
|
}),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
: _vm._e(),
|
||||||
|
_vm._v(" "),
|
||||||
_vm.mode === "editor"
|
_vm.mode === "editor"
|
||||||
? _c("div", {
|
? _c("div", {
|
||||||
staticClass: "xml-html-mask",
|
staticClass: "xml-html-mask",
|
||||||
@ -580,17 +604,14 @@ var __vue_render__ = function () {
|
|||||||
attrs: { src: _vm.blockData.link, loading: "lazy" },
|
attrs: { src: _vm.blockData.link, loading: "lazy" },
|
||||||
}),
|
}),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_vm.blockData.styleModel != "A"
|
_c(
|
||||||
? _c(
|
"div",
|
||||||
"div",
|
{
|
||||||
{
|
staticClass: "fullscreen-btn",
|
||||||
staticClass: "fullscreen-btn",
|
on: { click: _vm.toggleFullscreen },
|
||||||
attrs: { title: "全屏" },
|
},
|
||||||
on: { click: _vm.toggleFullscreen },
|
[_c("i", { staticClass: "el-icon-full-screen" })]
|
||||||
},
|
),
|
||||||
[_c("i", { staticClass: "el-icon-full-screen" })]
|
|
||||||
)
|
|
||||||
: _vm._e(),
|
|
||||||
])
|
])
|
||||||
: _vm._e(),
|
: _vm._e(),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|||||||
@ -1,27 +1,27 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=first.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourth.vue.map */
|
/*# sourceMappingURL=fourth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=second.vue.map */
|
/*# sourceMappingURL=seventh.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixth.vue.map */
|
/*# sourceMappingURL=sixth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=second.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=third.vue.map */
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventh.vue.map */
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fifth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=eighth.vue.map */
|
||||||
|
|
||||||
.xml-image-lun-bo .el-carousel__item {
|
.xml-image-lun-bo .el-carousel__item {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -98,11 +98,11 @@
|
|||||||
|
|
||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
.xml-text-pc[data-v-62978240] {
|
.xml-text-pc[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
.xml-text-h5[data-v-62978240] {
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
@ -11572,32 +11572,15 @@ var script$a = {
|
|||||||
if (str) {
|
if (str) {
|
||||||
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
||||||
if (match.indexOf('style') !== -1) {
|
if (match.indexOf('style') !== -1) {
|
||||||
// if (match.indexOf('http') !== -1) {
|
|
||||||
// return match
|
|
||||||
// } else {
|
|
||||||
// let src = this.resourceBasisPath + p1.split('./')[1]
|
|
||||||
// let image = match.replace(p1, src)
|
|
||||||
// return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1]
|
|
||||||
// }
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
let src = this.resourceBasisPath + p1.split('./')[1];
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
||||||
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
||||||
} else if (match.indexOf('width') !== -1) {
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
|
||||||
let list = image.split('<img');
|
|
||||||
return `<img style="max-width:100% !important;"${list[1]}`;
|
|
||||||
} else {
|
} else {
|
||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -11764,7 +11747,7 @@ __vue_render__$a._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$a = undefined;
|
const __vue_inject_styles__$a = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$a = "data-v-15db9a2a";
|
const __vue_scope_id__$a = "data-v-387c0e8e";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$a = undefined;
|
const __vue_module_identifier__$a = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -54821,7 +54804,6 @@ var script$7 = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.markInstance.render();
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// console.log('绑定监听',_this.groupLocation);
|
// console.log('绑定监听',_this.groupLocation);
|
||||||
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
||||||
@ -54891,21 +54873,24 @@ var script$7 = {
|
|||||||
if (this.richContent?.length) {
|
if (this.richContent?.length) {
|
||||||
this.renderMath();
|
this.renderMath();
|
||||||
}
|
}
|
||||||
|
setTimeout(() => {
|
||||||
|
this.markInstance.render();
|
||||||
|
}, 300);
|
||||||
if (this.mode == 'reader') {
|
if (this.mode == 'reader') {
|
||||||
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
||||||
if (ADom) {
|
if (ADom) {
|
||||||
for (let i = 0; i < ADom.length; i++) {
|
for (let i = 0; i < ADom.length; i++) {
|
||||||
let href = ADom[i].href;
|
let href = ADom[i].href;
|
||||||
if (href.indexOf('http') == 0) {
|
// if (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
||||||
ADom[i].href = 'javascript: void(0)';
|
ADom[i].href = 'javascript: void(0)';
|
||||||
ADom[i].onclick = function (e) {
|
ADom[i].onclick = function (e) {
|
||||||
_this.$EventBus.$emit('openTextHyperlink', {
|
_this.$EventBus.$emit('openTextHyperlink', {
|
||||||
href: href
|
href: href
|
||||||
});
|
});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -55905,13 +55890,8 @@ var script$7 = {
|
|||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
},
|
},
|
||||||
updateCodeBlock() {
|
updateCodeBlock() {
|
||||||
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
||||||
@ -56854,7 +56834,7 @@ __vue_render__$7._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$7 = undefined;
|
const __vue_inject_styles__$7 = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$7 = "data-v-62978240";
|
const __vue_scope_id__$7 = "data-v-51cfaa06";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$7 = undefined;
|
const __vue_module_identifier__$7 = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var playIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABxBJREFUeF7dW2tsFFUU/s5sCygo7W4JwfggkZAYNNYnqBB31iI2jYnERwyiRuILFcJuwZQEAgYfDbSzii8CYqDlYRQhUQNIS3cFkRbERxXTYMCCgGI7U0ssXbbbOWa2bu1ruzOzM8suN9lfe+53vvPdc2fu4wwhBc1ddjYPjnA+VM4XBMdogHPAyGFoP2onQgsxt6is/g1QI1RuRFZWY9Cb22g3PbLLgcevFLKqFjKRm4AbTPth3gjQtmHZqNox13XWNE6cjpYK4C5TJhOpj4BQCNA4i8kqALZAVVcH5o86ZBW2JQKIkjID4BkAiqwilgBntVVCJCWA6FeKAC4BY3KKAu/lhsGlWWGhtLrE2WrWvykBCt5Uru5ktQRMs806tqofAT8xqDTgc24yg2lYgHvKW0SV1FUAxptxaFsfxocRYdiivd7hfxjxYUgAj7/5cWaqMOIgxbYNTFgc9Lq26PWrWwBRkr9I4UNOL/8B7ZhoUdDrfE0PiC4BREmuAlCgBzBdbJjopaDX+W4iPgkFEP3yWjBmJQJKy/+ZnwwU5w06ZQcVwF3etJRIWJKWwekkRcC0Gp9rVzzzuAJ4pObpDNqq0086m9ULwtB7d88bcWYgkgMK4Fl+5lrOzv4SzNemc2T6uVFlwOd8QrcAbkneSsB0/Q7S35KI59Z4897uy7RfBrjLlZlEXJn+IRlkyDjtECJTqr2jj/Xs2UuAwpU8NBRp+Qbgmw3CZ4r5moDP9WxcATySUsLgNzIlGlM8mYoCxc7tsb7dGVBQqozsHML1AK42BZwhnYiwrsbreqqfAJ5yZTYTv5chcSRDs41JuD523NadAaJf3mv3vn786CxMGJOF+lMdONrUmUwQSfallwM+5woNJCqAWCZPg4CdSaIO2n1J0QjcPX5It82+o2FU1oVw5EzETrfxsA8EfK6J3QLYveTtG3yMVaiDUVnXjs0HQykXgRl3BItdtV0ZICkBgN12sfj8xVwMHxJ/2/Hd7x3YUBvCDyc77KLQD5dApTU+50IqXClfHorA9JlaIsbavF814/JEZtH/Nx5oj06LcIR12Sdp1BDwua4jtyTfR8COJMHids+/MhvSw5fphm/4MxKdFvuP2Z8NHecdTnJLTc8ThPd1MzRoaFSAGPy2H0KorA3h73bVoEcD5qp6K3kk5Q3WjrZtamYF0OicUDqj2bC7IWwLO2I8ogmwmcGP2uIBQDICxDjtPHwey3e1WU6RmUpI9Ct7wWzbxYYVAmiRf3wohFV7zlkqAhGVkSjJPwOYYClyDzCrBNAgZ1W0olG2bgVJhA9I9MunwLgiEwQoq2rD9p/PW0aVgC1aBmh5dYllqH2ArMyA13f8g2prH4jVmgAtAHIyQYAn1rXiZIt1U4BBn5MoKd8DnJ/uAqyvbcf6/e3W0iSqII9f2cbMD1iL/D9aslNAWxRX2BF811b4LfL4ZT8z5qWjANomSQu+/qQ9W2Zm9RVNgKeZsSadBIioXaO+oc7ilO8bpMNRQGJZ0y0QhG/TRYCDx7tG/fBpe0a9R5yhYVnOHOo6Cle0N4Etr8JxoxxYPXNkQn3PRxjag+6j1B2OVAd8rqn/HYjI+wDcmZClSYPPXsjFiKHxD0Rqf+sadW0rnKqmzf9g8ailUVYX6kisLczRwD85lPojMXTypMCCvLquDFjRPBEOqrVT/YEORbXgf/3LuoWNbv6EuoDXNUmz73ksXgtG9KTUrqatCW68KgtfHQlbuqkxyjeW/r0EsHsaGCVppz3DcVvQlxN983VnwDSp1RlGR50NJa52xmIG+9OAz/VQrGOvR7PH3zKHWV1pBjVj+pDwYMCb21350u/dJPpl258FF0osIhys8bpu7+m/f4GEX3mMmDdcKJJ2+mWB7g/Oc2r1jt1twNWJW5K3E7SS94unaYXVQV/ewr4RDSiA6FfuAngXGJdeFBIQ9nBr/T3BpWK/pWbc9alban6JQP2KijJQEAUseALFuT8OxH3QQkmxXF4LytAq0f+iJVW4u2Z+7p54A5ewVNYtNX9HoJsycOTBRDODXufGwbgnFEDrLEpySq5rrRSZGWXBYteCRJi6BNBAMunNQKB3anzOOYmC77UU1mMsSspygBOqqgfLLhsCXq3xuRbrxdedATFAUZK9AJYBGK7XSYrsDH8tYjgDukVY0TyRBVpGhKkpCm5wNya/FzItQIxNdAstCM/Yebc4WOTazQ4ErO67vDUyKIanQF/wKf62MQ713HOpFMKKwGNxJC1ADEgTIhvhh1RWC23aR7SCeBN3CpuC851fGxnlpNcBRp25pdZxAqmFAHuYo+V3Zi9fTwHYycD+LIGqquc5TxjlksjesgwYzJF7RZMbAtyCIFzDTGMBHgtgLAgtYGh3EtqviUCNKtTjADc6OtVfdi8YrRVv29r+BTKBrQtOiFe6AAAAAElFTkSuQmCC";
|
var playIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABxBJREFUeF7dW2tsFFUU/s5sCygo7W4JwfggkZAYNNYnqBB31iI2jYnERwyiRuILFcJuwZQEAgYfDbSzii8CYqDlYRQhUQNIS3cFkRbERxXTYMCCgGI7U0ssXbbbOWa2bu1ruzOzM8suN9lfe+53vvPdc2fu4wwhBc1ddjYPjnA+VM4XBMdogHPAyGFoP2onQgsxt6is/g1QI1RuRFZWY9Cb22g3PbLLgcevFLKqFjKRm4AbTPth3gjQtmHZqNox13XWNE6cjpYK4C5TJhOpj4BQCNA4i8kqALZAVVcH5o86ZBW2JQKIkjID4BkAiqwilgBntVVCJCWA6FeKAC4BY3KKAu/lhsGlWWGhtLrE2WrWvykBCt5Uru5ktQRMs806tqofAT8xqDTgc24yg2lYgHvKW0SV1FUAxptxaFsfxocRYdiivd7hfxjxYUgAj7/5cWaqMOIgxbYNTFgc9Lq26PWrWwBRkr9I4UNOL/8B7ZhoUdDrfE0PiC4BREmuAlCgBzBdbJjopaDX+W4iPgkFEP3yWjBmJQJKy/+ZnwwU5w06ZQcVwF3etJRIWJKWwekkRcC0Gp9rVzzzuAJ4pObpDNqq0086m9ULwtB7d88bcWYgkgMK4Fl+5lrOzv4SzNemc2T6uVFlwOd8QrcAbkneSsB0/Q7S35KI59Z4897uy7RfBrjLlZlEXJn+IRlkyDjtECJTqr2jj/Xs2UuAwpU8NBRp+Qbgmw3CZ4r5moDP9WxcATySUsLgNzIlGlM8mYoCxc7tsb7dGVBQqozsHML1AK42BZwhnYiwrsbreqqfAJ5yZTYTv5chcSRDs41JuD523NadAaJf3mv3vn786CxMGJOF+lMdONrUmUwQSfallwM+5woNJCqAWCZPg4CdSaIO2n1J0QjcPX5It82+o2FU1oVw5EzETrfxsA8EfK6J3QLYveTtG3yMVaiDUVnXjs0HQykXgRl3BItdtV0ZICkBgN12sfj8xVwMHxJ/2/Hd7x3YUBvCDyc77KLQD5dApTU+50IqXClfHorA9JlaIsbavF814/JEZtH/Nx5oj06LcIR12Sdp1BDwua4jtyTfR8COJMHids+/MhvSw5fphm/4MxKdFvuP2Z8NHecdTnJLTc8ThPd1MzRoaFSAGPy2H0KorA3h73bVoEcD5qp6K3kk5Q3WjrZtamYF0OicUDqj2bC7IWwLO2I8ogmwmcGP2uIBQDICxDjtPHwey3e1WU6RmUpI9Ct7wWzbxYYVAmiRf3wohFV7zlkqAhGVkSjJPwOYYClyDzCrBNAgZ1W0olG2bgVJhA9I9MunwLgiEwQoq2rD9p/PW0aVgC1aBmh5dYllqH2ArMyA13f8g2prH4jVmgAtAHIyQYAn1rXiZIt1U4BBn5MoKd8DnJ/uAqyvbcf6/e3W0iSqII9f2cbMD1iL/D9aslNAWxRX2BF811b4LfL4ZT8z5qWjANomSQu+/qQ9W2Zm9RVNgKeZsSadBIioXaO+oc7ilO8bpMNRQGJZ0y0QhG/TRYCDx7tG/fBpe0a9R5yhYVnOHOo6Cle0N4Etr8JxoxxYPXNkQn3PRxjag+6j1B2OVAd8rqn/HYjI+wDcmZClSYPPXsjFiKHxD0Rqf+sadW0rnKqmzf9g8ailUVYX6kisLczRwD85lPojMXTypMCCvLquDFjRPBEOqrVT/YEORbXgf/3LuoWNbv6EuoDXNUmz73ksXgtG9KTUrqatCW68KgtfHQlbuqkxyjeW/r0EsHsaGCVppz3DcVvQlxN983VnwDSp1RlGR50NJa52xmIG+9OAz/VQrGOvR7PH3zKHWV1pBjVj+pDwYMCb21350u/dJPpl258FF0osIhys8bpu7+m/f4GEX3mMmDdcKJJ2+mWB7g/Oc2r1jt1twNWJW5K3E7SS94unaYXVQV/ewr4RDSiA6FfuAngXGJdeFBIQ9nBr/T3BpWK/pWbc9alban6JQP2KijJQEAUseALFuT8OxH3QQkmxXF4LytAq0f+iJVW4u2Z+7p54A5ewVNYtNX9HoJsycOTBRDODXufGwbgnFEDrLEpySq5rrRSZGWXBYteCRJi6BNBAMunNQKB3anzOOYmC77UU1mMsSspygBOqqgfLLhsCXq3xuRbrxdedATFAUZK9AJYBGK7XSYrsDH8tYjgDukVY0TyRBVpGhKkpCm5wNya/FzItQIxNdAstCM/Yebc4WOTazQ4ErO67vDUyKIanQF/wKf62MQ713HOpFMKKwGNxJC1ADEgTIhvhh1RWC23aR7SCeBN3CpuC851fGxnlpNcBRp25pdZxAqmFAHuYo+V3Zi9fTwHYycD+LIGqquc5TxjlksjesgwYzJF7RZMbAtyCIFzDTGMBHgtgLAgtYGh3EtqviUCNKtTjADc6OtVfdi8YrRVv29r+BTKBrQtOiFe6AAAAAElFTkSuQmCC";
|
||||||
@ -1381,23 +1381,12 @@ var __vue_render__ = function () {
|
|||||||
{ class: ["xml-audio-player", _vm.mode] },
|
{ class: ["xml-audio-player", _vm.mode] },
|
||||||
[
|
[
|
||||||
_vm.styleMode == "A" || _vm.styleMode == "B" || _vm.styleMode == "C"
|
_vm.styleMode == "A" || _vm.styleMode == "B" || _vm.styleMode == "C"
|
||||||
? _c(
|
? _c("div", { staticClass: "play-mode-wrap" }, [
|
||||||
"div",
|
_c("img", {
|
||||||
{
|
staticClass: "play-control-image",
|
||||||
staticClass: "play-mode-wrap",
|
attrs: { src: _vm.playModeIconSrc },
|
||||||
on: {
|
}),
|
||||||
click: function ($event) {
|
])
|
||||||
return _vm.changeTime(0)
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("img", {
|
|
||||||
staticClass: "play-control-image",
|
|
||||||
attrs: { src: _vm.playModeIconSrc },
|
|
||||||
}),
|
|
||||||
]
|
|
||||||
)
|
|
||||||
: _vm._e(),
|
: _vm._e(),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_vm.styleMode == "A" || _vm.styleMode == "B" || _vm.styleMode == "C"
|
_vm.styleMode == "A" || _vm.styleMode == "B" || _vm.styleMode == "C"
|
||||||
|
|||||||
@ -3,61 +3,52 @@
|
|||||||
/*# sourceMappingURL=first.vue.map */
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eleven.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=isosceles.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=quadrangle.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=ninth.vue.map */
|
/*# sourceMappingURL=ninth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=second.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventh.vue.map */
|
/*# sourceMappingURL=seventh.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=thirteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=twelve.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=third.vue.map */
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=tenth.vue.map */
|
/*# sourceMappingURL=tenth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
/*# sourceMappingURL=eighth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=eleven.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=quadrangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=isosceles.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=second.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=twelve.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme3.vue.map */
|
/*# sourceMappingURL=Greentheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme5.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=wave.vue.map */
|
/*# sourceMappingURL=wave.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme2.vue.map */
|
/*# sourceMappingURL=Greentheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
/*# sourceMappingURL=thirteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fourteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Redtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
||||||
@ -66,10 +57,7 @@
|
|||||||
/*# sourceMappingURL=Redtheme2.vue.map */
|
/*# sourceMappingURL=Redtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme3.vue.map */
|
/*# sourceMappingURL=fifteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
||||||
@ -78,57 +66,61 @@
|
|||||||
/*# sourceMappingURL=Greentheme4.vue.map */
|
/*# sourceMappingURL=Greentheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme6.vue.map */
|
/*# sourceMappingURL=Redtheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme4.vue.map */
|
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme3.vue.map */
|
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixteen.vue.map */
|
/*# sourceMappingURL=Redtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme1.vue.map */
|
/*# sourceMappingURL=Redtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyfive.vue.map */
|
/*# sourceMappingURL=Greentheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyseven2.vue.map */
|
/*# sourceMappingURL=SanQintheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme1.vue.map */
|
/*# sourceMappingURL=SanQintheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtyseven3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtyseven2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=sixteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtysix.vue.map */
|
/*# sourceMappingURL=Thirtysix.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme5.vue.map */
|
/*# sourceMappingURL=SanQintheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyseven.vue.map */
|
/*# sourceMappingURL=Thirtyseven.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyseven3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Forty.vue.map */
|
/*# sourceMappingURL=Forty.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Redtheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyeight.vue.map */
|
/*# sourceMappingURL=Thirtyeight.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme2.vue.map */
|
/*# sourceMappingURL=Thirtyfive.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
}
|
|
||||||
.xml-text-pc[data-v-62978240] {
|
|
||||||
}
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
}
|
|
||||||
|
|
||||||
.xml-text-h5 .inline-audio-wrap,
|
.xml-text-h5 .inline-audio-wrap,
|
||||||
.xml-text-h5 .inline-link-wrap {
|
.xml-text-h5 .inline-link-wrap {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -200,6 +192,14 @@
|
|||||||
|
|
||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
.xml-text-pc[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,32 +9117,15 @@ var script$I = {
|
|||||||
if (str) {
|
if (str) {
|
||||||
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
||||||
if (match.indexOf('style') !== -1) {
|
if (match.indexOf('style') !== -1) {
|
||||||
// if (match.indexOf('http') !== -1) {
|
|
||||||
// return match
|
|
||||||
// } else {
|
|
||||||
// let src = this.resourceBasisPath + p1.split('./')[1]
|
|
||||||
// let image = match.replace(p1, src)
|
|
||||||
// return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1]
|
|
||||||
// }
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
let src = this.resourceBasisPath + p1.split('./')[1];
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
||||||
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
||||||
} else if (match.indexOf('width') !== -1) {
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
|
||||||
let list = image.split('<img');
|
|
||||||
return `<img style="max-width:100% !important;"${list[1]}`;
|
|
||||||
} else {
|
} else {
|
||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9381,7 +9364,7 @@ __vue_render__$J._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$I = undefined;
|
const __vue_inject_styles__$I = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$I = "data-v-15db9a2a";
|
const __vue_scope_id__$I = "data-v-387c0e8e";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$I = undefined;
|
const __vue_module_identifier__$I = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52884,7 +52867,6 @@ var script$F = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.markInstance.render();
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// console.log('绑定监听',_this.groupLocation);
|
// console.log('绑定监听',_this.groupLocation);
|
||||||
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
||||||
@ -52954,21 +52936,24 @@ var script$F = {
|
|||||||
if (this.richContent?.length) {
|
if (this.richContent?.length) {
|
||||||
this.renderMath();
|
this.renderMath();
|
||||||
}
|
}
|
||||||
|
setTimeout(() => {
|
||||||
|
this.markInstance.render();
|
||||||
|
}, 300);
|
||||||
if (this.mode == 'reader') {
|
if (this.mode == 'reader') {
|
||||||
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
||||||
if (ADom) {
|
if (ADom) {
|
||||||
for (let i = 0; i < ADom.length; i++) {
|
for (let i = 0; i < ADom.length; i++) {
|
||||||
let href = ADom[i].href;
|
let href = ADom[i].href;
|
||||||
if (href.indexOf('http') == 0) {
|
// if (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
||||||
ADom[i].href = 'javascript: void(0)';
|
ADom[i].href = 'javascript: void(0)';
|
||||||
ADom[i].onclick = function (e) {
|
ADom[i].onclick = function (e) {
|
||||||
_this.$EventBus.$emit('openTextHyperlink', {
|
_this.$EventBus.$emit('openTextHyperlink', {
|
||||||
href: href
|
href: href
|
||||||
});
|
});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53968,13 +53953,8 @@ var script$F = {
|
|||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
},
|
},
|
||||||
updateCodeBlock() {
|
updateCodeBlock() {
|
||||||
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
||||||
@ -54917,7 +54897,7 @@ __vue_render__$F._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$F = undefined;
|
const __vue_inject_styles__$F = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$F = "data-v-62978240";
|
const __vue_scope_id__$F = "data-v-51cfaa06";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$F = undefined;
|
const __vue_module_identifier__$F = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
@ -9,10 +9,10 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=QuestionItem.vue.map */
|
/*# sourceMappingURL=QuestionItem.vue.map */
|
||||||
.option-item + .option-item[data-v-669043fa] {
|
.option-item + .option-item[data-v-0bbbebe6] {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
.option-item[data-v-669043fa] {
|
.option-item[data-v-0bbbebe6] {
|
||||||
display: flex;
|
display: flex;
|
||||||
background: #fbfbfb;
|
background: #fbfbfb;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@ -21,33 +21,33 @@
|
|||||||
transition: all ease 0.3s;
|
transition: all ease 0.3s;
|
||||||
border: 1px solid #fbfbfb;
|
border: 1px solid #fbfbfb;
|
||||||
}
|
}
|
||||||
.option-item .questionSeq[data-v-669043fa] {
|
.option-item .questionSeq[data-v-0bbbebe6] {
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
}
|
}
|
||||||
.option-item.isActive[data-v-669043fa] {
|
.option-item.isActive[data-v-0bbbebe6] {
|
||||||
border-color: #2e9adb;
|
border-color: #2e9adb;
|
||||||
}
|
}
|
||||||
.option-item.isTrue[data-v-669043fa] {
|
.option-item.isTrue[data-v-0bbbebe6] {
|
||||||
border: 1px solid #70b603;
|
border: 1px solid #70b603;
|
||||||
}
|
}
|
||||||
.option-item.isTrue[data-v-669043fa] .el-radio__input.is-checked .el-radio__inner {
|
.option-item.isTrue[data-v-0bbbebe6] .el-radio__input.is-checked .el-radio__inner {
|
||||||
border-color: #70b603;
|
border-color: #70b603;
|
||||||
background: #70b603;
|
background: #70b603;
|
||||||
}
|
}
|
||||||
.option-item.isFalse[data-v-669043fa] {
|
.option-item.isFalse[data-v-0bbbebe6] {
|
||||||
border: 1px solid #d9001b;
|
border: 1px solid #d9001b;
|
||||||
}
|
}
|
||||||
.option-item.isFalse[data-v-669043fa] .el-radio__input.is-checked .el-radio__inner {
|
.option-item.isFalse[data-v-0bbbebe6] .el-radio__input.is-checked .el-radio__inner {
|
||||||
border-color: #d9001b;
|
border-color: #d9001b;
|
||||||
background: #d9001b;
|
background: #d9001b;
|
||||||
}
|
}
|
||||||
.option-item[data-v-669043fa]:hover {
|
.option-item[data-v-0bbbebe6]:hover {
|
||||||
background: #ddd;
|
background: #ddd;
|
||||||
}
|
}
|
||||||
.option-item[data-v-669043fa] .content {
|
.option-item[data-v-0bbbebe6] .content {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.option-item[data-v-669043fa] .stem-content.no-border {
|
.option-item[data-v-0bbbebe6] .stem-content.no-border {
|
||||||
padding: 8px 14px !important;
|
padding: 8px 14px !important;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@ -97,50 +97,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=checkbox.vue.map */
|
/*# sourceMappingURL=checkbox.vue.map */
|
||||||
.option-item + .option-item[data-v-0bbbebe6] {
|
.content[data-v-178d3ffd] {
|
||||||
margin-top: 16px;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.option-item[data-v-0bbbebe6] {
|
.content .stem-content[data-v-178d3ffd] {
|
||||||
display: flex;
|
width: 100%;
|
||||||
background: #fbfbfb;
|
box-sizing: border-box;
|
||||||
|
padding: 5px 14px;
|
||||||
|
height: auto;
|
||||||
|
border: 1px solid #e7e7e7;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding-left: 16px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: all ease 0.3s;
|
|
||||||
border: 1px solid #fbfbfb;
|
|
||||||
}
|
|
||||||
.option-item .questionSeq[data-v-0bbbebe6] {
|
|
||||||
padding: 8px 0;
|
|
||||||
}
|
|
||||||
.option-item.isActive[data-v-0bbbebe6] {
|
|
||||||
border-color: #2e9adb;
|
|
||||||
}
|
|
||||||
.option-item.isTrue[data-v-0bbbebe6] {
|
|
||||||
border: 1px solid #70b603;
|
|
||||||
}
|
|
||||||
.option-item.isTrue[data-v-0bbbebe6] .el-radio__input.is-checked .el-radio__inner {
|
|
||||||
border-color: #70b603;
|
|
||||||
background: #70b603;
|
|
||||||
}
|
|
||||||
.option-item.isFalse[data-v-0bbbebe6] {
|
|
||||||
border: 1px solid #d9001b;
|
|
||||||
}
|
|
||||||
.option-item.isFalse[data-v-0bbbebe6] .el-radio__input.is-checked .el-radio__inner {
|
|
||||||
border-color: #d9001b;
|
|
||||||
background: #d9001b;
|
|
||||||
}
|
|
||||||
.option-item[data-v-0bbbebe6]:hover {
|
|
||||||
background: #ddd;
|
|
||||||
}
|
|
||||||
.option-item[data-v-0bbbebe6] .content {
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.option-item[data-v-0bbbebe6] .stem-content.no-border {
|
.content .stem-content.no-border[data-v-178d3ffd] {
|
||||||
padding: 8px 14px !important;
|
padding: 0;
|
||||||
|
border: none;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.content .stem-content .placeholder[data-v-178d3ffd] {
|
||||||
|
color: #c0c4cc;
|
||||||
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=radio.vue.map */
|
/*# sourceMappingURL=common.vue.map */
|
||||||
.option-item + .option-item[data-v-35976a09] {
|
.option-item + .option-item[data-v-35976a09] {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
@ -185,10 +166,54 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=checkbox.vue.map */
|
/*# sourceMappingURL=checkbox.vue.map */
|
||||||
.content[data-v-178d3ffd] {
|
.option-item + .option-item[data-v-669043fa] {
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.option-item[data-v-669043fa] {
|
||||||
|
display: flex;
|
||||||
|
background: #fbfbfb;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding-left: 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all ease 0.3s;
|
||||||
|
border: 1px solid #fbfbfb;
|
||||||
|
}
|
||||||
|
.option-item .questionSeq[data-v-669043fa] {
|
||||||
|
padding: 8px 0;
|
||||||
|
}
|
||||||
|
.option-item.isActive[data-v-669043fa] {
|
||||||
|
border-color: #2e9adb;
|
||||||
|
}
|
||||||
|
.option-item.isTrue[data-v-669043fa] {
|
||||||
|
border: 1px solid #70b603;
|
||||||
|
}
|
||||||
|
.option-item.isTrue[data-v-669043fa] .el-radio__input.is-checked .el-radio__inner {
|
||||||
|
border-color: #70b603;
|
||||||
|
background: #70b603;
|
||||||
|
}
|
||||||
|
.option-item.isFalse[data-v-669043fa] {
|
||||||
|
border: 1px solid #d9001b;
|
||||||
|
}
|
||||||
|
.option-item.isFalse[data-v-669043fa] .el-radio__input.is-checked .el-radio__inner {
|
||||||
|
border-color: #d9001b;
|
||||||
|
background: #d9001b;
|
||||||
|
}
|
||||||
|
.option-item[data-v-669043fa]:hover {
|
||||||
|
background: #ddd;
|
||||||
|
}
|
||||||
|
.option-item[data-v-669043fa] .content {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.option-item[data-v-669043fa] .stem-content.no-border {
|
||||||
|
padding: 8px 14px !important;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*# sourceMappingURL=radio.vue.map */
|
||||||
|
.content[data-v-84c18bec] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.content .stem-content[data-v-178d3ffd] {
|
.content .stem-content[data-v-84c18bec] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 5px 14px;
|
padding: 5px 14px;
|
||||||
@ -197,12 +222,12 @@
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.content .stem-content.no-border[data-v-178d3ffd] {
|
.content .stem-content.no-border[data-v-84c18bec] {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
.content .stem-content .placeholder[data-v-178d3ffd] {
|
.content .stem-content .placeholder[data-v-84c18bec] {
|
||||||
color: #c0c4cc;
|
color: #c0c4cc;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -210,31 +235,48 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=common.vue.map */
|
/*# sourceMappingURL=common.vue.map */
|
||||||
.content[data-v-0d12cfbf] {
|
.line-content[data-v-4508580a] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.content .stem-content[data-v-0d12cfbf] {
|
.line-content .line-content--item[data-v-4508580a] {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.line-content .line-content--item[data-v-4508580a] .stem-content {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.line-content + .line-content[data-v-4508580a] {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.create-option[data-v-4508580a] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
margin-top: 10px;
|
||||||
padding: 5px 14px;
|
border-style: dashed !important;
|
||||||
height: auto;
|
}
|
||||||
border: 1px solid #e7e7e7;
|
.option-item[data-v-4508580a] {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.option-item + .option-item[data-v-4508580a] {
|
||||||
|
margin-left: 100px;
|
||||||
|
}
|
||||||
|
.option-item.isMobile + .option-item.isMobile[data-v-4508580a] {
|
||||||
|
margin-left: 50px;
|
||||||
|
}
|
||||||
|
.option-item[data-v-4508580a] {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
background: #fbfbfb;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
padding-left: 16px;
|
||||||
}
|
}
|
||||||
.content .stem-content.no-border[data-v-0d12cfbf] {
|
.option-item .questionSeq[data-v-4508580a] {
|
||||||
padding: 0;
|
padding: 8px 0;
|
||||||
border: none;
|
|
||||||
cursor: default;
|
|
||||||
}
|
}
|
||||||
.content .stem-content .placeholder[data-v-0d12cfbf] {
|
.option-item[data-v-4508580a] .stem-content.no-border {
|
||||||
color: #c0c4cc;
|
padding: 8px 14px !important;
|
||||||
font-size: 14px;
|
|
||||||
cursor: pointer;
|
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=common.vue.map */
|
/*# sourceMappingURL=view-line.vue.map */
|
||||||
.line-content[data-v-115d2322] {
|
.line-content[data-v-115d2322] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -278,48 +320,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=view-line-answer.vue.map */
|
/*# sourceMappingURL=view-line-answer.vue.map */
|
||||||
.line-content[data-v-4508580a] {
|
|
||||||
width: 100%;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.line-content .line-content--item[data-v-4508580a] {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
.line-content .line-content--item[data-v-4508580a] .stem-content {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.line-content + .line-content[data-v-4508580a] {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
.create-option[data-v-4508580a] {
|
|
||||||
width: 100%;
|
|
||||||
margin-top: 10px;
|
|
||||||
border-style: dashed !important;
|
|
||||||
}
|
|
||||||
.option-item[data-v-4508580a] {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
.option-item + .option-item[data-v-4508580a] {
|
|
||||||
margin-left: 100px;
|
|
||||||
}
|
|
||||||
.option-item.isMobile + .option-item.isMobile[data-v-4508580a] {
|
|
||||||
margin-left: 50px;
|
|
||||||
}
|
|
||||||
.option-item[data-v-4508580a] {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
background: #fbfbfb;
|
|
||||||
border-radius: 6px;
|
|
||||||
padding-left: 16px;
|
|
||||||
}
|
|
||||||
.option-item .questionSeq[data-v-4508580a] {
|
|
||||||
padding: 8px 0;
|
|
||||||
}
|
|
||||||
.option-item[data-v-4508580a] .stem-content.no-border {
|
|
||||||
padding: 8px 14px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=view-line.vue.map */
|
|
||||||
.image-file[data-v-1786cccf] {
|
.image-file[data-v-1786cccf] {
|
||||||
width: 218px;
|
width: 218px;
|
||||||
object-fit: scale-down;
|
object-fit: scale-down;
|
||||||
@ -382,6 +382,124 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=index.vue.map */
|
/*# sourceMappingURL=index.vue.map */
|
||||||
|
.audio .audio-icon[data-v-4809edd2] {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
.audio .audio-icon img[data-v-4809edd2] {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.audio .audio-controls[data-v-4809edd2] {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 200px;
|
||||||
|
flex: 1;
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--progress[data-v-4809edd2], .audio .audio-controls .audio-controls--handler[data-v-4809edd2] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--handler[data-v-4809edd2] {
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--handler .play[data-v-4809edd2] {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--handler .play .play-handler[data-v-4809edd2] {
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
display: block;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--handler .current-time[data-v-4809edd2], .audio .audio-controls .audio-controls--handler .total-time[data-v-4809edd2] {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
.play-handler.mobile[data-v-4809edd2] {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
.audio-component[data-v-4809edd2] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
[data-v-4809edd2] .el-slider__runway {
|
||||||
|
margin: 0 0 4px 0;
|
||||||
|
background: #e3e3e3;
|
||||||
|
height: 4px;
|
||||||
|
}
|
||||||
|
[data-v-4809edd2] .el-slider__bar {
|
||||||
|
height: 4px;
|
||||||
|
}
|
||||||
|
[data-v-4809edd2] .el-slider__button {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
}
|
||||||
|
[data-v-4809edd2] .el-slider__button-wrapper {
|
||||||
|
top: -15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*# sourceMappingURL=audio-play-new.vue.map */
|
||||||
|
.audio .audio-icon[data-v-7be84416] {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
.audio .audio-icon img[data-v-7be84416] {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.audio .audio-controls[data-v-7be84416] {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 200px;
|
||||||
|
flex: 1;
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--progress[data-v-7be84416], .audio .audio-controls .audio-controls--handler[data-v-7be84416] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--handler[data-v-7be84416] {
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--handler .play[data-v-7be84416] {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--handler .play .play-handler[data-v-7be84416] {
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
display: block;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.audio .audio-controls .audio-controls--handler .current-time[data-v-7be84416], .audio .audio-controls .audio-controls--handler .total-time[data-v-7be84416] {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
.play-handler.mobile[data-v-7be84416] {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
.audio-component[data-v-7be84416] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
[data-v-7be84416] .el-slider__runway {
|
||||||
|
margin: 0 0 4px 0;
|
||||||
|
background: #e3e3e3;
|
||||||
|
height: 4px;
|
||||||
|
}
|
||||||
|
[data-v-7be84416] .el-slider__bar {
|
||||||
|
height: 4px;
|
||||||
|
}
|
||||||
|
[data-v-7be84416] .el-slider__button {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
}
|
||||||
|
[data-v-7be84416] .el-slider__button-wrapper {
|
||||||
|
top: -15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*# sourceMappingURL=audio-play-new.vue.map */
|
||||||
[data-v-726cb75e] .el-dialog__header {
|
[data-v-726cb75e] .el-dialog__header {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
@ -456,121 +574,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=video-play.vue.map */
|
/*# sourceMappingURL=video-play.vue.map */
|
||||||
.audio .audio-icon[data-v-7be84416] {
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
margin-right: 20px;
|
|
||||||
}
|
|
||||||
.audio .audio-icon img[data-v-7be84416] {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.audio .audio-controls[data-v-7be84416] {
|
|
||||||
width: 100%;
|
|
||||||
max-width: 200px;
|
|
||||||
flex: 1;
|
|
||||||
height: 36px;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--progress[data-v-7be84416], .audio .audio-controls .audio-controls--handler[data-v-7be84416] {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--handler[data-v-7be84416] {
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--handler .play[data-v-7be84416] {
|
|
||||||
font-size: 24px;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--handler .play .play-handler[data-v-7be84416] {
|
|
||||||
width: 22px;
|
|
||||||
height: 22px;
|
|
||||||
display: block;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--handler .current-time[data-v-7be84416], .audio .audio-controls .audio-controls--handler .total-time[data-v-7be84416] {
|
|
||||||
font-size: 12px;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
.play-handler.mobile[data-v-7be84416] {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
.audio-component[data-v-7be84416] {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
[data-v-7be84416] .el-slider__runway {
|
|
||||||
margin: 0 0 4px 0;
|
|
||||||
background: #e3e3e3;
|
|
||||||
height: 4px;
|
|
||||||
}
|
|
||||||
[data-v-7be84416] .el-slider__bar {
|
|
||||||
height: 4px;
|
|
||||||
}
|
|
||||||
[data-v-7be84416] .el-slider__button {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
}
|
|
||||||
[data-v-7be84416] .el-slider__button-wrapper {
|
|
||||||
top: -15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=audio-play-new.vue.map */
|
|
||||||
.audio .audio-icon[data-v-4809edd2] {
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
margin-right: 20px;
|
|
||||||
}
|
|
||||||
.audio .audio-icon img[data-v-4809edd2] {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.audio .audio-controls[data-v-4809edd2] {
|
|
||||||
width: 100%;
|
|
||||||
max-width: 200px;
|
|
||||||
flex: 1;
|
|
||||||
height: 36px;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--progress[data-v-4809edd2], .audio .audio-controls .audio-controls--handler[data-v-4809edd2] {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--handler[data-v-4809edd2] {
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--handler .play[data-v-4809edd2] {
|
|
||||||
font-size: 24px;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--handler .play .play-handler[data-v-4809edd2] {
|
|
||||||
width: 22px;
|
|
||||||
height: 22px;
|
|
||||||
display: block;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.audio .audio-controls .audio-controls--handler .current-time[data-v-4809edd2], .audio .audio-controls .audio-controls--handler .total-time[data-v-4809edd2] {
|
|
||||||
font-size: 12px;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
.play-handler.mobile[data-v-4809edd2] {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
.audio-component[data-v-4809edd2] {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
[data-v-4809edd2] .el-slider__runway {
|
|
||||||
margin: 0 0 4px 0;
|
|
||||||
background: #e3e3e3;
|
|
||||||
height: 4px;
|
|
||||||
}
|
|
||||||
[data-v-4809edd2] .el-slider__bar {
|
|
||||||
height: 4px;
|
|
||||||
}
|
|
||||||
[data-v-4809edd2] .el-slider__button {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
}
|
|
||||||
[data-v-4809edd2] .el-slider__button-wrapper {
|
|
||||||
top: -15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=audio-play-new.vue.map */
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3,6 +3,14 @@
|
|||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
.xml-text-pc[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
|
||||||
.xml-text-h5 .inline-audio-wrap,
|
.xml-text-h5 .inline-audio-wrap,
|
||||||
.xml-text-h5 .inline-link-wrap {
|
.xml-text-h5 .inline-link-wrap {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -74,14 +82,6 @@
|
|||||||
|
|
||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
}
|
|
||||||
.xml-text-pc[data-v-62978240] {
|
|
||||||
}
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,32 +9117,15 @@ var script$4 = {
|
|||||||
if (str) {
|
if (str) {
|
||||||
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
||||||
if (match.indexOf('style') !== -1) {
|
if (match.indexOf('style') !== -1) {
|
||||||
// if (match.indexOf('http') !== -1) {
|
|
||||||
// return match
|
|
||||||
// } else {
|
|
||||||
// let src = this.resourceBasisPath + p1.split('./')[1]
|
|
||||||
// let image = match.replace(p1, src)
|
|
||||||
// return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1]
|
|
||||||
// }
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
let src = this.resourceBasisPath + p1.split('./')[1];
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
||||||
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
||||||
} else if (match.indexOf('width') !== -1) {
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
|
||||||
let list = image.split('<img');
|
|
||||||
return `<img style="max-width:100% !important;"${list[1]}`;
|
|
||||||
} else {
|
} else {
|
||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9381,7 +9364,7 @@ __vue_render__$4._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$4 = undefined;
|
const __vue_inject_styles__$4 = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$4 = "data-v-15db9a2a";
|
const __vue_scope_id__$4 = "data-v-387c0e8e";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$4 = undefined;
|
const __vue_module_identifier__$4 = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52884,7 +52867,6 @@ var script$1 = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.markInstance.render();
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// console.log('绑定监听',_this.groupLocation);
|
// console.log('绑定监听',_this.groupLocation);
|
||||||
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
||||||
@ -52954,21 +52936,24 @@ var script$1 = {
|
|||||||
if (this.richContent?.length) {
|
if (this.richContent?.length) {
|
||||||
this.renderMath();
|
this.renderMath();
|
||||||
}
|
}
|
||||||
|
setTimeout(() => {
|
||||||
|
this.markInstance.render();
|
||||||
|
}, 300);
|
||||||
if (this.mode == 'reader') {
|
if (this.mode == 'reader') {
|
||||||
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
||||||
if (ADom) {
|
if (ADom) {
|
||||||
for (let i = 0; i < ADom.length; i++) {
|
for (let i = 0; i < ADom.length; i++) {
|
||||||
let href = ADom[i].href;
|
let href = ADom[i].href;
|
||||||
if (href.indexOf('http') == 0) {
|
// if (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
||||||
ADom[i].href = 'javascript: void(0)';
|
ADom[i].href = 'javascript: void(0)';
|
||||||
ADom[i].onclick = function (e) {
|
ADom[i].onclick = function (e) {
|
||||||
_this.$EventBus.$emit('openTextHyperlink', {
|
_this.$EventBus.$emit('openTextHyperlink', {
|
||||||
href: href
|
href: href
|
||||||
});
|
});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53968,13 +53953,8 @@ var script$1 = {
|
|||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
},
|
},
|
||||||
updateCodeBlock() {
|
updateCodeBlock() {
|
||||||
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
||||||
@ -54917,7 +54897,7 @@ __vue_render__._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$1 = undefined;
|
const __vue_inject_styles__$1 = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$1 = "data-v-62978240";
|
const __vue_scope_id__$1 = "data-v-51cfaa06";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$1 = undefined;
|
const __vue_module_identifier__$1 = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
.preview-item-file[data-v-eff5e992]:hover,
|
.preview-item-file[data-v-830a69c8]:hover,
|
||||||
.slip-over-cover[data-v-eff5e992]:hover {
|
.slip-over-cover[data-v-830a69c8]:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var epub = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAoCAMAAAChHKjRAAAAAXNSR0IArs4c6QAAAjdQTFRFAAAAiXb/kG/0inD6inX6jW72jXL2eGLpe2fuinL2i3H3iHf6i3L5dmTvjHH3inP4inH2i3L2d2TuhW7vjHH5d2TqjnH5fWnyd2bskHb5jXX1jHH2i3H3i3H4i3H4d2Xsd2Xqi3H4cmLoi3L4inH3i3L3inL3i3L3jHL3hG3zi3L3jHL4jnT5i3L3i3L3jHH2bFPvbl/nb2DncF/ncVP1cWHncWHocWHpclP2cmLpc2Lpc2Lqc2Ppc2PqdGPpdGPqd1r1d1z0d2TreFv2eFz0eFz1eGDxeGbseVv1eVz1el31el32el71el72e133e1/2e2TxfGD1fGXxfWD3fWH2fmjxf2T2f2rwgGX3gGnygWX2gWb2gWb3gWrzgWzzgmb3gmf2gmzyg23zhGj3hGn2hGr2hGr3hG3zhWr3hWv2hWv3hWz3hW7zhW70hmz3h233h273iG34iG/3iW34iW74iW/3iXD3iXH2inD4inH3inP2i3D4i3H3i3H4i3L3i3L4i3P4jHL3jHL4jHP3jHP4jHT2jHT3jHrxjHryjXP4jXT3jXT5jXX3jXvyjnT5jnX4j3T5j3T6j3b3lYH2l4H4mIL4mYP4movynY/xpJL3pJfzpZL5pZjzqJX5q5n5r576saD6uaz3va/7zMT5zcP7z8X70Mb70sj708n708r71c381c761s382ND72db4393549z+4+H55+b66OL96+b+6+r67+v+8/L99PD/9vT+///9///+////0H5GmAAAADB0Uk5TAA0XMjI6OkZNVVpefX+HjJCRkpSeoausra2vs7W2t7i5v8TN1tbd3t/o6+7v8PH8u0jmrQAAAapJREFUOMtjYGBgYBZQ1sMAOpoKHAwIwF+HDfSlG9nzElADVGRuZScEVcNWiVORvY29KESRZDluRfb2VhJgRSp1OBQlgRTZW8uDFKnjUpRrZgtSZamER1Fji5MhSJG9qTgDgxoORXXd5e5mYGDMjltRXV9nTiIIxAkjKeoq8veFg5DK5rqWvgl9QDBRCklRacG8BfOhYMHs/Bq4hBySIu9Fe5DAXH+4hDRCUaXnqj3b12+EgE3rJidjVeS1ZM9ig4AgMAh1S+3HpWiFX2EJGBRXN9fhUrQyBFt0oylaahIWBQZ5bbgVrW2eMhUMyrLacCqCgx2TUnAr2gUFW1szcCpaHd7RCwLtkVlduB1uEREDAvGFXXWUBcFy5+x8MMgrwh2Yyxyy8sCgKDqtB6sijzV7dm7eAgHbNkxLwKaoznvhbqSkMjMYq6La2BlzZkHBnOmZ9VgVtVX4OLpCgUtgUzNWRXV1zS1w0Ig9CHADaZyZEwnIMGgQViTLoEpYkQiDWBUhNTXcDKwEDdJnZGAQJKCmgQtUQvHhVaPNCSkRWQSVdfWwAi1FHiagAgAPu3js6FbZbgAAAABJRU5ErkJggg==";
|
var epub = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAoCAMAAAChHKjRAAAAAXNSR0IArs4c6QAAAjdQTFRFAAAAiXb/kG/0inD6inX6jW72jXL2eGLpe2fuinL2i3H3iHf6i3L5dmTvjHH3inP4inH2i3L2d2TuhW7vjHH5d2TqjnH5fWnyd2bskHb5jXX1jHH2i3H3i3H4i3H4d2Xsd2Xqi3H4cmLoi3L4inH3i3L3inL3i3L3jHL3hG3zi3L3jHL4jnT5i3L3i3L3jHH2bFPvbl/nb2DncF/ncVP1cWHncWHocWHpclP2cmLpc2Lpc2Lqc2Ppc2PqdGPpdGPqd1r1d1z0d2TreFv2eFz0eFz1eGDxeGbseVv1eVz1el31el32el71el72e133e1/2e2TxfGD1fGXxfWD3fWH2fmjxf2T2f2rwgGX3gGnygWX2gWb2gWb3gWrzgWzzgmb3gmf2gmzyg23zhGj3hGn2hGr2hGr3hG3zhWr3hWv2hWv3hWz3hW7zhW70hmz3h233h273iG34iG/3iW34iW74iW/3iXD3iXH2inD4inH3inP2i3D4i3H3i3H4i3L3i3L4i3P4jHL3jHL4jHP3jHP4jHT2jHT3jHrxjHryjXP4jXT3jXT5jXX3jXvyjnT5jnX4j3T5j3T6j3b3lYH2l4H4mIL4mYP4movynY/xpJL3pJfzpZL5pZjzqJX5q5n5r576saD6uaz3va/7zMT5zcP7z8X70Mb70sj708n708r71c381c761s382ND72db4393549z+4+H55+b66OL96+b+6+r67+v+8/L99PD/9vT+///9///+////0H5GmAAAADB0Uk5TAA0XMjI6OkZNVVpefX+HjJCRkpSeoausra2vs7W2t7i5v8TN1tbd3t/o6+7v8PH8u0jmrQAAAapJREFUOMtjYGBgYBZQ1sMAOpoKHAwIwF+HDfSlG9nzElADVGRuZScEVcNWiVORvY29KESRZDluRfb2VhJgRSp1OBQlgRTZW8uDFKnjUpRrZgtSZamER1Fji5MhSJG9qTgDgxoORXXd5e5mYGDMjltRXV9nTiIIxAkjKeoq8veFg5DK5rqWvgl9QDBRCklRacG8BfOhYMHs/Bq4hBySIu9Fe5DAXH+4hDRCUaXnqj3b12+EgE3rJidjVeS1ZM9ig4AgMAh1S+3HpWiFX2EJGBRXN9fhUrQyBFt0oylaahIWBQZ5bbgVrW2eMhUMyrLacCqCgx2TUnAr2gUFW1szcCpaHd7RCwLtkVlduB1uEREDAvGFXXWUBcFy5+x8MMgrwh2Yyxyy8sCgKDqtB6sijzV7dm7eAgHbNkxLwKaoznvhbqSkMjMYq6La2BlzZkHBnOmZ9VgVtVX4OLpCgUtgUzNWRXV1zS1w0Ig9CHADaZyZEwnIMGgQViTLoEpYkQiDWBUhNTXcDKwEDdJnZGAQJKCmgQtUQvHhVaPNCSkRWQSVdfWwAi1FHiagAgAPu3js6FbZbgAAAABJRU5ErkJggg==";
|
||||||
@ -63,10 +63,6 @@ var script = {
|
|||||||
// 是否阅读器
|
// 是否阅读器
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
|
||||||
bookReaderPath: {
|
|
||||||
type: String,
|
|
||||||
default: ''
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@ -192,38 +188,22 @@ var script = {
|
|||||||
window.open(item.link);
|
window.open(item.link);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let baseUrl = item.uploadFileUrl;
|
let url = item.uploadFileUrl;
|
||||||
let baseFileUrl = '';
|
if (item.uploadFileUrl.indexOf('./') !== -1) {
|
||||||
if (baseUrl.indexOf('http') === -1) {
|
url = this.resourceBasisPath + item.uploadFileUrl.split('./')[1];
|
||||||
baseUrl = this.resourceBasisPath + baseUrl.split('./')[1];
|
|
||||||
}
|
}
|
||||||
if (this.isReader) {
|
if (this.isReader) {
|
||||||
this.$emit('showFileReader', {
|
this.$emit('showFileReader', {
|
||||||
fileFormat: item.fileFormat,
|
fileFormat: item.fileFormat,
|
||||||
fileUrl: baseUrl,
|
fileUrl: url,
|
||||||
title: item.title
|
title: item.title
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (baseUrl.indexOf('.pdf') > 0) {
|
if (item.uploadFileUrl.indexOf('http') === -1) {
|
||||||
baseFileUrl = this.bookReaderPath + `/static/pdfjs/web/viewer.html?file=${baseUrl}`;
|
window.open((this.officePreviewPath ? this.officePreviewPath : process.env.VUE_APP_OFFICES_READ) + this.resourceBasisPath + item.uploadFileUrl.split('./')[1]);
|
||||||
} else if (baseUrl.indexOf('.epub') > 0) {
|
|
||||||
baseFileUrl = this.bookReaderPath + '/static/epubjs/index.html#/epub-read?flow=scrolled&bookPath=' + baseUrl;
|
|
||||||
} else {
|
} else {
|
||||||
baseFileUrl = (this.officePreviewPath ? this.officePreviewPath : process.env.VUE_APP_OFFICES_READ) + baseUrl;
|
window.open((this.officePreviewPath ? this.officePreviewPath : process.env.VUE_APP_OFFICES_READ) + item.uploadFileUrl);
|
||||||
}
|
}
|
||||||
window.open(baseFileUrl);
|
|
||||||
// if (item.uploadFileUrl.indexOf('http') === -1) {
|
|
||||||
// window.open(
|
|
||||||
// (this.officePreviewPath ? this.officePreviewPath : process.env.VUE_APP_OFFICES_READ) +
|
|
||||||
// this.resourceBasisPath +
|
|
||||||
// item.uploadFileUrl.split('./')[1]
|
|
||||||
// )
|
|
||||||
// } else {
|
|
||||||
// window.open(
|
|
||||||
// (this.officePreviewPath ? this.officePreviewPath : process.env.VUE_APP_OFFICES_READ) +
|
|
||||||
// item.uploadFileUrl
|
|
||||||
// )
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1437,7 +1417,7 @@ __vue_render__._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__ = undefined;
|
const __vue_inject_styles__ = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__ = "data-v-eff5e992";
|
const __vue_scope_id__ = "data-v-830a69c8";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__ = undefined;
|
const __vue_module_identifier__ = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
.preview-item-file[data-v-eff5e992]:hover,.slip-over-cover[data-v-eff5e992]:hover{cursor:pointer}
|
.preview-item-file[data-v-830a69c8]:hover,.slip-over-cover[data-v-830a69c8]:hover{cursor:pointer}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,108 +1,108 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=first.vue.map */
|
/*# sourceMappingURL=fifth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=second.vue.map */
|
/*# sourceMappingURL=Greytheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=third.vue.map */
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=second.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greytheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=tenth.vue.map */
|
/*# sourceMappingURL=tenth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=ninth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme4.vue.map */
|
/*# sourceMappingURL=Greytheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighth.vue.map */
|
/*# sourceMappingURL=eighth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixth.vue.map */
|
/*# sourceMappingURL=sixth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventh.vue.map */
|
/*# sourceMappingURL=fourth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme5.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme6.vue.map */
|
/*# sourceMappingURL=Greytheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eleventh.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme3.vue.map */
|
/*# sourceMappingURL=Redtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme4.vue.map */
|
/*# sourceMappingURL=ninth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme2.vue.map */
|
/*# sourceMappingURL=Redtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Bluetheme2.vue.map */
|
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifth.vue.map */
|
/*# sourceMappingURL=Greytheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme1.vue.map */
|
/*# sourceMappingURL=Greentheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme3.vue.map */
|
/*# sourceMappingURL=Redtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=eleventh.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Bluetheme1.vue.map */
|
/*# sourceMappingURL=Bluetheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Bluetheme4.vue.map */
|
/*# sourceMappingURL=Bluetheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Bluetheme3.vue.map */
|
/*# sourceMappingURL=Bluetheme3.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
|
/*# sourceMappingURL=Greytheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Bluetheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=seventh.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Redtheme4.vue.map */
|
||||||
|
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
.xml-text-pc[data-v-62978240] {
|
.xml-text-pc[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
.xml-text-h5[data-v-62978240] {
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.xml-text-h5 .inline-audio-wrap,
|
.xml-text-h5 .inline-audio-wrap,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,32 +9117,15 @@ var script$A = {
|
|||||||
if (str) {
|
if (str) {
|
||||||
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
||||||
if (match.indexOf('style') !== -1) {
|
if (match.indexOf('style') !== -1) {
|
||||||
// if (match.indexOf('http') !== -1) {
|
|
||||||
// return match
|
|
||||||
// } else {
|
|
||||||
// let src = this.resourceBasisPath + p1.split('./')[1]
|
|
||||||
// let image = match.replace(p1, src)
|
|
||||||
// return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1]
|
|
||||||
// }
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
let src = this.resourceBasisPath + p1.split('./')[1];
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
||||||
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
||||||
} else if (match.indexOf('width') !== -1) {
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
|
||||||
let list = image.split('<img');
|
|
||||||
return `<img style="max-width:100% !important;"${list[1]}`;
|
|
||||||
} else {
|
} else {
|
||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9381,7 +9364,7 @@ __vue_render__$B._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$A = undefined;
|
const __vue_inject_styles__$A = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$A = "data-v-15db9a2a";
|
const __vue_scope_id__$A = "data-v-387c0e8e";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$A = undefined;
|
const __vue_module_identifier__$A = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52884,7 +52867,6 @@ var script$x = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.markInstance.render();
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// console.log('绑定监听',_this.groupLocation);
|
// console.log('绑定监听',_this.groupLocation);
|
||||||
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
||||||
@ -52954,21 +52936,24 @@ var script$x = {
|
|||||||
if (this.richContent?.length) {
|
if (this.richContent?.length) {
|
||||||
this.renderMath();
|
this.renderMath();
|
||||||
}
|
}
|
||||||
|
setTimeout(() => {
|
||||||
|
this.markInstance.render();
|
||||||
|
}, 300);
|
||||||
if (this.mode == 'reader') {
|
if (this.mode == 'reader') {
|
||||||
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
||||||
if (ADom) {
|
if (ADom) {
|
||||||
for (let i = 0; i < ADom.length; i++) {
|
for (let i = 0; i < ADom.length; i++) {
|
||||||
let href = ADom[i].href;
|
let href = ADom[i].href;
|
||||||
if (href.indexOf('http') == 0) {
|
// if (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
||||||
ADom[i].href = 'javascript: void(0)';
|
ADom[i].href = 'javascript: void(0)';
|
||||||
ADom[i].onclick = function (e) {
|
ADom[i].onclick = function (e) {
|
||||||
_this.$EventBus.$emit('openTextHyperlink', {
|
_this.$EventBus.$emit('openTextHyperlink', {
|
||||||
href: href
|
href: href
|
||||||
});
|
});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53968,13 +53953,8 @@ var script$x = {
|
|||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
},
|
},
|
||||||
updateCodeBlock() {
|
updateCodeBlock() {
|
||||||
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
||||||
@ -54917,7 +54897,7 @@ __vue_render__$x._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$x = undefined;
|
const __vue_inject_styles__$x = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$x = "data-v-62978240";
|
const __vue_scope_id__$x = "data-v-51cfaa06";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$x = undefined;
|
const __vue_module_identifier__$x = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
|
|||||||
@ -1,12 +1,9 @@
|
|||||||
|
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
|
||||||
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
}
|
}
|
||||||
.xml-text-pc[data-v-62978240] {
|
.xml-text-pc[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
.xml-text-h5[data-v-62978240] {
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.xml-text-h5 .inline-audio-wrap,
|
.xml-text-h5 .inline-audio-wrap,
|
||||||
@ -81,6 +78,9 @@
|
|||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,32 +9117,15 @@ var script$3 = {
|
|||||||
if (str) {
|
if (str) {
|
||||||
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
||||||
if (match.indexOf('style') !== -1) {
|
if (match.indexOf('style') !== -1) {
|
||||||
// if (match.indexOf('http') !== -1) {
|
|
||||||
// return match
|
|
||||||
// } else {
|
|
||||||
// let src = this.resourceBasisPath + p1.split('./')[1]
|
|
||||||
// let image = match.replace(p1, src)
|
|
||||||
// return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1]
|
|
||||||
// }
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
let src = this.resourceBasisPath + p1.split('./')[1];
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
||||||
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
||||||
} else if (match.indexOf('width') !== -1) {
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
|
||||||
let list = image.split('<img');
|
|
||||||
return `<img style="max-width:100% !important;"${list[1]}`;
|
|
||||||
} else {
|
} else {
|
||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9381,7 +9364,7 @@ __vue_render__$4._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$3 = undefined;
|
const __vue_inject_styles__$3 = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$3 = "data-v-15db9a2a";
|
const __vue_scope_id__$3 = "data-v-387c0e8e";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$3 = undefined;
|
const __vue_module_identifier__$3 = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52884,7 +52867,6 @@ var script = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.markInstance.render();
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// console.log('绑定监听',_this.groupLocation);
|
// console.log('绑定监听',_this.groupLocation);
|
||||||
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
||||||
@ -52954,21 +52936,24 @@ var script = {
|
|||||||
if (this.richContent?.length) {
|
if (this.richContent?.length) {
|
||||||
this.renderMath();
|
this.renderMath();
|
||||||
}
|
}
|
||||||
|
setTimeout(() => {
|
||||||
|
this.markInstance.render();
|
||||||
|
}, 300);
|
||||||
if (this.mode == 'reader') {
|
if (this.mode == 'reader') {
|
||||||
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
||||||
if (ADom) {
|
if (ADom) {
|
||||||
for (let i = 0; i < ADom.length; i++) {
|
for (let i = 0; i < ADom.length; i++) {
|
||||||
let href = ADom[i].href;
|
let href = ADom[i].href;
|
||||||
if (href.indexOf('http') == 0) {
|
// if (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
||||||
ADom[i].href = 'javascript: void(0)';
|
ADom[i].href = 'javascript: void(0)';
|
||||||
ADom[i].onclick = function (e) {
|
ADom[i].onclick = function (e) {
|
||||||
_this.$EventBus.$emit('openTextHyperlink', {
|
_this.$EventBus.$emit('openTextHyperlink', {
|
||||||
href: href
|
href: href
|
||||||
});
|
});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53968,13 +53953,8 @@ var script = {
|
|||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
},
|
},
|
||||||
updateCodeBlock() {
|
updateCodeBlock() {
|
||||||
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
||||||
@ -54917,7 +54897,7 @@ __vue_render__._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__ = undefined;
|
const __vue_inject_styles__ = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__ = "data-v-62978240";
|
const __vue_scope_id__ = "data-v-51cfaa06";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__ = undefined;
|
const __vue_module_identifier__ = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
BIN
src/plugin/xml-digital-teaching/lib/theme/fonts/TIMES.woff2
Normal file
BIN
src/plugin/xml-digital-teaching/lib/theme/fonts/TIMES.woff2
Normal file
Binary file not shown.
BIN
src/plugin/xml-digital-teaching/lib/theme/fonts/TIMESBD.woff2
Normal file
BIN
src/plugin/xml-digital-teaching/lib/theme/fonts/TIMESBD.woff2
Normal file
Binary file not shown.
BIN
src/plugin/xml-digital-teaching/lib/theme/fonts/TIMESBI.woff2
Normal file
BIN
src/plugin/xml-digital-teaching/lib/theme/fonts/TIMESBI.woff2
Normal file
Binary file not shown.
BIN
src/plugin/xml-digital-teaching/lib/theme/fonts/TIMESI.woff2
Normal file
BIN
src/plugin/xml-digital-teaching/lib/theme/fonts/TIMESI.woff2
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
@charset "UTF-8";.heimgfont,[class*=" dl-icon-"],[class^=dl-icon-]{font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:douluo-icons;src:url(./fonts/iconfont.woff?t=1662431203509) format("woff"),url(./fonts/iconfont.ttf?t=1662431203509) format("truetype")}@font-face{font-family:heimgfont;src:url(./fonts/iconfont/iconfont.woff2?t=1635390861127) format("woff2"),url(./fonts/iconfont/iconfont.woff?t=1635390861127) format("woff"),url(./fonts/iconfont/iconfont.ttf?t=1635390861127) format("truetype")}@font-face{font-family:"宋体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/Source_Han_Serif_SC_Light.otf) format("woff2"),url(./fonts/simsun.woff2?t=1662431203509) format("woff2")}@font-face{font-family:"黑体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/SourceHanSansSC-VF.otf.woff2) format("woff2"),url(./fonts/simhei.woff2?t=1662431203510) format("woff2")}@font-face{font-family:"楷体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/LXGWWenKaiGBScreen.woff2) format("woff2"),url(./fonts/simkai.woff2?t=1662431203511) format("woff2")}@font-face{font-family:"Angsana New";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/angsa.woff2) format("woff2"),url(./fonts/angsa.woff2?t=1662431203512) format("woff2")}[class*=" dl-icon-"],[class^=dl-icon-]{font-family:douluo-icons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block}.dl-icon-add:before{content:"\e608"}.dl-icon-close:before{content:"\e607"}.dl-icon-warning:before{content:"\e606"}.dl-icon-info:before{content:"\e675"}.dl-icon-lock:before{content:"\e604"}.dl-icon-check:before{content:"\e663"}.dl-icon-success:before{content:"\e603"}.dl-icon-error:before{content:"\e601"}.dl-icon-help:before{content:"\e662"}.dl-icon-reflesh:before{content:"\e628"}.dl-icon-setting:before{content:"\e639"}.dl-icon-pass:before{content:"\e65a"}.dl-icon-delete:before{content:"\e605"}.dl-icon-star:before{content:"\e617"}.dl-icon-yanjing:before{content:"\e61a"}.dl-icon-right:before{content:"\e621"}.dl-icon-left:before{content:"\e622"}.dl-icon-review:before{content:"\e674"}.heimgfont{font-family:heimgfont!important;font-size:16px}.heimg-iconguanbi1:before{content:"\e608"}.heimg-iconiconfontzhizuobiaozhun023146:before{content:"\e694"}.heimg-iconhelp:before{content:"\e626"}.heimg-iconjiazaizhong:before{content:"\e6b1"}.heimg-icontupianjiazaishibai:before{content:"\ec0d"}.heimg-iconicon_arrow_right:before{content:"\e60d"}.heimg-iconjiantouzuo:before{content:"\e620"}.heimg-iconxuanzhuan:before{content:"\e66f"}.heimg-iconxuanzhuan1:before{content:"\e670"}.heimg-iconyuanshibili:before{content:"\e86b"}.heimg-iconfangda:before{content:"\e65d"}.heimg-iconsuoxiao:before{content:"\e65e"}.heimg-iconquanping:before{content:"\e698"}.heimg-iconguanbi:before{content:"\e764"}
|
@charset "UTF-8";.heimgfont,[class*=" dl-icon-"],[class^=dl-icon-]{font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:douluo-icons;src:url(./fonts/iconfont.woff?t=1662431203509) format("woff"),url(./fonts/iconfont.ttf?t=1662431203509) format("truetype")}@font-face{font-family:heimgfont;src:url(./fonts/iconfont/iconfont.woff2?t=1635390861127) format("woff2"),url(./fonts/iconfont/iconfont.woff?t=1635390861127) format("woff"),url(./fonts/iconfont/iconfont.ttf?t=1635390861127) format("truetype")}@font-face{font-family:"宋体";src:url(./fonts/simsun.woff2?t=1662431203509) format("woff2")}@font-face{font-family:"黑体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/SourceHanSansSC-VF.otf.woff2) format("woff2"),url(./fonts/simhei.woff2?t=1662431203510) format("woff2")}@font-face{font-family:"楷体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/LXGWWenKaiGBScreen.woff2) format("woff2"),url(./fonts/simkai.woff2?t=1662431203511) format("woff2")}@font-face{font-family:"Angsana New";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/angsa.woff2) format("woff2"),url(./fonts/angsa.woff2?t=1662431203512) format("woff2")}@font-face{font-family:"Times New Roman";src:url(./fonts/TIMES.woff2?t=1662431203511) format("truetype");font-style:normal;font-weight:400;unicode-range:U+0020-007E,U+00A0-00FF}@font-face{font-family:"Times New Roman";src:url(./fonts/TIMESI.woff2?t=1662431203512) format("truetype");font-style:italic;font-weight:400;unicode-range:U+0020-007E,U+00A0-00FF}@font-face{font-family:"Times New Roman";src:url(./fonts/TIMESBD.woff2?t=1662431203513) format("truetype");font-style:normal;font-weight:700;unicode-range:U+0020-007E,U+00A0-00FF}@font-face{font-family:"Times New Roman";src:url(./fonts/TIMESBI.woff2?t=1662431203514) format("truetype");font-style:italic;font-weight:700;unicode-range:U+0020-007E,U+00A0-00FF}[class*=" dl-icon-"],[class^=dl-icon-]{font-family:douluo-icons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block}.dl-icon-add:before{content:"\e608"}.dl-icon-close:before{content:"\e607"}.dl-icon-warning:before{content:"\e606"}.dl-icon-info:before{content:"\e675"}.dl-icon-lock:before{content:"\e604"}.dl-icon-check:before{content:"\e663"}.dl-icon-success:before{content:"\e603"}.dl-icon-error:before{content:"\e601"}.dl-icon-help:before{content:"\e662"}.dl-icon-reflesh:before{content:"\e628"}.dl-icon-setting:before{content:"\e639"}.dl-icon-pass:before{content:"\e65a"}.dl-icon-delete:before{content:"\e605"}.dl-icon-star:before{content:"\e617"}.dl-icon-yanjing:before{content:"\e61a"}.dl-icon-right:before{content:"\e621"}.dl-icon-left:before{content:"\e622"}.dl-icon-review:before{content:"\e674"}.heimgfont{font-family:heimgfont!important;font-size:16px}.heimg-iconguanbi1:before{content:"\e608"}.heimg-iconiconfontzhizuobiaozhun023146:before{content:"\e694"}.heimg-iconhelp:before{content:"\e626"}.heimg-iconjiazaizhong:before{content:"\e6b1"}.heimg-icontupianjiazaishibai:before{content:"\ec0d"}.heimg-iconicon_arrow_right:before{content:"\e60d"}.heimg-iconjiantouzuo:before{content:"\e620"}.heimg-iconxuanzhuan:before{content:"\e66f"}.heimg-iconxuanzhuan1:before{content:"\e670"}.heimg-iconyuanshibili:before{content:"\e86b"}.heimg-iconfangda:before{content:"\e65d"}.heimg-iconsuoxiao:before{content:"\e65e"}.heimg-iconquanping:before{content:"\e698"}.heimg-iconguanbi:before{content:"\e764"}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
@charset "UTF-8";.xml-single-mind-group .mind-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;background-color:#fafafa}.xml-single-mind-group .mind-toolbar img{width:13px;height:13px}.xml-single-mind-group .wrapper{overflow:hidden;background-color:#fafafa}.xml-single-mind-group jmnode{padding:10px}.xml-single-mind-group .xml-custom-button{position:absolute;top:0;right:0;display:block;width:14px;height:14px;cursor:pointer;background-image:url(../../static/images/icons/mind/content_jump.png);background-size:100% 100%;opacity:.7}.xml-single-mind-group .xml-custom-button:hover{opacity:1}.xml-single-mind-group .jsmind-editor{color:#000!important}.xml-single-mind-group .node-actions{display:-webkit-box;display:-ms-flexbox;display:flex;gap:5px}.xml-single-mind-group .circle-button{width:20px;height:20px;border-radius:50%;border:none;background-color:#007bff;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.xml-single-mind-group .mind-upload{height:28px}.xml-single-mind-group .mind-upload .el-upload-dragger{border:none;width:auto;height:auto;overflow:inherit!important}.xml-single-mind-group .mind-upload:hover .el-upload-dragger{background-color:#e8f4ff}.xml-single-mind-group .xml-mind{position:relative}.xml-single-mind-group .xml-mind .bottom_bar{position:absolute;width:232px;bottom:5px;right:50%;padding:8px 12px;-webkit-transform:translateX(50%);transform:translateX(50%);border-radius:4px;background:#fff;-webkit-box-shadow:0 2px 16px rgba(0,0,0,.24);box-shadow:0 2px 16px rgba(0,0,0,.24);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.xml-single-mind-group .xml-mind .bottom_bar .item{width:16px;height:16px;margin-right:12px;cursor:pointer}.xml-single-mind-group .xml-mind .bottom_bar .item img{display:block;width:100%;height:100%}.xml-single-mind-group .xml-mind .bottom_bar .line{width:1px;height:20px;margin-right:12px;border:1px solid rgba(0,0,0,.16)}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,135 +1,135 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=rotundity.vue.map */
|
/*# sourceMappingURL=semicircle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fifth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=rectangle.vue.map */
|
/*# sourceMappingURL=rectangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=rotundity.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=twelfth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=first.vue.map */
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=second.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=hexagon.vue.map */
|
/*# sourceMappingURL=hexagon.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=square.vue.map */
|
/*# sourceMappingURL=square.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fifteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=second.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=triangle.vue.map */
|
/*# sourceMappingURL=triangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=twelfth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=third.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=semicircle.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighteen2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixth.vue.map */
|
/*# sourceMappingURL=sixth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=nineteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventeen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourteen.vue.map */
|
/*# sourceMappingURL=fourteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=thirteenth.vue.map */
|
/*# sourceMappingURL=thirteenth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme2.vue.map */
|
/*# sourceMappingURL=Greentheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme5.vue.map */
|
/*# sourceMappingURL=eighteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
/*# sourceMappingURL=sixteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme3.vue.map */
|
/*# sourceMappingURL=Greentheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=seventeen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=nineteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme6.vue.map */
|
/*# sourceMappingURL=Greentheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
/*# sourceMappingURL=Greentheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentytwo.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme2.vue.map */
|
/*# sourceMappingURL=SanQintheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Knowledge.vue.map */
|
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentyfour.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=twenty.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme6.vue.map */
|
/*# sourceMappingURL=Yellowtheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Twentyfour.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=eighteen2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=SanQintheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentyfive.vue.map */
|
/*# sourceMappingURL=Twentyfive.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Knowledge.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=SanQintheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentythree.vue.map */
|
/*# sourceMappingURL=Twentythree.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentyone.vue.map */
|
/*# sourceMappingURL=Twentyone.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=twenty.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Twentytwo.vue.map */
|
||||||
|
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
.xml-text-pc[data-v-62978240] {
|
.xml-text-pc[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
.xml-text-h5[data-v-62978240] {
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.xml-text-h5 .inline-audio-wrap,
|
.xml-text-h5 .inline-audio-wrap,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,32 +9117,15 @@ var script$J = {
|
|||||||
if (str) {
|
if (str) {
|
||||||
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
||||||
if (match.indexOf('style') !== -1) {
|
if (match.indexOf('style') !== -1) {
|
||||||
// if (match.indexOf('http') !== -1) {
|
|
||||||
// return match
|
|
||||||
// } else {
|
|
||||||
// let src = this.resourceBasisPath + p1.split('./')[1]
|
|
||||||
// let image = match.replace(p1, src)
|
|
||||||
// return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1]
|
|
||||||
// }
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
let src = this.resourceBasisPath + p1.split('./')[1];
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
||||||
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
||||||
} else if (match.indexOf('width') !== -1) {
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
|
||||||
let list = image.split('<img');
|
|
||||||
return `<img style="max-width:100% !important;"${list[1]}`;
|
|
||||||
} else {
|
} else {
|
||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9381,7 +9364,7 @@ __vue_render__$K._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$J = undefined;
|
const __vue_inject_styles__$J = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$J = "data-v-15db9a2a";
|
const __vue_scope_id__$J = "data-v-387c0e8e";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$J = undefined;
|
const __vue_module_identifier__$J = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52884,7 +52867,6 @@ var script$G = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.markInstance.render();
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// console.log('绑定监听',_this.groupLocation);
|
// console.log('绑定监听',_this.groupLocation);
|
||||||
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
||||||
@ -52954,21 +52936,24 @@ var script$G = {
|
|||||||
if (this.richContent?.length) {
|
if (this.richContent?.length) {
|
||||||
this.renderMath();
|
this.renderMath();
|
||||||
}
|
}
|
||||||
|
setTimeout(() => {
|
||||||
|
this.markInstance.render();
|
||||||
|
}, 300);
|
||||||
if (this.mode == 'reader') {
|
if (this.mode == 'reader') {
|
||||||
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
||||||
if (ADom) {
|
if (ADom) {
|
||||||
for (let i = 0; i < ADom.length; i++) {
|
for (let i = 0; i < ADom.length; i++) {
|
||||||
let href = ADom[i].href;
|
let href = ADom[i].href;
|
||||||
if (href.indexOf('http') == 0) {
|
// if (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
||||||
ADom[i].href = 'javascript: void(0)';
|
ADom[i].href = 'javascript: void(0)';
|
||||||
ADom[i].onclick = function (e) {
|
ADom[i].onclick = function (e) {
|
||||||
_this.$EventBus.$emit('openTextHyperlink', {
|
_this.$EventBus.$emit('openTextHyperlink', {
|
||||||
href: href
|
href: href
|
||||||
});
|
});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53968,13 +53953,8 @@ var script$G = {
|
|||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
},
|
},
|
||||||
updateCodeBlock() {
|
updateCodeBlock() {
|
||||||
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
||||||
@ -54917,7 +54897,7 @@ __vue_render__$G._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$G = undefined;
|
const __vue_inject_styles__$G = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$G = "data-v-62978240";
|
const __vue_scope_id__$G = "data-v-51cfaa06";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$G = undefined;
|
const __vue_module_identifier__$G = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
||||||
.title-text[data-v-bad85026] {
|
.title-text[data-v-bad85026] {
|
||||||
background-color: var(--background-color) !important;
|
background-color: var(--background-color) !important;
|
||||||
}
|
}
|
||||||
@ -12,130 +12,148 @@
|
|||||||
/*# sourceMappingURL=third.vue.map */
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=rectangle.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixth.vue.map */
|
/*# sourceMappingURL=sixth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=semicircle.vue.map */
|
/*# sourceMappingURL=semicircle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=rectangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme6.vue.map */
|
/*# sourceMappingURL=Yellowtheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifteen.vue.map */
|
/*# sourceMappingURL=fifteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=first.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=hexagon.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=twelfth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=thirteenth.vue.map */
|
/*# sourceMappingURL=thirteenth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=triangle.vue.map */
|
/*# sourceMappingURL=Greentheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=nineteen.vue.map */
|
/*# sourceMappingURL=nineteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourteen.vue.map */
|
/*# sourceMappingURL=Greentheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventeen.vue.map */
|
/*# sourceMappingURL=twelfth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=hexagon.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme1.vue.map */
|
/*# sourceMappingURL=Redtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=sixteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Redtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Knowledge.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme6.vue.map */
|
/*# sourceMappingURL=Greentheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifth.vue.map */
|
/*# sourceMappingURL=fifth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtytwo.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyseven.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtythree.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme4.vue.map */
|
/*# sourceMappingURL=Redtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme3.vue.map */
|
/*# sourceMappingURL=triangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Knowledge.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyone.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyeight.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyfive.vue.map */
|
/*# sourceMappingURL=Thirtyfive.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleLogging.vue.map */
|
/*# sourceMappingURL=fourteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtynine.vue.map */
|
/*# sourceMappingURL=Thirtyone.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixteen.vue.map */
|
/*# sourceMappingURL=Thirtytwo.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=BuleRectangle.vue.map */
|
/*# sourceMappingURL=Thirtyeight.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtysix.vue.map */
|
/*# sourceMappingURL=Thirtysix.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleLight.vue.map */
|
/*# sourceMappingURL=seventeen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=BuleRectangleTwo.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyfour.vue.map */
|
/*# sourceMappingURL=Thirtyfour.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleQuestion.vue.map */
|
/*# sourceMappingURL=Thirtyseven.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=BuleRectangleTwo.vue.map */
|
/*# sourceMappingURL=titleLight.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=titleCrane.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Redtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=titleLogging.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtythree.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtynine.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=titleText.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Sevenpagefive.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Sevenpagethree.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=BuleRectangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=titleTearcher.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Forty.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Fortyone.vue.map */
|
||||||
.title-bgimg[data-v-4e87e799] {
|
.title-bgimg[data-v-4e87e799] {
|
||||||
background-image: url(../style/title-text-bgimg.png);
|
background-image: url(../style/title-text-bgimg.png);
|
||||||
}
|
}
|
||||||
@ -143,31 +161,21 @@
|
|||||||
/*# sourceMappingURL=Sevenpageone.vue.map */
|
/*# sourceMappingURL=Sevenpageone.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Forty.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleText.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleCrane.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleTearcher.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Sevenpagefive.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Sevenpagefour.vue.map */
|
/*# sourceMappingURL=Sevenpagefour.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Sevenpagethree.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Fortyone.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Sevenpagetwo.vue.map */
|
/*# sourceMappingURL=Sevenpagetwo.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=titleQuestion.vue.map */
|
||||||
|
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
.xml-text-pc[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
.xml-text-h5[data-v-51cfaa06] {
|
||||||
|
}
|
||||||
|
|
||||||
.xml-text-h5 .inline-audio-wrap,
|
.xml-text-h5 .inline-audio-wrap,
|
||||||
.xml-text-h5 .inline-link-wrap {
|
.xml-text-h5 .inline-link-wrap {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -239,14 +247,6 @@
|
|||||||
|
|
||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
}
|
|
||||||
.xml-text-pc[data-v-62978240] {
|
|
||||||
}
|
|
||||||
.xml-text-h5[data-v-62978240] {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,32 +9117,15 @@ var script$V = {
|
|||||||
if (str) {
|
if (str) {
|
||||||
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
let data = str.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, (match, p1) => {
|
||||||
if (match.indexOf('style') !== -1) {
|
if (match.indexOf('style') !== -1) {
|
||||||
// if (match.indexOf('http') !== -1) {
|
|
||||||
// return match
|
|
||||||
// } else {
|
|
||||||
// let src = this.resourceBasisPath + p1.split('./')[1]
|
|
||||||
// let image = match.replace(p1, src)
|
|
||||||
// return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1]
|
|
||||||
// }
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
let src = this.resourceBasisPath + p1.split('./')[1];
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
||||||
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
return image.split('style="')[0] + 'style="max-width:100% !important;' + image.split('style="')[1];
|
||||||
} else if (match.indexOf('width') !== -1) {
|
|
||||||
let src = this.resourceBasisPath + p1.split('./')[1];
|
|
||||||
let image = match.indexOf('http') !== -1 ? match : match.replace(p1, src);
|
|
||||||
let list = image.split('<img');
|
|
||||||
return `<img style="max-width:100% !important;"${list[1]}`;
|
|
||||||
} else {
|
} else {
|
||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9381,7 +9364,7 @@ __vue_render__$W._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$V = undefined;
|
const __vue_inject_styles__$V = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$V = "data-v-15db9a2a";
|
const __vue_scope_id__$V = "data-v-387c0e8e";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$V = undefined;
|
const __vue_module_identifier__$V = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52884,7 +52867,6 @@ var script$S = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.markInstance.render();
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// console.log('绑定监听',_this.groupLocation);
|
// console.log('绑定监听',_this.groupLocation);
|
||||||
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
|
||||||
@ -52954,21 +52936,24 @@ var script$S = {
|
|||||||
if (this.richContent?.length) {
|
if (this.richContent?.length) {
|
||||||
this.renderMath();
|
this.renderMath();
|
||||||
}
|
}
|
||||||
|
setTimeout(() => {
|
||||||
|
this.markInstance.render();
|
||||||
|
}, 300);
|
||||||
if (this.mode == 'reader') {
|
if (this.mode == 'reader') {
|
||||||
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
let ADom = document.getElementById(this.blockId).getElementsByTagName('a') || [];
|
||||||
if (ADom) {
|
if (ADom) {
|
||||||
for (let i = 0; i < ADom.length; i++) {
|
for (let i = 0; i < ADom.length; i++) {
|
||||||
let href = ADom[i].href;
|
let href = ADom[i].href;
|
||||||
if (href.indexOf('http') == 0) {
|
// if (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
||||||
ADom[i].href = 'javascript: void(0)';
|
ADom[i].href = 'javascript: void(0)';
|
||||||
ADom[i].onclick = function (e) {
|
ADom[i].onclick = function (e) {
|
||||||
_this.$EventBus.$emit('openTextHyperlink', {
|
_this.$EventBus.$emit('openTextHyperlink', {
|
||||||
href: href
|
href: href
|
||||||
});
|
});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53968,13 +53953,8 @@ var script$S = {
|
|||||||
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
return `<img src='${p1.indexOf('http') > -1 ? p1 : this.resourceBasisPath + p1.split('./')[1]}' style="max-width:100%;" />`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 处理 table 标签,外套 div 并添加 class
|
|
||||||
data = data.replace(/<table\b[^>]*>[\s\S]*?<\/table>/gi, match => {
|
|
||||||
return `<div class="xml-text-table-render">${match}</div>`;
|
|
||||||
});
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
return '';
|
|
||||||
},
|
},
|
||||||
updateCodeBlock() {
|
updateCodeBlock() {
|
||||||
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
jquery(`#${this.blockId} .richtext-reset-wrapper--view pre`).each(function (i) {
|
||||||
@ -54917,7 +54897,7 @@ __vue_render__$S._withStripped = true;
|
|||||||
/* style */
|
/* style */
|
||||||
const __vue_inject_styles__$S = undefined;
|
const __vue_inject_styles__$S = undefined;
|
||||||
/* scoped */
|
/* scoped */
|
||||||
const __vue_scope_id__$S = "data-v-62978240";
|
const __vue_scope_id__$S = "data-v-51cfaa06";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$S = undefined;
|
const __vue_module_identifier__$S = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
@ -1,3 +1,11 @@
|
|||||||
|
|
||||||
|
.xml-video-container-h5[data-v-19241f7a] {
|
||||||
|
}
|
||||||
|
.xml-video-container-pc[data-v-19241f7a] {
|
||||||
|
}
|
||||||
|
.xml-video-container-pad[data-v-19241f7a] {
|
||||||
|
}
|
||||||
|
|
||||||
.xml-video-container-pdf[data-v-26092a25] {
|
.xml-video-container-pdf[data-v-26092a25] {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -24,10 +32,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=XmlVideoImg.vue.map */
|
/*# sourceMappingURL=XmlVideoImg.vue.map */
|
||||||
|
|
||||||
.xml-video-container-h5[data-v-19241f7a] {
|
|
||||||
}
|
|
||||||
.xml-video-container-pc[data-v-19241f7a] {
|
|
||||||
}
|
|
||||||
.xml-video-container-pad[data-v-19241f7a] {
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
* Copyright ©Wed Dec 10 2025 14:35:07 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
|
|||||||
1117
src/views/Book.vue
1117
src/views/Book.vue
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user