This commit is contained in:
caoyuchun 2024-07-05 15:58:15 +08:00
parent 9fdaaa9825
commit efd3774bc5
857 changed files with 36074 additions and 256618 deletions

View File

@ -1,14 +1,43 @@
<template> <template>
<div id="app"> <div id="app">
<div id="nav"> <div id="nav">
<!-- <router-link to="/">Home</router-link> | --> <div>
<!-- <router-link to="/book">书籍</router-link> | <a :href=this.$store.state.redirecturl>返回首页</a>
<router-link to="/about">About</router-link> --> </div>
<!-- <router-link to="/book">书籍</router-link> | -->
<h3>{{this.$store.state.textBookData.textBooksName}}</h3>
<div></div>
<!-- <router-link to="/about">About</router-link> -->
</div> </div>
<router-view/> <router-view/>
</div> </div>
</template> </template>
<script>
export default{
data(){
return{
}
},
mounted(){
}
}
</script>
<style> <style>
#app { #app {
font-family: Avenir, Helvetica, Arial, sans-serif; font-family: Avenir, Helvetica, Arial, sans-serif;
@ -20,6 +49,9 @@
#nav { #nav {
padding: 30px; padding: 30px;
display: flex;
align-items: center;
justify-content: space-between;
} }
#nav a { #nav a {

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
// //

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View File

@ -50,6 +50,46 @@

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
// //
@ -33,6 +33,42 @@
// //
// //
// //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var script$1 = { var script$1 = {
name: 'PdfView', name: 'PdfView',
@ -48,6 +84,10 @@ var script$1 = {
textInfo: { textInfo: {
type: String, type: String,
default: '' default: ''
},
pageType: {
type: String,
default: 'pc'
} }
}, },
data() { data() {
@ -147,59 +187,122 @@ var __vue_render__$1 = function () {
var _c = _vm._self._c || _h; var _c = _vm._self._c || _h;
return _c( return _c(
"div", "div",
{
directives: [
{
name: "show",
rawName: "v-show",
value: _vm.show,
expression: "show",
},
],
staticClass: "xml-epub-pdf-view",
},
[ [
_c("div", { staticClass: "xmlPreviewSearch-title" }, [ _vm.pageType == "pc"
_c("img", { ? _c(
staticClass: "img", "el-dialog",
attrs: {
src: __$_require_static_images_leaflet_icons_back_png__,
},
on: { click: _vm.onBackClick },
}),
_vm._v(" "),
_c("div", { staticClass: "xmlPreviewSearch-sou" }, [
_vm._v(_vm._s(_vm.textInfo)),
]),
]),
_vm._v(" "),
_c(
"div",
{
directives: [
{ {
name: "loading", attrs: {
rawName: "v-loading", visible: _vm.show,
value: _vm.loading, width: "600px",
expression: "loading", top: "80px",
"custom-class": "xml-epub-pdf-dialog",
"before-close": _vm.onBackClick,
},
on: {
"update:visible": function ($event) {
_vm.show = $event;
},
},
}, },
], [
staticClass: "mod-config", _c(
staticStyle: { height: "calc(100vh - 60px)", width: "100%" }, "div",
attrs: { {
"element-loading-text": "拼命加载中", directives: [
"element-loading-spinner": "el-icon-loading", {
"element-loading-background": "rgba(0, 0, 0, 0.8)", name: "loading",
}, rawName: "v-loading",
}, value: _vm.loading,
[ expression: "loading",
_c("iframe", { },
staticClass: "xml-iframe-web-view", ],
attrs: { frameborder: "0", src: _vm.baseUrl }, staticClass: "mod-config",
}), staticStyle: { height: "80vh", width: "100%" },
] attrs: {
), "element-loading-text": "拼命加载中",
] "element-loading-spinner": "el-icon-loading",
"element-loading-background": "rgba(0, 0, 0, 0.8)",
},
},
[
_c("iframe", {
attrs: {
width: "100%",
height: "100%",
scrolling: "no",
src: _vm.baseUrl,
},
}),
]
),
]
)
: _c(
"div",
{
directives: [
{
name: "show",
rawName: "v-show",
value: _vm.show,
expression: "show",
},
],
staticClass: "xml-epub-pdf-view",
},
[
_vm.textInfo
? _c("div", { staticClass: "xmlPreviewSearch-title" }, [
_c("img", {
staticClass: "img",
attrs: {
src: __$_require_static_images_leaflet_icons_back_png__,
},
on: { click: _vm.onBackClick },
}),
_vm._v(" "),
_c("div", { staticClass: "xmlPreviewSearch-sou" }, [
_vm._v(_vm._s(_vm.textInfo)),
]),
])
: _c("div", { staticClass: "xmlPreviewSearch-navbar" }, [
_c("i", {
staticClass: "el-icon-close",
on: { click: _vm.onBackClick },
}),
]),
_vm._v(" "),
_c(
"div",
{
directives: [
{
name: "loading",
rawName: "v-loading",
value: _vm.loading,
expression: "loading",
},
],
staticClass: "mod-config",
staticStyle: { height: "calc(100vh - 60px)", width: "100%" },
attrs: {
"element-loading-text": "拼命加载中",
"element-loading-spinner": "el-icon-loading",
"element-loading-background": "rgba(0, 0, 0, 0.8)",
},
},
[
_c("iframe", {
staticClass: "xml-iframe-web-view",
attrs: { frameborder: "0", src: _vm.baseUrl },
}),
]
),
]
),
],
1
) )
}; };
var __vue_staticRenderFns__$1 = []; var __vue_staticRenderFns__$1 = [];

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
// //

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
// //
@ -168,8 +168,6 @@
// //
// //
// //
//
//
// import "../block.scss" // import "../block.scss"
var script = { var script = {
@ -218,14 +216,15 @@ var script = {
watch: { watch: {
pBlockData: { pBlockData: {
handler(newValue) { handler(newValue) {
console.log('XmlHtml组件(ruleIndex:' + this.ruleIndex + ')watch触发变量pBlockData', newValue); // console.log('XmlHtml组件(ruleIndex:' + this.ruleIndex + ')watch触发变量pBlockData', newValue)
this.$nextTick(() => { this.$nextTick(() => {
this.blockData = Object.assign({}, this.blockData, newValue); this.blockData = Object.assign({}, this.blockData, newValue);
// ios扫描二维码微信端不支持srcdoc改为获取dom写入 // ios扫描二维码微信端不支持srcdoc改为获取dom写入
var iframe = this.$refs.iframe; this.$refs.iframe;
iframe.contentWindow.document.write(this.blockData.code); // 动态写入返回页面到iframe // console.log(this.blockData.code);
iframe.contentWindow.document.close(); // iframe.contentWindow.document.write(this.blockData.code) // 动态写入返回页面到iframe
// iframe.contentWindow.document.close()
}); });
}, },
deep: true, deep: true,
@ -243,6 +242,13 @@ var script = {
// ebookSetList:[] // ebookSetList:[]
}; };
}, },
mounted() {
// ios扫描二维码微信端不支持srcdoc改为获取dom写入
var iframe = this.$refs.iframe;
// console.log(this.blockData.code);
iframe.contentWindow.document.write(this.pBlockData.code); // 动态写入返回页面到iframe
iframe.contentWindow.document.close();
},
methods: { methods: {
catchtouchmove() {}, catchtouchmove() {},
// 此方法必须要,用户注册块儿点击事件 // 此方法必须要,用户注册块儿点击事件
@ -482,6 +488,7 @@ var __vue_render__ = function () {
expression: "blockData.htmlType === 'code'", expression: "blockData.htmlType === 'code'",
}, },
], ],
staticClass: "xml-iframe-mask-box",
}, },
[ [
_c("iframe", { _c("iframe", {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
import Vue from 'vue'; import Vue from 'vue';
@ -1791,7 +1791,7 @@ var __vue_render__ = function () {
"./" "./"
)[1] )[1]
: _vm.blockData.imageList[0].uploadFileUrl : _vm.blockData.imageList[0].uploadFileUrl
: "../../../../static/images/defaultCover/no-image.png", : "",
mode: _vm.mode, mode: _vm.mode,
showTitle: _vm.showTitle, showTitle: _vm.showTitle,
pageType: _vm.pageType, pageType: _vm.pageType,
@ -1873,7 +1873,7 @@ var __vue_render__ = function () {
? _vm.resourceBasisPath + ? _vm.resourceBasisPath +
item.uploadFileUrl.split("./")[1] item.uploadFileUrl.split("./")[1]
: item.uploadFileUrl : item.uploadFileUrl
: "../../../../static/images/defaultCover/no-image.png", : "",
"preview-text": _vm.blockPreviewTitleList, "preview-text": _vm.blockPreviewTitleList,
previewSrcList: _vm.blockPreviewList, previewSrcList: _vm.blockPreviewList,
showTitle: _vm.showTitle, showTitle: _vm.showTitle,
@ -1932,7 +1932,7 @@ var __vue_render__ = function () {
? _vm.resourceBasisPath + ? _vm.resourceBasisPath +
item.uploadFileUrl.split("./")[1] item.uploadFileUrl.split("./")[1]
: item.uploadFileUrl : item.uploadFileUrl
: "../../../../static/images/defaultCover/no-image.png", : "",
fit: "cover", fit: "cover",
title: _vm.blockPreviewTitleList, title: _vm.blockPreviewTitleList,
pageType: _vm.pageType, pageType: _vm.pageType,
@ -2028,7 +2028,7 @@ var __vue_render__ = function () {
"./" "./"
)[1] )[1]
: item.uploadFileUrl : item.uploadFileUrl
: "../../../../static/images/defaultCover/no-image.png", : "",
}, },
on: { on: {
click: function ($event) { click: function ($event) {

View File

@ -1,27 +1,27 @@
/*# sourceMappingURL=fifth.vue.map */
/*# sourceMappingURL=sixth.vue.map */
/*# sourceMappingURL=fourth.vue.map */
/*# sourceMappingURL=first.vue.map */
/*# sourceMappingURL=third.vue.map */
/*# sourceMappingURL=eighth.vue.map */ /*# sourceMappingURL=eighth.vue.map */
/*# sourceMappingURL=seventh.vue.map */ /*# sourceMappingURL=fifth.vue.map */
/*# sourceMappingURL=fourth.vue.map */
/*# sourceMappingURL=third.vue.map */
/*# sourceMappingURL=second.vue.map */ /*# sourceMappingURL=second.vue.map */
/*# sourceMappingURL=sixth.vue.map */
/*# sourceMappingURL=seventh.vue.map */
/*# sourceMappingURL=first.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;
@ -93,11 +93,11 @@
/*# sourceMappingURL=XmlText.vue.map */ /*# sourceMappingURL=XmlText.vue.map */
.xml-text-h5[data-v-5d93942a] { .xml-text-h5[data-v-50837cf9] {
} }
.xml-text-pc[data-v-5d93942a] { .xml-text-pc[data-v-50837cf9] {
} }
.xml-text-h5[data-v-5d93942a] { .xml-text-h5[data-v-50837cf9] {
} }
@ -678,6 +678,19 @@

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
import Vue from 'vue'; import Vue from 'vue';
@ -1791,7 +1791,7 @@ var __vue_render__$c = function () {
"./" "./"
)[1] )[1]
: _vm.blockData.imageList[0].uploadFileUrl : _vm.blockData.imageList[0].uploadFileUrl
: "../../../../static/images/defaultCover/no-image.png", : "",
mode: _vm.mode, mode: _vm.mode,
showTitle: _vm.showTitle, showTitle: _vm.showTitle,
pageType: _vm.pageType, pageType: _vm.pageType,
@ -1873,7 +1873,7 @@ var __vue_render__$c = function () {
? _vm.resourceBasisPath + ? _vm.resourceBasisPath +
item.uploadFileUrl.split("./")[1] item.uploadFileUrl.split("./")[1]
: item.uploadFileUrl : item.uploadFileUrl
: "../../../../static/images/defaultCover/no-image.png", : "",
"preview-text": _vm.blockPreviewTitleList, "preview-text": _vm.blockPreviewTitleList,
previewSrcList: _vm.blockPreviewList, previewSrcList: _vm.blockPreviewList,
showTitle: _vm.showTitle, showTitle: _vm.showTitle,
@ -1932,7 +1932,7 @@ var __vue_render__$c = function () {
? _vm.resourceBasisPath + ? _vm.resourceBasisPath +
item.uploadFileUrl.split("./")[1] item.uploadFileUrl.split("./")[1]
: item.uploadFileUrl : item.uploadFileUrl
: "../../../../static/images/defaultCover/no-image.png", : "",
fit: "cover", fit: "cover",
title: _vm.blockPreviewTitleList, title: _vm.blockPreviewTitleList,
pageType: _vm.pageType, pageType: _vm.pageType,
@ -2028,7 +2028,7 @@ var __vue_render__$c = function () {
"./" "./"
)[1] )[1]
: item.uploadFileUrl : item.uploadFileUrl
: "../../../../static/images/defaultCover/no-image.png", : "",
}, },
on: { on: {
click: function ($event) { click: function ($event) {
@ -2896,6 +2896,9 @@ class MagicLink extends HTMLElement {
.magic-link { .magic-link {
display: inline; display: inline;
font-size:16px; font-size:16px;
font-weight: normal;
font-style: normal;
text-align: left;
text-indent: initial; text-indent: initial;
// color: #6883FA; // color: #6883FA;
color: #00F; color: #00F;
@ -17548,6 +17551,9 @@ var script$8 = {
this.$refs[this.activeName + 'RuleForm'].validate(valid => { this.$refs[this.activeName + 'RuleForm'].validate(valid => {
if (valid) { if (valid) {
if (this.activeName == 'resource') { if (this.activeName == 'resource') {
if (!this.fileData.fileUrl) {
this.$message.warning("请上传资源文件");
}
// 添加资源文件 // 添加资源文件
let fileData = JSON.parse(JSON.stringify(this.fileData)) || {}; let fileData = JSON.parse(JSON.stringify(this.fileData)) || {};
let data = { let data = {
@ -17671,6 +17677,9 @@ var script$8 = {
}); });
let formData = new FormData(); let formData = new FormData();
formData.append('file', this.recordedBlob, new Date().getTime() + '.mp3'); formData.append('file', this.recordedBlob, new Date().getTime() + '.mp3');
for (let key in this.data) {
formData.append(key, this.data[key]);
}
fetch(this.actionUrl, { fetch(this.actionUrl, {
method: 'post', method: 'post',
body: formData, body: formData,
@ -50950,7 +50959,7 @@ var script$7 = {
} }
return null; return null;
} }
if (this.userType) { if (this.userType && this.pBlockData.html.indexOf('<pre') === -1) {
this.markInstance = new n(this.markRootId, { this.markInstance = new n(this.markRootId, {
id: this.currentRule.xmlCompRef id: this.currentRule.xmlCompRef
}); });
@ -50964,8 +50973,11 @@ var script$7 = {
let startParent = startContainer && findParentByClassName(startContainer, 'richtext-reset-wrapper--view'); let startParent = startContainer && findParentByClassName(startContainer, 'richtext-reset-wrapper--view');
let endParent = endContainer && findParentByClassName(endContainer, 'richtext-reset-wrapper--view'); let endParent = endContainer && findParentByClassName(endContainer, 'richtext-reset-wrapper--view');
if (startParent && endParent && startParent !== endParent) { if (startParent && endParent && startParent !== endParent) {
_this.activeTippy[0].setContent('暂不支持跨组件标注'); // _this.activeTippy[0].setContent('暂不支持跨组件标注')
_this.activeTippy[0].setContent(`<span style="color:#EE3751;">暂不支持跨组件标注</span>`);
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preOperateTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preOperateTippy && preOperateTippy.remove();
setTimeout(handler => { setTimeout(handler => {
_this.hideTippy(); _this.hideTippy();
}, 1500); }, 1500);
@ -50988,21 +51000,52 @@ var script$7 = {
}); });
this.markInstance.render(); this.markInstance.render();
this.$nextTick(() => { this.$nextTick(() => {
this.$EventBus.$on('previewRepaint', () => { // console.log('绑定监听',_this.groupLocation);
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
setTimeout(() => { setTimeout(() => {
_this.markInstance.update(); _this.markInstance.update();
}, 10); }, 10);
}); });
this.$EventBus.$on('markJumpIn', target => { this.$EventBus.$on(`markJumpIn-${_this.groupLocation}`, target => {
setTimeout(() => { setTimeout(() => {
if (target.location === _this.groupLocation && target.blockIndex === _this.ruleIndex) { if (target.location === _this.groupLocation && target.blockIndex === _this.ruleIndex) {
_this.markInstance.animate(target.markEfiCode); _this.markInstance.animate(target.markEfiCode);
} }
}, 10); }, 10);
}); });
this.$EventBus.$on(`clickToolbarTip-${_this.tippyTplBarId}`, function (data) {
if (data.type == 'copy' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionCopy();
} else if (data.type == 'note' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddNote();
} else if (data.type == 'highlight' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddHighlight();
}
_this.$EventBus.$emit('selectionTextChange', {
state: false,
tippyTplBarId: _this.tippyTplBarId
});
_this.$EventBus.$emit('tippyChange', {
state: false
});
});
this.$EventBus.$on(`underlineSign-${_this.groupLocation}`, function (data) {
// this.noteOperateMode = 'add'
// let defaultUnderlineStyle = 'mk-underline__default'
if (data.operationType == 'add' && _this.groupLocation == data.location) {
_this.markInstance.underline(data.markEfiCode, 'mk-underline__default', e => {
});
_this.tempMarkEfiStr = '';
} else if (data.operationType == 'remove' && _this.groupLocation == data.location) {
_this.markInstance.remove(data.markEfiCode, data.signType);
}
});
this.$once('hook:beforeDestroy', () => { this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('previewRepaint'); // console.log('销毁监听',_this.groupLocation);
_this.$EventBus.$off('markJumpIn'); _this.$EventBus.$off(`clickToolbarTip-${_this.tippyTplBarId}`);
_this.$EventBus.$off(`previewRepaint-${_this.groupLocation}`);
_this.$EventBus.$off(`markJumpIn-${_this.groupLocation}`);
_this.$EventBus.$off(`underlineSign-${_this.groupLocation}`);
}); });
this.updateCodeBlock(); this.updateCodeBlock();
setTimeout(() => { setTimeout(() => {
@ -51013,36 +51056,6 @@ var script$7 = {
this.updateCodeBlock(); this.updateCodeBlock();
} }
}); });
this.$EventBus.$on('clickToolbarTip', function (data) {
if (data.type == 'copy' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionCopy();
} else if (data.type == 'note' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddNote();
} else if (data.type == 'highlight' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddHighlight();
}
_this.$EventBus.$emit('selectionTextChange', {
state: false,
tippyTplBarId: _this.tippyTplBarId
});
});
this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('clickToolbarTip');
});
this.$EventBus.$on('underlineSign', function (data) {
// this.noteOperateMode = 'add'
// let defaultUnderlineStyle = 'mk-underline__default'
if (data.operationType == 'add' && _this.groupLocation == data.location) {
_this.markInstance.underline(data.markEfiCode, 'mk-underline__default', e => {
});
_this.tempMarkEfiStr = '';
} else if (data.operationType == 'remove' && _this.groupLocation == data.location) {
_this.markInstance.remove(data.markEfiCode, data.signType);
}
});
this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('underlineSign');
});
}, },
beforeDestroy() { beforeDestroy() {
if (this.markInstance) { if (this.markInstance) {
@ -51182,14 +51195,18 @@ var script$7 = {
let _this = this; let _this = this;
if (this.userType && this.insideIndex === this.ruleIndex) { if (this.userType && this.insideIndex === this.ruleIndex) {
setTimeout(() => { setTimeout(() => {
console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'MouseUp', _this.markEfiStr); // console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'MouseUp', _this.markEfiStr)
this.$EventBus.$emit('selectionTextChange', { this.$EventBus.$emit('selectionTextChange', {
state: false, state: false,
tippyTplBarId: _this.tippyTplBarId tippyTplBarId: _this.tippyTplBarId
}); });
_this.$EventBus.$emit('tippyChange', {
state: false
});
const text = window?.getSelection()?.toString() || ''; const text = window?.getSelection()?.toString() || '';
if (text.length && text.length <= 200 && _this.markEfiStr) { if (text.length && text.length <= 200 && _this.markEfiStr) {
let checkHasSaved = _this.mergeMarkList.find(item => item.markEfiCode === _this.markEfiStr); let checkHasSaved = _this.mergeMarkList.find(item => item.markEfiCode === _this.markEfiStr);
let checkout = true;
if (checkHasSaved) { if (checkHasSaved) {
let msg = '当前位置已存在标记', let msg = '当前位置已存在标记',
resourceType = checkHasSaved.resourcesType || checkHasSaved.type?.split('__')[0]; resourceType = checkHasSaved.resourcesType || checkHasSaved.type?.split('__')[0];
@ -51213,14 +51230,21 @@ var script$7 = {
msg = '当前位置已存在资源'; msg = '当前位置已存在资源';
break; break;
} }
_this.activeTippy[0].setContent(msg); checkout = false;
_this.activeTippy[0].setContent(`<span style="color:#EE3751;">${msg}</span>`);
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preOperateTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preOperateTippy && preOperateTippy.remove();
_this.markEfiStr = ''; _this.markEfiStr = '';
setTimeout(handler => { setTimeout(handler => {
_this.hideTippy(); _this.hideTippy();
checkout = true;
}, 1500); }, 1500);
return; return;
} }
if (!checkout) {
return;
}
_this.noteData.selectionText = text; _this.noteData.selectionText = text;
const templateBar = document.getElementById(_this.tippyTplBarId); const templateBar = document.getElementById(_this.tippyTplBarId);
// let HTMLContentClone = $J(`#${_this.tippyTplBarId}`)?.clone(true,true)?.get(0) // let HTMLContentClone = $J(`#${_this.tippyTplBarId}`)?.clone(true,true)?.get(0)
@ -51241,6 +51265,9 @@ var script$7 = {
tippyTplBarId: _this.tippyTplBarId, tippyTplBarId: _this.tippyTplBarId,
noteModel noteModel
}); });
_this.$EventBus.$emit('tippyChange', {
state: false
});
if (_this.pageType == 'pc' || !u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) { if (_this.pageType == 'pc' || !u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {
_this.activeTippy[0].setProps({ _this.activeTippy[0].setProps({
content, content,
@ -51284,11 +51311,16 @@ var script$7 = {
// }, // },
// }) // })
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preTipTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preTipTippy && preTipTippy.remove();
} else { } else {
this.$EventBus.$emit('selectionTextChange', { this.$EventBus.$emit('selectionTextChange', {
state: true, state: true,
tippyTplBarId: _this.tippyTplBarId tippyTplBarId: _this.tippyTplBarId
}); });
_this.$EventBus.$emit('tippyChange', {
state: true
});
} }
} else if (text.length > 200) { } else if (text.length > 200) {
_this.activeTippy[0].setContent(`<div style="color:#666;">可选文本最多为200字</div>`); _this.activeTippy[0].setContent(`<div style="color:#666;">可选文本最多为200字</div>`);
@ -51606,7 +51638,7 @@ var script$7 = {
window.getSelection()?.removeAllRanges(); window.getSelection()?.removeAllRanges();
}, },
highlightClick(e, efi) { highlightClick(e, efi) {
console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'HighLight Click', e, _this.markEfiStr); console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'HighLight Click', e, this.markEfiStr);
}, },
emitRollbackHandler(eventName, eventData) { emitRollbackHandler(eventName, eventData) {
console.log('emitRollbackHandler', eventName, eventData); console.log('emitRollbackHandler', eventName, eventData);
@ -52252,7 +52284,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-5d93942a"; const __vue_scope_id__$7 = "data-v-50837cf9";
/* module identifier */ /* module identifier */
const __vue_module_identifier__$7 = undefined; const __vue_module_identifier__$7 = undefined;
/* functional template */ /* functional template */

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
import Vue from 'vue'; import Vue from 'vue';

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
import vue from 'vue'; import vue from 'vue';

View File

@ -1,30 +1,18 @@
/*# sourceMappingURL=ninth.vue.map */
/*# sourceMappingURL=isosceles.vue.map */
/*# sourceMappingURL=tenth.vue.map */ /*# sourceMappingURL=tenth.vue.map */
/*# sourceMappingURL=seventh.vue.map */ /*# sourceMappingURL=seventh.vue.map */
/*# sourceMappingURL=first.vue.map */ /*# sourceMappingURL=wave.vue.map */
/*# sourceMappingURL=isosceles.vue.map */
/*# sourceMappingURL=second.vue.map */
/*# sourceMappingURL=Greentheme3.vue.map */
/*# sourceMappingURL=thirteen.vue.map */
/*# sourceMappingURL=fourteen.vue.map */
/*# sourceMappingURL=quadrangle.vue.map */
/*# sourceMappingURL=twelve.vue.map */ /*# sourceMappingURL=twelve.vue.map */
@ -33,81 +21,85 @@
/*# sourceMappingURL=eighth.vue.map */ /*# sourceMappingURL=eighth.vue.map */
/*# sourceMappingURL=wave.vue.map */ /*# sourceMappingURL=quadrangle.vue.map */
/*# sourceMappingURL=fifteen.vue.map */
/*# sourceMappingURL=ninth.vue.map */
/*# sourceMappingURL=eleven.vue.map */
/*# sourceMappingURL=third.vue.map */
/*# sourceMappingURL=Greentheme2.vue.map */ /*# sourceMappingURL=Greentheme2.vue.map */
/*# sourceMappingURL=Yellowtheme5.vue.map */ /*# sourceMappingURL=eleven.vue.map */
/*# sourceMappingURL=Greentheme4.vue.map */ /*# sourceMappingURL=thirteen.vue.map */
/*# sourceMappingURL=first.vue.map */
/*# sourceMappingURL=fifteen.vue.map */
/*# sourceMappingURL=Yellowtheme1.vue.map */ /*# sourceMappingURL=Yellowtheme1.vue.map */
/*# sourceMappingURL=second.vue.map */
/*# sourceMappingURL=third.vue.map */
/*# sourceMappingURL=Greentheme3.vue.map */
/*# sourceMappingURL=Greentheme4.vue.map */
/*# sourceMappingURL=Greentheme5.vue.map */ /*# sourceMappingURL=Greentheme5.vue.map */
/*# sourceMappingURL=Yellowtheme4.vue.map */ /*# sourceMappingURL=fourteen.vue.map */
/*# sourceMappingURL=Redtheme5.vue.map */ /*# sourceMappingURL=Redtheme5.vue.map */
/*# sourceMappingURL=Redtheme4.vue.map */
/*# sourceMappingURL=Yellowtheme2.vue.map */ /*# sourceMappingURL=Yellowtheme2.vue.map */
/*# sourceMappingURL=Yellowtheme3.vue.map */ /*# sourceMappingURL=Yellowtheme3.vue.map */
/*# sourceMappingURL=Redtheme4.vue.map */
/*# sourceMappingURL=sixteen.vue.map */
/*# sourceMappingURL=SanQintheme3.vue.map */ /*# sourceMappingURL=SanQintheme3.vue.map */
/*# sourceMappingURL=Redtheme1.vue.map */
/*# sourceMappingURL=SanQintheme1.vue.map */
/*# sourceMappingURL=Redtheme3.vue.map */ /*# sourceMappingURL=Redtheme3.vue.map */
/*# sourceMappingURL=Redtheme2.vue.map */
/*# sourceMappingURL=sixteen.vue.map */
/*# sourceMappingURL=Yellowtheme5.vue.map */
/*# sourceMappingURL=Yellowtheme4.vue.map */
/*# sourceMappingURL=Redtheme1.vue.map */
/*# sourceMappingURL=Redtheme6.vue.map */ /*# sourceMappingURL=Redtheme6.vue.map */
/*# sourceMappingURL=SanQintheme1.vue.map */
/*# sourceMappingURL=SanQintheme2.vue.map */ /*# sourceMappingURL=SanQintheme2.vue.map */
/*# sourceMappingURL=Redtheme2.vue.map */
.xml-text-h5[data-v-5d93942a] {
}
.xml-text-pc[data-v-5d93942a] {
}
.xml-text-h5[data-v-5d93942a] {
}
.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;
@ -179,6 +171,14 @@
/*# sourceMappingURL=XmlText.vue.map */ /*# sourceMappingURL=XmlText.vue.map */
.xml-text-h5[data-v-50837cf9] {
}
.xml-text-pc[data-v-50837cf9] {
}
.xml-text-h5[data-v-50837cf9] {
}
/*# sourceMappingURL=XmlTextDialog.vue.map */ /*# sourceMappingURL=XmlTextDialog.vue.map */
@ -749,6 +749,19 @@

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
import Vue from 'vue'; import Vue from 'vue';
@ -492,6 +492,9 @@ class MagicLink extends HTMLElement {
.magic-link { .magic-link {
display: inline; display: inline;
font-size:16px; font-size:16px;
font-weight: normal;
font-style: normal;
text-align: left;
text-indent: initial; text-indent: initial;
// color: #6883FA; // color: #6883FA;
color: #00F; color: #00F;
@ -15648,6 +15651,9 @@ var script$z = {
this.$refs[this.activeName + 'RuleForm'].validate(valid => { this.$refs[this.activeName + 'RuleForm'].validate(valid => {
if (valid) { if (valid) {
if (this.activeName == 'resource') { if (this.activeName == 'resource') {
if (!this.fileData.fileUrl) {
this.$message.warning("请上传资源文件");
}
// 添加资源文件 // 添加资源文件
let fileData = JSON.parse(JSON.stringify(this.fileData)) || {}; let fileData = JSON.parse(JSON.stringify(this.fileData)) || {};
let data = { let data = {
@ -15771,6 +15777,9 @@ var script$z = {
}); });
let formData = new FormData(); let formData = new FormData();
formData.append('file', this.recordedBlob, new Date().getTime() + '.mp3'); formData.append('file', this.recordedBlob, new Date().getTime() + '.mp3');
for (let key in this.data) {
formData.append(key, this.data[key]);
}
fetch(this.actionUrl, { fetch(this.actionUrl, {
method: 'post', method: 'post',
body: formData, body: formData,
@ -49050,7 +49059,7 @@ var script$y = {
} }
return null; return null;
} }
if (this.userType) { if (this.userType && this.pBlockData.html.indexOf('<pre') === -1) {
this.markInstance = new n(this.markRootId, { this.markInstance = new n(this.markRootId, {
id: this.currentRule.xmlCompRef id: this.currentRule.xmlCompRef
}); });
@ -49064,8 +49073,11 @@ var script$y = {
let startParent = startContainer && findParentByClassName(startContainer, 'richtext-reset-wrapper--view'); let startParent = startContainer && findParentByClassName(startContainer, 'richtext-reset-wrapper--view');
let endParent = endContainer && findParentByClassName(endContainer, 'richtext-reset-wrapper--view'); let endParent = endContainer && findParentByClassName(endContainer, 'richtext-reset-wrapper--view');
if (startParent && endParent && startParent !== endParent) { if (startParent && endParent && startParent !== endParent) {
_this.activeTippy[0].setContent('暂不支持跨组件标注'); // _this.activeTippy[0].setContent('暂不支持跨组件标注')
_this.activeTippy[0].setContent(`<span style="color:#EE3751;">暂不支持跨组件标注</span>`);
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preOperateTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preOperateTippy && preOperateTippy.remove();
setTimeout(handler => { setTimeout(handler => {
_this.hideTippy(); _this.hideTippy();
}, 1500); }, 1500);
@ -49088,21 +49100,52 @@ var script$y = {
}); });
this.markInstance.render(); this.markInstance.render();
this.$nextTick(() => { this.$nextTick(() => {
this.$EventBus.$on('previewRepaint', () => { // console.log('绑定监听',_this.groupLocation);
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
setTimeout(() => { setTimeout(() => {
_this.markInstance.update(); _this.markInstance.update();
}, 10); }, 10);
}); });
this.$EventBus.$on('markJumpIn', target => { this.$EventBus.$on(`markJumpIn-${_this.groupLocation}`, target => {
setTimeout(() => { setTimeout(() => {
if (target.location === _this.groupLocation && target.blockIndex === _this.ruleIndex) { if (target.location === _this.groupLocation && target.blockIndex === _this.ruleIndex) {
_this.markInstance.animate(target.markEfiCode); _this.markInstance.animate(target.markEfiCode);
} }
}, 10); }, 10);
}); });
this.$EventBus.$on(`clickToolbarTip-${_this.tippyTplBarId}`, function (data) {
if (data.type == 'copy' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionCopy();
} else if (data.type == 'note' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddNote();
} else if (data.type == 'highlight' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddHighlight();
}
_this.$EventBus.$emit('selectionTextChange', {
state: false,
tippyTplBarId: _this.tippyTplBarId
});
_this.$EventBus.$emit('tippyChange', {
state: false
});
});
this.$EventBus.$on(`underlineSign-${_this.groupLocation}`, function (data) {
// this.noteOperateMode = 'add'
// let defaultUnderlineStyle = 'mk-underline__default'
if (data.operationType == 'add' && _this.groupLocation == data.location) {
_this.markInstance.underline(data.markEfiCode, 'mk-underline__default', e => {
});
_this.tempMarkEfiStr = '';
} else if (data.operationType == 'remove' && _this.groupLocation == data.location) {
_this.markInstance.remove(data.markEfiCode, data.signType);
}
});
this.$once('hook:beforeDestroy', () => { this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('previewRepaint'); // console.log('销毁监听',_this.groupLocation);
_this.$EventBus.$off('markJumpIn'); _this.$EventBus.$off(`clickToolbarTip-${_this.tippyTplBarId}`);
_this.$EventBus.$off(`previewRepaint-${_this.groupLocation}`);
_this.$EventBus.$off(`markJumpIn-${_this.groupLocation}`);
_this.$EventBus.$off(`underlineSign-${_this.groupLocation}`);
}); });
this.updateCodeBlock(); this.updateCodeBlock();
setTimeout(() => { setTimeout(() => {
@ -49113,36 +49156,6 @@ var script$y = {
this.updateCodeBlock(); this.updateCodeBlock();
} }
}); });
this.$EventBus.$on('clickToolbarTip', function (data) {
if (data.type == 'copy' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionCopy();
} else if (data.type == 'note' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddNote();
} else if (data.type == 'highlight' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddHighlight();
}
_this.$EventBus.$emit('selectionTextChange', {
state: false,
tippyTplBarId: _this.tippyTplBarId
});
});
this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('clickToolbarTip');
});
this.$EventBus.$on('underlineSign', function (data) {
// this.noteOperateMode = 'add'
// let defaultUnderlineStyle = 'mk-underline__default'
if (data.operationType == 'add' && _this.groupLocation == data.location) {
_this.markInstance.underline(data.markEfiCode, 'mk-underline__default', e => {
});
_this.tempMarkEfiStr = '';
} else if (data.operationType == 'remove' && _this.groupLocation == data.location) {
_this.markInstance.remove(data.markEfiCode, data.signType);
}
});
this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('underlineSign');
});
}, },
beforeDestroy() { beforeDestroy() {
if (this.markInstance) { if (this.markInstance) {
@ -49282,14 +49295,18 @@ var script$y = {
let _this = this; let _this = this;
if (this.userType && this.insideIndex === this.ruleIndex) { if (this.userType && this.insideIndex === this.ruleIndex) {
setTimeout(() => { setTimeout(() => {
console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'MouseUp', _this.markEfiStr); // console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'MouseUp', _this.markEfiStr)
this.$EventBus.$emit('selectionTextChange', { this.$EventBus.$emit('selectionTextChange', {
state: false, state: false,
tippyTplBarId: _this.tippyTplBarId tippyTplBarId: _this.tippyTplBarId
}); });
_this.$EventBus.$emit('tippyChange', {
state: false
});
const text = window?.getSelection()?.toString() || ''; const text = window?.getSelection()?.toString() || '';
if (text.length && text.length <= 200 && _this.markEfiStr) { if (text.length && text.length <= 200 && _this.markEfiStr) {
let checkHasSaved = _this.mergeMarkList.find(item => item.markEfiCode === _this.markEfiStr); let checkHasSaved = _this.mergeMarkList.find(item => item.markEfiCode === _this.markEfiStr);
let checkout = true;
if (checkHasSaved) { if (checkHasSaved) {
let msg = '当前位置已存在标记', let msg = '当前位置已存在标记',
resourceType = checkHasSaved.resourcesType || checkHasSaved.type?.split('__')[0]; resourceType = checkHasSaved.resourcesType || checkHasSaved.type?.split('__')[0];
@ -49313,14 +49330,21 @@ var script$y = {
msg = '当前位置已存在资源'; msg = '当前位置已存在资源';
break; break;
} }
_this.activeTippy[0].setContent(msg); checkout = false;
_this.activeTippy[0].setContent(`<span style="color:#EE3751;">${msg}</span>`);
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preOperateTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preOperateTippy && preOperateTippy.remove();
_this.markEfiStr = ''; _this.markEfiStr = '';
setTimeout(handler => { setTimeout(handler => {
_this.hideTippy(); _this.hideTippy();
checkout = true;
}, 1500); }, 1500);
return; return;
} }
if (!checkout) {
return;
}
_this.noteData.selectionText = text; _this.noteData.selectionText = text;
const templateBar = document.getElementById(_this.tippyTplBarId); const templateBar = document.getElementById(_this.tippyTplBarId);
// let HTMLContentClone = $J(`#${_this.tippyTplBarId}`)?.clone(true,true)?.get(0) // let HTMLContentClone = $J(`#${_this.tippyTplBarId}`)?.clone(true,true)?.get(0)
@ -49341,6 +49365,9 @@ var script$y = {
tippyTplBarId: _this.tippyTplBarId, tippyTplBarId: _this.tippyTplBarId,
noteModel noteModel
}); });
_this.$EventBus.$emit('tippyChange', {
state: false
});
if (_this.pageType == 'pc' || !u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) { if (_this.pageType == 'pc' || !u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {
_this.activeTippy[0].setProps({ _this.activeTippy[0].setProps({
content, content,
@ -49384,11 +49411,16 @@ var script$y = {
// }, // },
// }) // })
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preTipTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preTipTippy && preTipTippy.remove();
} else { } else {
this.$EventBus.$emit('selectionTextChange', { this.$EventBus.$emit('selectionTextChange', {
state: true, state: true,
tippyTplBarId: _this.tippyTplBarId tippyTplBarId: _this.tippyTplBarId
}); });
_this.$EventBus.$emit('tippyChange', {
state: true
});
} }
} else if (text.length > 200) { } else if (text.length > 200) {
_this.activeTippy[0].setContent(`<div style="color:#666;">可选文本最多为200字</div>`); _this.activeTippy[0].setContent(`<div style="color:#666;">可选文本最多为200字</div>`);
@ -49706,7 +49738,7 @@ var script$y = {
window.getSelection()?.removeAllRanges(); window.getSelection()?.removeAllRanges();
}, },
highlightClick(e, efi) { highlightClick(e, efi) {
console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'HighLight Click', e, _this.markEfiStr); console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'HighLight Click', e, this.markEfiStr);
}, },
emitRollbackHandler(eventName, eventData) { emitRollbackHandler(eventName, eventData) {
console.log('emitRollbackHandler', eventName, eventData); console.log('emitRollbackHandler', eventName, eventData);
@ -50352,7 +50384,7 @@ __vue_render__$y._withStripped = true;
/* style */ /* style */
const __vue_inject_styles__$y = undefined; const __vue_inject_styles__$y = undefined;
/* scoped */ /* scoped */
const __vue_scope_id__$y = "data-v-5d93942a"; const __vue_scope_id__$y = "data-v-50837cf9";
/* module identifier */ /* module identifier */
const __vue_module_identifier__$y = undefined; const __vue_module_identifier__$y = undefined;
/* functional template */ /* functional template */
@ -53108,7 +53140,7 @@ var __vue_render__$o = function () {
"xml-paragraph-wave-" + _vm.pageType, "xml-paragraph-wave-" + _vm.pageType,
_vm.groupIsActive ? "active" : "", _vm.groupIsActive ? "active" : "",
], ],
on: { click: _vm.emitClick, mousemove: _vm.hover, mouseleave: _vm.leave }, on: { click: _vm.emitClick },
}, },
[ [
_c( _c(
@ -53400,7 +53432,7 @@ __vue_render__$o._withStripped = true;
/* style */ /* style */
const __vue_inject_styles__$o = undefined; const __vue_inject_styles__$o = undefined;
/* scoped */ /* scoped */
const __vue_scope_id__$o = "data-v-e9bc3152"; const __vue_scope_id__$o = "data-v-7e14161a";
/* module identifier */ /* module identifier */
const __vue_module_identifier__$o = undefined; const __vue_module_identifier__$o = undefined;
/* functional template */ /* functional template */

View File

@ -9,50 +9,6 @@
/*# sourceMappingURL=QuestionItem.vue.map */ /*# sourceMappingURL=QuestionItem.vue.map */
.option-item + .option-item[data-v-fa728c70] {
margin-top: 16px;
}
.option-item[data-v-fa728c70] {
display: flex;
background: #fbfbfb;
border-radius: 6px;
padding-left: 16px;
cursor: pointer;
transition: all ease 0.3s;
border: 1px solid #fbfbfb;
}
.option-item.isActive[data-v-fa728c70] {
border-color: #2e9adb;
}
.option-item .questionSeq[data-v-fa728c70] {
padding: 8px 0;
}
.option-item.isTrue[data-v-fa728c70] {
border: 1px solid #70b603;
}
.option-item.isTrue[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner {
border-color: #70b603;
background: #70b603;
}
.option-item.isFalse[data-v-fa728c70] {
border: 1px solid #d9001b;
}
.option-item.isFalse[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner {
border-color: #d9001b;
background: #d9001b;
}
.option-item[data-v-fa728c70]:hover {
background: #ddd;
}
.option-item[data-v-fa728c70] .content {
cursor: pointer;
}
.option-item[data-v-fa728c70] .stem-content.no-border {
padding: 8px 14px !important;
cursor: pointer;
}
/*# sourceMappingURL=checkbox.vue.map */
.option-item + .option-item[data-v-7fac7a23] { .option-item + .option-item[data-v-7fac7a23] {
margin-top: 16px; margin-top: 16px;
} }
@ -122,6 +78,50 @@
} }
/*# sourceMappingURL=common.vue.map */ /*# sourceMappingURL=common.vue.map */
.option-item + .option-item[data-v-fa728c70] {
margin-top: 16px;
}
.option-item[data-v-fa728c70] {
display: flex;
background: #fbfbfb;
border-radius: 6px;
padding-left: 16px;
cursor: pointer;
transition: all ease 0.3s;
border: 1px solid #fbfbfb;
}
.option-item.isActive[data-v-fa728c70] {
border-color: #2e9adb;
}
.option-item .questionSeq[data-v-fa728c70] {
padding: 8px 0;
}
.option-item.isTrue[data-v-fa728c70] {
border: 1px solid #70b603;
}
.option-item.isTrue[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner {
border-color: #70b603;
background: #70b603;
}
.option-item.isFalse[data-v-fa728c70] {
border: 1px solid #d9001b;
}
.option-item.isFalse[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner {
border-color: #d9001b;
background: #d9001b;
}
.option-item[data-v-fa728c70]:hover {
background: #ddd;
}
.option-item[data-v-fa728c70] .content {
cursor: pointer;
}
.option-item[data-v-fa728c70] .stem-content.no-border {
padding: 8px 14px !important;
cursor: pointer;
}
/*# sourceMappingURL=checkbox.vue.map */
.image-file[data-v-506f1aca] { .image-file[data-v-506f1aca] {
width: 218px; width: 218px;
object-fit: scale-down; object-fit: scale-down;

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
const radioType = ['SingleSelect']; const radioType = ['SingleSelect'];

View File

@ -1 +1 @@
.option-item+.option-item[data-v-fa728c70]{margin-top:16px}.option-item[data-v-fa728c70]{display:flex;background:#fbfbfb;border-radius:6px;padding-left:16px;cursor:pointer;transition:all ease .3s;border:1px solid #fbfbfb}.option-item.isActive[data-v-fa728c70]{border-color:#2e9adb}.option-item .questionSeq[data-v-fa728c70]{padding:8px 0}.option-item.isTrue[data-v-fa728c70]{border:1px solid #70b603}.option-item.isTrue[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#70b603;background:#70b603}.option-item.isFalse[data-v-fa728c70]{border:1px solid #d9001b}.option-item.isFalse[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#d9001b;background:#d9001b}.option-item[data-v-fa728c70]:hover{background:#ddd}.option-item[data-v-fa728c70] .content{cursor:pointer}.option-item[data-v-fa728c70] .stem-content.no-border{padding:8px 14px!important;cursor:pointer}.option-item+.option-item[data-v-7fac7a23]{margin-top:16px}.option-item[data-v-7fac7a23]{display:flex;background:#fbfbfb;border-radius:6px;padding-left:16px;cursor:pointer;transition:all ease .3s;border:1px solid #fbfbfb}.option-item .questionSeq[data-v-7fac7a23]{padding:8px 0}.option-item.isActive[data-v-7fac7a23]{border-color:#2e9adb}.option-item.isTrue[data-v-7fac7a23]{border:1px solid #70b603}.option-item.isTrue[data-v-7fac7a23] .el-radio__input.is-checked .el-radio__inner{border-color:#70b603;background:#70b603}.option-item.isFalse[data-v-7fac7a23]{border:1px solid #d9001b}.option-item.isFalse[data-v-7fac7a23] .el-radio__input.is-checked .el-radio__inner{border-color:#d9001b;background:#d9001b}.option-item[data-v-7fac7a23]:hover{background:#ddd}.option-item[data-v-7fac7a23] .content{cursor:pointer}.option-item[data-v-7fac7a23] .stem-content.no-border{padding:8px 14px!important;cursor:pointer}.content[data-v-3d2dcb5b]{width:100%}.content .stem-content[data-v-3d2dcb5b]{width:100%;box-sizing:border-box;padding:5px 14px;height:auto;border:1px solid #e7e7e7;border-radius:6px;cursor:pointer}.content .stem-content.no-border[data-v-3d2dcb5b]{padding:0;border:none;cursor:default}.content .stem-content .placeholder[data-v-3d2dcb5b]{color:#c0c4cc;font-size:14px;cursor:pointer;user-select:none}.image-file[data-v-506f1aca]{width:218px;object-fit:scale-down}.video-file[data-v-506f1aca]{width:408px}.file-render[data-v-506f1aca]{width:100%}.file-info[data-v-506f1aca]{flex:1;min-width:0}.file-info.videoHandler[data-v-506f1aca]{display:flex;flex-direction:column;justify-content:center}.file-info.videoHandler .fileName[data-v-506f1aca]{font-size:18px;color:#333;margin-bottom:19px}.file-info.videoHandler .fileInfo[data-v-506f1aca]{font-size:14px;color:#666;margin-bottom:19px}[data-v-7628e470] .el-dialog__header{padding:10px}.video-content[data-v-7628e470]{width:180px;height:135px;border-radius:6px;overflow:hidden;position:relative}.video-content .play[data-v-7628e470]{position:absolute;left:50%;top:50%;cursor:pointer;transform:translateX(-50%) translateY(-50%)}.video-mask[data-v-7628e470]{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.video-mask img[data-v-7628e470]{position:absolute;left:50%;top:50%;transform:translate(-50% -50%);display:block}.video-player[data-v-7628e470]{width:100%}.audio .audio-icon[data-v-25355b9e]{width:36px;height:36px;margin-right:20px}.audio .audio-icon img[data-v-25355b9e]{width:100%;height:100%;display:block}.audio .audio-controls[data-v-25355b9e]{width:100%;max-width:200px;flex:1;height:36px}.audio .audio-controls .audio-controls--handler[data-v-25355b9e],.audio .audio-controls .audio-controls--progress[data-v-25355b9e]{width:100%}.audio .audio-controls .audio-controls--handler[data-v-25355b9e]{line-height:1}.audio .audio-controls .audio-controls--handler .play[data-v-25355b9e]{font-size:24px}.audio .audio-controls .audio-controls--handler .play .play-handler[data-v-25355b9e]{width:22px;height:22px;display:block;cursor:pointer}.audio .audio-controls .audio-controls--handler .current-time[data-v-25355b9e],.audio .audio-controls .audio-controls--handler .total-time[data-v-25355b9e]{font-size:12px;color:#333}.play-handler.mobile[data-v-25355b9e]{width:20px;height:20px}.audio-component[data-v-25355b9e]{display:none}[data-v-25355b9e] .el-slider__runway{margin:0 0 4px 0;background:#e3e3e3;height:4px}[data-v-25355b9e] .el-slider__bar{height:4px}[data-v-25355b9e] .el-slider__button{width:10px;height:10px}[data-v-25355b9e] .el-slider__button-wrapper{top:-15px} .option-item+.option-item[data-v-7fac7a23]{margin-top:16px}.option-item[data-v-7fac7a23]{display:flex;background:#fbfbfb;border-radius:6px;padding-left:16px;cursor:pointer;transition:all ease .3s;border:1px solid #fbfbfb}.option-item .questionSeq[data-v-7fac7a23]{padding:8px 0}.option-item.isActive[data-v-7fac7a23]{border-color:#2e9adb}.option-item.isTrue[data-v-7fac7a23]{border:1px solid #70b603}.option-item.isTrue[data-v-7fac7a23] .el-radio__input.is-checked .el-radio__inner{border-color:#70b603;background:#70b603}.option-item.isFalse[data-v-7fac7a23]{border:1px solid #d9001b}.option-item.isFalse[data-v-7fac7a23] .el-radio__input.is-checked .el-radio__inner{border-color:#d9001b;background:#d9001b}.option-item[data-v-7fac7a23]:hover{background:#ddd}.option-item[data-v-7fac7a23] .content{cursor:pointer}.option-item[data-v-7fac7a23] .stem-content.no-border{padding:8px 14px!important;cursor:pointer}.content[data-v-3d2dcb5b]{width:100%}.content .stem-content[data-v-3d2dcb5b]{width:100%;box-sizing:border-box;padding:5px 14px;height:auto;border:1px solid #e7e7e7;border-radius:6px;cursor:pointer}.content .stem-content.no-border[data-v-3d2dcb5b]{padding:0;border:none;cursor:default}.content .stem-content .placeholder[data-v-3d2dcb5b]{color:#c0c4cc;font-size:14px;cursor:pointer;user-select:none}.option-item+.option-item[data-v-fa728c70]{margin-top:16px}.option-item[data-v-fa728c70]{display:flex;background:#fbfbfb;border-radius:6px;padding-left:16px;cursor:pointer;transition:all ease .3s;border:1px solid #fbfbfb}.option-item.isActive[data-v-fa728c70]{border-color:#2e9adb}.option-item .questionSeq[data-v-fa728c70]{padding:8px 0}.option-item.isTrue[data-v-fa728c70]{border:1px solid #70b603}.option-item.isTrue[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#70b603;background:#70b603}.option-item.isFalse[data-v-fa728c70]{border:1px solid #d9001b}.option-item.isFalse[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#d9001b;background:#d9001b}.option-item[data-v-fa728c70]:hover{background:#ddd}.option-item[data-v-fa728c70] .content{cursor:pointer}.option-item[data-v-fa728c70] .stem-content.no-border{padding:8px 14px!important;cursor:pointer}.image-file[data-v-506f1aca]{width:218px;object-fit:scale-down}.video-file[data-v-506f1aca]{width:408px}.file-render[data-v-506f1aca]{width:100%}.file-info[data-v-506f1aca]{flex:1;min-width:0}.file-info.videoHandler[data-v-506f1aca]{display:flex;flex-direction:column;justify-content:center}.file-info.videoHandler .fileName[data-v-506f1aca]{font-size:18px;color:#333;margin-bottom:19px}.file-info.videoHandler .fileInfo[data-v-506f1aca]{font-size:14px;color:#666;margin-bottom:19px}[data-v-7628e470] .el-dialog__header{padding:10px}.video-content[data-v-7628e470]{width:180px;height:135px;border-radius:6px;overflow:hidden;position:relative}.video-content .play[data-v-7628e470]{position:absolute;left:50%;top:50%;cursor:pointer;transform:translateX(-50%) translateY(-50%)}.video-mask[data-v-7628e470]{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.video-mask img[data-v-7628e470]{position:absolute;left:50%;top:50%;transform:translate(-50% -50%);display:block}.video-player[data-v-7628e470]{width:100%}.audio .audio-icon[data-v-25355b9e]{width:36px;height:36px;margin-right:20px}.audio .audio-icon img[data-v-25355b9e]{width:100%;height:100%;display:block}.audio .audio-controls[data-v-25355b9e]{width:100%;max-width:200px;flex:1;height:36px}.audio .audio-controls .audio-controls--handler[data-v-25355b9e],.audio .audio-controls .audio-controls--progress[data-v-25355b9e]{width:100%}.audio .audio-controls .audio-controls--handler[data-v-25355b9e]{line-height:1}.audio .audio-controls .audio-controls--handler .play[data-v-25355b9e]{font-size:24px}.audio .audio-controls .audio-controls--handler .play .play-handler[data-v-25355b9e]{width:22px;height:22px;display:block;cursor:pointer}.audio .audio-controls .audio-controls--handler .current-time[data-v-25355b9e],.audio .audio-controls .audio-controls--handler .total-time[data-v-25355b9e]{font-size:12px;color:#333}.play-handler.mobile[data-v-25355b9e]{width:20px;height:20px}.audio-component[data-v-25355b9e]{display:none}[data-v-25355b9e] .el-slider__runway{margin:0 0 4px 0;background:#e3e3e3;height:4px}[data-v-25355b9e] .el-slider__bar{height:4px}[data-v-25355b9e] .el-slider__button{width:10px;height:10px}[data-v-25355b9e] .el-slider__button-wrapper{top:-15px}

View File

@ -1,6 +1,93 @@
/*# sourceMappingURL=render.vue.map */ /*# sourceMappingURL=render.vue.map */
.preview-container-h5[data-v-25742cb8] { .preview-container-h5[data-v-25742cb8] {
padding-top: 15px; padding-top: 15px;
} }
@ -22,89 +109,3 @@
} }
/*# sourceMappingURL=PreviewLooseLeaf.vue.map */ /*# sourceMappingURL=PreviewLooseLeaf.vue.map */

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
// //

View File

@ -1,5 +1,5 @@
.preview-item-file[data-v-2be4d8c2]:hover, .preview-item-file[data-v-1a9a6b5c]:hover,
.slip-over-cover[data-v-2be4d8c2]:hover { .slip-over-cover[data-v-1a9a6b5c]:hover {
cursor: pointer; cursor: pointer;
} }

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 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==";
@ -888,6 +888,393 @@ var __vue_render__ = function () {
2 2
) )
: _vm._e(), : _vm._e(),
_vm._v(" "),
_vm.blockData.styleMode == "D"
? _c(
"div",
[
_vm.blockData.resourceSetList &&
_vm.blockData.resourceSetList.length
? _vm._l(
_vm.blockData.resourceSetList,
function (item, index) {
return _c(
"div",
{
key: index,
staticClass:
"workbench-shop-item resource-style4 xml-group-item",
},
[
_c(
"div",
{
staticClass:
"shop-item-img slip-over-cover",
on: {
click: function ($event) {
return _vm.previewToPathClick(item)
},
},
},
[
_c("el-image", {
staticClass:
"shop-item-img-resource xml-round-6",
attrs: {
src: item.coverFileUrl
? item.coverFileUrl.indexOf("./") !==
-1
? _vm.resourceBasisPath +
item.coverFileUrl.split("./")[1]
: item.coverFileUrl
: __$_require_static_images_default_over_resource_png__,
},
}),
],
1
),
_vm._v(" "),
_c("div", { staticClass: "shop-item-desc" }, [
_c("div", { staticClass: "filecont" }, [
_c(
"div",
{
staticClass:
"shop-item-desc-title preview-item-file",
on: {
click: function ($event) {
return _vm.previewToPathClick(item)
},
},
},
[
_vm._v(
"\n " +
_vm._s(
item.title
? item.title
: "资源样例"
) +
"\n "
),
]
),
_vm._v(" "),
_c(
"div",
{ staticClass: "shop-item-desc-detail" },
[
_vm._v(
"\n 文件格式:" +
_vm._s(
item.fileFormat
? item.fileFormat
: "无"
) +
"\n\n "
),
_vm.blockData.resourceType == "0" &&
item.source != ""
? _c(
"div",
{
staticClass: "pointer",
on: {
click: function ($event) {
return _vm.downloadFileUrl(
item,
item.title +
"." +
item.fileFormat
)
},
},
},
[
_c("img", {
staticClass:
"shop-item-img-resource",
attrs: {
src: __$_require_static_images_leaflet_icons_download_bule_png__,
},
}),
_vm._v(
"立即下载\n "
),
]
)
: _vm._e(),
]
),
_vm._v(" "),
_c(
"div",
{ staticClass: "shop-item-desc-detail" },
[
_vm._v(
"\n 文件大小:" +
_vm._s(
_vm.countFileSize(item.fileSize)
? _vm.countFileSize(
item.fileSize
)
: "无"
) +
"\n "
),
]
),
]),
]),
]
)
}
)
: [
_c(
"div",
{
staticClass:
"workbench-shop-item resource-style4 xml-group-item",
},
[
_c("div", { staticClass: "shop-item-img" }, [
_c("img", {
staticClass: "shop-item-img-resource",
attrs: {
src: __$_require_static_images_default_over_resource_png__,
},
}),
]),
_vm._v(" "),
_c("div", { staticClass: "shop-item-desc" }, [
_vm._m(1),
_vm._v(" "),
_vm.blockData.resourceType == "0"
? _c(
"div",
{ staticClass: "shop-item-desc-detail" },
[
_c("div", [
_c("img", {
staticClass:
"shop-item-img-resource",
attrs: {
src: __$_require_static_images_leaflet_icons_download_bule_png__,
},
}),
_vm._v("立即下载\n "),
]),
]
)
: _vm._e(),
]),
]
),
],
],
2
)
: _vm._e(),
_vm._v(" "),
_vm.blockData.styleMode == "E"
? _c(
"div",
[
_vm.blockData.resourceSetList &&
_vm.blockData.resourceSetList.length
? _vm._l(
_vm.blockData.resourceSetList,
function (item, index) {
return _c(
"div",
{
key: index,
staticClass:
"workbench-shop-item resource-style5 xml-group-item",
},
[
_c(
"div",
{
staticClass:
"shop-item-img slip-over-cover",
on: {
click: function ($event) {
return _vm.previewToPathClick(item)
},
},
},
[
_c("el-image", {
staticClass:
"shop-item-img-resource xml-round-6",
attrs: {
src: item.coverFileUrl
? item.coverFileUrl.indexOf("./") !==
-1
? _vm.resourceBasisPath +
item.coverFileUrl.split("./")[1]
: item.coverFileUrl
: __$_require_static_images_default_over_resource_png__,
},
}),
],
1
),
_vm._v(" "),
_c("div", { staticClass: "shop-item-desc" }, [
_c("div", { staticClass: "filecont" }, [
_c(
"div",
{
staticClass:
"shop-item-desc-title shop-item-desc-title2 preview-item-file",
on: {
click: function ($event) {
return _vm.previewToPathClick(item)
},
},
},
[
_vm._v(
"\n " +
_vm._s(
item.title
? item.title
: "资源样例"
) +
"\n "
),
]
),
_vm._v(" "),
_c(
"div",
{
staticClass:
"shop-item-desc-detail shop-item-desc-detail2",
},
[
_vm._v(
"\n 文件格式:" +
_vm._s(
item.fileFormat
? item.fileFormat
: "无"
) +
"\n\n "
),
_vm.blockData.resourceType == "0" &&
item.source != ""
? _c(
"div",
{
staticClass: "pointer",
on: {
click: function ($event) {
return _vm.downloadFileUrl(
item,
item.title +
"." +
item.fileFormat
)
},
},
},
[
_c("img", {
staticClass:
"shop-item-img-resource",
attrs: {
src: __$_require_static_images_leaflet_icons_download_bule_png__,
},
}),
_vm._v(
"立即下载\n "
),
]
)
: _vm._e(),
]
),
_vm._v(" "),
_c(
"div",
{
staticClass:
"shop-item-desc-detail shop-item-desc-detail2",
},
[
_vm._v(
"\n 文件大小:" +
_vm._s(
_vm.countFileSize(item.fileSize)
? _vm.countFileSize(
item.fileSize
)
: "无"
) +
"\n "
),
]
),
]),
]),
]
)
}
)
: [
_c(
"div",
{
staticClass:
"workbench-shop-item resource-style5 xml-group-item",
},
[
_c("div", { staticClass: "shop-item-img" }, [
_c("img", {
staticClass: "shop-item-img-resource",
attrs: {
src: __$_require_static_images_default_over_resource_png__,
},
}),
]),
_vm._v(" "),
_c("div", { staticClass: "shop-item-desc" }, [
_vm._m(2),
_vm._v(" "),
_vm.blockData.resourceType == "0"
? _c(
"div",
{
staticClass:
"shop-item-desc-detail shop-item-desc-detail2",
},
[
_c("div", [
_c("img", {
staticClass:
"shop-item-img-resource",
attrs: {
src: __$_require_static_images_leaflet_icons_download_bule_png__,
},
}),
_vm._v("立即下载\n "),
]),
]
)
: _vm._e(),
]),
]
),
],
],
2
)
: _vm._e(),
] ]
), ),
]), ]),
@ -911,13 +1298,51 @@ var __vue_staticRenderFns__ = [
]), ]),
]) ])
}, },
function () {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c("div", [
_c("div", { staticClass: "shop-item-desc-title" }, [_vm._v("资源样例")]),
_vm._v(" "),
_c("div", { staticClass: "shop-item-desc-detail" }, [
_vm._v("文件格式:无"),
]),
_vm._v(" "),
_c("div", { staticClass: "shop-item-desc-detail" }, [
_vm._v("文件大小0"),
]),
])
},
function () {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c("div", [
_c("div", { staticClass: "shop-item-desc-title shop-item-desc-title2" }, [
_vm._v("资源样例"),
]),
_vm._v(" "),
_c(
"div",
{ staticClass: "shop-item-desc-detail shop-item-desc-detail2" },
[_vm._v("文件格式:无")]
),
_vm._v(" "),
_c(
"div",
{ staticClass: "shop-item-desc-detail shop-item-desc-detail2" },
[_vm._v("文件大小0")]
),
])
},
]; ];
__vue_render__._withStripped = true; __vue_render__._withStripped = true;
/* style */ /* style */
const __vue_inject_styles__ = undefined; const __vue_inject_styles__ = undefined;
/* scoped */ /* scoped */
const __vue_scope_id__ = "data-v-2be4d8c2"; const __vue_scope_id__ = "data-v-1a9a6b5c";
/* module identifier */ /* module identifier */
const __vue_module_identifier__ = undefined; const __vue_module_identifier__ = undefined;
/* functional template */ /* functional template */

View File

@ -1 +1 @@
.preview-item-file[data-v-2be4d8c2]:hover,.slip-over-cover[data-v-2be4d8c2]:hover{cursor:pointer} .preview-item-file[data-v-1a9a6b5c]:hover,.slip-over-cover[data-v-1a9a6b5c]:hover{cursor:pointer}

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
var singleGroupMixin = { var singleGroupMixin = {

View File

@ -1,75 +1,87 @@
/*# sourceMappingURL=eighth.vue.map */
/*# sourceMappingURL=Greytheme1.vue.map */
/*# sourceMappingURL=second.vue.map */ /*# sourceMappingURL=second.vue.map */
/*# sourceMappingURL=sixth.vue.map */
/*# sourceMappingURL=fourth.vue.map */ /*# sourceMappingURL=fourth.vue.map */
/*# sourceMappingURL=fifth.vue.map */ /*# sourceMappingURL=fifth.vue.map */
/*# sourceMappingURL=eighth.vue.map */
/*# sourceMappingURL=third.vue.map */ /*# sourceMappingURL=third.vue.map */
/*# sourceMappingURL=ninth.vue.map */
/*# sourceMappingURL=seventh.vue.map */
/*# sourceMappingURL=first.vue.map */
/*# sourceMappingURL=Greytheme1.vue.map */
/*# sourceMappingURL=tenth.vue.map */ /*# sourceMappingURL=tenth.vue.map */
/*# sourceMappingURL=eleventh.vue.map */ /*# sourceMappingURL=sixth.vue.map */
/*# sourceMappingURL=Greytheme5.vue.map */
/*# sourceMappingURL=Yellowtheme1.vue.map */
/*# sourceMappingURL=Greytheme2.vue.map */
/*# sourceMappingURL=Yellowtheme4.vue.map */
/*# sourceMappingURL=Greytheme4.vue.map */
/*# sourceMappingURL=Yellowtheme2.vue.map */
/*# sourceMappingURL=Greytheme3.vue.map */
/*# sourceMappingURL=Yellowtheme3.vue.map */
/*# sourceMappingURL=Greytheme6.vue.map */ /*# sourceMappingURL=Greytheme6.vue.map */
/*# sourceMappingURL=first.vue.map */
/*# sourceMappingURL=Greytheme2.vue.map */
/*# sourceMappingURL=ninth.vue.map */
/*# sourceMappingURL=eleventh.vue.map */
/*# sourceMappingURL=Greytheme4.vue.map */
/*# sourceMappingURL=seventh.vue.map */
/*# sourceMappingURL=Redtheme2.vue.map */ /*# sourceMappingURL=Redtheme2.vue.map */
/*# sourceMappingURL=Greytheme5.vue.map */
/*# sourceMappingURL=Yellowtheme3.vue.map */
/*# sourceMappingURL=Bluetheme3.vue.map */
/*# sourceMappingURL=Greytheme3.vue.map */
/*# sourceMappingURL=Yellowtheme1.vue.map */
/*# sourceMappingURL=Greentheme1.vue.map */ /*# sourceMappingURL=Greentheme1.vue.map */
/*# sourceMappingURL=Redtheme1.vue.map */ /*# sourceMappingURL=Greentheme4.vue.map */
/*# sourceMappingURL=Yellowtheme2.vue.map */
/*# sourceMappingURL=Yellowtheme4.vue.map */
/*# sourceMappingURL=Greentheme3.vue.map */
/*# sourceMappingURL=Bluetheme2.vue.map */
/*# sourceMappingURL=Bluetheme1.vue.map */
/*# sourceMappingURL=Redtheme3.vue.map */ /*# sourceMappingURL=Redtheme3.vue.map */
@ -78,33 +90,13 @@
/*# sourceMappingURL=Redtheme4.vue.map */ /*# sourceMappingURL=Redtheme4.vue.map */
/*# sourceMappingURL=Greentheme3.vue.map */ /*# sourceMappingURL=Bluetheme4.vue.map */
/*# sourceMappingURL=Greentheme2.vue.map */ /*# sourceMappingURL=Greentheme2.vue.map */
/*# sourceMappingURL=Bluetheme2.vue.map */ /*# sourceMappingURL=Redtheme1.vue.map */
/*# sourceMappingURL=Greentheme4.vue.map */
/*# sourceMappingURL=Bluetheme3.vue.map */
/*# sourceMappingURL=Bluetheme1.vue.map */
/*# sourceMappingURL=Bluetheme4.vue.map */
.xml-text-h5[data-v-5d93942a] {
}
.xml-text-pc[data-v-5d93942a] {
}
.xml-text-h5[data-v-5d93942a] {
}
.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;
@ -176,6 +168,14 @@
/*# sourceMappingURL=XmlText.vue.map */ /*# sourceMappingURL=XmlText.vue.map */
.xml-text-h5[data-v-50837cf9] {
}
.xml-text-pc[data-v-50837cf9] {
}
.xml-text-h5[data-v-50837cf9] {
}
/*# sourceMappingURL=XmlTextDialog.vue.map */ /*# sourceMappingURL=XmlTextDialog.vue.map */
@ -746,6 +746,19 @@

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
import Vue from 'vue'; import Vue from 'vue';
@ -492,6 +492,9 @@ class MagicLink extends HTMLElement {
.magic-link { .magic-link {
display: inline; display: inline;
font-size:16px; font-size:16px;
font-weight: normal;
font-style: normal;
text-align: left;
text-indent: initial; text-indent: initial;
// color: #6883FA; // color: #6883FA;
color: #00F; color: #00F;
@ -15648,6 +15651,9 @@ var script$y = {
this.$refs[this.activeName + 'RuleForm'].validate(valid => { this.$refs[this.activeName + 'RuleForm'].validate(valid => {
if (valid) { if (valid) {
if (this.activeName == 'resource') { if (this.activeName == 'resource') {
if (!this.fileData.fileUrl) {
this.$message.warning("请上传资源文件");
}
// 添加资源文件 // 添加资源文件
let fileData = JSON.parse(JSON.stringify(this.fileData)) || {}; let fileData = JSON.parse(JSON.stringify(this.fileData)) || {};
let data = { let data = {
@ -15771,6 +15777,9 @@ var script$y = {
}); });
let formData = new FormData(); let formData = new FormData();
formData.append('file', this.recordedBlob, new Date().getTime() + '.mp3'); formData.append('file', this.recordedBlob, new Date().getTime() + '.mp3');
for (let key in this.data) {
formData.append(key, this.data[key]);
}
fetch(this.actionUrl, { fetch(this.actionUrl, {
method: 'post', method: 'post',
body: formData, body: formData,
@ -49050,7 +49059,7 @@ var script$x = {
} }
return null; return null;
} }
if (this.userType) { if (this.userType && this.pBlockData.html.indexOf('<pre') === -1) {
this.markInstance = new n(this.markRootId, { this.markInstance = new n(this.markRootId, {
id: this.currentRule.xmlCompRef id: this.currentRule.xmlCompRef
}); });
@ -49064,8 +49073,11 @@ var script$x = {
let startParent = startContainer && findParentByClassName(startContainer, 'richtext-reset-wrapper--view'); let startParent = startContainer && findParentByClassName(startContainer, 'richtext-reset-wrapper--view');
let endParent = endContainer && findParentByClassName(endContainer, 'richtext-reset-wrapper--view'); let endParent = endContainer && findParentByClassName(endContainer, 'richtext-reset-wrapper--view');
if (startParent && endParent && startParent !== endParent) { if (startParent && endParent && startParent !== endParent) {
_this.activeTippy[0].setContent('暂不支持跨组件标注'); // _this.activeTippy[0].setContent('暂不支持跨组件标注')
_this.activeTippy[0].setContent(`<span style="color:#EE3751;">暂不支持跨组件标注</span>`);
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preOperateTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preOperateTippy && preOperateTippy.remove();
setTimeout(handler => { setTimeout(handler => {
_this.hideTippy(); _this.hideTippy();
}, 1500); }, 1500);
@ -49088,21 +49100,52 @@ var script$x = {
}); });
this.markInstance.render(); this.markInstance.render();
this.$nextTick(() => { this.$nextTick(() => {
this.$EventBus.$on('previewRepaint', () => { // console.log('绑定监听',_this.groupLocation);
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
setTimeout(() => { setTimeout(() => {
_this.markInstance.update(); _this.markInstance.update();
}, 10); }, 10);
}); });
this.$EventBus.$on('markJumpIn', target => { this.$EventBus.$on(`markJumpIn-${_this.groupLocation}`, target => {
setTimeout(() => { setTimeout(() => {
if (target.location === _this.groupLocation && target.blockIndex === _this.ruleIndex) { if (target.location === _this.groupLocation && target.blockIndex === _this.ruleIndex) {
_this.markInstance.animate(target.markEfiCode); _this.markInstance.animate(target.markEfiCode);
} }
}, 10); }, 10);
}); });
this.$EventBus.$on(`clickToolbarTip-${_this.tippyTplBarId}`, function (data) {
if (data.type == 'copy' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionCopy();
} else if (data.type == 'note' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddNote();
} else if (data.type == 'highlight' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddHighlight();
}
_this.$EventBus.$emit('selectionTextChange', {
state: false,
tippyTplBarId: _this.tippyTplBarId
});
_this.$EventBus.$emit('tippyChange', {
state: false
});
});
this.$EventBus.$on(`underlineSign-${_this.groupLocation}`, function (data) {
// this.noteOperateMode = 'add'
// let defaultUnderlineStyle = 'mk-underline__default'
if (data.operationType == 'add' && _this.groupLocation == data.location) {
_this.markInstance.underline(data.markEfiCode, 'mk-underline__default', e => {
});
_this.tempMarkEfiStr = '';
} else if (data.operationType == 'remove' && _this.groupLocation == data.location) {
_this.markInstance.remove(data.markEfiCode, data.signType);
}
});
this.$once('hook:beforeDestroy', () => { this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('previewRepaint'); // console.log('销毁监听',_this.groupLocation);
_this.$EventBus.$off('markJumpIn'); _this.$EventBus.$off(`clickToolbarTip-${_this.tippyTplBarId}`);
_this.$EventBus.$off(`previewRepaint-${_this.groupLocation}`);
_this.$EventBus.$off(`markJumpIn-${_this.groupLocation}`);
_this.$EventBus.$off(`underlineSign-${_this.groupLocation}`);
}); });
this.updateCodeBlock(); this.updateCodeBlock();
setTimeout(() => { setTimeout(() => {
@ -49113,36 +49156,6 @@ var script$x = {
this.updateCodeBlock(); this.updateCodeBlock();
} }
}); });
this.$EventBus.$on('clickToolbarTip', function (data) {
if (data.type == 'copy' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionCopy();
} else if (data.type == 'note' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddNote();
} else if (data.type == 'highlight' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddHighlight();
}
_this.$EventBus.$emit('selectionTextChange', {
state: false,
tippyTplBarId: _this.tippyTplBarId
});
});
this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('clickToolbarTip');
});
this.$EventBus.$on('underlineSign', function (data) {
// this.noteOperateMode = 'add'
// let defaultUnderlineStyle = 'mk-underline__default'
if (data.operationType == 'add' && _this.groupLocation == data.location) {
_this.markInstance.underline(data.markEfiCode, 'mk-underline__default', e => {
});
_this.tempMarkEfiStr = '';
} else if (data.operationType == 'remove' && _this.groupLocation == data.location) {
_this.markInstance.remove(data.markEfiCode, data.signType);
}
});
this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('underlineSign');
});
}, },
beforeDestroy() { beforeDestroy() {
if (this.markInstance) { if (this.markInstance) {
@ -49282,14 +49295,18 @@ var script$x = {
let _this = this; let _this = this;
if (this.userType && this.insideIndex === this.ruleIndex) { if (this.userType && this.insideIndex === this.ruleIndex) {
setTimeout(() => { setTimeout(() => {
console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'MouseUp', _this.markEfiStr); // console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'MouseUp', _this.markEfiStr)
this.$EventBus.$emit('selectionTextChange', { this.$EventBus.$emit('selectionTextChange', {
state: false, state: false,
tippyTplBarId: _this.tippyTplBarId tippyTplBarId: _this.tippyTplBarId
}); });
_this.$EventBus.$emit('tippyChange', {
state: false
});
const text = window?.getSelection()?.toString() || ''; const text = window?.getSelection()?.toString() || '';
if (text.length && text.length <= 200 && _this.markEfiStr) { if (text.length && text.length <= 200 && _this.markEfiStr) {
let checkHasSaved = _this.mergeMarkList.find(item => item.markEfiCode === _this.markEfiStr); let checkHasSaved = _this.mergeMarkList.find(item => item.markEfiCode === _this.markEfiStr);
let checkout = true;
if (checkHasSaved) { if (checkHasSaved) {
let msg = '当前位置已存在标记', let msg = '当前位置已存在标记',
resourceType = checkHasSaved.resourcesType || checkHasSaved.type?.split('__')[0]; resourceType = checkHasSaved.resourcesType || checkHasSaved.type?.split('__')[0];
@ -49313,14 +49330,21 @@ var script$x = {
msg = '当前位置已存在资源'; msg = '当前位置已存在资源';
break; break;
} }
_this.activeTippy[0].setContent(msg); checkout = false;
_this.activeTippy[0].setContent(`<span style="color:#EE3751;">${msg}</span>`);
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preOperateTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preOperateTippy && preOperateTippy.remove();
_this.markEfiStr = ''; _this.markEfiStr = '';
setTimeout(handler => { setTimeout(handler => {
_this.hideTippy(); _this.hideTippy();
checkout = true;
}, 1500); }, 1500);
return; return;
} }
if (!checkout) {
return;
}
_this.noteData.selectionText = text; _this.noteData.selectionText = text;
const templateBar = document.getElementById(_this.tippyTplBarId); const templateBar = document.getElementById(_this.tippyTplBarId);
// let HTMLContentClone = $J(`#${_this.tippyTplBarId}`)?.clone(true,true)?.get(0) // let HTMLContentClone = $J(`#${_this.tippyTplBarId}`)?.clone(true,true)?.get(0)
@ -49341,6 +49365,9 @@ var script$x = {
tippyTplBarId: _this.tippyTplBarId, tippyTplBarId: _this.tippyTplBarId,
noteModel noteModel
}); });
_this.$EventBus.$emit('tippyChange', {
state: false
});
if (_this.pageType == 'pc' || !u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) { if (_this.pageType == 'pc' || !u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {
_this.activeTippy[0].setProps({ _this.activeTippy[0].setProps({
content, content,
@ -49384,11 +49411,16 @@ var script$x = {
// }, // },
// }) // })
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preTipTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preTipTippy && preTipTippy.remove();
} else { } else {
this.$EventBus.$emit('selectionTextChange', { this.$EventBus.$emit('selectionTextChange', {
state: true, state: true,
tippyTplBarId: _this.tippyTplBarId tippyTplBarId: _this.tippyTplBarId
}); });
_this.$EventBus.$emit('tippyChange', {
state: true
});
} }
} else if (text.length > 200) { } else if (text.length > 200) {
_this.activeTippy[0].setContent(`<div style="color:#666;">可选文本最多为200字</div>`); _this.activeTippy[0].setContent(`<div style="color:#666;">可选文本最多为200字</div>`);
@ -49706,7 +49738,7 @@ var script$x = {
window.getSelection()?.removeAllRanges(); window.getSelection()?.removeAllRanges();
}, },
highlightClick(e, efi) { highlightClick(e, efi) {
console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'HighLight Click', e, _this.markEfiStr); console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'HighLight Click', e, this.markEfiStr);
}, },
emitRollbackHandler(eventName, eventData) { emitRollbackHandler(eventName, eventData) {
console.log('emitRollbackHandler', eventName, eventData); console.log('emitRollbackHandler', eventName, eventData);
@ -50352,7 +50384,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-5d93942a"; const __vue_scope_id__$x = "data-v-50837cf9";
/* module identifier */ /* module identifier */
const __vue_module_identifier__$x = undefined; const __vue_module_identifier__$x = undefined;
/* functional template */ /* functional template */
@ -55918,7 +55950,7 @@ var __vue_render__$5 = function () {
"xml-splitline-Greentheme3-" + _vm.pageType, "xml-splitline-Greentheme3-" + _vm.pageType,
_vm.groupIsActive ? "active" : "", _vm.groupIsActive ? "active" : "",
], ],
on: { click: _vm.emitClick, mousemove: _vm.hover, mouseleave: _vm.leave }, on: { click: _vm.emitClick },
}, },
[ [
_c( _c(
@ -55972,7 +56004,7 @@ __vue_render__$5._withStripped = true;
/* style */ /* style */
const __vue_inject_styles__$5 = undefined; const __vue_inject_styles__$5 = undefined;
/* scoped */ /* scoped */
const __vue_scope_id__$5 = "data-v-4616ef5b"; const __vue_scope_id__$5 = "data-v-3e15c828";
/* module identifier */ /* module identifier */
const __vue_module_identifier__$5 = undefined; const __vue_module_identifier__$5 = undefined;
/* functional template */ /* functional template */

View File

@ -48,31 +48,6 @@
} }
/*# sourceMappingURL=radio.vue.map */ /*# sourceMappingURL=radio.vue.map */
.content[data-v-3d2dcb5b] {
width: 100%;
}
.content .stem-content[data-v-3d2dcb5b] {
width: 100%;
box-sizing: border-box;
padding: 5px 14px;
height: auto;
border: 1px solid #e7e7e7;
border-radius: 6px;
cursor: pointer;
}
.content .stem-content.no-border[data-v-3d2dcb5b] {
padding: 0;
border: none;
cursor: default;
}
.content .stem-content .placeholder[data-v-3d2dcb5b] {
color: #c0c4cc;
font-size: 14px;
cursor: pointer;
user-select: none;
}
/*# sourceMappingURL=common.vue.map */
.option-item + .option-item[data-v-fa728c70] { .option-item + .option-item[data-v-fa728c70] {
margin-top: 16px; margin-top: 16px;
} }
@ -117,6 +92,31 @@
} }
/*# sourceMappingURL=checkbox.vue.map */ /*# sourceMappingURL=checkbox.vue.map */
.content[data-v-3d2dcb5b] {
width: 100%;
}
.content .stem-content[data-v-3d2dcb5b] {
width: 100%;
box-sizing: border-box;
padding: 5px 14px;
height: auto;
border: 1px solid #e7e7e7;
border-radius: 6px;
cursor: pointer;
}
.content .stem-content.no-border[data-v-3d2dcb5b] {
padding: 0;
border: none;
cursor: default;
}
.content .stem-content .placeholder[data-v-3d2dcb5b] {
color: #c0c4cc;
font-size: 14px;
cursor: pointer;
user-select: none;
}
/*# sourceMappingURL=common.vue.map */
.image-file[data-v-506f1aca] { .image-file[data-v-506f1aca] {
width: 218px; width: 218px;
object-fit: scale-down; object-fit: scale-down;
@ -148,6 +148,43 @@
} }
/*# sourceMappingURL=index.vue.map */ /*# sourceMappingURL=index.vue.map */
[data-v-7628e470] .el-dialog__header {
padding: 10px;
}
.video-content[data-v-7628e470] {
width: 180px;
height: 135px;
border-radius: 6px;
overflow: hidden;
position: relative;
}
.video-content .play[data-v-7628e470] {
position: absolute;
left: 50%;
top: 50%;
cursor: pointer;
transform: translateX(-50%) translateY(-50%);
}
.video-mask[data-v-7628e470] {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}
.video-mask img[data-v-7628e470] {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50% -50%);
display: block;
}
.video-player[data-v-7628e470] {
width: 100%;
}
/*# sourceMappingURL=video-play.vue.map */
.audio .audio-icon[data-v-25355b9e] { .audio .audio-icon[data-v-25355b9e] {
width: 36px; width: 36px;
height: 36px; height: 36px;
@ -207,40 +244,3 @@
} }
/*# sourceMappingURL=audio-play-new.vue.map */ /*# sourceMappingURL=audio-play-new.vue.map */
[data-v-7628e470] .el-dialog__header {
padding: 10px;
}
.video-content[data-v-7628e470] {
width: 180px;
height: 135px;
border-radius: 6px;
overflow: hidden;
position: relative;
}
.video-content .play[data-v-7628e470] {
position: absolute;
left: 50%;
top: 50%;
cursor: pointer;
transform: translateX(-50%) translateY(-50%);
}
.video-mask[data-v-7628e470] {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}
.video-mask img[data-v-7628e470] {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50% -50%);
display: block;
}
.video-player[data-v-7628e470] {
width: 100%;
}
/*# sourceMappingURL=video-play.vue.map */

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
const radioType = ['SingleSelect']; const radioType = ['SingleSelect'];

View File

@ -1 +1 @@
.option-item+.option-item[data-v-7fac7a23]{margin-top:16px}.option-item[data-v-7fac7a23]{display:flex;background:#fbfbfb;border-radius:6px;padding-left:16px;cursor:pointer;transition:all ease .3s;border:1px solid #fbfbfb}.option-item .questionSeq[data-v-7fac7a23]{padding:8px 0}.option-item.isActive[data-v-7fac7a23]{border-color:#2e9adb}.option-item.isTrue[data-v-7fac7a23]{border:1px solid #70b603}.option-item.isTrue[data-v-7fac7a23] .el-radio__input.is-checked .el-radio__inner{border-color:#70b603;background:#70b603}.option-item.isFalse[data-v-7fac7a23]{border:1px solid #d9001b}.option-item.isFalse[data-v-7fac7a23] .el-radio__input.is-checked .el-radio__inner{border-color:#d9001b;background:#d9001b}.option-item[data-v-7fac7a23]:hover{background:#ddd}.option-item[data-v-7fac7a23] .content{cursor:pointer}.option-item[data-v-7fac7a23] .stem-content.no-border{padding:8px 14px!important;cursor:pointer}.content[data-v-3d2dcb5b]{width:100%}.content .stem-content[data-v-3d2dcb5b]{width:100%;box-sizing:border-box;padding:5px 14px;height:auto;border:1px solid #e7e7e7;border-radius:6px;cursor:pointer}.content .stem-content.no-border[data-v-3d2dcb5b]{padding:0;border:none;cursor:default}.content .stem-content .placeholder[data-v-3d2dcb5b]{color:#c0c4cc;font-size:14px;cursor:pointer;user-select:none}.option-item+.option-item[data-v-fa728c70]{margin-top:16px}.option-item[data-v-fa728c70]{display:flex;background:#fbfbfb;border-radius:6px;padding-left:16px;cursor:pointer;transition:all ease .3s;border:1px solid #fbfbfb}.option-item.isActive[data-v-fa728c70]{border-color:#2e9adb}.option-item .questionSeq[data-v-fa728c70]{padding:8px 0}.option-item.isTrue[data-v-fa728c70]{border:1px solid #70b603}.option-item.isTrue[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#70b603;background:#70b603}.option-item.isFalse[data-v-fa728c70]{border:1px solid #d9001b}.option-item.isFalse[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#d9001b;background:#d9001b}.option-item[data-v-fa728c70]:hover{background:#ddd}.option-item[data-v-fa728c70] .content{cursor:pointer}.option-item[data-v-fa728c70] .stem-content.no-border{padding:8px 14px!important;cursor:pointer}.image-file[data-v-506f1aca]{width:218px;object-fit:scale-down}.video-file[data-v-506f1aca]{width:408px}.file-render[data-v-506f1aca]{width:100%}.file-info[data-v-506f1aca]{flex:1;min-width:0}.file-info.videoHandler[data-v-506f1aca]{display:flex;flex-direction:column;justify-content:center}.file-info.videoHandler .fileName[data-v-506f1aca]{font-size:18px;color:#333;margin-bottom:19px}.file-info.videoHandler .fileInfo[data-v-506f1aca]{font-size:14px;color:#666;margin-bottom:19px}.audio .audio-icon[data-v-25355b9e]{width:36px;height:36px;margin-right:20px}.audio .audio-icon img[data-v-25355b9e]{width:100%;height:100%;display:block}.audio .audio-controls[data-v-25355b9e]{width:100%;max-width:200px;flex:1;height:36px}.audio .audio-controls .audio-controls--handler[data-v-25355b9e],.audio .audio-controls .audio-controls--progress[data-v-25355b9e]{width:100%}.audio .audio-controls .audio-controls--handler[data-v-25355b9e]{line-height:1}.audio .audio-controls .audio-controls--handler .play[data-v-25355b9e]{font-size:24px}.audio .audio-controls .audio-controls--handler .play .play-handler[data-v-25355b9e]{width:22px;height:22px;display:block;cursor:pointer}.audio .audio-controls .audio-controls--handler .current-time[data-v-25355b9e],.audio .audio-controls .audio-controls--handler .total-time[data-v-25355b9e]{font-size:12px;color:#333}.play-handler.mobile[data-v-25355b9e]{width:20px;height:20px}.audio-component[data-v-25355b9e]{display:none}[data-v-25355b9e] .el-slider__runway{margin:0 0 4px 0;background:#e3e3e3;height:4px}[data-v-25355b9e] .el-slider__bar{height:4px}[data-v-25355b9e] .el-slider__button{width:10px;height:10px}[data-v-25355b9e] .el-slider__button-wrapper{top:-15px}[data-v-7628e470] .el-dialog__header{padding:10px}.video-content[data-v-7628e470]{width:180px;height:135px;border-radius:6px;overflow:hidden;position:relative}.video-content .play[data-v-7628e470]{position:absolute;left:50%;top:50%;cursor:pointer;transform:translateX(-50%) translateY(-50%)}.video-mask[data-v-7628e470]{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.video-mask img[data-v-7628e470]{position:absolute;left:50%;top:50%;transform:translate(-50% -50%);display:block}.video-player[data-v-7628e470]{width:100%} .option-item+.option-item[data-v-7fac7a23]{margin-top:16px}.option-item[data-v-7fac7a23]{display:flex;background:#fbfbfb;border-radius:6px;padding-left:16px;cursor:pointer;transition:all ease .3s;border:1px solid #fbfbfb}.option-item .questionSeq[data-v-7fac7a23]{padding:8px 0}.option-item.isActive[data-v-7fac7a23]{border-color:#2e9adb}.option-item.isTrue[data-v-7fac7a23]{border:1px solid #70b603}.option-item.isTrue[data-v-7fac7a23] .el-radio__input.is-checked .el-radio__inner{border-color:#70b603;background:#70b603}.option-item.isFalse[data-v-7fac7a23]{border:1px solid #d9001b}.option-item.isFalse[data-v-7fac7a23] .el-radio__input.is-checked .el-radio__inner{border-color:#d9001b;background:#d9001b}.option-item[data-v-7fac7a23]:hover{background:#ddd}.option-item[data-v-7fac7a23] .content{cursor:pointer}.option-item[data-v-7fac7a23] .stem-content.no-border{padding:8px 14px!important;cursor:pointer}.option-item+.option-item[data-v-fa728c70]{margin-top:16px}.option-item[data-v-fa728c70]{display:flex;background:#fbfbfb;border-radius:6px;padding-left:16px;cursor:pointer;transition:all ease .3s;border:1px solid #fbfbfb}.option-item.isActive[data-v-fa728c70]{border-color:#2e9adb}.option-item .questionSeq[data-v-fa728c70]{padding:8px 0}.option-item.isTrue[data-v-fa728c70]{border:1px solid #70b603}.option-item.isTrue[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#70b603;background:#70b603}.option-item.isFalse[data-v-fa728c70]{border:1px solid #d9001b}.option-item.isFalse[data-v-fa728c70] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#d9001b;background:#d9001b}.option-item[data-v-fa728c70]:hover{background:#ddd}.option-item[data-v-fa728c70] .content{cursor:pointer}.option-item[data-v-fa728c70] .stem-content.no-border{padding:8px 14px!important;cursor:pointer}.content[data-v-3d2dcb5b]{width:100%}.content .stem-content[data-v-3d2dcb5b]{width:100%;box-sizing:border-box;padding:5px 14px;height:auto;border:1px solid #e7e7e7;border-radius:6px;cursor:pointer}.content .stem-content.no-border[data-v-3d2dcb5b]{padding:0;border:none;cursor:default}.content .stem-content .placeholder[data-v-3d2dcb5b]{color:#c0c4cc;font-size:14px;cursor:pointer;user-select:none}.image-file[data-v-506f1aca]{width:218px;object-fit:scale-down}.video-file[data-v-506f1aca]{width:408px}.file-render[data-v-506f1aca]{width:100%}.file-info[data-v-506f1aca]{flex:1;min-width:0}.file-info.videoHandler[data-v-506f1aca]{display:flex;flex-direction:column;justify-content:center}.file-info.videoHandler .fileName[data-v-506f1aca]{font-size:18px;color:#333;margin-bottom:19px}.file-info.videoHandler .fileInfo[data-v-506f1aca]{font-size:14px;color:#666;margin-bottom:19px}[data-v-7628e470] .el-dialog__header{padding:10px}.video-content[data-v-7628e470]{width:180px;height:135px;border-radius:6px;overflow:hidden;position:relative}.video-content .play[data-v-7628e470]{position:absolute;left:50%;top:50%;cursor:pointer;transform:translateX(-50%) translateY(-50%)}.video-mask[data-v-7628e470]{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.video-mask img[data-v-7628e470]{position:absolute;left:50%;top:50%;transform:translate(-50% -50%);display:block}.video-player[data-v-7628e470]{width:100%}.audio .audio-icon[data-v-25355b9e]{width:36px;height:36px;margin-right:20px}.audio .audio-icon img[data-v-25355b9e]{width:100%;height:100%;display:block}.audio .audio-controls[data-v-25355b9e]{width:100%;max-width:200px;flex:1;height:36px}.audio .audio-controls .audio-controls--handler[data-v-25355b9e],.audio .audio-controls .audio-controls--progress[data-v-25355b9e]{width:100%}.audio .audio-controls .audio-controls--handler[data-v-25355b9e]{line-height:1}.audio .audio-controls .audio-controls--handler .play[data-v-25355b9e]{font-size:24px}.audio .audio-controls .audio-controls--handler .play .play-handler[data-v-25355b9e]{width:22px;height:22px;display:block;cursor:pointer}.audio .audio-controls .audio-controls--handler .current-time[data-v-25355b9e],.audio .audio-controls .audio-controls--handler .total-time[data-v-25355b9e]{font-size:12px;color:#333}.play-handler.mobile[data-v-25355b9e]{width:20px;height:20px}.audio-component[data-v-25355b9e]{display:none}[data-v-25355b9e] .el-slider__runway{margin:0 0 4px 0;background:#e3e3e3;height:4px}[data-v-25355b9e] .el-slider__bar{height:4px}[data-v-25355b9e] .el-slider__button{width:10px;height:10px}[data-v-25355b9e] .el-slider__button-wrapper{top:-15px}

View File

@ -1,12 +1,4 @@
.xml-text-h5[data-v-5d93942a] {
}
.xml-text-pc[data-v-5d93942a] {
}
.xml-text-h5[data-v-5d93942a] {
}
/*# sourceMappingURL=XmlTextDialog.vue.map */ /*# sourceMappingURL=XmlTextDialog.vue.map */
.xml-text-h5 .inline-audio-wrap, .xml-text-h5 .inline-audio-wrap,
@ -80,6 +72,27 @@
/*# sourceMappingURL=XmlText.vue.map */ /*# sourceMappingURL=XmlText.vue.map */
.xml-text-h5[data-v-50837cf9] {
}
.xml-text-pc[data-v-50837cf9] {
}
.xml-text-h5[data-v-50837cf9] {
}

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
import Vue from 'vue'; import Vue from 'vue';
@ -492,6 +492,9 @@ class MagicLink extends HTMLElement {
.magic-link { .magic-link {
display: inline; display: inline;
font-size:16px; font-size:16px;
font-weight: normal;
font-style: normal;
text-align: left;
text-indent: initial; text-indent: initial;
// color: #6883FA; // color: #6883FA;
color: #00F; color: #00F;
@ -15648,6 +15651,9 @@ var script$1 = {
this.$refs[this.activeName + 'RuleForm'].validate(valid => { this.$refs[this.activeName + 'RuleForm'].validate(valid => {
if (valid) { if (valid) {
if (this.activeName == 'resource') { if (this.activeName == 'resource') {
if (!this.fileData.fileUrl) {
this.$message.warning("请上传资源文件");
}
// 添加资源文件 // 添加资源文件
let fileData = JSON.parse(JSON.stringify(this.fileData)) || {}; let fileData = JSON.parse(JSON.stringify(this.fileData)) || {};
let data = { let data = {
@ -15771,6 +15777,9 @@ var script$1 = {
}); });
let formData = new FormData(); let formData = new FormData();
formData.append('file', this.recordedBlob, new Date().getTime() + '.mp3'); formData.append('file', this.recordedBlob, new Date().getTime() + '.mp3');
for (let key in this.data) {
formData.append(key, this.data[key]);
}
fetch(this.actionUrl, { fetch(this.actionUrl, {
method: 'post', method: 'post',
body: formData, body: formData,
@ -49050,7 +49059,7 @@ var script = {
} }
return null; return null;
} }
if (this.userType) { if (this.userType && this.pBlockData.html.indexOf('<pre') === -1) {
this.markInstance = new n(this.markRootId, { this.markInstance = new n(this.markRootId, {
id: this.currentRule.xmlCompRef id: this.currentRule.xmlCompRef
}); });
@ -49064,8 +49073,11 @@ var script = {
let startParent = startContainer && findParentByClassName(startContainer, 'richtext-reset-wrapper--view'); let startParent = startContainer && findParentByClassName(startContainer, 'richtext-reset-wrapper--view');
let endParent = endContainer && findParentByClassName(endContainer, 'richtext-reset-wrapper--view'); let endParent = endContainer && findParentByClassName(endContainer, 'richtext-reset-wrapper--view');
if (startParent && endParent && startParent !== endParent) { if (startParent && endParent && startParent !== endParent) {
_this.activeTippy[0].setContent('暂不支持跨组件标注'); // _this.activeTippy[0].setContent('暂不支持跨组件标注')
_this.activeTippy[0].setContent(`<span style="color:#EE3751;">暂不支持跨组件标注</span>`);
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preOperateTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preOperateTippy && preOperateTippy.remove();
setTimeout(handler => { setTimeout(handler => {
_this.hideTippy(); _this.hideTippy();
}, 1500); }, 1500);
@ -49088,21 +49100,52 @@ var script = {
}); });
this.markInstance.render(); this.markInstance.render();
this.$nextTick(() => { this.$nextTick(() => {
this.$EventBus.$on('previewRepaint', () => { // console.log('绑定监听',_this.groupLocation);
this.$EventBus.$on(`previewRepaint-${_this.groupLocation}`, () => {
setTimeout(() => { setTimeout(() => {
_this.markInstance.update(); _this.markInstance.update();
}, 10); }, 10);
}); });
this.$EventBus.$on('markJumpIn', target => { this.$EventBus.$on(`markJumpIn-${_this.groupLocation}`, target => {
setTimeout(() => { setTimeout(() => {
if (target.location === _this.groupLocation && target.blockIndex === _this.ruleIndex) { if (target.location === _this.groupLocation && target.blockIndex === _this.ruleIndex) {
_this.markInstance.animate(target.markEfiCode); _this.markInstance.animate(target.markEfiCode);
} }
}, 10); }, 10);
}); });
this.$EventBus.$on(`clickToolbarTip-${_this.tippyTplBarId}`, function (data) {
if (data.type == 'copy' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionCopy();
} else if (data.type == 'note' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddNote();
} else if (data.type == 'highlight' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddHighlight();
}
_this.$EventBus.$emit('selectionTextChange', {
state: false,
tippyTplBarId: _this.tippyTplBarId
});
_this.$EventBus.$emit('tippyChange', {
state: false
});
});
this.$EventBus.$on(`underlineSign-${_this.groupLocation}`, function (data) {
// this.noteOperateMode = 'add'
// let defaultUnderlineStyle = 'mk-underline__default'
if (data.operationType == 'add' && _this.groupLocation == data.location) {
_this.markInstance.underline(data.markEfiCode, 'mk-underline__default', e => {
});
_this.tempMarkEfiStr = '';
} else if (data.operationType == 'remove' && _this.groupLocation == data.location) {
_this.markInstance.remove(data.markEfiCode, data.signType);
}
});
this.$once('hook:beforeDestroy', () => { this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('previewRepaint'); // console.log('销毁监听',_this.groupLocation);
_this.$EventBus.$off('markJumpIn'); _this.$EventBus.$off(`clickToolbarTip-${_this.tippyTplBarId}`);
_this.$EventBus.$off(`previewRepaint-${_this.groupLocation}`);
_this.$EventBus.$off(`markJumpIn-${_this.groupLocation}`);
_this.$EventBus.$off(`underlineSign-${_this.groupLocation}`);
}); });
this.updateCodeBlock(); this.updateCodeBlock();
setTimeout(() => { setTimeout(() => {
@ -49113,36 +49156,6 @@ var script = {
this.updateCodeBlock(); this.updateCodeBlock();
} }
}); });
this.$EventBus.$on('clickToolbarTip', function (data) {
if (data.type == 'copy' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionCopy();
} else if (data.type == 'note' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddNote();
} else if (data.type == 'highlight' && data.tippyTplBarId == _this.tippyTplBarId) {
_this.actionAddHighlight();
}
_this.$EventBus.$emit('selectionTextChange', {
state: false,
tippyTplBarId: _this.tippyTplBarId
});
});
this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('clickToolbarTip');
});
this.$EventBus.$on('underlineSign', function (data) {
// this.noteOperateMode = 'add'
// let defaultUnderlineStyle = 'mk-underline__default'
if (data.operationType == 'add' && _this.groupLocation == data.location) {
_this.markInstance.underline(data.markEfiCode, 'mk-underline__default', e => {
});
_this.tempMarkEfiStr = '';
} else if (data.operationType == 'remove' && _this.groupLocation == data.location) {
_this.markInstance.remove(data.markEfiCode, data.signType);
}
});
this.$once('hook:beforeDestroy', () => {
_this.$EventBus.$off('underlineSign');
});
}, },
beforeDestroy() { beforeDestroy() {
if (this.markInstance) { if (this.markInstance) {
@ -49282,14 +49295,18 @@ var script = {
let _this = this; let _this = this;
if (this.userType && this.insideIndex === this.ruleIndex) { if (this.userType && this.insideIndex === this.ruleIndex) {
setTimeout(() => { setTimeout(() => {
console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'MouseUp', _this.markEfiStr); // console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'MouseUp', _this.markEfiStr)
this.$EventBus.$emit('selectionTextChange', { this.$EventBus.$emit('selectionTextChange', {
state: false, state: false,
tippyTplBarId: _this.tippyTplBarId tippyTplBarId: _this.tippyTplBarId
}); });
_this.$EventBus.$emit('tippyChange', {
state: false
});
const text = window?.getSelection()?.toString() || ''; const text = window?.getSelection()?.toString() || '';
if (text.length && text.length <= 200 && _this.markEfiStr) { if (text.length && text.length <= 200 && _this.markEfiStr) {
let checkHasSaved = _this.mergeMarkList.find(item => item.markEfiCode === _this.markEfiStr); let checkHasSaved = _this.mergeMarkList.find(item => item.markEfiCode === _this.markEfiStr);
let checkout = true;
if (checkHasSaved) { if (checkHasSaved) {
let msg = '当前位置已存在标记', let msg = '当前位置已存在标记',
resourceType = checkHasSaved.resourcesType || checkHasSaved.type?.split('__')[0]; resourceType = checkHasSaved.resourcesType || checkHasSaved.type?.split('__')[0];
@ -49313,14 +49330,21 @@ var script = {
msg = '当前位置已存在资源'; msg = '当前位置已存在资源';
break; break;
} }
_this.activeTippy[0].setContent(msg); checkout = false;
_this.activeTippy[0].setContent(`<span style="color:#EE3751;">${msg}</span>`);
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preOperateTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preOperateTippy && preOperateTippy.remove();
_this.markEfiStr = ''; _this.markEfiStr = '';
setTimeout(handler => { setTimeout(handler => {
_this.hideTippy(); _this.hideTippy();
checkout = true;
}, 1500); }, 1500);
return; return;
} }
if (!checkout) {
return;
}
_this.noteData.selectionText = text; _this.noteData.selectionText = text;
const templateBar = document.getElementById(_this.tippyTplBarId); const templateBar = document.getElementById(_this.tippyTplBarId);
// let HTMLContentClone = $J(`#${_this.tippyTplBarId}`)?.clone(true,true)?.get(0) // let HTMLContentClone = $J(`#${_this.tippyTplBarId}`)?.clone(true,true)?.get(0)
@ -49341,6 +49365,9 @@ var script = {
tippyTplBarId: _this.tippyTplBarId, tippyTplBarId: _this.tippyTplBarId,
noteModel noteModel
}); });
_this.$EventBus.$emit('tippyChange', {
state: false
});
if (_this.pageType == 'pc' || !u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) { if (_this.pageType == 'pc' || !u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {
_this.activeTippy[0].setProps({ _this.activeTippy[0].setProps({
content, content,
@ -49384,11 +49411,16 @@ var script = {
// }, // },
// }) // })
_this.activeTippy[0].show(); _this.activeTippy[0].show();
let preTipTippy = document.getElementById(`tippy-${_this.activeTippy[0].id - 1}`);
preTipTippy && preTipTippy.remove();
} else { } else {
this.$EventBus.$emit('selectionTextChange', { this.$EventBus.$emit('selectionTextChange', {
state: true, state: true,
tippyTplBarId: _this.tippyTplBarId tippyTplBarId: _this.tippyTplBarId
}); });
_this.$EventBus.$emit('tippyChange', {
state: true
});
} }
} else if (text.length > 200) { } else if (text.length > 200) {
_this.activeTippy[0].setContent(`<div style="color:#666;">可选文本最多为200字</div>`); _this.activeTippy[0].setContent(`<div style="color:#666;">可选文本最多为200字</div>`);
@ -49706,7 +49738,7 @@ var script = {
window.getSelection()?.removeAllRanges(); window.getSelection()?.removeAllRanges();
}, },
highlightClick(e, efi) { highlightClick(e, efi) {
console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'HighLight Click', e, _this.markEfiStr); console.log('%c%s', 'font-size:2em;background: #00965E;color: #FFF', 'HighLight Click', e, this.markEfiStr);
}, },
emitRollbackHandler(eventName, eventData) { emitRollbackHandler(eventName, eventData) {
console.log('emitRollbackHandler', eventName, eventData); console.log('emitRollbackHandler', eventName, eventData);
@ -50352,7 +50384,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-5d93942a"; const __vue_scope_id__ = "data-v-50837cf9";
/* module identifier */ /* module identifier */
const __vue_module_identifier__ = undefined; const __vue_module_identifier__ = undefined;
/* functional template */ /* functional template */

View File

@ -1 +1 @@
@charset "UTF-8";.heimgfont,[class*=" dl-icon-"],[class^=dl-icon-]{font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:douluo-icons;src:url(./fonts/iconfont.woff?t=1662431203509) format("woff"),url(./fonts/iconfont.ttf?t=1662431203509) format("truetype")}@font-face{font-family:heimgfont;src:url(./fonts/iconfont/iconfont.woff2?t=1635390861127) format("woff2"),url(./fonts/iconfont/iconfont.woff?t=1635390861127) format("woff"),url(./fonts/iconfont/iconfont.ttf?t=1635390861127) format("truetype")}@font-face{font-family:"宋体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/SourceHanSerifSC-VF.otf.woff2) format("woff2"),url(./fonts/simsun.woff2?t=1662431203509) format("woff2")}@font-face{font-family:"黑体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/SourceHanSansSC-VF.otf.woff2) format("woff2"),url(./fonts/simhei.woff2?t=1662431203510) format("woff2")}@font-face{font-family:"楷体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/LXGWWenKaiGBScreen.woff2) format("woff2"),url(./fonts/simkai.woff2?t=1662431203511) format("woff2")}[class*=" dl-icon-"],[class^=dl-icon-]{font-family:douluo-icons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block}.dl-icon-add:before{content:"\e608"}.dl-icon-close:before{content:"\e607"}.dl-icon-warning:before{content:"\e606"}.dl-icon-info:before{content:"\e675"}.dl-icon-lock:before{content:"\e604"}.dl-icon-check:before{content:"\e663"}.dl-icon-success:before{content:"\e603"}.dl-icon-error:before{content:"\e601"}.dl-icon-help:before{content:"\e662"}.dl-icon-reflesh:before{content:"\e628"}.dl-icon-setting:before{content:"\e639"}.dl-icon-pass:before{content:"\e65a"}.dl-icon-delete:before{content:"\e605"}.dl-icon-star:before{content:"\e617"}.dl-icon-yanjing:before{content:"\e61a"}.dl-icon-right:before{content:"\e621"}.dl-icon-left:before{content:"\e622"}.dl-icon-review:before{content:"\e674"}.heimgfont{font-family:heimgfont!important;font-size:16px}.heimg-iconguanbi1:before{content:"\e608"}.heimg-iconiconfontzhizuobiaozhun023146:before{content:"\e694"}.heimg-iconhelp:before{content:"\e626"}.heimg-iconjiazaizhong:before{content:"\e6b1"}.heimg-icontupianjiazaishibai:before{content:"\ec0d"}.heimg-iconicon_arrow_right:before{content:"\e60d"}.heimg-iconjiantouzuo:before{content:"\e620"}.heimg-iconxuanzhuan:before{content:"\e66f"}.heimg-iconxuanzhuan1:before{content:"\e670"}.heimg-iconyuanshibili:before{content:"\e86b"}.heimg-iconfangda:before{content:"\e65d"}.heimg-iconsuoxiao:before{content:"\e65e"}.heimg-iconquanping:before{content:"\e698"}.heimg-iconguanbi:before{content:"\e764"} @charset "UTF-8";.heimgfont,[class*=" dl-icon-"],[class^=dl-icon-]{font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:douluo-icons;src:url(./fonts/iconfont.woff?t=1662431203509) format("woff"),url(./fonts/iconfont.ttf?t=1662431203509) format("truetype")}@font-face{font-family:heimgfont;src:url(./fonts/iconfont/iconfont.woff2?t=1635390861127) format("woff2"),url(./fonts/iconfont/iconfont.woff?t=1635390861127) format("woff"),url(./fonts/iconfont/iconfont.ttf?t=1635390861127) format("truetype")}@font-face{font-family:"宋体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/Source_Han_Serif_SC_Light.otf) format("woff2"),url(./fonts/simsun.woff2?t=1662431203509) format("woff2")}@font-face{font-family:"黑体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/SourceHanSansSC-VF.otf.woff2) format("woff2"),url(./fonts/simhei.woff2?t=1662431203510) format("woff2")}@font-face{font-family:"楷体";src:url(https://cmp-public-resource.oss-cn-beijing.aliyuncs.com/font/LXGWWenKaiGBScreen.woff2) format("woff2"),url(./fonts/simkai.woff2?t=1662431203511) format("woff2")}[class*=" dl-icon-"],[class^=dl-icon-]{font-family:douluo-icons!important;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block}.dl-icon-add:before{content:"\e608"}.dl-icon-close:before{content:"\e607"}.dl-icon-warning:before{content:"\e606"}.dl-icon-info:before{content:"\e675"}.dl-icon-lock:before{content:"\e604"}.dl-icon-check:before{content:"\e663"}.dl-icon-success:before{content:"\e603"}.dl-icon-error:before{content:"\e601"}.dl-icon-help:before{content:"\e662"}.dl-icon-reflesh:before{content:"\e628"}.dl-icon-setting:before{content:"\e639"}.dl-icon-pass:before{content:"\e65a"}.dl-icon-delete:before{content:"\e605"}.dl-icon-star:before{content:"\e617"}.dl-icon-yanjing:before{content:"\e61a"}.dl-icon-right:before{content:"\e621"}.dl-icon-left:before{content:"\e622"}.dl-icon-review:before{content:"\e674"}.heimgfont{font-family:heimgfont!important;font-size:16px}.heimg-iconguanbi1:before{content:"\e608"}.heimg-iconiconfontzhizuobiaozhun023146:before{content:"\e694"}.heimg-iconhelp:before{content:"\e626"}.heimg-iconjiazaizhong:before{content:"\e6b1"}.heimg-icontupianjiazaishibai:before{content:"\ec0d"}.heimg-iconicon_arrow_right:before{content:"\e60d"}.heimg-iconjiantouzuo:before{content:"\e620"}.heimg-iconxuanzhuan:before{content:"\e66f"}.heimg-iconxuanzhuan1:before{content:"\e670"}.heimg-iconyuanshibili:before{content:"\e86b"}.heimg-iconfangda:before{content:"\e65d"}.heimg-iconsuoxiao:before{content:"\e65e"}.heimg-iconquanping:before{content:"\e698"}.heimg-iconguanbi:before{content:"\e764"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.xml-single-html-group-render .xml-html-mask{position:absolute;width:calc(100% - 30px)!important;height:calc(100% - 30px)!important;left:0;right:0;bottom:0;top:0;opacity:.1;filter:alpha(opacity=5);z-index:100}.xml-single-html-group-render .xml-copy-url-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;background-color:#fff;cursor:pointer;font-family:PingFang SC,PingFang SC;font-weight:400;font-size:16px;color:#2d2d2d}.xml-single-html-group-render .xml-copy-url-box .content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding:14px;background:#eef3ff;border-radius:12px}.xml-single-html-group-render .xml-copy-url-box .content img{width:120px}.xml-single-html-group-render .xml-copy-url-box .content span{padding:14px 0;font-family:PingFang SC,PingFang SC;font-weight:400;font-size:11px;color:#999;line-height:20px}.xml-single-html-group-render .xml-copy-url-box .content .btn{font-family:PingFang SC,PingFang SC;font-weight:400;font-size:12px;color:#3e8ced}.xml-single-html-group-render .web-file-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:14px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;border-radius:15px;border:1px solid #418eed}.xml-single-html-group-render .web-file-box .file-cover{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:70px;height:70px}.xml-single-html-group-render .web-file-box .file-cover img{width:70px;height:70px}.xml-single-html-group-render .web-file-box .file-title{font-size:18px;font-weight:400;color:#333;margin-bottom:10px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-left:16px;width:calc(100% - 100px)!important} .xml-single-html-group-render{position:relative}.xml-single-html-group-render .xml-html-mask{position:absolute;width:calc(100% - 30px)!important;height:calc(100% - 30px)!important;left:0;right:0;bottom:0;top:0;opacity:.1;filter:alpha(opacity=5);z-index:100}.xml-single-html-group-render .xml-copy-url-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;background-color:#fff;cursor:pointer;font-family:PingFang SC,PingFang SC;font-weight:400;font-size:16px;color:#2d2d2d}.xml-single-html-group-render .xml-copy-url-box .content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding:14px;background:#eef3ff;border-radius:12px}.xml-single-html-group-render .xml-copy-url-box .content img{width:120px}.xml-single-html-group-render .xml-copy-url-box .content span{padding:14px 0;font-family:PingFang SC,PingFang SC;font-weight:400;font-size:11px;color:#999;line-height:20px}.xml-single-html-group-render .xml-copy-url-box .content .btn{font-family:PingFang SC,PingFang SC;font-weight:400;font-size:12px;color:#3e8ced}.xml-single-html-group-render .web-file-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:14px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;border-radius:15px;border:1px solid #418eed}.xml-single-html-group-render .web-file-box .file-cover{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:70px;height:70px}.xml-single-html-group-render .web-file-box .file-cover img{width:70px;height:70px}.xml-single-html-group-render .web-file-box .file-title{font-size:18px;font-weight:400;color:#333;margin-bottom:10px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-left:16px;width:calc(100% - 100px)!important}.xml-single-html-group-render .xml-iframe-mask-box::after{content:"";position:absolute;top:0;left:0;z-index:999;display:block;width:100%;height:100%;pointer-events:var(--xml-iframe-pointer-events)}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,81 +1,75 @@
/*# sourceMappingURL=thirteenth.vue.map */
/*# sourceMappingURL=rectangle.vue.map */
/*# sourceMappingURL=fourteen.vue.map */
/*# sourceMappingURL=second.vue.map */
/*# sourceMappingURL=first.vue.map */ /*# sourceMappingURL=first.vue.map */
/*# sourceMappingURL=sixteen.vue.map */
/*# sourceMappingURL=semicircle.vue.map */
/*# sourceMappingURL=fifth.vue.map */ /*# sourceMappingURL=fifth.vue.map */
/*# sourceMappingURL=fifteen.vue.map */
/*# sourceMappingURL=third.vue.map */
/*# sourceMappingURL=triangle.vue.map */
/*# sourceMappingURL=nineteen.vue.map */
/*# sourceMappingURL=square.vue.map */
/*# sourceMappingURL=sixth.vue.map */ /*# sourceMappingURL=sixth.vue.map */
/*# sourceMappingURL=hexagon.vue.map */ /*# sourceMappingURL=hexagon.vue.map */
/*# sourceMappingURL=square.vue.map */ /*# sourceMappingURL=seventeen.vue.map */
/*# sourceMappingURL=second.vue.map */
/*# sourceMappingURL=third.vue.map */
/*# sourceMappingURL=rotundity.vue.map */
/*# sourceMappingURL=semicircle.vue.map */
/*# sourceMappingURL=triangle.vue.map */
/*# sourceMappingURL=eighteen.vue.map */ /*# sourceMappingURL=eighteen.vue.map */
/*# sourceMappingURL=thirteenth.vue.map */ /*# sourceMappingURL=rotundity.vue.map */
/*# sourceMappingURL=fourteen.vue.map */
/*# sourceMappingURL=rectangle.vue.map */
/*# sourceMappingURL=sixteen.vue.map */
/*# sourceMappingURL=twelfth.vue.map */
/*# sourceMappingURL=Greentheme1.vue.map */
/*# sourceMappingURL=nineteen.vue.map */
/*# sourceMappingURL=fifteen.vue.map */
/*# sourceMappingURL=seventeen.vue.map */
/*# sourceMappingURL=Greentheme3.vue.map */
/*# sourceMappingURL=Greentheme4.vue.map */
/*# sourceMappingURL=Knowledge.vue.map */
/*# sourceMappingURL=eighteen2.vue.map */
/*# sourceMappingURL=Greentheme2.vue.map */ /*# sourceMappingURL=Greentheme2.vue.map */
/*# sourceMappingURL=SanQintheme2.vue.map */ /*# sourceMappingURL=eighteen2.vue.map */
/*# sourceMappingURL=Greentheme5.vue.map */
/*# sourceMappingURL=Yellowtheme6.vue.map */
/*# sourceMappingURL=Yellowtheme4.vue.map */
/*# sourceMappingURL=Knowledge.vue.map */
/*# sourceMappingURL=Yellowtheme3.vue.map */ /*# sourceMappingURL=Yellowtheme3.vue.map */
@ -87,25 +81,51 @@
/*# sourceMappingURL=Yellowtheme2.vue.map */ /*# sourceMappingURL=Yellowtheme2.vue.map */
/*# sourceMappingURL=Greentheme6.vue.map */ /*# sourceMappingURL=Greentheme4.vue.map */
/*# sourceMappingURL=SanQintheme1.vue.map */ /*# sourceMappingURL=SanQintheme1.vue.map */
/*# sourceMappingURL=Yellowtheme6.vue.map */ /*# sourceMappingURL=Greentheme6.vue.map */
/*# sourceMappingURL=Yellowtheme5.vue.map */ /*# sourceMappingURL=Greentheme3.vue.map */
/*# sourceMappingURL=twenty.vue.map */
/*# sourceMappingURL=twelfth.vue.map */
/*# sourceMappingURL=Twentyone.vue.map */
/*# sourceMappingURL=SanQintheme2.vue.map */
/*# sourceMappingURL=SanQintheme3.vue.map */ /*# sourceMappingURL=SanQintheme3.vue.map */
/*# sourceMappingURL=Yellowtheme4.vue.map */ /*# sourceMappingURL=Greentheme1.vue.map */
/*# sourceMappingURL=Greentheme5.vue.map */ /*# sourceMappingURL=Yellowtheme5.vue.map */
/*# sourceMappingURL=Twentytwo.vue.map */
/*# sourceMappingURL=Twentythree.vue.map */
.xml-text-h5[data-v-50837cf9] {
}
.xml-text-pc[data-v-50837cf9] {
}
.xml-text-h5[data-v-50837cf9] {
}
.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;
@ -177,14 +197,6 @@
/*# sourceMappingURL=XmlText.vue.map */ /*# sourceMappingURL=XmlText.vue.map */
.xml-text-h5[data-v-5d93942a] {
}
.xml-text-pc[data-v-5d93942a] {
}
.xml-text-h5[data-v-5d93942a] {
}
/*# sourceMappingURL=XmlTextDialog.vue.map */ /*# sourceMappingURL=XmlTextDialog.vue.map */
@ -755,6 +767,19 @@

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/*# sourceMappingURL=Yellowtheme2.vue.map */ /*# sourceMappingURL=first.vue.map */
.title-text[data-v-616d10ee] { .title-text[data-v-616d10ee] {
background-color: var(--background-color) !important; background-color: var(--background-color) !important;
} }
@ -18,49 +18,43 @@
/*# sourceMappingURL=thirteenth.vue.map */ /*# sourceMappingURL=thirteenth.vue.map */
/*# sourceMappingURL=sixth.vue.map */ /*# sourceMappingURL=Yellowtheme2.vue.map */
/*# sourceMappingURL=Yellowtheme1.vue.map */
/*# sourceMappingURL=semicircle.vue.map */
/*# sourceMappingURL=fifteen.vue.map */ /*# sourceMappingURL=fifteen.vue.map */
/*# sourceMappingURL=first.vue.map */ /*# sourceMappingURL=Yellowtheme1.vue.map */
/*# sourceMappingURL=Yellowtheme5.vue.map */
/*# sourceMappingURL=nineteen.vue.map */
/*# sourceMappingURL=Yellowtheme4.vue.map */
/*# sourceMappingURL=Greentheme2.vue.map */ /*# sourceMappingURL=Greentheme2.vue.map */
/*# sourceMappingURL=twelfth.vue.map */
/*# sourceMappingURL=Greentheme3.vue.map */ /*# sourceMappingURL=Greentheme3.vue.map */
/*# sourceMappingURL=Yellowtheme5.vue.map */
/*# sourceMappingURL=Yellowtheme6.vue.map */ /*# sourceMappingURL=Yellowtheme6.vue.map */
/*# sourceMappingURL=Greentheme4.vue.map */ /*# sourceMappingURL=semicircle.vue.map */
/*# sourceMappingURL=Redtheme2.vue.map */ /*# sourceMappingURL=sixth.vue.map */
/*# sourceMappingURL=hexagon.vue.map */ /*# sourceMappingURL=Yellowtheme4.vue.map */
/*# sourceMappingURL=seventeen.vue.map */
/*# sourceMappingURL=Greentheme6.vue.map */
/*# sourceMappingURL=twelfth.vue.map */
/*# sourceMappingURL=Greentheme1.vue.map */ /*# sourceMappingURL=Greentheme1.vue.map */
@ -69,55 +63,113 @@
/*# sourceMappingURL=fourteen.vue.map */ /*# sourceMappingURL=fourteen.vue.map */
/*# sourceMappingURL=Greentheme6.vue.map */ /*# sourceMappingURL=hexagon.vue.map */
/*# sourceMappingURL=sixteen.vue.map */
/*# sourceMappingURL=Knowledge.vue.map */
/*# sourceMappingURL=fifth.vue.map */ /*# sourceMappingURL=fifth.vue.map */
/*# sourceMappingURL=Redtheme1.vue.map */ /*# sourceMappingURL=Knowledge.vue.map */
/*# sourceMappingURL=triangle.vue.map */ /*# sourceMappingURL=nineteen.vue.map */
/*# sourceMappingURL=seventeen.vue.map */
/*# sourceMappingURL=Redtheme4.vue.map */
/*# sourceMappingURL=Thirtysix.vue.map */
/*# sourceMappingURL=Thirtythree.vue.map */
/*# sourceMappingURL=Thirtyone.vue.map */
/*# sourceMappingURL=Thirtyfive.vue.map */
/*# sourceMappingURL=Redtheme3.vue.map */ /*# sourceMappingURL=Redtheme3.vue.map */
/*# sourceMappingURL=Thirtytwo.vue.map */ /*# sourceMappingURL=Redtheme2.vue.map */
/*# sourceMappingURL=Greentheme4.vue.map */
/*# sourceMappingURL=triangle.vue.map */
/*# sourceMappingURL=Thirtyseven.vue.map */
/*# sourceMappingURL=sixteen.vue.map */
/*# sourceMappingURL=Thirtyone.vue.map */
/*# sourceMappingURL=Thirtyeight.vue.map */ /*# sourceMappingURL=Thirtyeight.vue.map */
/*# sourceMappingURL=Redtheme4.vue.map */
/*# sourceMappingURL=Redtheme1.vue.map */
/*# sourceMappingURL=Thirtythree.vue.map */
/*# sourceMappingURL=titleQuestion.vue.map */
/*# sourceMappingURL=titleCrane.vue.map */
/*# sourceMappingURL=Thirtytwo.vue.map */
/*# sourceMappingURL=Thirtynine.vue.map */
/*# sourceMappingURL=titleLogging.vue.map */
/*# sourceMappingURL=Thirtyfive.vue.map */
/*# sourceMappingURL=Thirtysix.vue.map */
/*# sourceMappingURL=titleTearcher.vue.map */
/*# sourceMappingURL=BuleRectangleTwo.vue.map */
.title-bgimg[data-v-025e9706] {
background-image: url(../style/title-text-bgimg.png);
}
/*# sourceMappingURL=Sevenpageone.vue.map */
/*# sourceMappingURL=BuleRectangle.vue.map */
/*# sourceMappingURL=Sevenpagefive.vue.map */
/*# sourceMappingURL=Thirtyfour.vue.map */ /*# sourceMappingURL=Thirtyfour.vue.map */
/*# sourceMappingURL=Thirtyseven.vue.map */ /*# sourceMappingURL=titleLight.vue.map */
/*# sourceMappingURL=Sevenpagethree.vue.map */
/*# sourceMappingURL=titleText.vue.map */
/*# sourceMappingURL=Sevenpagefour.vue.map */
/*# sourceMappingURL=Sevenpagetwo.vue.map */
.xml-text-h5[data-v-50837cf9] {
}
.xml-text-pc[data-v-50837cf9] {
}
.xml-text-h5[data-v-50837cf9] {
}
.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;
@ -189,14 +241,6 @@
/*# sourceMappingURL=XmlText.vue.map */ /*# sourceMappingURL=XmlText.vue.map */
.xml-text-h5[data-v-5d93942a] {
}
.xml-text-pc[data-v-5d93942a] {
}
.xml-text-h5[data-v-5d93942a] {
}
/*# sourceMappingURL=XmlTextDialog.vue.map */ /*# sourceMappingURL=XmlTextDialog.vue.map */
@ -767,6 +811,19 @@

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.title-text[data-v-616d10ee]{background-color:var(--background-color)!important}.title-left[data-v-616d10ee]{border-color:var(--background-color)!important;color:var(--background-color)!important}.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} .title-text[data-v-616d10ee]{background-color:var(--background-color)!important}.title-left[data-v-616d10ee]{border-color:var(--background-color)!important;color:var(--background-color)!important}.title-bgimg[data-v-025e9706]{background-image:url(../style/title-text-bgimg.png)}.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}

View File

@ -1,6 +1,6 @@
/* /*
* XmlDigitalTeaching v0.0.1 * XmlDigitalTeaching v0.0.1
* Copyright ©Fri Jun 21 2024 13:16:29 GMT+0800 (中国标准时间) smile * Copyright ©Thu Jul 04 2024 17:26:30 GMT+0800 (中国标准时间) smile
* Released under the ISC License. * Released under the ISC License.
*/ */
// //

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 934 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@ -1 +0,0 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><link rel="icon" href="favicon.ico"><title>开放云书院</title><script src="./jquery-1.8.3.min.js"></script><script defer="defer" src="js/chunk-vendors.9aae0e0a.js"></script><script defer="defer" src="js/app.c749bd89.js"></script></head><body><noscript><strong>We're sorry but xml_reader doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
(self["webpackChunkxml_reader"]=self["webpackChunkxml_reader"]||[]).push([[543],{8387:function(o,e,i){"use strict";i.r(e);var n=i(8081),t=i.n(n),r=i(3645),a=i.n(r),l=a()(t());l.push([o.id,".index-box[data-v-61ba4ca2]{width:100%}",""]),e["default"]=l},543:function(o,e,i){"use strict";i.r(e),i.d(e,{default:function(){return k}});var n=i(6252),t={class:"index-box"},r={key:0},a={key:1};function l(o,e,i,l,s,d){var c=(0,n.up)("xml-epub-read-pc"),u=(0,n.up)("xml-epub-read");return(0,n.wg)(),(0,n.iD)("div",t,[o.bookInfo.innerWidth>=1e3?((0,n.wg)(),(0,n.iD)("div",r,[(0,n.Wm)(c,{fileId:o.bookInfo.goodsFileId,bookPath:o.bookInfo.bookPath,location:o.bookInfo.location,notesList:o.notesList,sourceList:o.sourceList,luminance:o.bookInfo.luminance,isNote:o.bookInfo.isNote,limitSize:o.bookInfo.limitSize,innerHeight:o.bookInfo.innerHeight,innerWidth:o.bookInfo.innerWidth,integralBox:o.integralBox},null,8,["fileId","bookPath","location","notesList","sourceList","luminance","isNote","limitSize","innerHeight","innerWidth","integralBox"])])):(0,n.kq)("",!0),o.bookInfo.innerWidth<1e3?((0,n.wg)(),(0,n.iD)("div",a,[(0,n.Wm)(u,{fileId:o.bookInfo.goodsFileId,bookPath:o.bookInfo.bookPath,location:o.bookInfo.location,flow:o.bookInfo.flow,notesList:o.notesList,sourceList:o.sourceList,luminance:o.bookInfo.luminance,isNote:o.bookInfo.isNote,limitSize:o.bookInfo.limitSize,innerHeight:o.bookInfo.innerHeight,innerWidth:o.bookInfo.innerWidth,integralBox:o.integralBox},null,8,["fileId","bookPath","location","flow","notesList","sourceList","luminance","isNote","limitSize","innerHeight","innerWidth","integralBox"])])):(0,n.kq)("",!0)])}var s=i(655),d=i(2262),c=i(2201),u=(0,n.aZ)({name:"Index",setup:function(){var o=(0,d.qj)({notesList:[],sourceList:[],TimeParameter:10,integralBox:!1,integral:15,width:22}),e=(0,c.tv)().currentRoute.value.query;console.log(e),e.token&&localStorage.setItem("Gk-Read-Token",e.token);var i={bookPath:e.bookPath||"https://ouchn-prod-public.oss-cn-beijing.aliyuncs.com/goods_file/beea6394-0553-4b53-8738-6ad2847f187f.epub",location:e.location||"0",fileType:e.fileType||"epub",goodsFileId:e.goodsFileId||"",goodsId:e.goodsId||"",relevanceId:e.relevanceId||"",resource:e.resource||"",resourceType:e.resourceType||"",teachInstId:e.teachInstId||"",limitSize:Number(e.limitSize)||100,innerHeight:Number(e.innerHeight)||window.innerHeight,innerWidth:Number(e.innerWidth)||window.innerWidth,luminance:e.luminance||"luminance",isNote:e.isNote||"no",flow:e.flow||"scrolled"};return(0,n.bv)((function(){})),(0,s.pi)({data:o,bookInfo:i},(0,d.BK)(o))}}),b=(i(8344),i(3744));const f=(0,b.Z)(u,[["render",l],["__scopeId","data-v-61ba4ca2"]]);var k=f},8344:function(o,e,i){var n=i(8387);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[o.id,n,""]]),n.locals&&(o.exports=n.locals);var t=i(4402).Z;t("5ca1913b",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
//# sourceMappingURL=543.e711072f.js.map

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

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 934 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@ -1 +0,0 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><link rel="icon" href="favicon.ico"><title>开放云书院</title><script src="./jquery-1.8.3.min.js"></script><script defer="defer" src="js/chunk-vendors.9aae0e0a.js"></script><script defer="defer" src="js/app.c749bd89.js"></script></head><body><noscript><strong>We're sorry but xml_reader doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
(self["webpackChunkxml_reader"]=self["webpackChunkxml_reader"]||[]).push([[543],{8387:function(o,e,i){"use strict";i.r(e);var n=i(8081),t=i.n(n),r=i(3645),a=i.n(r),l=a()(t());l.push([o.id,".index-box[data-v-61ba4ca2]{width:100%}",""]),e["default"]=l},543:function(o,e,i){"use strict";i.r(e),i.d(e,{default:function(){return k}});var n=i(6252),t={class:"index-box"},r={key:0},a={key:1};function l(o,e,i,l,s,d){var c=(0,n.up)("xml-epub-read-pc"),u=(0,n.up)("xml-epub-read");return(0,n.wg)(),(0,n.iD)("div",t,[o.bookInfo.innerWidth>=1e3?((0,n.wg)(),(0,n.iD)("div",r,[(0,n.Wm)(c,{fileId:o.bookInfo.goodsFileId,bookPath:o.bookInfo.bookPath,location:o.bookInfo.location,notesList:o.notesList,sourceList:o.sourceList,luminance:o.bookInfo.luminance,isNote:o.bookInfo.isNote,limitSize:o.bookInfo.limitSize,innerHeight:o.bookInfo.innerHeight,innerWidth:o.bookInfo.innerWidth,integralBox:o.integralBox},null,8,["fileId","bookPath","location","notesList","sourceList","luminance","isNote","limitSize","innerHeight","innerWidth","integralBox"])])):(0,n.kq)("",!0),o.bookInfo.innerWidth<1e3?((0,n.wg)(),(0,n.iD)("div",a,[(0,n.Wm)(u,{fileId:o.bookInfo.goodsFileId,bookPath:o.bookInfo.bookPath,location:o.bookInfo.location,flow:o.bookInfo.flow,notesList:o.notesList,sourceList:o.sourceList,luminance:o.bookInfo.luminance,isNote:o.bookInfo.isNote,limitSize:o.bookInfo.limitSize,innerHeight:o.bookInfo.innerHeight,innerWidth:o.bookInfo.innerWidth,integralBox:o.integralBox},null,8,["fileId","bookPath","location","flow","notesList","sourceList","luminance","isNote","limitSize","innerHeight","innerWidth","integralBox"])])):(0,n.kq)("",!0)])}var s=i(655),d=i(2262),c=i(2201),u=(0,n.aZ)({name:"Index",setup:function(){var o=(0,d.qj)({notesList:[],sourceList:[],TimeParameter:10,integralBox:!1,integral:15,width:22}),e=(0,c.tv)().currentRoute.value.query;console.log(e),e.token&&localStorage.setItem("Gk-Read-Token",e.token);var i={bookPath:e.bookPath||"https://ouchn-prod-public.oss-cn-beijing.aliyuncs.com/goods_file/beea6394-0553-4b53-8738-6ad2847f187f.epub",location:e.location||"0",fileType:e.fileType||"epub",goodsFileId:e.goodsFileId||"",goodsId:e.goodsId||"",relevanceId:e.relevanceId||"",resource:e.resource||"",resourceType:e.resourceType||"",teachInstId:e.teachInstId||"",limitSize:Number(e.limitSize)||100,innerHeight:Number(e.innerHeight)||window.innerHeight,innerWidth:Number(e.innerWidth)||window.innerWidth,luminance:e.luminance||"luminance",isNote:e.isNote||"no",flow:e.flow||"scrolled"};return(0,n.bv)((function(){})),(0,s.pi)({data:o,bookInfo:i},(0,d.BK)(o))}}),b=(i(8344),i(3744));const f=(0,b.Z)(u,[["render",l],["__scopeId","data-v-61ba4ca2"]]);var k=f},8344:function(o,e,i){var n=i(8387);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[o.id,n,""]]),n.locals&&(o.exports=n.locals);var t=i(4402).Z;t("5ca1913b",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
//# sourceMappingURL=543.e711072f.js.map

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

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 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

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More