cyc
This commit is contained in:
parent
3fd6aa1bee
commit
0fd35475dd
@ -2,7 +2,7 @@
|
|||||||
<div id="nav" v-if="!isMobileDevice">
|
<div id="nav" v-if="!isMobileDevice">
|
||||||
<div>
|
<div>
|
||||||
<a :href="backUrl" @click="gotoback">返回首页</a>
|
<a :href="backUrl" @click="gotoback">返回首页</a>
|
||||||
<!-- <a @click="gotoback">返回首页</a> -->
|
<!-- <a @click="gotoback"></a> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- <router-link to="/book">书籍</router-link> | -->
|
<!-- <router-link to="/book">书籍</router-link> | -->
|
||||||
|
|||||||
@ -9,6 +9,7 @@ import './plugin/xml-digital-teaching/lib/theme/index.css'
|
|||||||
import ElementUI from 'element-ui';
|
import ElementUI from 'element-ui';
|
||||||
import 'element-ui/lib/theme-chalk/index.css';
|
import 'element-ui/lib/theme-chalk/index.css';
|
||||||
import 'vant/lib/index.css'
|
import 'vant/lib/index.css'
|
||||||
|
|
||||||
Vue.use(ElementUI);
|
Vue.use(ElementUI);
|
||||||
|
|
||||||
|
|
||||||
@ -27,12 +28,12 @@ router.beforeEach((to,from,next)=>{
|
|||||||
var userType = to.query.userType
|
var userType = to.query.userType
|
||||||
var isTrial = to.query.isTrial
|
var isTrial = to.query.isTrial
|
||||||
if (apikey){
|
if (apikey){
|
||||||
setStore('apikey',apikey)
|
// setStore('apikey',apikey)
|
||||||
// console.log(apikey)
|
// console.log(apikey)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (userId){
|
if (userId){
|
||||||
setStore('userId',userId)
|
// setStore('userId',userId)
|
||||||
// console.log(userId)
|
// console.log(userId)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
|
||||||
|
.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;
|
||||||
@ -15,7 +20,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
.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}
|
.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}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
@ -183,9 +183,6 @@
|
|||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
// import "../block.scss"
|
// import "../block.scss"
|
||||||
var script = {
|
var script = {
|
||||||
@ -483,27 +480,6 @@ 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",
|
||||||
@ -604,14 +580,17 @@ var __vue_render__ = function () {
|
|||||||
attrs: { src: _vm.blockData.link, loading: "lazy" },
|
attrs: { src: _vm.blockData.link, loading: "lazy" },
|
||||||
}),
|
}),
|
||||||
_vm._v(" "),
|
_vm._v(" "),
|
||||||
_c(
|
_vm.blockData.styleModel != "A"
|
||||||
|
? _c(
|
||||||
"div",
|
"div",
|
||||||
{
|
{
|
||||||
staticClass: "fullscreen-btn",
|
staticClass: "fullscreen-btn",
|
||||||
|
attrs: { title: "全屏" },
|
||||||
on: { click: _vm.toggleFullscreen },
|
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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|||||||
@ -1,33 +1,30 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=second.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=first.vue.map */
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixth.vue.map */
|
/*# sourceMappingURL=eighth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventh.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourth.vue.map */
|
/*# sourceMappingURL=fourth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=second.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifth.vue.map */
|
/*# sourceMappingURL=fifth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=sixth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=third.vue.map */
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
}
|
/*# sourceMappingURL=seventh.vue.map */
|
||||||
.xml-text-pc[data-v-b3b65640] {
|
|
||||||
}
|
.xml-image-lun-bo .el-carousel__item {
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.xml-text-h5 .inline-audio-wrap,
|
.xml-text-h5 .inline-audio-wrap,
|
||||||
@ -101,8 +98,11 @@
|
|||||||
|
|
||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
.xml-image-lun-bo .el-carousel__item {
|
.xml-text-h5[data-v-62978240] {
|
||||||
text-align: center;
|
}
|
||||||
|
.xml-text-pc[data-v-62978240] {
|
||||||
|
}
|
||||||
|
.xml-text-h5[data-v-62978240] {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
@ -11572,15 +11572,32 @@ 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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -11747,7 +11764,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-387c0e8e";
|
const __vue_scope_id__$a = "data-v-15db9a2a";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$a = undefined;
|
const __vue_module_identifier__$a = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -54879,7 +54896,7 @@ var script$7 = {
|
|||||||
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 (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
if (href.indexOf('http') == 0) {
|
||||||
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', {
|
||||||
@ -54888,7 +54905,7 @@ var script$7 = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -55888,8 +55905,13 @@ 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) {
|
||||||
@ -56832,7 +56854,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-b3b65640";
|
const __vue_scope_id__$7 = "data-v-62978240";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$7 = undefined;
|
const __vue_module_identifier__$7 = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
.xml-text-h5 .inline-audio-wrap,.xml-text-h5 .inline-link-wrap{align-items:center}.xml-text-h5 .inline-audio-wrap span,.xml-text-h5 .inline-link-wrap span{display:inline-block}.xml-text-h5 .inline-audio-box{width:20px;height:20px;box-sizing:border-box;position:relative;margin-left:6px}.xml-text-h5 .inline-audio-box .wifi-symbol{width:20px;height:20px;box-sizing:border-box;overflow:hidden;transform:rotate(135deg);position:relative}.xml-text-h5 .inline-audio-box .wifi-symbol .wifi-circle{border:3px solid #418eed;border-radius:50%;position:absolute}.xml-text-h5 .inline-audio-box .wifi-symbol .wifi-circle.first{width:3px;height:3px;background:#0076bc;top:14px;left:14px}.xml-text-h5 .inline-audio-box .wifi-symbol .wifi-circle.second{width:15px;height:15px;top:10px;left:10px}.xml-text-h5 .inline-audio-box .wifi-symbol .wifi-circle.third{width:24px;height:24px;top:6px;left:6px}.xml-text-h5 .inline-audio-box .wifi-symbol.playing .second{animation:fadeInOut 1s infinite .2s}.xml-text-h5 .inline-audio-box .wifi-symbol.playing .third{animation:fadeInOut 1s infinite .4s}@keyframes fadeInOut{0%{opacity:0}100%{opacity:1}}.virtual-input .el-textarea__inner{min-height:0!important;height:0!important;padding:0!important;margin:0!important;border:none!important}.xml-image-lun-bo .el-carousel__item{text-align:center}.el-image__inner[data-v-2cbc6547]{width:100%!important}.xml-image-ping-pu-h5[data-v-2cbc6547]{display:flex;flex-direction:column;align-items:center}.xml-image-hua-lang[data-v-2cbc6547]{display:flex;flex-direction:column;align-items:center}
|
.xml-image-lun-bo .el-carousel__item{text-align:center}.xml-text-h5 .inline-audio-wrap,.xml-text-h5 .inline-link-wrap{align-items:center}.xml-text-h5 .inline-audio-wrap span,.xml-text-h5 .inline-link-wrap span{display:inline-block}.xml-text-h5 .inline-audio-box{width:20px;height:20px;box-sizing:border-box;position:relative;margin-left:6px}.xml-text-h5 .inline-audio-box .wifi-symbol{width:20px;height:20px;box-sizing:border-box;overflow:hidden;transform:rotate(135deg);position:relative}.xml-text-h5 .inline-audio-box .wifi-symbol .wifi-circle{border:3px solid #418eed;border-radius:50%;position:absolute}.xml-text-h5 .inline-audio-box .wifi-symbol .wifi-circle.first{width:3px;height:3px;background:#0076bc;top:14px;left:14px}.xml-text-h5 .inline-audio-box .wifi-symbol .wifi-circle.second{width:15px;height:15px;top:10px;left:10px}.xml-text-h5 .inline-audio-box .wifi-symbol .wifi-circle.third{width:24px;height:24px;top:6px;left:6px}.xml-text-h5 .inline-audio-box .wifi-symbol.playing .second{animation:fadeInOut 1s infinite .2s}.xml-text-h5 .inline-audio-box .wifi-symbol.playing .third{animation:fadeInOut 1s infinite .4s}@keyframes fadeInOut{0%{opacity:0}100%{opacity:1}}.virtual-input .el-textarea__inner{min-height:0!important;height:0!important;padding:0!important;margin:0!important;border:none!important}.el-image__inner[data-v-2cbc6547]{width:100%!important}.xml-image-ping-pu-h5[data-v-2cbc6547]{display:flex;flex-direction:column;align-items:center}.xml-image-hua-lang[data-v-2cbc6547]{display:flex;flex-direction:column;align-items:center}
|
||||||
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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var playIcon = "data:image/png;base64,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";
|
var playIcon = "data:image/png;base64,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";
|
||||||
@ -1381,12 +1381,23 @@ 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("div", { staticClass: "play-mode-wrap" }, [
|
? _c(
|
||||||
|
"div",
|
||||||
|
{
|
||||||
|
staticClass: "play-mode-wrap",
|
||||||
|
on: {
|
||||||
|
click: function ($event) {
|
||||||
|
return _vm.changeTime(0)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
[
|
||||||
_c("img", {
|
_c("img", {
|
||||||
staticClass: "play-control-image",
|
staticClass: "play-control-image",
|
||||||
attrs: { src: _vm.playModeIconSrc },
|
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"
|
||||||
|
|||||||
@ -1,84 +1,66 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=first.vue.map */
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=eleven.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=isosceles.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=quadrangle.vue.map */
|
/*# sourceMappingURL=quadrangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=ninth.vue.map */
|
/*# sourceMappingURL=ninth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=isosceles.vue.map */
|
/*# sourceMappingURL=second.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eleven.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=third.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventh.vue.map */
|
/*# sourceMappingURL=seventh.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=second.vue.map */
|
/*# sourceMappingURL=eighth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=tenth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=thirteen.vue.map */
|
/*# sourceMappingURL=thirteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=wave.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=twelve.vue.map */
|
/*# sourceMappingURL=twelve.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme4.vue.map */
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=tenth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
/*# sourceMappingURL=Greentheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixteen.vue.map */
|
/*# sourceMappingURL=fifteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fourteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme5.vue.map */
|
/*# sourceMappingURL=Greentheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=wave.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme2.vue.map */
|
/*# sourceMappingURL=Greentheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme1.vue.map */
|
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme5.vue.map */
|
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme2.vue.map */
|
/*# sourceMappingURL=Redtheme2.vue.map */
|
||||||
@ -87,19 +69,52 @@
|
|||||||
/*# sourceMappingURL=Redtheme3.vue.map */
|
/*# sourceMappingURL=Redtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme6.vue.map */
|
/*# sourceMappingURL=Redtheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
/*# sourceMappingURL=Redtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=SanQintheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=sixteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Redtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtyfive.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtyseven2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme1.vue.map */
|
/*# sourceMappingURL=SanQintheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtysix.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Redtheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyseven.vue.map */
|
/*# sourceMappingURL=Thirtyseven.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyfive.vue.map */
|
/*# sourceMappingURL=Thirtyseven3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Forty.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyeight.vue.map */
|
/*# sourceMappingURL=Thirtyeight.vue.map */
|
||||||
@ -107,26 +122,11 @@
|
|||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme2.vue.map */
|
/*# sourceMappingURL=SanQintheme2.vue.map */
|
||||||
|
|
||||||
|
.xml-text-h5[data-v-62978240] {
|
||||||
/*# sourceMappingURL=SanQintheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyseven3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtysix.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyseven2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Forty.vue.map */
|
|
||||||
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
}
|
}
|
||||||
.xml-text-pc[data-v-b3b65640] {
|
.xml-text-pc[data-v-62978240] {
|
||||||
}
|
}
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
.xml-text-h5[data-v-62978240] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,15 +9117,32 @@ 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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9364,7 +9381,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-387c0e8e";
|
const __vue_scope_id__$I = "data-v-15db9a2a";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$I = undefined;
|
const __vue_module_identifier__$I = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52942,7 +52959,7 @@ var script$F = {
|
|||||||
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 (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
if (href.indexOf('http') == 0) {
|
||||||
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', {
|
||||||
@ -52951,7 +52968,7 @@ var script$F = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53951,8 +53968,13 @@ 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) {
|
||||||
@ -54895,7 +54917,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-b3b65640";
|
const __vue_scope_id__$F = "data-v-62978240";
|
||||||
/* 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-35976a09] {
|
.option-item + .option-item[data-v-669043fa] {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
.option-item[data-v-35976a09] {
|
.option-item[data-v-669043fa] {
|
||||||
display: flex;
|
display: flex;
|
||||||
background: #fbfbfb;
|
background: #fbfbfb;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@ -21,38 +21,38 @@
|
|||||||
transition: all ease 0.3s;
|
transition: all ease 0.3s;
|
||||||
border: 1px solid #fbfbfb;
|
border: 1px solid #fbfbfb;
|
||||||
}
|
}
|
||||||
.option-item.isActive[data-v-35976a09] {
|
.option-item .questionSeq[data-v-669043fa] {
|
||||||
border-color: #2e9adb;
|
|
||||||
}
|
|
||||||
.option-item .questionSeq[data-v-35976a09] {
|
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
}
|
}
|
||||||
.option-item.isTrue[data-v-35976a09] {
|
.option-item.isActive[data-v-669043fa] {
|
||||||
|
border-color: #2e9adb;
|
||||||
|
}
|
||||||
|
.option-item.isTrue[data-v-669043fa] {
|
||||||
border: 1px solid #70b603;
|
border: 1px solid #70b603;
|
||||||
}
|
}
|
||||||
.option-item.isTrue[data-v-35976a09] .el-checkbox__input.is-checked .el-checkbox__inner {
|
.option-item.isTrue[data-v-669043fa] .el-radio__input.is-checked .el-radio__inner {
|
||||||
border-color: #70b603;
|
border-color: #70b603;
|
||||||
background: #70b603;
|
background: #70b603;
|
||||||
}
|
}
|
||||||
.option-item.isFalse[data-v-35976a09] {
|
.option-item.isFalse[data-v-669043fa] {
|
||||||
border: 1px solid #d9001b;
|
border: 1px solid #d9001b;
|
||||||
}
|
}
|
||||||
.option-item.isFalse[data-v-35976a09] .el-checkbox__input.is-checked .el-checkbox__inner {
|
.option-item.isFalse[data-v-669043fa] .el-radio__input.is-checked .el-radio__inner {
|
||||||
border-color: #d9001b;
|
border-color: #d9001b;
|
||||||
background: #d9001b;
|
background: #d9001b;
|
||||||
}
|
}
|
||||||
.option-item[data-v-35976a09]:hover {
|
.option-item[data-v-669043fa]:hover {
|
||||||
background: #ddd;
|
background: #ddd;
|
||||||
}
|
}
|
||||||
.option-item[data-v-35976a09] .content {
|
.option-item[data-v-669043fa] .content {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.option-item[data-v-35976a09] .stem-content.no-border {
|
.option-item[data-v-669043fa] .stem-content.no-border {
|
||||||
padding: 8px 14px !important;
|
padding: 8px 14px !important;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=checkbox.vue.map */
|
/*# sourceMappingURL=radio.vue.map */
|
||||||
.option-item + .option-item[data-v-2c28041a] {
|
.option-item + .option-item[data-v-2c28041a] {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
@ -141,31 +141,50 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=radio.vue.map */
|
/*# sourceMappingURL=radio.vue.map */
|
||||||
.content[data-v-84c18bec] {
|
.option-item + .option-item[data-v-35976a09] {
|
||||||
width: 100%;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
.content .stem-content[data-v-84c18bec] {
|
.option-item[data-v-35976a09] {
|
||||||
width: 100%;
|
display: flex;
|
||||||
box-sizing: border-box;
|
background: #fbfbfb;
|
||||||
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.isActive[data-v-35976a09] {
|
||||||
|
border-color: #2e9adb;
|
||||||
|
}
|
||||||
|
.option-item .questionSeq[data-v-35976a09] {
|
||||||
|
padding: 8px 0;
|
||||||
|
}
|
||||||
|
.option-item.isTrue[data-v-35976a09] {
|
||||||
|
border: 1px solid #70b603;
|
||||||
|
}
|
||||||
|
.option-item.isTrue[data-v-35976a09] .el-checkbox__input.is-checked .el-checkbox__inner {
|
||||||
|
border-color: #70b603;
|
||||||
|
background: #70b603;
|
||||||
|
}
|
||||||
|
.option-item.isFalse[data-v-35976a09] {
|
||||||
|
border: 1px solid #d9001b;
|
||||||
|
}
|
||||||
|
.option-item.isFalse[data-v-35976a09] .el-checkbox__input.is-checked .el-checkbox__inner {
|
||||||
|
border-color: #d9001b;
|
||||||
|
background: #d9001b;
|
||||||
|
}
|
||||||
|
.option-item[data-v-35976a09]:hover {
|
||||||
|
background: #ddd;
|
||||||
|
}
|
||||||
|
.option-item[data-v-35976a09] .content {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.content .stem-content.no-border[data-v-84c18bec] {
|
.option-item[data-v-35976a09] .stem-content.no-border {
|
||||||
padding: 0;
|
padding: 8px 14px !important;
|
||||||
border: none;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
.content .stem-content .placeholder[data-v-84c18bec] {
|
|
||||||
color: #c0c4cc;
|
|
||||||
font-size: 14px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=common.vue.map */
|
/*# sourceMappingURL=checkbox.vue.map */
|
||||||
.content[data-v-178d3ffd] {
|
.content[data-v-178d3ffd] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@ -191,92 +210,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=common.vue.map */
|
/*# sourceMappingURL=common.vue.map */
|
||||||
.option-item + .option-item[data-v-669043fa] {
|
.content[data-v-0d12cfbf] {
|
||||||
margin-top: 16px;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.option-item[data-v-669043fa] {
|
.content .stem-content[data-v-0d12cfbf] {
|
||||||
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-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;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.option-item[data-v-669043fa] .stem-content.no-border {
|
.content .stem-content.no-border[data-v-0d12cfbf] {
|
||||||
padding: 8px 14px !important;
|
padding: 0;
|
||||||
|
border: none;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.content .stem-content .placeholder[data-v-0d12cfbf] {
|
||||||
|
color: #c0c4cc;
|
||||||
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=radio.vue.map */
|
/*# sourceMappingURL=common.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 */
|
|
||||||
.line-content[data-v-115d2322] {
|
.line-content[data-v-115d2322] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -320,37 +278,48 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=view-line-answer.vue.map */
|
/*# sourceMappingURL=view-line-answer.vue.map */
|
||||||
.image-file[data-v-3e962af2] {
|
.line-content[data-v-4508580a] {
|
||||||
width: 218px;
|
|
||||||
object-fit: scale-down;
|
|
||||||
}
|
|
||||||
.video-file[data-v-3e962af2] {
|
|
||||||
width: 408px;
|
|
||||||
}
|
|
||||||
.file-render[data-v-3e962af2] {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.file-info[data-v-3e962af2] {
|
.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;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
.file-info.videoHandler[data-v-3e962af2] {
|
.option-item + .option-item[data-v-4508580a] {
|
||||||
display: flex;
|
margin-left: 100px;
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
.file-info.videoHandler .fileName[data-v-3e962af2] {
|
.option-item.isMobile + .option-item.isMobile[data-v-4508580a] {
|
||||||
font-size: 18px;
|
margin-left: 50px;
|
||||||
color: #333333;
|
|
||||||
margin-bottom: 19px;
|
|
||||||
}
|
}
|
||||||
.file-info.videoHandler .fileInfo[data-v-3e962af2] {
|
.option-item[data-v-4508580a] {
|
||||||
font-size: 14px;
|
margin-bottom: 10px;
|
||||||
color: #666666;
|
background: #fbfbfb;
|
||||||
margin-bottom: 19px;
|
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=index.vue.map */
|
/*# 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;
|
||||||
@ -381,6 +350,37 @@
|
|||||||
margin-bottom: 19px;
|
margin-bottom: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*# sourceMappingURL=index.vue.map */
|
||||||
|
.image-file[data-v-3e962af2] {
|
||||||
|
width: 218px;
|
||||||
|
object-fit: scale-down;
|
||||||
|
}
|
||||||
|
.video-file[data-v-3e962af2] {
|
||||||
|
width: 408px;
|
||||||
|
}
|
||||||
|
.file-render[data-v-3e962af2] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.file-info[data-v-3e962af2] {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.file-info.videoHandler[data-v-3e962af2] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.file-info.videoHandler .fileName[data-v-3e962af2] {
|
||||||
|
font-size: 18px;
|
||||||
|
color: #333333;
|
||||||
|
margin-bottom: 19px;
|
||||||
|
}
|
||||||
|
.file-info.videoHandler .fileInfo[data-v-3e962af2] {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #666666;
|
||||||
|
margin-bottom: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=index.vue.map */
|
/*# sourceMappingURL=index.vue.map */
|
||||||
[data-v-726cb75e] .el-dialog__header {
|
[data-v-726cb75e] .el-dialog__header {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -456,65 +456,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=video-play.vue.map */
|
/*# sourceMappingURL=video-play.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] {
|
.audio .audio-icon[data-v-7be84416] {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
@ -574,3 +515,62 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=audio-play-new.vue.map */
|
/*# 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
@ -74,11 +74,11 @@
|
|||||||
|
|
||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
.xml-text-h5[data-v-62978240] {
|
||||||
}
|
}
|
||||||
.xml-text-pc[data-v-b3b65640] {
|
.xml-text-pc[data-v-62978240] {
|
||||||
}
|
}
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
.xml-text-h5[data-v-62978240] {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,15 +9117,32 @@ 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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9364,7 +9381,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-387c0e8e";
|
const __vue_scope_id__$4 = "data-v-15db9a2a";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$4 = undefined;
|
const __vue_module_identifier__$4 = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52942,7 +52959,7 @@ var script$1 = {
|
|||||||
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 (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
if (href.indexOf('http') == 0) {
|
||||||
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', {
|
||||||
@ -52951,7 +52968,7 @@ var script$1 = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53951,8 +53968,13 @@ 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) {
|
||||||
@ -54895,7 +54917,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-b3b65640";
|
const __vue_scope_id__$1 = "data-v-62978240";
|
||||||
/* 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-830a69c8]:hover,
|
.preview-item-file[data-v-eff5e992]:hover,
|
||||||
.slip-over-cover[data-v-830a69c8]:hover {
|
.slip-over-cover[data-v-eff5e992]:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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,6 +63,10 @@ var script = {
|
|||||||
// 是否阅读器
|
// 是否阅读器
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
bookReaderPath: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@ -188,22 +192,38 @@ var script = {
|
|||||||
window.open(item.link);
|
window.open(item.link);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let url = item.uploadFileUrl;
|
let baseUrl = item.uploadFileUrl;
|
||||||
if (item.uploadFileUrl.indexOf('./') !== -1) {
|
let baseFileUrl = '';
|
||||||
url = this.resourceBasisPath + item.uploadFileUrl.split('./')[1];
|
if (baseUrl.indexOf('http') === -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: url,
|
fileUrl: baseUrl,
|
||||||
title: item.title
|
title: item.title
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (item.uploadFileUrl.indexOf('http') === -1) {
|
if (baseUrl.indexOf('.pdf') > 0) {
|
||||||
window.open((this.officePreviewPath ? this.officePreviewPath : process.env.VUE_APP_OFFICES_READ) + this.resourceBasisPath + item.uploadFileUrl.split('./')[1]);
|
baseFileUrl = this.bookReaderPath + `/static/pdfjs/web/viewer.html?file=${baseUrl}`;
|
||||||
|
} else if (baseUrl.indexOf('.epub') > 0) {
|
||||||
|
baseFileUrl = this.bookReaderPath + '/static/epubjs/index.html#/epub-read?flow=scrolled&bookPath=' + baseUrl;
|
||||||
} else {
|
} else {
|
||||||
window.open((this.officePreviewPath ? this.officePreviewPath : process.env.VUE_APP_OFFICES_READ) + item.uploadFileUrl);
|
baseFileUrl = (this.officePreviewPath ? this.officePreviewPath : process.env.VUE_APP_OFFICES_READ) + baseUrl;
|
||||||
}
|
}
|
||||||
|
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
|
||||||
|
// )
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1417,7 +1437,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-830a69c8";
|
const __vue_scope_id__ = "data-v-eff5e992";
|
||||||
/* 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-830a69c8]:hover,.slip-over-cover[data-v-830a69c8]:hover{cursor:pointer}
|
.preview-item-file[data-v-eff5e992]:hover,.slip-over-cover[data-v-eff5e992]:hover{cursor:pointer}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
var singleGroupMixin = {
|
var singleGroupMixin = {
|
||||||
|
|||||||
@ -1,102 +1,110 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=second.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=third.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=first.vue.map */
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme1.vue.map */
|
/*# sourceMappingURL=second.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighth.vue.map */
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventh.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=tenth.vue.map */
|
/*# sourceMappingURL=tenth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eleventh.vue.map */
|
/*# sourceMappingURL=ninth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme4.vue.map */
|
/*# sourceMappingURL=Greytheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme5.vue.map */
|
/*# sourceMappingURL=fourth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=ninth.vue.map */
|
/*# sourceMappingURL=eighth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=sixth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=seventh.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greytheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greytheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme2.vue.map */
|
/*# sourceMappingURL=Greytheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
/*# sourceMappingURL=Greytheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greytheme6.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Bluetheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Bluetheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Bluetheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme4.vue.map */
|
/*# sourceMappingURL=Redtheme4.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=Greentheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Redtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Bluetheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fifth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Bluetheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Bluetheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Bluetheme3.vue.map */
|
/*# sourceMappingURL=Bluetheme3.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;
|
||||||
@ -168,14 +176,6 @@
|
|||||||
|
|
||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
.xml-text-pc[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,15 +9117,32 @@ 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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9364,7 +9381,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-387c0e8e";
|
const __vue_scope_id__$A = "data-v-15db9a2a";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$A = undefined;
|
const __vue_module_identifier__$A = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52942,7 +52959,7 @@ var script$x = {
|
|||||||
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 (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
if (href.indexOf('http') == 0) {
|
||||||
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', {
|
||||||
@ -52951,7 +52968,7 @@ var script$x = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53951,8 +53968,13 @@ 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) {
|
||||||
@ -54895,7 +54917,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-b3b65640";
|
const __vue_scope_id__$x = "data-v-62978240";
|
||||||
/* 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
|
|||||||
@ -1,3 +1,14 @@
|
|||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=XmlTextDialog.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;
|
||||||
@ -70,17 +81,6 @@
|
|||||||
/*# sourceMappingURL=XmlText.vue.map */
|
/*# sourceMappingURL=XmlText.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=XmlTextDialog.vue.map */
|
|
||||||
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
.xml-text-pc[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* XmlDigitalTeaching v0.0.1
|
* XmlDigitalTeaching v0.0.1
|
||||||
* Copyright ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,15 +9117,32 @@ 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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9364,7 +9381,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-387c0e8e";
|
const __vue_scope_id__$3 = "data-v-15db9a2a";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$3 = undefined;
|
const __vue_module_identifier__$3 = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52942,7 +52959,7 @@ var script = {
|
|||||||
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 (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
if (href.indexOf('http') == 0) {
|
||||||
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', {
|
||||||
@ -52951,7 +52968,7 @@ var script = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53951,8 +53968,13 @@ 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) {
|
||||||
@ -54895,7 +54917,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-b3b65640";
|
const __vue_scope_id__ = "data-v-62978240";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__ = undefined;
|
const __vue_module_identifier__ = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
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
@ -1 +1 @@
|
|||||||
.parent-group.xml-single-layout-group .xml-grid-layout__container{min-height:200px}.parent-group.xml-single-layout-group .xml-grid-layout__area-box{min-width:0;overflow:hidden;position:relative}.parent-group.xml-single-layout-group .xml-grid-layout__area-box--spare{-webkit-transition:all 240ms ease-in-out;transition:all 240ms ease-in-out}.parent-group.xml-single-layout-group .xml-grid-layout__area-box--spare.is-in-editor{cursor:pointer;border:1px solid transparent}.parent-group.xml-single-layout-group .xml-grid-layout__area-box--spare.is-in-editor:hover{border-color:var(--areabox-color)}.parent-group.xml-single-layout-group .xml-grid-layout__area-box.inject-active .xml-grid-layout__control{top:1px;-webkit-transform:scale(1);transform:scale(1);border-bottom-left-radius:100px;border-bottom-right-radius:100px}.parent-group.xml-single-layout-group .xml-grid-layout__control{position:absolute;top:-999px;left:calc(25% + 10px);z-index:1;width:calc(50% - 20px);display:block;-webkit-transform:scale(.1);transform:scale(.1);background-color:rgba(255,255,255,.2);backdrop-filter:blur(6px) brightness(.85);border:0 solid rgba(255,255,255,.18);-webkit-box-shadow:rgba(142,142,142,.5) 0 6px 15px 0;box-shadow:rgba(142,142,142,.5) 0 6px 15px 0;border-bottom-left-radius:100%;border-bottom-right-radius:100%;color:rgba(255,255,255,.75);-webkit-transition:all 330ms cubic-bezier(.75,-.1,.15,1.15);transition:all 330ms cubic-bezier(.75,-.1,.15,1.15);overflow:hidden}.parent-group.xml-single-layout-group .xml-grid-layout__control.is-in-editor{display:block}.parent-group.xml-single-layout-group .xml-grid-layout__control-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;padding:6px 12px}.parent-group.xml-single-layout-group .xml-grid-layout__button{padding:6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;font-size:13px;color:#353535;background-color:rgba(255,255,255,.85);border-radius:6px}.parent-group.xml-single-layout-group .xml-grid-layout__button .el-image{width:14px;height:14px;margin:0 auto}.parent-group.xml-single-layout-group .xml-grid-layout__inject-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-box-pack:var(--justify-content,flex-start);-ms-flex-pack:var(--justify-content,flex-start);justify-content:var(--justify-content,flex-start);-webkit-box-align:var(--align-items,flex-start);-ms-flex-align:var(--align-items,flex-start);align-items:var(--align-items,flex-start)}.parent-group.xml-single-layout-group .xml-grid-layout__inject-wrap>div,.parent-group.xml-single-layout-group .xml-grid-layout__inject-wrap>parent-group{-webkit-box-flex:var(--component-flex,1);-ms-flex:var(--component-flex,1);flex:var(--component-flex,1)}.parent-group.xml-single-layout-group .xml-grid-layout__inject-wrap .vue-portal-target{width:100%}
|
.parent-group.xml-single-layout-group .xml-grid-layout__container{min-height:200px}.parent-group.xml-single-layout-group .xml-grid-layout__area-box{min-width:0;overflow:hidden;position:relative}.parent-group.xml-single-layout-group .xml-grid-layout__area-box--spare{-webkit-transition:all 240ms ease-in-out;transition:all 240ms ease-in-out}.parent-group.xml-single-layout-group .xml-grid-layout__area-box--spare.is-in-editor{cursor:pointer;border:1px solid transparent}.parent-group.xml-single-layout-group .xml-grid-layout__area-box--spare.is-in-editor:hover{border-color:var(--areabox-color)}.parent-group.xml-single-layout-group .xml-grid-layout__area-box.inject-active .xml-grid-layout__control{top:1px;-webkit-transform:scale(1);transform:scale(1);border-bottom-left-radius:100px;border-bottom-right-radius:100px}.parent-group.xml-single-layout-group .xml-grid-layout__control{position:absolute;top:-999px;left:calc(25% + 10px);z-index:1;width:calc(50% - 20px);display:block;-webkit-transform:scale(.1);transform:scale(.1);background-color:rgba(255,255,255,.2);backdrop-filter:blur(6px) brightness(.85);border:0 solid rgba(255,255,255,.18);-webkit-box-shadow:rgba(142,142,142,.5) 0 6px 15px 0;box-shadow:rgba(142,142,142,.5) 0 6px 15px 0;border-bottom-left-radius:100%;border-bottom-right-radius:100%;color:rgba(255,255,255,.75);-webkit-transition:all 330ms cubic-bezier(.75,-.1,.15,1.15);transition:all 330ms cubic-bezier(.75,-.1,.15,1.15);overflow:hidden}.parent-group.xml-single-layout-group .xml-grid-layout__control.is-in-editor{display:block}.parent-group.xml-single-layout-group .xml-grid-layout__control-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;padding:6px 12px}.parent-group.xml-single-layout-group .xml-grid-layout__button{padding:6px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;font-size:13px;color:#353535;background-color:rgba(255,255,255,.85);border-radius:6px}.parent-group.xml-single-layout-group .xml-grid-layout__button .el-image{width:14px;height:14px;margin:0 auto}.parent-group.xml-single-layout-group .xml-grid-layout__inject-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:100%;overflow-y:auto;-webkit-box-pack:var(--justify-content,flex-start);-ms-flex-pack:var(--justify-content,flex-start);justify-content:var(--justify-content,flex-start);-webkit-box-align:var(--align-items,flex-start);-ms-flex-align:var(--align-items,flex-start);align-items:var(--align-items,flex-start)}.parent-group.xml-single-layout-group .xml-grid-layout__inject-wrap>div,.parent-group.xml-single-layout-group .xml-grid-layout__inject-wrap>parent-group{-webkit-box-flex:var(--component-flex,1);-ms-flex:var(--component-flex,1);flex:var(--component-flex,1)}.parent-group.xml-single-layout-group .xml-grid-layout__inject-wrap .vue-portal-target{width:100%}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,54 +1,30 @@
|
|||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=first.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=hexagon.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=rectangle.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=third.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=triangle.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=twelfth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=thirteenth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventeen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=rotundity.vue.map */
|
/*# sourceMappingURL=rotundity.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=semicircle.vue.map */
|
/*# sourceMappingURL=rectangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifteen.vue.map */
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighteen2.vue.map */
|
/*# sourceMappingURL=second.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme3.vue.map */
|
/*# sourceMappingURL=hexagon.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme4.vue.map */
|
/*# sourceMappingURL=square.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=triangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=twelfth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=eighteen.vue.map */
|
/*# sourceMappingURL=eighteen.vue.map */
|
||||||
@ -57,49 +33,70 @@
|
|||||||
/*# sourceMappingURL=sixteen.vue.map */
|
/*# sourceMappingURL=sixteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fifth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=semicircle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=eighteen2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=sixth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=nineteen.vue.map */
|
/*# sourceMappingURL=nineteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=second.vue.map */
|
/*# sourceMappingURL=seventeen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
/*# sourceMappingURL=fifteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fourteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme1.vue.map */
|
/*# sourceMappingURL=Greentheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=thirteenth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme2.vue.map */
|
/*# sourceMappingURL=Greentheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme6.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=square.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme5.vue.map */
|
/*# sourceMappingURL=Greentheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Greentheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
/*# sourceMappingURL=Yellowtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme6.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentytwo.vue.map */
|
/*# sourceMappingURL=Twentytwo.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme3.vue.map */
|
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
/*# sourceMappingURL=SanQintheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme2.vue.map */
|
/*# sourceMappingURL=SanQintheme2.vue.map */
|
||||||
@ -108,28 +105,31 @@
|
|||||||
/*# sourceMappingURL=Knowledge.vue.map */
|
/*# sourceMappingURL=Knowledge.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentyone.vue.map */
|
/*# sourceMappingURL=Twentyfour.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentyfive.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=SanQintheme1.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=twenty.vue.map */
|
/*# sourceMappingURL=twenty.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentyfour.vue.map */
|
/*# sourceMappingURL=SanQintheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Twentyfive.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Twentythree.vue.map */
|
/*# sourceMappingURL=Twentythree.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
|
/*# sourceMappingURL=Twentyone.vue.map */
|
||||||
|
|
||||||
|
.xml-text-h5[data-v-62978240] {
|
||||||
}
|
}
|
||||||
.xml-text-pc[data-v-b3b65640] {
|
.xml-text-pc[data-v-62978240] {
|
||||||
}
|
}
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
.xml-text-h5[data-v-62978240] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,15 +9117,32 @@ 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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9364,7 +9381,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-387c0e8e";
|
const __vue_scope_id__$J = "data-v-15db9a2a";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$J = undefined;
|
const __vue_module_identifier__$J = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52942,7 +52959,7 @@ var script$G = {
|
|||||||
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 (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
if (href.indexOf('http') == 0) {
|
||||||
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', {
|
||||||
@ -52951,7 +52968,7 @@ var script$G = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53951,8 +53968,13 @@ 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) {
|
||||||
@ -54895,7 +54917,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-b3b65640";
|
const __vue_scope_id__$G = "data-v-62978240";
|
||||||
/* 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=first.vue.map */
|
/*# sourceMappingURL=Yellowtheme2.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,154 +12,130 @@
|
|||||||
/*# sourceMappingURL=third.vue.map */
|
/*# sourceMappingURL=third.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=semicircle.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=rectangle.vue.map */
|
/*# sourceMappingURL=rectangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme6.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme2.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=twelfth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
/*# sourceMappingURL=Yellowtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme2.vue.map */
|
/*# sourceMappingURL=Greentheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=sixth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=semicircle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fifteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme1.vue.map */
|
/*# sourceMappingURL=Greentheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Yellowtheme5.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=first.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme3.vue.map */
|
/*# sourceMappingURL=Greentheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=thirteenth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=seventeen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme6.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Greentheme4.vue.map */
|
/*# sourceMappingURL=Greentheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fourteen.vue.map */
|
/*# sourceMappingURL=Yellowtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=nineteen.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=fifth.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=hexagon.vue.map */
|
/*# sourceMappingURL=hexagon.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme4.vue.map */
|
/*# sourceMappingURL=twelfth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme2.vue.map */
|
/*# sourceMappingURL=thirteenth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=triangle.vue.map */
|
/*# sourceMappingURL=triangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=nineteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=fourteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=seventeen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme1.vue.map */
|
/*# sourceMappingURL=Redtheme1.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=BuleRectangle.vue.map */
|
/*# sourceMappingURL=Greentheme6.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyone.vue.map */
|
/*# sourceMappingURL=fifth.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Knowledge.vue.map */
|
/*# sourceMappingURL=Redtheme2.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtythree.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyseven.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyfour.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Redtheme3.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtytwo.vue.map */
|
/*# sourceMappingURL=Thirtytwo.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=sixteen.vue.map */
|
/*# sourceMappingURL=Thirtyseven.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleLogging.vue.map */
|
/*# sourceMappingURL=Thirtythree.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtysix.vue.map */
|
/*# sourceMappingURL=Redtheme4.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtynine.vue.map */
|
/*# sourceMappingURL=Redtheme3.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleLight.vue.map */
|
/*# sourceMappingURL=Knowledge.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyfive.vue.map */
|
/*# sourceMappingURL=Thirtyone.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleTearcher.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=BuleRectangleTwo.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleText.vue.map */
|
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Thirtyeight.vue.map */
|
/*# sourceMappingURL=Thirtyeight.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Sevenpagethree.vue.map */
|
/*# sourceMappingURL=Thirtyfive.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleCrane.vue.map */
|
/*# sourceMappingURL=titleLogging.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Sevenpagetwo.vue.map */
|
/*# sourceMappingURL=Thirtynine.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Sevenpagefour.vue.map */
|
/*# sourceMappingURL=sixteen.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=BuleRectangle.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtysix.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=titleLight.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Thirtyfour.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=titleQuestion.vue.map */
|
/*# sourceMappingURL=titleQuestion.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Fortyone.vue.map */
|
/*# sourceMappingURL=BuleRectangleTwo.vue.map */
|
||||||
|
|
||||||
|
|
||||||
/*# sourceMappingURL=Forty.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);
|
||||||
}
|
}
|
||||||
@ -167,15 +143,31 @@
|
|||||||
/*# 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=Sevenpagefive.vue.map */
|
||||||
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
.xml-text-pc[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
.xml-text-h5[data-v-b3b65640] {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Sevenpagefour.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Sevenpagethree.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Fortyone.vue.map */
|
||||||
|
|
||||||
|
|
||||||
|
/*# sourceMappingURL=Sevenpagetwo.vue.map */
|
||||||
.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;
|
||||||
@ -247,6 +239,14 @@
|
|||||||
|
|
||||||
/*# 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
@ -9117,15 +9117,32 @@ 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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -9364,7 +9381,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-387c0e8e";
|
const __vue_scope_id__$V = "data-v-15db9a2a";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$V = undefined;
|
const __vue_module_identifier__$V = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
@ -52942,7 +52959,7 @@ var script$S = {
|
|||||||
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 (JSON.stringify(this.releaseUrlList).indexOf(ADom[i].href) == -1) {
|
if (href.indexOf('http') == 0) {
|
||||||
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', {
|
||||||
@ -52951,7 +52968,7 @@ var script$S = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53951,8 +53968,13 @@ 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) {
|
||||||
@ -54895,7 +54917,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-b3b65640";
|
const __vue_scope_id__$S = "data-v-62978240";
|
||||||
/* module identifier */
|
/* module identifier */
|
||||||
const __vue_module_identifier__$S = undefined;
|
const __vue_module_identifier__$S = undefined;
|
||||||
/* functional template */
|
/* functional template */
|
||||||
|
|||||||
@ -1,11 +1,3 @@
|
|||||||
|
|
||||||
.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;
|
||||||
@ -32,3 +24,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*# 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 ©Thu Jul 24 2025 15:16:57 GMT+0800 (中国标准时间) smile
|
* Copyright ©Mon Sep 08 2025 15:48:04 GMT+0800 (中国标准时间) smile
|
||||||
* Released under the ISC License.
|
* Released under the ISC License.
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
|
|||||||
@ -1376,6 +1376,30 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 阅读器功能
|
||||||
|
|
||||||
|
#### 语音评测
|
||||||
|
|
||||||
|
1、传入配置
|
||||||
|
|
||||||
|
~~~vue
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
provide() {
|
||||||
|
return {
|
||||||
|
getXmlShadowingConfig: () => ({
|
||||||
|
APPID: 'xxxxx',
|
||||||
|
API_SECRET: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
|
||||||
|
API_KEY: 'xxxxxxxxxxxxxxxxxxxxxxxxxx'
|
||||||
|
}),
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
~~~
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 工具方法
|
### 工具方法
|
||||||
|
|
||||||
##### 格式化教材数据
|
##### 格式化教材数据
|
||||||
|
|||||||
@ -51,7 +51,6 @@ const routes = [
|
|||||||
component: () => import('../views/Cyc.vue')
|
component: () => import('../views/Cyc.vue')
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
// base: process.env.NODE_ENV == "sub"? process.env.VUE_APP_BASE_URL:""
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
mode: 'history',
|
mode: 'history',
|
||||||
base: process.env.VUE_APP_BASE_URL,
|
base: process.env.VUE_APP_BASE_URL,
|
||||||
|
|||||||
@ -90,7 +90,7 @@ import {getStore,processReuestData} from '../utils/mUtils'
|
|||||||
import {bookApi} from "../service/getData"
|
import {bookApi} from "../service/getData"
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import XML from "../plugin/xml-digital-teaching/lib/index"
|
import XML from "../plugin/xml-digital-teaching/lib/index"
|
||||||
|
import {eventBus} from '../eventBus'
|
||||||
|
|
||||||
|
|
||||||
Vue.use(XML)
|
Vue.use(XML)
|
||||||
@ -263,9 +263,10 @@ export default {
|
|||||||
|
|
||||||
var that = this
|
var that = this
|
||||||
|
|
||||||
|
debugger
|
||||||
eventBus.$on('changeMode',(data) =>{
|
eventBus.$on('changeMode',(data) =>{
|
||||||
|
console.log("cyccccc")
|
||||||
|
debugger
|
||||||
if(data){
|
if(data){
|
||||||
that.$refs.xmlDigitalTeaching.READER_MODE("immersive")
|
that.$refs.xmlDigitalTeaching.READER_MODE("immersive")
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user